/* ГорМедиа · публичные страницы, дизайн 17.10.2026. Без внешних шрифтов и UI-зависимостей. */
@font-face {
  font-family: Inter;
  src: url("/static/fonts/Inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --bg: #f7f8fa;
  --surface: #fff;
  --fg: #191e28;
  --muted: #657084;
  --faint: #8993a4;
  --line: #e3e7ee;
  --line-strong: #cbd2de;
  --soft: #f1f3f7;
  --accent: #3151cf;
  --accent-strong: #2542b5;
  --accent-soft: #edf1ff;
  --ok: #177550;
  --ok-soft: #e9f7ef;
  --bad: #a22b36;
  --bad-soft: #fff1f2;
  --warn: #795712;
  --warn-soft: #fff8e5;
  --radius: 16px;
  --radius-sm: 10px;
  --mono: Inter, system-ui, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font:
    15px/1.6 Inter,
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select,
textarea {
  font: inherit;
}
img,
svg {
  max-width: 100%;
}
img {
  display: block;
}
a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}
a,
button,
input,
summary {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 3px solid #92a9ff;
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-weight: 800;
  letter-spacing: -0.035em;
}
h1 {
  font-size: clamp(36px, 4.2vw, 58px);
  line-height: 1.15;
  margin-bottom: 22px;
}
h2 {
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.22;
  margin-bottom: 12px;
}
h3 {
  font-size: 19px;
  line-height: 1.4;
  margin-bottom: 10px;
}
p {
  margin-bottom: 16px;
}
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  min-width: 0;
}
.muted {
  color: var(--muted);
}
.bad {
  color: var(--bad);
}
.ok {
  color: var(--ok);
}
.mono,
.num {
  font-variant-numeric: tabular-nums;
}
.icon {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  vertical-align: middle;
}
.eyebrow {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 13px;
  line-height: 1.6;
}
.eyebrow.accent {
  color: var(--accent);
}
.skip-link {
  position: fixed;
  top: -100px;
  opacity: 0;
  pointer-events: none;
  left: 16px;
  padding: 12px;
  background: white;
  z-index: 100;
}
.skip-link:focus-visible {
  top: 8px;
  opacity: 1;
  pointer-events: auto;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  white-space: nowrap;
  min-height: 44px;
}
/* Общая шапка и навигация. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 84px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--fg);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.2;
  flex-shrink: 0;
}
.logo:hover {
  text-decoration: none;
}
.mark {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
}
.logo small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.025em;
  line-height: 1.6;
  margin-top: 3px;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 600;
}
.site-nav a {
  color: var(--muted);
  padding: 12px 0;
}
.site-nav a:hover {
  color: var(--accent);
}
.site-header .cta {
  font-size: 14px;
  white-space: nowrap;
}
.cta-short,
.nav-toggle {
  display: none;
}
/* Кнопки и поля. */
.btn,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 46px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 11px 18px;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.btn:hover,
button:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  text-decoration: none;
}
.btn.secondary,
button.secondary {
  background: #fff;
  color: var(--fg);
  border-color: var(--line-strong);
}
.btn.secondary:hover,
button.secondary:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
}
.btn.lg,
button.lg {
  min-height: 52px;
  padding: 13px 22px;
  font-size: 15px;
}
.btn.block,
button.block {
  width: 100%;
}
.btn.white {
  background: #fff;
  border-color: #fff;
  color: var(--accent);
}
.btn.white:hover {
  background: var(--accent-soft);
}
.icon-button {
  width: 44px;
  min-width: 44px;
  padding: 0;
}
.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  background: var(--soft);
  padding: 4px 9px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.025em;
  color: var(--muted);
}
.pill.accent {
  background: var(--accent-soft);
  color: var(--accent);
}
.pill.ok {
  background: var(--ok-soft);
  color: var(--ok);
}
.notice,
.error {
  border: 1px solid #e9d9ac;
  background: var(--warn-soft);
  color: var(--warn);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin: 16px 0;
}
.error {
  border-color: #f1c5cc;
  background: var(--bad-soft);
  color: var(--bad);
}
/* Главная. */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 366px;
  align-items: center;
  gap: 76px;
  padding: 66px 0 44px;
}
.hero h1 span {
  color: var(--accent);
}
.hero .lead {
  font-size: 20px;
  line-height: 1.6;
  max-width: 560px;
  color: #4f5b6e;
  margin-bottom: 16px;
}
.hero-description {
  color: var(--muted);
  max-width: 510px;
  font-size: 15px;
}
.hero .actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.hero-included {
  display: flex;
  gap: 9px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  margin: 22px 0 12px;
}
.hero-included .icon {
  color: var(--accent);
  width: 17px;
  height: 17px;
}
.hero-from {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 0;
}
.hero-from b {
  color: var(--fg);
}
.hero-proof {
  position: relative;
  min-width: 0;
}
.post-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 45px #19285809;
}
.post-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px;
}
.post-head b {
  display: block;
  font-size: 13px;
}
.post-head small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
}
.network {
  margin-left: auto;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}
.community-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  flex: 0 0 auto;
}
.community-avatar.pn,
.community-avatar.podnsk {
  background: #26483b;
  color: #f7d77c;
}
.community-avatar.anonimkies {
  background: #f8e8f0;
  color: #ac4e76;
}
.community-avatar.nsknotice {
  background: #f1edff;
  color: #7660b5;
}
.community-avatar.raknsk {
  background: #fff0de;
  color: #ae793b;
}
.post-head .community-avatar {
  width: 35px;
  height: 35px;
  font-size: 11px;
}
.creative {
  position: relative;
  overflow: hidden;
  aspect-ratio: 710 / var(--crop-height);
  background: var(--soft);
  width: 100%;
}
.creative img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  transform: translateY(calc(var(--crop-offset) / 1536 * -100%));
}
.post-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  font-size: 12px;
}
.post-footer > span {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
}
.post-footer .icon {
  width: 16px;
  height: 16px;
}
.post-footer a {
  font-weight: 700;
}
.proof-note {
  display: flex;
  gap: 9px;
  margin: 14px 4px 0;
  color: var(--muted);
}
.proof-note > .icon {
  color: var(--accent);
  width: 17px;
  height: 17px;
  margin-top: 3px;
}
.proof-note b {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
}
.proof-note small {
  display: block;
  font-size: 11px;
  margin-top: 3px;
}
.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.proof-strip > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-right: 1px solid var(--line);
}
.proof-strip > div:last-child {
  border: 0;
}
.proof-strip .icon {
  color: var(--accent);
  width: 26px;
  height: 26px;
}
.proof-strip b {
  display: block;
  font-size: 15px;
}
.proof-strip small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}
.section {
  padding-top: 88px;
  scroll-margin-top: 24px;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 28px;
}
.section-head p {
  color: var(--muted);
  font-size: 15px;
  max-width: 660px;
  margin-bottom: 0;
}
.section-aside {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}
.grid {
  display: grid;
  gap: 20px;
}
.grid.c4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.grid.c3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid.c2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.comm {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: #fff;
  padding: 24px;
  border-radius: var(--radius);
  min-width: 0;
}
.comm.featured {
  background: var(--accent-soft);
  border-color: #cad4ff;
}
.comm-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.comm h3 {
  font-size: 18px;
  min-height: 0;
  margin-bottom: 15px;
}
.comm h3 a {
  font-size: 16px;
}
.comm-stats {
  margin: 0 0 20px;
}
.comm-stats > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.comm-stats dt {
  color: var(--muted);
}
.comm-stats dd {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.comm-bottom {
  margin-top: auto;
}
.comm .price {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 18px;
  letter-spacing: -0.025em;
}
.comm .price small {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
  margin-top: 3px;
}
.comm .price > b {
  font-size: 20px;
}
.comm .btn {
  font-size: 13px;
}
.data-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  margin: 16px 0 0;
}
.audience-details {
  margin-top: 26px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 0 22px;
}
.audience-details > summary {
  font-size: 14px;
  font-weight: 700;
  padding: 16px 0;
  cursor: pointer;
}
.audience-details > summary .icon {
  float: right;
  color: var(--accent);
  margin-left: 20px;
}
.audience-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  border-top: 1px solid var(--line);
  padding: 20px 0;
}
.fact b {
  font-size: 24px;
  display: block;
  letter-spacing: -0.04em;
}
.fact span {
  color: var(--muted);
  font-size: 12px;
  display: block;
}
/* Примеры, тарифы и процесс. */
.case-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.case-image {
  --thumb-height: 250px;
  height: var(--thumb-height);
  overflow: hidden;
  background: var(--soft);
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.case-image .creative {
  flex: 0 0 auto;
  width: max(100%, calc(var(--thumb-height) * 710 / var(--crop-height)));
}
.case-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.case-body .eyebrow {
  font-size: 10px;
  margin-bottom: 9px;
}
.case-body h3 {
  font-size: 17px;
  margin-bottom: 6px;
}
.case-body > small {
  font-size: 12px;
}
.case-metrics {
  display: flex;
  gap: 30px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  margin: 20px 0 6px;
}
.case-metrics > span {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1px 7px;
  align-items: center;
}
.case-metrics .icon {
  width: 18px;
  height: 18px;
  color: var(--accent);
}
.case-metrics b {
  font-size: 18px;
}
.case-metrics small {
  grid-column: 2;
  font-size: 11px;
  color: var(--muted);
}
.case-open {
  background: none;
  border: 0;
  color: var(--accent);
  font-size: 13px;
  justify-content: space-between;
  padding: 10px 0;
  margin-top: auto;
  min-height: 44px;
}
.case-open:hover {
  color: var(--accent-strong);
  background: none;
}
.case-dialog {
  width: min(620px, calc(100% - 28px));
  max-height: 90dvh;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  color: var(--fg);
  overscroll-behavior: contain;
}
.case-dialog::backdrop {
  background: #191e28a8;
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.dialog-head h3 {
  font-size: 17px;
  margin-bottom: 3px;
}
.dialog-head small {
  font-size: 12px;
}
.price-grid {
  padding-top: 12px;
}
.price-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  position: relative;
}
.price-card.popular {
  border: 2px solid var(--accent);
  padding: 23px 21px;
  background: #f6f8ff;
}
.price-tag {
  position: absolute;
  left: -2px;
  right: -2px;
  top: -15px;
  text-align: center;
  border-radius: 8px 8px 0 0;
  background: var(--accent);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
}
.price-card h3 {
  font-size: 15px;
  margin: 0 0 16px;
}
.price-card .sum {
  font-size: 29px;
  font-weight: 800;
  letter-spacing: -0.05em;
  white-space: nowrap;
}
.price-card .per {
  color: var(--muted);
  font-size: 12px;
  margin: 3px 0 22px;
}
.price-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 12px;
  margin-bottom: 24px;
}
.price-features > span {
  display: flex;
  gap: 7px;
  align-items: flex-start;
}
.price-features .icon {
  width: 15px;
  height: 15px;
  color: var(--accent);
  margin-top: 1px;
}
.gift-line {
  color: var(--accent);
  font-weight: 700;
}
.price-card .btn {
  margin-top: auto;
  font-size: 13px;
}
.included-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--muted);
  font-size: 12px;
  margin-top: 22px;
}
.included-note .icon {
  width: 18px;
  height: 18px;
  color: var(--accent);
}
.step {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  padding: 26px;
  position: relative;
}
.step .n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--accent-soft);
  border-radius: 9px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 22px;
}
.step > .icon {
  float: right;
  color: #889aca;
  width: 25px;
  height: 25px;
  margin-top: 4px;
}
.step h3 {
  font-size: 16px;
}
.step p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 0;
}
.faq-section {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 90px;
}
.faq-section > div > p {
  font-size: 14px;
}
.faq-list {
  border-top: 1px solid var(--line);
}
.faq-list details {
  border-bottom: 1px solid var(--line);
}
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  list-style: none;
  cursor: pointer;
  min-height: 70px;
  padding: 20px 0;
  font-size: 15px;
  font-weight: 700;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary:after {
  content: "+";
  font-size: 25px;
  font-weight: 400;
  color: var(--accent);
}
.faq-list details[open] summary:after {
  content: "−";
}
.faq-list p {
  max-width: 95%;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 22px;
}
.dir {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: #f3f5f8;
}
.dir > .icon {
  color: var(--muted);
  width: 26px;
  height: 26px;
}
.dir .pill {
  float: right;
  border: 1px solid var(--line-strong);
  font-size: 10px;
}
.dir h3 {
  font-size: 16px;
  margin: 20px 0 8px;
}
.dir p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.contact-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  border-radius: 20px;
  background: var(--accent);
  color: #fff;
  padding: 44px 48px;
  margin: 72px 0;
}
.contact-cta .eyebrow {
  color: #d5ddff;
  font-size: 11px;
}
.contact-cta h2 {
  font-size: 34px;
}
.contact-cta p {
  max-width: 470px;
  color: #dce3ff;
  font-size: 14px;
  margin-bottom: 0;
}
.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  flex-shrink: 0;
}
.contact-alt {
  color: #fff;
  font-size: 12px;
  min-height: 44px;
  display: flex;
  align-items: center;
}
/* Общий подвал. */
.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
  margin-top: 64px;
}
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.1fr 1.1fr;
  gap: 40px 32px;
  padding-top: 46px;
  padding-bottom: 22px;
  color: var(--muted);
  font-size: 13px;
}
.site-footer .logo {
  font-size: 20px;
  margin-bottom: 18px;
}
.site-footer .mark {
  width: 32px;
  height: 32px;
}
.site-footer h4 {
  font-size: 13px;
  color: var(--fg);
  margin: 4px 0 18px;
}
.site-footer a:not(.logo) {
  display: block;
  margin-bottom: 11px;
  color: var(--muted);
}
.site-footer a:hover {
  color: var(--accent);
}
.site-footer p {
  font-size: 13px;
  line-height: 1.85;
}
.footer-location {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 12px;
}
.footer-location .icon {
  width: 14px;
  height: 14px;
}
.site-footer .legal {
  grid-column: 1/-1;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 11px;
  line-height: 1.9;
}
.site-footer .legal > span:first-child {
  max-width: 670px;
}
/* Форма заказа. Идентификаторы полей и данные сеток сохранены. */
.order-intro {
  padding-top: 36px;
}
.breadcrumb {
  font-size: 12px;
  color: var(--muted);
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-height: 44px;
  margin-bottom: 16px;
}
.order-intro h1 {
  font-size: 34px;
  margin-bottom: 12px;
}
.order-intro > p {
  max-width: 850px;
  font-size: 14px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-bottom: 1px solid var(--line);
  padding-bottom: 22px;
  margin: 26px 0 28px;
}
.steps > div {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  gap: 10px;
  align-items: center;
}
.steps .n {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
  height: 28px;
  background: #e8ebf1;
  color: var(--muted);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
}
.steps .on {
  color: var(--fg);
  font-weight: 700;
}
.steps .on .n {
  background: var(--accent);
  color: #fff;
}
.order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
}
.order-layout > * {
  min-width: 0;
}
.card {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 20px;
  min-width: 0;
}
.card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}
.card-head h2 {
  font-size: 20px;
  margin: 0;
}
.card-head .eyebrow {
  margin-bottom: 5px;
  font-size: 10px;
}
.selection-help {
  color: var(--muted);
  font-size: 12px;
  margin: 14px 0 0;
}
.comm-pick {
  display: flex;
  gap: 8px;
  overflow: auto;
  padding: 3px 3px 7px;
  margin: 0 -3px;
  scrollbar-width: thin;
}
.comm-pick a {
  flex: 0 0 174px;
  display: block;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px;
  color: var(--fg);
  background: #fff;
}
.comm-pick a.on {
  background: var(--accent-soft);
  border-color: var(--accent);
}
.comm-pick a:hover {
  text-decoration: none;
  border-color: var(--accent);
}
.comm-pick .t {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
  min-height: 34px;
}
.comm-pick .s {
  color: var(--muted);
  font-size: 11px;
  margin-top: 5px;
}
.comm-pick .p {
  font-size: 13px;
  font-weight: 700;
  margin-top: 8px;
}
.comm-pick .p .muted {
  font-size: 11px;
  font-weight: 500;
}
.comm-pick .cnt {
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.legend-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 11px;
  color: var(--muted);
  margin: 16px 0;
}
.legend-slots i {
  display: inline-block;
  width: 11px;
  height: 11px;
  vertical-align: -1px;
  margin-right: 5px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  background: #fff;
}
.legend-slots .sel {
  background: var(--accent);
  border-color: var(--accent);
}
.legend-slots .busy {
  background: var(--soft);
  border-color: var(--soft);
}
.gridwrap {
  overflow-x: auto;
}
.grid-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 16px;
}
.range-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.range-nav button {
  min-width: 36px;
  min-height: 36px;
  padding: 5px;
  background: white;
  color: var(--fg);
  border-color: var(--line);
  font-size: 18px;
}
.range-label {
  font-size: 12px;
  font-weight: 700;
  min-width: 125px;
  text-align: center;
}
.grid-mode {
  display: flex;
  gap: 2px;
  padding: 3px;
  background: var(--soft);
  border-radius: 8px;
}
.grid-mode button {
  background: none;
  color: var(--muted);
  border: 0;
  font-size: 11px;
  min-height: 30px;
  padding: 6px 9px;
}
.grid-mode .active {
  background: white;
  color: var(--accent);
  box-shadow: 0 1px 4px #19285812;
}
.day-picker {
  display: none;
}
.slots {
  width: 100%;
  border-collapse: separate;
  border-spacing: 5px;
  font-size: 12px;
}
.slots th {
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  text-align: center;
  padding: 6px 2px 10px;
}
.slots td {
  padding: 0;
  text-align: center;
}
.slots .day {
  text-align: left;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  padding: 0 5px;
}
.cell {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  min-height: 44px;
  padding: 7px 5px;
  border: 1px solid transparent;
  border-radius: 8px;
  line-height: 1.3;
  font-size: 12px;
  font-weight: 600;
  margin: 0;
  font-variant-numeric: tabular-nums;
}
.cell.free {
  border-color: var(--line-strong);
  background: #fff;
  cursor: pointer;
  color: var(--fg);
}
.cell.free:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.cell.free input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  inset: 50% 0 auto 50%;
  margin: 0;
}
.cell.free:focus-within {
  outline: 3px solid #92a9ff;
  outline-offset: 2px;
}
.cell.free.sel,
.cell.free:has(input:checked) {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.cell.free.gift.sel,
.cell.free.gift:has(input:checked) {
  background: var(--ok);
  border-color: var(--ok);
  color: #fff;
}
.cell.busy {
  background: var(--soft);
  color: var(--faint);
  font-size: 11px;
}
.cell.closed,
.closedrow .day {
  color: var(--faint);
}
.cell.free.twin {
  opacity: 0.35;
  pointer-events: none;
}
.more-days {
  display: none;
}
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 16px 0;
}
.tab {
  min-height: 38px;
  padding: 7px 12px;
  background: #fff;
  color: var(--muted);
  border-color: var(--line);
  font-size: 12px;
}
.tab.active {
  color: var(--accent);
  background: var(--accent-soft);
  border-color: var(--accent);
}
.cart {
  position: sticky;
  top: 104px;
}
.cart .card {
  padding: 24px;
}
.cart-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  margin-bottom: 18px;
}
.cart-title h2 {
  font-size: 19px;
  margin: 0;
}
.cart-title .icon {
  color: var(--accent);
}
.cart-empty {
  padding: 22px 8px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
.cart-empty .icon {
  display: block;
  width: 32px;
  height: 32px;
  margin: 0 auto 13px;
  color: #99a8d4;
}
.cart-empty b {
  display: block;
  color: var(--fg);
  font-size: 14px;
  margin-bottom: 6px;
}
.cart-group {
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.cart-group h3 {
  font-size: 13px;
  margin-bottom: 8px;
}
.cart-slot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
}
.slot-remove {
  background: none;
  border: 0;
  color: var(--muted);
  min-height: 32px;
  min-width: 32px;
  padding: 0;
  font-size: 18px;
  font-weight: 400;
}
.slot-remove:hover {
  background: var(--bad-soft);
  color: var(--bad);
}
.cart-rate {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  margin-top: 9px;
}
.cart-rate b {
  font-size: 13px;
}
.cart-discount {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--ok);
  font-size: 12px;
  margin-top: 5px;
}
.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 10px 0 18px;
  font-size: 13px;
  font-weight: 700;
}
.cart-total b {
  font-size: 26px;
  letter-spacing: -0.05em;
}
.cart .line {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
}
.cart .total {
  font-size: 28px;
  font-weight: 800;
}
.cart .sum-hint {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
  margin-top: 14px;
}
.cart-caption {
  font-size: 11px;
  color: var(--muted);
  margin: 12px 0 0;
}
.checkout-card {
  scroll-margin-top: 106px;
}
.checkout-card h2 {
  font-size: 19px;
  margin-bottom: 20px;
}
.checkout-card > label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--fg);
  margin: 16px 0 7px;
}
input[type="text"],
input[type="email"],
input[type="date"],
select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--fg);
  background: #fff;
  font-size: 14px;
}
input:focus,
select:focus {
  border-color: var(--accent);
}
input::placeholder {
  color: var(--faint);
}
.field-note {
  font-size: 11px;
  color: var(--muted);
  margin: 6px 0 20px;
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 16px 0;
}
.consent input {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin: 2px 0 0;
  accent-color: var(--accent);
}
.consent label {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
}
.consent a {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.checkout-card .eyebrow {
  margin-top: 24px;
  font-size: 10px;
}
.payment-note {
  font-size: 11px;
  color: var(--muted);
  margin: 12px 0 0;
  text-align: center;
}
.mbar {
  display: none;
}
/* Статус, платёж и юридические документы. */
.status-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.status-head h1 {
  font-size: 30px;
  margin: 0;
}
.status-layout {
  grid-template-columns: minmax(0, 1.7fr) minmax(250px, 1fr) !important;
}
.status-table-wrap {
  overflow-x: auto;
}
.plain {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.plain th,
.plain td {
  text-align: left;
  padding: 12px 9px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.plain th {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}
.plain td.mono {
  font-size: 12px;
}
.kv {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 13px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.kv > span {
  color: var(--muted);
}
.kv > b {
  text-align: right;
}
.doc {
  overflow-wrap: anywhere;
  max-width: 800px;
  margin: 0 auto;
}
.doc h1 {
  font-size: 28px;
}
.doc h2 {
  font-size: 20px;
  margin: 28px 0 12px;
}
.doc h3 {
  font-size: 17px;
  margin: 20px 0 10px;
}
.doc p,
.doc li {
  line-height: 1.8;
}
.doc ol,
.doc ul {
  padding-left: 22px;
}
.doc table {
  display: block;
  overflow: auto;
  border-collapse: collapse;
}
.doc td,
.doc th {
  border: 1px solid var(--line);
  padding: 8px;
}
.legal-page {
  max-width: 900px;
  margin: 36px auto;
}
.legal-page > h1 {
  font-size: 30px;
  max-width: 800px;
  margin: 0 auto 24px;
}
.big {
  font-size: 28px;
  font-weight: 800;
}
.btn-link {
  display: block;
  min-height: 46px;
  text-align: center;
  padding: 12px 18px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 700;
  margin-top: 16px;
}
.btn-link:hover {
  background: var(--accent-strong);
  text-decoration: none;
}
.btn-link.secondary {
  background: #fff;
  color: var(--accent);
  border: 1px solid var(--line-strong);
}
/* Планшеты. */
@media (max-width: 1100px) {
  .wrap {
    padding: 0 24px;
  }
  .site-header .wrap {
    gap: 20px;
  }
  .site-nav {
    gap: 17px;
    font-size: 13px;
  }
  .site-header .cta {
    font-size: 13px;
    padding: 10px 14px;
  }
  .hero {
    gap: 36px;
    grid-template-columns: minmax(0, 1fr) 330px;
  }
  .hero h1 {
    font-size: 47px;
  }
  .hero .actions {
    gap: 8px;
  }
  .hero .actions .btn {
    font-size: 13px;
    padding: 12px 14px;
  }
  .hero .lead {
    font-size: 18px;
  }
  .comm {
    padding: 21px;
  }
  .order-layout {
    grid-template-columns: minmax(0, 1fr) 306px;
    gap: 18px;
  }
  .order-layout .card {
    padding: 20px;
  }
  .gridwrap .slots {
    border-spacing: 3px;
  }
  .cell {
    min-width: 46px;
    font-size: 11px;
  }
  .faq-section {
    gap: 50px;
  }
  .price-card {
    padding: 22px 17px;
  }
  .price-card.popular {
    padding: 21px 16px;
  }
  .price-card .sum {
    font-size: 26px;
  }
  .site-footer .footer-grid {
    gap: 32px 24px;
  }
}
@media (max-width: 900px) {
  .site-header .wrap {
    min-height: 72px;
    gap: 12px;
  }
  .site-header .cta {
    margin-left: auto;
    font-size: 13px;
  }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 72px;
    background: white;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 22px #1928580a;
    padding: 12px 24px;
    margin: 0;
    align-items: stretch;
    gap: 0;
  }
  .site-nav.open {
    display: flex;
    flex-direction: column;
  }
  .site-nav a {
    padding: 14px 0;
    font-size: 15px;
    border-bottom: 1px solid var(--line);
  }
  .site-nav a:last-child {
    border: 0;
  }
  .nav-toggle {
    display: inline-flex;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    background: #fff;
    border-color: var(--line);
    color: var(--fg);
  }
  .nav-toggle:hover {
    background: var(--soft);
    border-color: var(--line);
    color: var(--fg);
  }
  .catalog-grid,
  .grid.c4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero {
    grid-template-columns: minmax(0, 1fr) 290px;
    padding-top: 44px;
    gap: 28px;
  }
  .hero h1 {
    font-size: 38px;
  }
  .hero .lead {
    font-size: 16px;
  }
  .hero .actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero .actions .btn {
    min-width: 210px;
  }
  .hero-description {
    font-size: 13px;
  }
  .hero-included {
    font-size: 12px;
    gap: 6px;
  }
  .post-head {
    padding: 12px;
    gap: 8px;
  }
  .post-head b {
    font-size: 12px;
  }
  .post-head small {
    font-size: 11px;
  }
  .post-footer {
    font-size: 12px;
    gap: 8px;
    padding: 12px 10px;
  }
  .section {
    padding-top: 64px;
  }
  .grid.c3 {
    gap: 14px;
  }
  .case-body {
    padding: 18px;
  }
  .case-metrics {
    gap: 18px;
  }
  .case-metrics b {
    font-size: 16px;
  }
  .case-image {
    --thumb-height: 190px;
  }
  .section-aside {
    display: none;
  }
  .price-grid {
    row-gap: 32px;
  }
  .faq-section {
    grid-template-columns: 1fr 1.6fr;
    gap: 36px;
  }
  .contact-cta {
    padding: 36px;
    gap: 32px;
  }
  .contact-cta h2 {
    font-size: 29px;
  }
  .contact-actions .btn {
    font-size: 13px;
    padding: 12px 15px;
  }
  .site-footer .footer-grid {
    grid-template-columns: 1.5fr 1fr;
    gap: 32px 50px;
  }
  .order-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .cart {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .cart .card {
    margin-bottom: 0;
  }
  .order-layout .card {
    padding: 24px;
  }
  .gridwrap .slots {
    border-spacing: 5px;
  }
  .slots .cell {
    font-size: 12px;
  }
  .gridwrap .slots .day {
    font-size: 12px;
  }
  .mbar:not([hidden]) {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 45;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: white;
    border-top: 1px solid var(--line);
    padding: 12px 24px calc(12px + env(safe-area-inset-bottom));
    box-shadow: 0 -6px 24px #19285808;
  }
  .mbar-sum {
    display: flex;
    flex-direction: column;
    font-size: 12px;
    color: var(--muted);
  }
  .mbar-sum b {
    font-size: 21px;
    color: var(--fg);
  }
  body.has-mbar {
    padding-bottom: 90px;
  }
  .status-layout {
    grid-template-columns: 1fr !important;
  }
  input[type="text"],
  input[type="email"],
  input[type="date"],
  select {
    font-size: 16px;
  }
}
/* Телефон: карточки и выбор одного дня, исходная таблица остаётся источником мест. */
@media (max-width: 600px) {
  html {
    scroll-padding-top: 86px;
  }
  .wrap {
    padding: 0 20px;
  }
  .site-header .wrap {
    min-height: 70px;
    gap: 8px;
    padding: 0 16px;
  }
  .logo {
    font-size: 19px;
    gap: 8px;
  }
  .logo .mark {
    width: 34px;
    height: 34px;
  }
  .logo small {
    font-size: 9px;
    margin-top: 2px;
  }
  .site-header .cta {
    min-height: 42px;
    padding: 10px 12px;
    font-size: 12px;
    gap: 0;
  }
  .site-header .cta .icon,
  .cta-long {
    display: none;
  }
  .cta-short {
    display: inline;
  }
  .nav-toggle {
    min-width: 42px;
    min-height: 42px;
    border-radius: 9px;
  }
  .nav-toggle .icon {
    width: 20px;
    height: 20px;
  }
  .site-nav {
    top: 70px;
    padding: 8px 20px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 36px 0 26px;
  }
  .hero .eyebrow {
    font-size: 10px;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
  }
  .hero h1 {
    font-size: clamp(33px, 8.8vw, 48px);
    line-height: 1.16;
    letter-spacing: -0.045em;
    margin-bottom: 18px;
  }
  .hero .lead {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 12px;
  }
  .hero-description {
    font-size: 13px;
    line-height: 1.8;
    max-width: 380px;
  }
  .hero .actions {
    flex-direction: row;
    gap: 8px;
    margin-top: 22px;
    align-items: stretch;
  }
  .hero .actions .btn {
    min-width: 0;
    min-height: 48px;
    font-size: 14px;
    padding: 11px 12px;
    flex: 1 1 auto;
    gap: 6px;
  }
  .hero .actions .icon {
    width: 16px;
    height: 16px;
  }
  .hero-included {
    font-size: 12px;
    margin: 18px 0 9px;
    gap: 7px;
  }
  .hero-from {
    font-size: 12px;
    max-width: 310px;
    line-height: 1.8;
  }
  .hero-proof {
    width: 100%;
    max-width: 366px;
    margin: 0 auto;
  }
  .post-head {
    padding: 14px;
    gap: 9px;
  }
  .post-head b {
    font-size: 11px;
  }
  .post-head small {
    font-size: 11px;
  }
  .post-footer {
    font-size: 12px;
    padding: 13px;
  }
  .proof-note b {
    font-size: 12px;
  }
  .proof-note small {
    font-size: 11px;
  }
  .proof-strip {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 22px 0;
  }
  .proof-strip > div {
    justify-content: flex-start;
    border: 0;
    gap: 14px;
  }
  .proof-strip b {
    font-size: 14px;
  }
  .proof-strip small {
    font-size: 12px;
  }
  .proof-strip .icon {
    width: 24px;
    height: 24px;
  }
  .section {
    padding-top: 52px;
  }
  .section-head {
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 22px;
  }
  .section-head > .text-link {
    display: none;
  }
  h2 {
    font-size: 28px;
    letter-spacing: -0.04em;
    margin-bottom: 12px;
  }
  .section-head p {
    font-size: 14px;
    line-height: 1.8;
  }
  .eyebrow {
    font-size: 10px;
    margin-bottom: 10px;
  }
  .catalog-grid,
  .grid.c4,
  .grid.c3,
  .grid.c2 {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .comm {
    padding: 22px;
  }
  .comm-top {
    margin-bottom: 15px;
  }
  .comm h3 {
    min-height: 0;
    font-size: 18px;
    margin-bottom: 14px;
  }
  .comm-stats > div {
    font-size: 12px;
    padding: 8px 0;
  }
  .comm-stats dd {
    font-size: 13px;
  }
  .comm .price {
    font-size: 25px;
    margin-bottom: 16px;
  }
  .comm .btn {
    font-size: 13px;
  }
  .comm-stats {
    margin-bottom: 18px;
  }
  .community-avatar {
    width: 42px;
    height: 42px;
  }
  .comm .pill {
    font-size: 10px;
  }
  .audience-details {
    padding: 0 17px;
  }
  .audience-details > summary {
    font-size: 13px;
  }
  .audience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
  .fact b {
    font-size: 25px;
  }
  .fact span {
    font-size: 12px;
  }
  .data-note {
    font-size: 11px;
    line-height: 1.8;
  }
  .case-image {
    --thumb-height: 230px;
  }
  .case-body {
    padding: 21px;
  }
  .case-body h3 {
    font-size: 17px;
  }
  .case-metrics {
    gap: 44px;
  }
  .case-metrics b {
    font-size: 20px;
  }
  .case-metrics small {
    font-size: 11px;
  }
  .case-open {
    font-size: 13px;
  }
  .price-grid {
    gap: 26px !important;
  }
  .price-card,
  .price-card.popular {
    padding: 24px;
  }
  .price-card h3 {
    font-size: 17px;
    margin-bottom: 12px;
  }
  .price-card .sum {
    font-size: 34px;
  }
  .price-card .per {
    font-size: 12px;
    margin-bottom: 20px;
  }
  .price-features {
    font-size: 12px;
    gap: 11px;
    margin-bottom: 23px;
  }
  .price-card .btn {
    font-size: 13px;
  }
  .included-note {
    font-size: 12px;
  }
  .step {
    padding: 22px;
  }
  .step .n {
    margin-bottom: 17px;
  }
  .step p {
    font-size: 13px;
  }
  .faq-section {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .faq-section > div > p {
    font-size: 14px;
    margin-bottom: 7px;
  }
  .faq-section .text-link {
    font-size: 14px;
  }
  .faq-list summary {
    min-height: 66px;
    font-size: 14px;
    gap: 18px;
    padding: 18px 0;
  }
  .faq-list p {
    font-size: 14px;
  }
  .future-grid {
    gap: 12px !important;
  }
  .dir {
    padding: 21px;
  }
  .dir h3 {
    font-size: 15px;
    margin-top: 16px;
  }
  .dir p {
    font-size: 13px;
  }
  .contact-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding: 28px 24px;
    margin: 48px 0 0;
    border-radius: 16px;
  }
  .contact-cta h2 {
    font-size: 28px;
  }
  .contact-cta p {
    font-size: 14px;
  }
  .contact-actions {
    align-items: stretch;
    gap: 10px;
  }
  .contact-actions .btn {
    font-size: 13px;
  }
  .contact-alt {
    justify-content: center;
    font-size: 12px;
    min-height: 36px;
  }
  .site-footer {
    margin-top: 48px;
  }
  .site-footer .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 22px;
    padding-top: 32px;
    padding-bottom: 20px;
  }
  .footer-brand {
    grid-column: 1/-1;
  }
  .site-footer .logo {
    margin-bottom: 15px;
  }
  .site-footer h4 {
    font-size: 13px;
    margin-bottom: 14px;
  }
  .site-footer a:not(.logo),
  .site-footer p {
    font-size: 13px;
    line-height: 1.9;
  }
  .site-footer .legal {
    flex-direction: column;
    gap: 10px;
    font-size: 11px;
    padding-top: 20px;
  }
  .site-footer .footer-grid > div:nth-child(4) {
    grid-column: 1/-1;
  }
  .order-intro {
    padding-top: 20px;
  }
  .breadcrumb {
    margin-bottom: 14px;
    font-size: 12px;
  }
  .order-intro h1 {
    font-size: 28px;
    line-height: 1.25;
    margin-bottom: 13px;
  }
  .order-intro > p {
    font-size: 13px;
    line-height: 1.85;
  }
  .steps {
    gap: 10px;
    padding-bottom: 18px;
    margin: 22px 0;
  }
  .steps > div {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    font-size: 11px;
    line-height: 1.4;
  }
  .steps .n {
    width: 26px;
    flex-basis: 26px;
    height: 26px;
    font-size: 11px;
  }
  .order-layout .card {
    padding: 20px;
    margin-bottom: 16px;
  }
  .card-head {
    margin-bottom: 16px;
    gap: 10px;
  }
  .card-head h2 {
    font-size: 18px;
  }
  .card-head .eyebrow {
    font-size: 10px;
  }
  .comm-pick {
    margin-right: -20px;
    padding-right: 20px;
    scroll-snap-type: x proximity;
  }
  .comm-pick a {
    flex-basis: 160px;
    padding: 12px;
    scroll-snap-align: start;
  }
  .comm-pick .t {
    font-size: 13px;
  }
  .comm-pick .s {
    font-size: 11px;
  }
  .selection-help {
    font-size: 12px;
    line-height: 1.8;
  }
  .legend-slots {
    gap: 11px;
    font-size: 11px;
    margin: 16px 0;
  }
  .gridwrap {
    overflow: visible;
  }
  .grid-controls {
    flex-wrap: wrap;
    margin-bottom: 14px;
  }
  .grid-mode button {
    font-size: 11px;
    min-height: 30px;
  }
  .range-nav {
    gap: 4px;
  }
  .range-nav button {
    min-width: 32px;
    min-height: 34px;
  }
  .range-label {
    font-size: 12px;
    min-width: 108px;
  }
  .day-picker {
    display: flex;
    gap: 5px;
    overflow: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
  }
  .day-picker button {
    flex: 1 0 35px;
    min-width: 35px;
    min-height: 56px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #fff;
    color: var(--fg);
    font-size: 13px;
    padding: 7px 2px;
  }
  .day-picker button small {
    font-size: 10px;
    color: var(--muted);
    font-weight: 500;
  }
  .day-picker button.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
  }
  .day-picker button.active small {
    color: #dce3ff;
  }
  .day-picker button.has-selection:not(.active) {
    background: var(--accent-soft);
    border-color: #bdcaff;
    color: var(--accent);
  }
  .slots,
  .slots tbody {
    display: block;
    width: 100%;
    border-spacing: 0 !important;
  }
  .slots tr {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    border: 0;
    padding: 16px 0 4px;
  }
  .slots tr:first-child {
    display: none;
  }
  .slots td {
    display: block;
  }
  .slots .day {
    grid-column: 1/-1;
    padding: 0 !important;
    font-size: 12px !important;
    margin-bottom: 5px;
  }
  .slots .cell {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    font-size: 13px;
  }
  .slots .cell.busy {
    font-size: 0;
  }
  .slots .cell.busy:before {
    content: attr(data-t);
    font-size: 13px;
    text-decoration: line-through;
  }
  .slots .cell.closed {
    font-size: 12px;
  }
  .slots tr.later {
    display: none;
  }
  .more-days:not([hidden]) {
    display: flex;
    width: 100%;
    margin-top: 14px;
    font-size: 12px;
    min-height: 44px;
  }
  .tab {
    font-size: 12px;
    min-height: 40px;
  }
  .cart {
    display: block;
  }
  .cart-title h2 {
    font-size: 18px;
  }
  .cart-group h3 {
    font-size: 13px;
  }
  .cart-slot {
    font-size: 12px;
  }
  .cart-rate {
    font-size: 12px;
  }
  .cart-discount {
    font-size: 12px;
  }
  .cart .sum-hint {
    font-size: 12px;
  }
  .cart-empty {
    padding: 20px 6px;
  }
  .cart-total {
    font-size: 13px;
  }
  .cart-total b {
    font-size: 28px;
  }
  .checkout-card h2 {
    font-size: 18px;
  }
  .checkout-card > label {
    font-size: 12px;
  }
  .consent label {
    font-size: 12px;
    line-height: 1.9;
  }
  .consent {
    margin: 18px 0;
  }
  .cart-caption,
  .payment-note {
    font-size: 11px;
  }
  .mbar:not([hidden]) {
    padding: 11px 20px calc(11px + env(safe-area-inset-bottom));
  }
  .mbar-go {
    font-size: 13px;
    min-height: 46px;
    padding: 10px 18px;
  }
  .status-head h1 {
    font-size: 25px;
  }
  .status-layout .card {
    padding: 18px;
  }
  .status-layout .grid.c3 {
    gap: 20px;
  }
  .status-table-wrap {
    margin: 0 -6px;
  }
  .plain {
    min-width: 480px;
  }
  .plain th,
  .plain td {
    padding: 10px 7px;
  }
  .legal-page {
    padding: 22px 18px;
  }
  .legal-page > h1 {
    font-size: 25px;
  }
  .doc {
    font-size: 14px;
  }
  .doc h2 {
    font-size: 18px;
  }
  .card {
    padding: 20px;
  }
  .btn-link {
    font-size: 13px;
  }
}
@media (max-width: 360px) {
  .wrap {
    padding: 0 16px;
  }
  .site-header .wrap {
    padding: 0 12px;
    gap: 6px;
  }
  .logo {
    font-size: 17px;
    gap: 7px;
  }
  .logo .mark {
    width: 31px;
    height: 31px;
  }
  .site-header .cta {
    padding: 9px 10px;
    font-size: 11px;
  }
  .hero-included {
    font-size: 11px;
  }
  .grid-controls {
    gap: 8px;
  }
  .range-nav {
    order: 2;
    width: 100%;
    justify-content: space-between;
  }
  .grid-mode {
    margin-left: auto;
  }
  .day-picker button {
    min-width: 32px;
    flex-basis: 32px;
  }
  .contact-cta {
    padding: 25px 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}

/* --- Правки по макетам и браузерной проверке 17.10.2026 (после приёмки вёрстки) ---------------------------------- */
/* Страница заказа на телефоне: таблица выходов выталкивала карточку за экран (+216px при 320px) — ячейке сетки нужен min-width:0 */
.status-layout > div {
  min-width: 0;
}
/* Форма: все сообщества видны сразу, без горизонтальной прокрутки (при 1440px пятое было спрятано, при 390px — четыре) */
.comm-pick {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 10px;
  overflow: visible;
  padding: 0;
  margin: 0;
}
.comm-pick a {
  flex: none;
  min-width: 0;
}
/* Каталог: Telegram и MAX — в конце сетки (порядок в разметке и данных не меняется), флагман — широкая карточка (макет 02) */
.catalog-grid .comm.external {
  order: 1;
}
@media (min-width: 901px) {
  .catalog-grid .comm.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 20px 36px;
    padding: 24px 28px;
  }
  .comm.featured .comm-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
  }
  .comm.featured h3 {
    margin: 0;
  }
  .comm.featured .comm-stats {
    display: flex;
    gap: 32px;
    margin: 0;
  }
  .comm.featured .comm-stats > div {
    display: block;
    border: 0;
    padding: 0;
  }
  .comm.featured .comm-stats dd {
    font-size: 20px;
    margin-top: 2px;
  }
  .comm.featured .comm-bottom {
    display: flex;
    align-items: center;
    gap: 24px;
  }
  .comm.featured .price {
    margin: 0;
  }
  .comm.featured .btn.block {
    width: auto;
    min-width: 180px;
  }
  /* Корзина прилипает к верху; теперь в ней строка на каждое место, и при большом заказе кнопка оплаты уходила за
     нижний край экрана — даём корзине прокрутку внутри высоты экрана */
  .cart {
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    padding-right: 2px;
  }
}
@media (max-width: 600px) {
  /* Первый экран на телефоне: кнопка во всю ширину, помощь менеджера — ссылкой под ней (макет 02_Mobile/01) */
  .hero .actions {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .hero .actions .btn {
    min-height: 50px;
    font-size: 14px;
    padding: 12px 16px;
  }
  .hero .actions .btn.secondary {
    background: none;
    border: 0;
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 4px;
    min-height: 44px;
  }
  /* Каталог на телефоне компактнее (макет 02_Mobile/02): показатели в три колонки, цена и кнопка в одной строке */
  .comm {
    padding: 18px;
  }
  .comm-top {
    margin-bottom: 12px;
  }
  .comm h3 {
    font-size: 17px;
    margin-bottom: 12px;
  }
  .comm-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 14px;
  }
  .comm-stats > div {
    display: block;
    border: 0;
    padding: 0;
    font-size: 11px;
  }
  .comm-stats dt {
    line-height: 1.35;
  }
  .comm-stats dd {
    font-size: 15px;
    margin-top: 3px;
  }
  .comm-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 12px;
  }
  .comm .price {
    margin: 0;
    font-size: 22px;
  }
  .comm .btn.block {
    width: auto;
    flex: 1 1 150px;
    padding: 10px 14px;
  }
  /* Форма: сообщества в две колонки */
  .comm-pick {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-right: 0;
    padding-right: 0;
  }
  .comm-pick .t {
    min-height: 0;
  }
  /* Оферта и политика: редакция под заголовком, а не обрывком строки */
  .legal-page > h1 .muted {
    display: block;
    font-size: 13px !important;
    font-weight: 500;
    letter-spacing: 0;
    margin-top: 6px;
  }
}

/* --- Раунд 2 по макетам, решения Ала 19.10: блоки 1–2 ------------------------------------------------------------ */
.site-header .cta { gap: 0; }
.hero-help { display: inline-flex; align-items: center; min-height: 52px; padding: 0 6px; color: var(--accent); font-weight: 700; font-size: 15px;
             text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.hero-help:hover { color: var(--accent-strong); }
.hero-included { display: flex; align-items: center; gap: 12px; margin: 26px 0 0; font-size: 15px; color: var(--muted); }
.hero-included > span { display: inline-flex; align-items: center; gap: 9px; }
.hero-included > b { font-weight: 400; color: var(--faint); }
.hero-included i { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); flex: 0 0 auto; }
.hero-included i .icon { width: 15px; height: 15px; color: var(--accent); }
.post-head .avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.post-head small { font-size: 13px; }
.post-head b { font-size: 15px; }
.vk-badge { margin-left: auto; width: 36px; height: 36px; border-radius: 10px; background: #0077ff; color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.vk-badge svg { width: 24px; height: 24px; }
.post-real { display: inline-block; margin: 0 15px 12px; padding: 5px 11px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 600; }
.post-footer { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 10px; padding: 14px 15px 16px; }
.post-views { font-size: 18px; font-weight: 800; letter-spacing: -0.03em; color: var(--fg); white-space: nowrap; }
.post-footer a { font-size: 12px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; margin-left: auto; }
.post-footer small { flex: 1 0 100%; font-size: 12px; color: var(--muted); }
.proof-strip > div { gap: 16px; }
.proof-strip i { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 12px; background: var(--accent-soft); flex: 0 0 auto; }
.proof-strip .icon { color: var(--fg); width: 26px; height: 26px; }
.proof-strip b { font-size: 17px; }
.proof-strip small { font-size: 14px; }
@media (max-width: 600px) {
  .hero .actions { gap: 6px; }
  .hero-help { justify-content: center; min-height: 44px; font-size: 15px; }
  .hero-included { justify-content: center; flex-wrap: wrap; gap: 8px 14px; font-size: 13px; margin-top: 18px; }
  .hero-included > b { display: none; }
  .hero-included i { width: 24px; height: 24px; }
  .hero-included i .icon { width: 13px; height: 13px; }
  .post-footer a { margin-left: 0; }
  .post-real { margin: 0 14px 10px; }
  .post-views { font-size: 19px; }
  .proof-strip { padding: 18px 16px; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; margin-top: 10px; }
  .proof-strip > div { gap: 12px; }
  .proof-strip i { width: 46px; height: 46px; }
  .proof-strip b { font-size: 15px; }
  .proof-strip small { font-size: 13px; }
}

/* --- Раунд 2, блок 3 «Площадки» (решения Ала 19.10) ------------------------------------------------------------ */
.comm { padding: 22px; }
.comm.featured { background: var(--surface); border-color: var(--line); }
.comm-head { display: flex; gap: 14px; align-items: center; margin: 0 0 16px; min-width: 0; }
.comm-avatar { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.comm-avatar.lettermark { display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 17px; }
.comm-avatar.tg { background: #e4f2fd; color: #1d8fe0; }
.comm-avatar.max { background: #efe7ff; color: #7b3fe4; }
.comm-title { min-width: 0; }
.comm-title h3 { margin: 0 0 5px; font-size: 18px; min-height: 0; }
.comm-net { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); }
.comm-net .vk-badge { width: 20px; height: 20px; border-radius: 6px; margin: 0; }
.comm-net .vk-badge svg { width: 13px; height: 13px; }
.net-badge { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 6px; font-size: 9px; font-weight: 800; color: #fff; flex: 0 0 auto; }
.net-badge.tg { background: #29a3ef; }
.net-badge.max { background: #7b3fe4; }
.comm-facts { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 0 0 16px; }
.comm-facts div b { display: block; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1.2; }
.comm-facts div span { font-size: 13px; color: var(--muted); }
.comm-price { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.comm-price b { display: block; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.comm-price small { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.comm .btn { font-size: 14px; padding: 10px 18px; min-height: 44px; flex: 0 0 auto; }
.data-note { margin-top: 14px; }
.audience-details { margin-top: 14px; }
@media (min-width: 901px) {
  .catalog-grid .comm.featured { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.3fr) auto auto; align-items: center; gap: 18px 36px; padding: 20px 26px; }
  .comm.featured .comm-head { margin: 0; }
  .comm.featured .comm-avatar { width: 72px; height: 72px; }
  .comm.featured .comm-title h3 { font-size: 20px; }
  .comm.featured .comm-facts { margin: 0; gap: 32px; padding-left: 32px; border-left: 1px solid var(--line); }
  .comm.featured .comm-facts div b { font-size: 26px; }
  .comm.featured .comm-price { margin: 0; gap: 24px; padding-left: 32px; border-left: 1px solid var(--line); flex-wrap: nowrap; }
  .comm.featured .comm-price b { font-size: 22px; }
  .comm.featured .btn { min-width: 170px; }
}
@media (max-width: 600px) {
  .comm { padding: 16px; }
  .comm:not(.featured) { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "head btn" "facts btn" "price btn"; column-gap: 12px; row-gap: 4px; align-items: center; }
  .comm:not(.featured) .comm-head { grid-area: head; margin: 0; gap: 10px; }
  .comm:not(.featured) .comm-avatar { width: 48px; height: 48px; }
  .comm:not(.featured) .comm-title h3 { font-size: 16px; margin-bottom: 2px; }
  .comm:not(.featured) .comm-net { font-size: 12px; }
  .comm:not(.featured) .comm-facts { grid-area: facts; margin: 4px 0 0 58px; gap: 4px 14px; }
  .comm:not(.featured) .comm-facts div { display: flex; gap: 5px; align-items: baseline; }
  .comm:not(.featured) .comm-facts div b { font-size: 15px; }
  .comm:not(.featured) .comm-facts div span { font-size: 12px; }
  .comm:not(.featured) .comm-price { grid-area: price; margin: 0 0 0 58px; display: block; }
  .comm:not(.featured) .comm-price b { font-size: 15px; display: inline; }
  .comm:not(.featured) .comm-price small { display: inline; margin-left: 4px; }
  .comm:not(.featured) .btn { grid-area: btn; align-self: center; padding: 10px 14px; font-size: 13px; }
  .comm.featured .comm-head { margin-bottom: 12px; }
  .comm.featured .comm-avatar { width: 64px; height: 64px; }
  .comm.featured .comm-facts { gap: 8px 22px; margin-bottom: 14px; }
  .comm.featured .comm-price { display: block; }
  .comm.featured .comm-price > div { margin-bottom: 12px; }
  .comm.featured .btn { width: 100%; }
}

/* --- Раунд 2, блок 4 «Примеры размещений» (решения Ала 19.10) ------------------------------------------------- */
.section-head.centered { justify-content: center; text-align: center; }
.section-head.centered p { margin: 0 auto; }
.case-card { display: flex; flex-direction: column; }
.case-image { display: block; height: auto; overflow: hidden; background: var(--soft); }
.case-image .creative { width: 100%; }
.case-body { padding: 18px 20px 20px; gap: 0; }
.case-body .pill { align-self: flex-start; margin-bottom: 12px; font-size: 12px; }
.case-body h3 { font-size: 18px; margin-bottom: 4px; }
.case-body > small { font-size: 13px; }
.case-metrics { border: 0; padding: 0; margin: 16px 0 14px; gap: 10px; }
.case-metrics > span { display: flex; align-items: center; gap: 8px; background: var(--soft); border-radius: 10px; padding: 10px 14px; }
.case-metrics b { font-size: 16px; }
.case-metrics small { font-size: 13px; }
.case-link { margin-top: auto; display: inline-flex; align-items: center; min-height: 40px; font-weight: 700; font-size: 14px; }
.cases-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 22px; padding: 14px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.cases-foot .data-note { margin: 0; }
@media (max-width: 600px) {
  .section-head.centered { text-align: left; justify-content: flex-start; }
  .section-head.centered p { margin: 0; }
  .case-card { display: grid; grid-template-columns: 124px minmax(0, 1fr); align-items: stretch; }
  .case-image { height: auto; min-height: 100%; display: flex; align-items: flex-start; }
  .case-image .creative { width: 100%; }
  .case-body { padding: 14px 14px 14px 12px; }
  .case-body h3 { font-size: 15px; }
  .case-metrics { margin: 12px 0 10px; }
  .case-metrics > span { padding: 8px 10px; }
  .case-metrics b { font-size: 15px; }
  .case-link { font-size: 13px; }
  .cases-foot { flex-direction: column; align-items: stretch; }
  .cases-foot .btn { width: 100%; }
}

/* --- Блоки 1–2, правка Ала 19.10: меньше пустого места, полоса фактов сразу под текстом первого экрана ------------ */
.hero { padding: 36px 0 24px; gap: 48px; align-items: start; grid-template-columns: minmax(0, 1fr) 360px; grid-template-rows: auto 1fr; }
.hero-copy { grid-column: 1; grid-row: 1; padding-top: 20px; }
.hero-proof { grid-column: 2; grid-row: 1 / 3; }
.hero .proof-strip { grid-column: 1; grid-row: 2; align-self: start; margin-top: 28px; padding: 20px 0; }
.hero h1 { margin-bottom: 16px; }
.hero .lead { margin-bottom: 20px; }
.hero .actions { margin-top: 0; }
.hero-included { margin-top: 22px; }
.hero .proof-strip > div { justify-content: flex-start; padding-right: 16px; gap: 12px; }
.hero .proof-strip i { width: 46px; height: 46px; }
.hero .proof-strip b { font-size: 15px; }
.hero .proof-strip small { font-size: 13px; }
#communities.section { padding-top: 56px; }
@media (max-width: 1100px) { .hero { gap: 32px; grid-template-columns: minmax(0, 1fr) 330px; } .hero .proof-strip > div { gap: 10px; } .hero .proof-strip i { width: 40px; height: 40px; } }
@media (max-width: 900px) { .hero { grid-template-columns: minmax(0, 1fr) 290px; } .hero .proof-strip { grid-column: 1 / -1; grid-row: 3; grid-template-columns: repeat(3, minmax(0, 1fr)); } .hero-proof { grid-row: 1 / 3; } }
@media (max-width: 600px) {
  .hero { display: flex; flex-direction: column; padding: 28px 0 20px; gap: 22px; }
  .hero-copy { padding-top: 0; }
  .hero-proof { width: 100%; max-width: 366px; margin: 0 auto; }
  .hero .proof-strip { margin-top: 0; padding: 16px; grid-template-columns: 1fr; }
  .hero .proof-strip > div { padding-right: 0; }
}

/* --- Блок 3, правки Ала 19.10 (второй круг) ---------------------------------------------------------------- */
.comm-facts div { text-align: center; }
.comm-price > div { flex: 1 1 auto; min-width: 0; }
.comm-price small { white-space: normal; }
.comm.featured .comm-price > div { flex: 0 0 auto; }
.audience { margin-top: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 18px 22px 20px; }
.audience-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.audience-head h3 { margin: 0; font-size: 17px; }
.audience-head .icon { color: var(--accent); }
.audience .audience-grid { border-top: 0; padding: 12px 0 0; }
@media (max-width: 600px) {
  .comm:not(.featured) .comm-facts div { text-align: left; }
  .audience { padding: 16px 16px 18px; }
}

/* --- Факты аудитории в первом экране (Ал 19.10): тот же формат, что полоса «7 площадок…» ------------------------- */
.hero .hero-facts { grid-column: 1 / -1; grid-row: 3; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 0; border-top: 0; padding-top: 0; }
.hero .hero-facts > div { padding-right: 12px; }
.hero .hero-facts > div:last-child { border-right: 0; }
@media (max-width: 900px) { .hero .hero-facts { grid-row: 4; grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 16px; } .hero .hero-facts > div:nth-child(3) { border-right: 0; } }
@media (max-width: 600px) {
  .hero .hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; padding: 16px; margin-top: 0; border-top: 1px solid var(--line); border-radius: 0 0 14px 14px; }
  .hero .proof-strip:not(.hero-facts) { border-radius: 14px 14px 0 0; border-bottom: 0; padding-bottom: 14px; }
  .hero .hero-facts > div { border: 0; padding: 0; gap: 10px; }
  .hero .hero-facts > div:last-child { grid-column: 1 / -1; }
  .hero .hero-facts i { width: 40px; height: 40px; }
}

/* --- Первый экран: восемь плиток 4×2 по высоте карточки (Ал 19.10) ----------------------------------------------- */
.hero-tiles { grid-column: 1; grid-row: 2; align-self: stretch; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 12px; margin-top: 24px; }
.hero-tiles .tile { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.hero-tiles i { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 11px; background: var(--accent-soft); flex: 0 0 auto; }
.hero-tiles .icon { width: 22px; height: 22px; color: var(--fg); }
.hero-tiles span { min-width: 0; }
.hero-tiles b { display: block; font-size: 15px; line-height: 1.25; }
.hero-tiles small { display: block; font-size: 12.5px; line-height: 1.35; color: var(--muted); margin-top: 2px; }
@media (max-width: 1100px) { .hero-tiles { gap: 10px; } .hero-tiles .tile { padding: 10px 12px; gap: 10px; } .hero-tiles i { width: 38px; height: 38px; } .hero-tiles b { font-size: 14px; } .hero-tiles small { font-size: 12px; } }
@media (max-width: 900px) { .hero-tiles { grid-column: 1 / -1; grid-row: 3; align-self: start; } }
@media (max-width: 600px) { .hero-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 0; } .hero-tiles .tile { padding: 12px; } .hero-tiles b { font-size: 14px; } }
/* --- Примеры: просмотры на строке даты, кнопка по центру (Ал 19.10) --------------------------------------------- */
.case-image img { display: block; width: 100%; height: auto; }
.case-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 2px 0 16px; }
.case-meta small { font-size: 13px; }
.case-views { display: inline-flex; align-items: center; gap: 6px; background: var(--soft); border-radius: 9px; padding: 6px 10px; font-size: 15px; }
.case-views .icon { width: 18px; height: 18px; color: var(--accent); }
.cases-foot { justify-content: center; padding: 0; background: none; border: 0; margin-top: 26px; }
@media (max-width: 600px) { .case-meta { margin-bottom: 12px; } .case-views { font-size: 14px; padding: 5px 9px; } }
/* подгонка: плитки в высоту карточки, число просмотров одной строкой */
.hero { row-gap: 0; }
.hero-tiles { margin-top: 22px; gap: 10px; }
.hero-tiles .tile { padding: 10px 12px; gap: 10px; }
.hero-tiles i { width: 40px; height: 40px; }
.hero-tiles b { font-size: 14.5px; }
.hero-tiles small { font-size: 12px; line-height: 1.3; }
.case-views { white-space: nowrap; }
@media (max-width: 600px) { .hero { row-gap: 0; } .case-views { font-size: 13px; padding: 5px 8px; gap: 5px; } .case-views .icon { width: 16px; height: 16px; } }
/* карточка первого экрана: просмотры иконкой, ссылка в той же строке (Ал 19.10) */
.post-footer { flex-wrap: nowrap; align-items: center; gap: 8px 12px; }
.post-footer a { margin-left: auto; white-space: nowrap; }
.post-footer small { flex: 1 0 100%; }
.post-footer { flex-wrap: wrap; }
.post-footer .case-views { flex: 0 0 auto; }
.post-footer a { flex: 0 0 auto; }
@media (max-width: 600px) { .post-footer a { margin-left: auto; font-size: 12px; } }
/* карточки площадок: цифры по центру карточки (Ал 19.10) */
.comm:not(.featured) .comm-facts { justify-content: center; gap: 10px 28px; }
.comm.featured .comm-facts { justify-content: center; }
@media (max-width: 600px) { .comm:not(.featured) .comm-facts { justify-content: flex-start; } }
.nowrap { white-space: nowrap; }
/* карточки площадок: цифры слева (Ал 19.10) */
.comm:not(.featured) .comm-facts, .comm.featured .comm-facts { justify-content: flex-start; }
.comm-facts div { text-align: left; }
/* расстояния между разделами меньше (Ал 19.10) */
.section { padding-top: 64px; }
.section-head { margin-bottom: 22px; }
#communities.section { padding-top: 48px; }
.contact-cta { margin: 56px 0; }
.site-footer { margin-top: 48px; }
@media (max-width: 900px) { .section { padding-top: 52px; } }
@media (max-width: 600px) { .section { padding-top: 40px; } .section-head { margin-bottom: 18px; } #communities.section { padding-top: 36px; } .contact-cta { margin: 40px 0 0; } .site-footer { margin-top: 40px; } }
/* телефон: отступ между галочками и карточкой поста (Ал 19.10) */
@media (max-width: 600px) { .hero-proof { margin-top: 22px; } }
/* телефон: плитки фактов сразу под галочками, карточка поста после них (Ал 19.10) */
@media (max-width: 600px) { .hero-tiles { order: 1; margin-top: 22px; } .hero-proof { order: 2; margin-top: 24px; } }
/* телефон: все карточки площадок одинаковые, цифры одной строкой с иконками (Ал 20.10) */
.comm-facts i { display: none; }
.comm-mprice { display: none; }
@media (max-width: 600px) {
  .catalog-grid .comm, .catalog-grid .comm.featured, .catalog-grid .comm:not(.featured) { display: block; padding: 16px; }
  .comm .comm-head { margin: 0 0 12px; gap: 12px; }
  .comm .comm-avatar { width: 52px; height: 52px; }
  .comm .comm-title h3 { font-size: 17px; margin-bottom: 2px; }
  .comm .comm-net { font-size: 12px; }
  .comm .comm-facts { display: flex; flex-wrap: nowrap; align-items: center; gap: 0 14px; margin: 0 0 12px; justify-content: flex-start; }
  .comm .comm-facts > div { display: inline-flex; align-items: center; gap: 5px; text-align: left; }
  .comm .comm-facts i { display: inline-flex; width: 18px; height: 18px; color: var(--accent); flex: 0 0 auto; }
  .comm .comm-facts i .icon { width: 18px; height: 18px; }
  .comm .comm-facts b { font-size: 16px; }
  .comm .comm-facts span { display: none; }
  .comm .comm-mprice { display: inline-flex; margin-left: auto; }
  .comm .comm-mprice b { font-size: 16px; }
  .comm .comm-price { display: block; margin: 0; }
  .comm .comm-price > div { display: none; }
  .comm .comm-price .btn { width: 100%; padding: 11px 14px; font-size: 14px; }
  .comm.featured .comm-price > div { display: none; }
}
@media (max-width: 600px) {
  /* добиваем: старая сетка карточек на телефоне полностью снята, все семь одинаковые */
  .comm:not(.featured) .comm-facts, .comm.featured .comm-facts { margin: 0 0 12px; gap: 0 14px; }
  .comm:not(.featured) .comm-price, .comm.featured .comm-price { margin: 0; }
  .comm:not(.featured) .btn, .comm.featured .btn { width: 100%; align-self: auto; }
  .comm .comm-facts b { font-size: 15px; }
  .comm .comm-facts > div { gap: 4px; }
}
/* телефон: строка цифр в карточках крупнее и по центру (Ал 20.10) */
@media (max-width: 600px) {
  .comm .comm-facts, .comm:not(.featured) .comm-facts, .comm.featured .comm-facts { justify-content: center; gap: 0 18px; margin: 2px 0 14px; }
  .comm .comm-facts > div { display: inline-flex; align-items: center; gap: 6px; line-height: 1; }
  .comm .comm-facts i, .comm .comm-facts i .icon { width: 22px; height: 22px; }
  .comm .comm-facts b, .comm .comm-mprice b { font-size: 19px; line-height: 1; }
  .comm .comm-mprice { margin-left: 0; }
  .included-note { margin-top: 16px; }
}
@media (max-width: 600px) {
  /* те же правила с той же специфичностью, что у старой телефонной сетки карточек — иначе не перебивают её */
  .comm:not(.featured) .comm-facts div, .comm.featured .comm-facts div { display: inline-flex; align-items: center; gap: 6px; line-height: 1; }
  .comm:not(.featured) .comm-facts div b, .comm.featured .comm-facts div b, .comm:not(.featured) .comm-mprice b { font-size: 19px; line-height: 1; }
  .comm:not(.featured) .comm-facts div i, .comm.featured .comm-facts div i { display: inline-flex; width: 22px; height: 22px; }
}

/* --- Блок 6 «Как разместить» по макету 05 (Ал 20.10) ------------------------------------------------------------ */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.process .step { position: static; display: grid; grid-template-columns: 76px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 20px; row-gap: 10px; align-items: start;
                 padding: 26px 24px 30px 0; margin: 0; background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.process .step:nth-child(3n+2), .process .step:nth-child(3n) { padding-left: 24px; border-left: 1px solid var(--line); }
.process .step:nth-child(n+4) { border-bottom: 0; }
.process .step .n { grid-column: 1; grid-row: 1; display: block; width: auto; height: auto; margin: 0; padding: 0; background: none; border-radius: 0;
                    color: #b9c6f4; font-size: 40px; font-weight: 800; line-height: 1; letter-spacing: -0.03em; align-self: center; }
.process .step i { grid-column: 1; grid-row: 2; display: inline-flex; align-items: center; justify-content: center; width: 76px; height: 76px; border-radius: 50%; background: var(--accent-soft); }
.process .step i .icon { width: 30px; height: 30px; color: var(--fg); float: none; margin: 0; }
.process .step h3 { grid-column: 2; grid-row: 1; margin: 0; font-size: 20px; line-height: 1.25; align-self: center; }
.process .step p { grid-column: 2; grid-row: 2; margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 36px; padding: 32px 40px; border-radius: 16px; background: var(--accent); color: #fff; }
.cta-band h2 { margin: 0 0 6px; font-size: 30px; color: #fff; }
.cta-band p { margin: 0; font-size: 16px; color: #dce3ff; }
.cta-band .btn { flex: 0 0 auto; }
.cta-band .cta-short { display: none; }
@media (max-width: 1100px) { .process .step { grid-template-columns: 64px minmax(0, 1fr); column-gap: 16px; } .process .step i { width: 64px; height: 64px; } .process .step .n { font-size: 34px; } .process .step h3 { font-size: 18px; } .cta-band { padding: 26px 28px; } .cta-band h2 { font-size: 26px; } }
@media (max-width: 900px) { .process { grid-template-columns: repeat(2, minmax(0, 1fr)); } .process .step:nth-child(n) { border: 0; border-bottom: 1px solid var(--line); padding-left: 0; } .process .step:nth-child(2n) { padding-left: 24px; border-left: 1px solid var(--line); } .process .step:nth-child(n+5) { border-bottom: 0; } }
@media (max-width: 600px) {
  .process { grid-template-columns: 1fr; }
  .process .step, .process .step:nth-child(n), .process .step:nth-child(2n) { position: relative; grid-template-columns: 44px minmax(0, 1fr); grid-template-rows: auto; column-gap: 14px; row-gap: 2px; padding: 0 0 22px 0; border: 0; }
  .process .step .n { grid-row: 1 / 3; align-self: start; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 15px; letter-spacing: 0; }
  .process .step i { display: none; }
  .process .step h3 { grid-row: 1; font-size: 16px; align-self: start; padding-top: 11px; }
  .process .step p { grid-row: 2; font-size: 13px; line-height: 1.5; }
  .process .step::after { content: ""; position: absolute; left: 21px; top: 48px; bottom: 4px; width: 2px; background: var(--line); }
  .process .step:last-child::after { display: none; }
  .process .step:last-child { padding-bottom: 6px; }
  .cta-band { margin-top: 16px; padding: 0; background: none; border-radius: 0; display: block; }
  .cta-band > div { display: none; }
  .cta-band .btn { width: 100%; background: var(--accent); border-color: var(--accent); color: #fff; }
  .cta-band .cta-long { display: none; }
  .cta-band .cta-short { display: inline; }
}

/* --- Блок 7 «Вопросы и ответы» по макету 06 (Ал 20.10) --------------------------------------------------------- */
.faq-section { grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); gap: 36px 48px; align-items: start; }
.faq-aside h2 { margin-bottom: 12px; }
.faq-aside h2 span { color: var(--accent); }
.faq-aside > p { font-size: 17px; color: #4f5b6e; margin-bottom: 26px; }
.faq-help { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 8px 18px; padding: 24px; border-radius: 16px; background: var(--accent-soft); }
.faq-help i { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 14px; background: #fff; color: var(--accent); }
.faq-help i .icon { width: 24px; height: 24px; }
.faq-help h3 { margin: 4px 0 6px; font-size: 19px; }
.faq-help p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); }
.faq-help .btn { grid-column: 1 / -1; margin-top: 10px; justify-content: space-between; font-size: 16px; min-height: 54px; }
.faq-list { border: 0; display: grid; gap: 14px; }
.faq-list details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.faq-list summary { min-height: 0; padding: 14px 24px 14px 18px; gap: 16px; justify-content: flex-start; font-size: 18px; }
.faq-list summary:after, .faq-list details[open] summary:after, .faq-list details[open] summary::after { content: none; }
.faq-list summary .pm { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); flex: 0 0 auto; font: 400 26px/1 Inter, system-ui, sans-serif; }
.faq-list summary .pm::before { content: "+"; }
.faq-list details[open] summary .pm::before { content: "−"; }
.faq-list summary .chev { margin-left: auto; display: inline-flex; color: var(--muted); transition: transform 0.15s; }
.faq-list summary .chev .icon { width: 20px; height: 20px; }
.faq-list details[open] summary .chev { transform: rotate(180deg); }
.faq-list p { max-width: none; margin: 0; padding: 16px 24px 20px 82px; border-top: 1px solid var(--line); background: #fbfbfd; font-size: 15px; color: #4f5b6e; }
.faq-strip { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 12px; padding: 22px 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.faq-strip > div { display: flex; align-items: center; gap: 16px; padding-right: 20px; }
.faq-strip > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.faq-strip i { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 12px; background: var(--accent-soft); flex: 0 0 auto; }
.faq-strip i .icon { width: 24px; height: 24px; color: var(--accent); }
.faq-strip b { display: block; font-size: 16px; }
.faq-strip small { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; }
/* --- Блок 8 «Другие услуги», финальная полоса, подвал по макету 07 ---------------------------------------------- */
.dir-eyebrow { display: none; }
#directions > h2 { margin-bottom: 22px; }
.dir { position: relative; background: var(--surface); padding: 26px 28px 28px; }
.dir > i { display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 16px; background: var(--accent-soft); }
.dir > i .icon { width: 30px; height: 30px; color: var(--accent); }
.dir .pill.soon { position: absolute; top: 26px; right: 26px; float: none; border: 0; background: var(--accent-soft); color: var(--accent); font-size: 14px; font-weight: 600; padding: 7px 16px; border-radius: 999px; letter-spacing: 0; }
.dir h3 { font-size: 21px; margin: 22px 0 8px; }
.dir p { font-size: 16px; line-height: 1.5; }
.cta-final { margin: 28px 0 64px; }
.site-footer { margin-top: 0; }
.site-footer .footer-grid { grid-template-columns: 1.5fr 1fr 1.35fr 1.1fr; gap: 36px 0; padding-top: 44px; padding-bottom: 24px; }
.site-footer .footer-col { padding-left: 36px; border-left: 1px solid var(--line); }
.site-footer .logo { align-items: center; gap: 14px; font-size: 24px; margin-bottom: 22px; }
.site-footer .mark { width: 56px; height: 56px; }
.site-footer .logo small { display: block; margin-top: 4px; font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.site-footer h4 { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 6px 0 18px; }
.site-footer .footer-col a { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 16px; color: var(--fg); }
.site-footer .footer-col a.accent { color: var(--accent); }
.site-footer .footer-col a .icon { width: 20px; height: 20px; color: var(--muted); }
.site-footer .footer-col a.accent .icon { color: var(--accent); }
.site-footer .footer-col a .vk-badge { width: 22px; height: 22px; border-radius: 6px; margin: 0; }
.site-footer .footer-col a .vk-badge svg { width: 15px; height: 15px; }
.footer-location { align-items: flex-start; gap: 10px; font-size: 16px; color: var(--muted); line-height: 1.45; }
.footer-location .icon { width: 20px; height: 20px; margin-top: 2px; }
.site-footer .legal { font-size: 14px; color: var(--muted); padding-top: 22px; }
.site-footer .legal > span:first-child { max-width: 520px; }
@media (max-width: 1100px) {
  .faq-section { gap: 30px; }
  .faq-strip { padding: 18px 20px; }
  .site-footer .footer-grid { grid-template-columns: 1.3fr 1fr 1.3fr 1fr; }
  .site-footer .footer-col { padding-left: 24px; }
  .site-footer .footer-col a { font-size: 15px; }
}
@media (max-width: 900px) {
  .faq-section { grid-template-columns: 1fr; gap: 24px; }
  .faq-strip { grid-template-columns: 1fr; gap: 14px; }
  .faq-strip > div + div { padding-left: 0; border-left: 0; }
  .site-footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 24px; }
  .site-footer .footer-brand { grid-column: 1 / -1; }
  .site-footer .footer-col { padding-left: 0; border-left: 0; }
}
@media (max-width: 600px) {
  /* FAQ на телефоне (макет 02_Mobile/05): только список карточек, карточка помощи и полоса не нужны */
  .faq-section { gap: 0; }
  .faq-aside h2, .faq-aside > p, .faq-help { display: none; }
  .faq-aside .eyebrow { margin-bottom: 14px; }
  .faq-list { gap: 10px; }
  .faq-list summary { padding: 12px 16px 12px 14px; font-size: 15px; gap: 12px; }
  .faq-list summary .pm { width: 40px; height: 40px; font-size: 22px; }
  .faq-list p { padding: 14px 16px 16px; font-size: 14px; }
  .faq-strip { display: none; }
  .dir-eyebrow { display: block; margin-bottom: 14px; }
  #directions > h2 { display: none; }
  .future-grid { gap: 10px !important; }
  .dir { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 14px; padding: 18px 16px; align-items: start; }
  .dir > i { grid-row: 1 / 3; width: 64px; height: 64px; }
  .dir .pill.soon { top: 18px; right: 16px; font-size: 13px; padding: 6px 12px; }
  .dir h3 { grid-column: 2; margin: 2px 90px 4px 0; font-size: 17px; }
  .dir p { grid-column: 2; font-size: 14px; }
  .cta-band.cta-final { display: block; margin: 24px 0 40px; padding: 24px 20px; background: var(--accent); border-radius: 16px; }
  .cta-band.cta-final > div { display: block; }
  .cta-band.cta-final h2 { font-size: 24px; margin-bottom: 6px; }
  .cta-band.cta-final p { font-size: 15px; margin-bottom: 18px; }
  .cta-band.cta-final .btn { background: #fff; border-color: #fff; color: var(--accent); width: 100%; }
  .cta-band.cta-final .cta-long { display: none; }
  .cta-band.cta-final .cta-short { display: inline; }
  .site-footer .footer-grid { grid-template-columns: 1fr; gap: 0; padding-top: 28px; padding-bottom: 22px; }
  .site-footer .footer-brand { grid-column: auto; }
  .site-footer .logo { font-size: 22px; margin-bottom: 14px; }
  .site-footer .mark { width: 48px; height: 48px; }
  .site-footer .logo small { font-size: 13px; }
  .footer-location { font-size: 15px; margin-bottom: 14px; }
  .footer-location br { display: none; }
  .site-footer .footer-col h4 { display: none; }
  .site-footer .footer-col { display: flex; flex-wrap: wrap; gap: 8px 12px; padding: 14px 0; border-top: 1px solid var(--line); }
  .site-footer .footer-col a { margin: 0; font-size: 15px; }
  .site-footer .footer-nav a:not(:last-child)::after, .site-footer .footer-docs a:not(:last-child)::after { content: "·"; color: var(--faint); margin-left: 12px; }
  .site-footer .footer-contacts a span { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
  .site-footer .footer-contacts a.accent { display: none; }
  .site-footer .footer-contacts a .vk-badge, .site-footer .footer-contacts a .icon { width: 20px; height: 20px; }
  .site-footer .footer-grid > div:nth-child(4) { grid-column: auto; }
  .site-footer .legal { flex-direction: column; gap: 4px; font-size: 13px; padding-top: 16px; border-top: 1px solid var(--line); }
}

/* --- Раунд 2, блоки 10–11: страница заказа по макетам з01–з03 (Ал 20.10) ---------------------------------------- */
.only-phone { display: none; }
.order-intro { padding-top: 36px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 48px; align-items: center; margin-bottom: 26px; }
.order-intro h1 { font-size: 40px; margin: 0 0 8px; letter-spacing: -0.02em; }
.order-intro .muted { font-size: 16px; margin: 0; }
.order-intro .error { margin-top: 12px; }
.steps { display: flex; gap: 0; border: 0; padding: 0; margin: 0; }
.steps > div { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 150px; font-size: 14px; font-weight: 500; color: var(--muted); }
.steps > div:not(:last-child)::after { content: ""; position: absolute; top: 14px; left: 42px; right: 14px; height: 2px; background: var(--line); }
.steps > div.on:has(+ .on)::after { background: var(--accent); }
.steps .n { flex: 0 0 30px; width: 30px; height: 30px; font-size: 13px; background: #e8ebf1; color: var(--muted); }
.steps .on { color: var(--fg); font-weight: 600; }
.steps .on .n { background: var(--accent); color: #fff; }
.steps .cur { color: var(--accent); font-weight: 700; }
.steps .cur .n { box-shadow: 0 0 0 4px #dfe6ff; }
/* площадки — карточки в три колонки с аватаром */
.order-layout .card-head { margin-bottom: 16px; }
.comm-pick { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.comm-pick a { padding: 16px; border-radius: 12px; }
.comm-pick a.on { box-shadow: inset 0 0 0 1px var(--accent); }
.comm-pick-top { display: flex; gap: 12px; align-items: flex-start; }
.comm-pick .ava { position: relative; flex: 0 0 56px; width: 56px; height: 56px; }
.comm-pick .ava img { display: block; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: var(--soft); }
.comm-pick .ava .vk-badge, .comm-pick .ava .net-badge { position: absolute; right: -4px; bottom: -4px; width: 22px; height: 22px; border: 2px solid #fff; margin: 0; }
.comm-pick .ava .net-badge { font-size: 9px; }  /* бейдж MAX на аватаре — как у ВК (Ал 26.10: «M» выпадал под карточку) */
.comm-pick .ava .vk-badge svg { width: 13px; height: 13px; }
.comm-pick .t { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-height: 0; font-size: 15px; font-weight: 700; line-height: 1.3; }
.comm-pick .cnt { font-size: 12px; font-weight: 600; color: var(--accent); background: #dfe6ff; border-radius: 999px; padding: 3px 10px; line-height: 1.3; }
.comm-pick a.on .cnt { background: #fff; }
.comm-pick .cnt:empty { display: none; }
.comm-pick .p { font-size: 17px; font-weight: 800; margin-top: 12px; }
.comm-pick .p .muted { font-size: 13px; font-weight: 500; }
.selection-help.info { display: flex; align-items: center; gap: 8px; font-size: 13px; margin-top: 14px; }
.selection-help.info .icon { width: 16px; height: 16px; color: var(--accent); flex: 0 0 auto; }
/* сетка */
.grid-card { position: relative; }
.grid-h-phone { display: none; }
.grid-controls { flex-wrap: wrap; margin-bottom: 12px; }
.grid-who { display: flex; align-items: center; gap: 12px; margin-right: auto; min-width: 0; }
.grid-who img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--soft); }
.grid-who h2 { font-size: 20px; margin: 0; }
.grid-mode { position: absolute; top: 24px; right: 24px; }
.grid-mode button { font-size: 13px; min-height: 34px; padding: 6px 16px; border-radius: 6px; }
.grid-mode .active { background: var(--accent); color: #fff; box-shadow: none; }
.range-nav button { border-radius: 8px; }
.range-label { font-size: 14px; min-width: 180px; }
.gridwrap .legend-slots { margin: 2px 0 10px; font-size: 12px; }
.legend-slots i { width: 12px; height: 12px; border-radius: 50%; }
.legend-slots .busy { width: 12px; height: 2px; border: 0; border-radius: 0; background: var(--faint); vertical-align: 3px; }
.slots th { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
.slots th.th-date { text-align: left; }
.slots .day { font-size: 13px; }
.cell { min-height: 40px; font-size: 13px; }
.cell.busy { font-size: 0; }
.cell.busy::before { content: "—"; font-size: 13px; color: var(--faint); }
.cell.free.sel::before, .cell.free:has(input:checked)::before { content: ""; width: 14px; height: 14px; margin-right: 6px; flex: 0 0 auto; background: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / contain no-repeat; }
.day-title { display: none; }
.comm-picked { display: none; }
/* корзина */
.cart-title { display: block; padding-bottom: 14px; margin-bottom: 14px; }
.cart-title h2 { font-size: 22px; margin: 0 0 4px; }
.cart-sub { font-size: 14px; color: var(--muted); }
.cart-sub:empty { display: none; }
.cart-group { padding: 14px; margin-bottom: 12px; border: 1px solid var(--line); border-radius: 12px; }
.cart-group-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.cart-group-head img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--soft); flex: 0 0 auto; }
.cart-group h3 { font-size: 14px; margin: 0; }
.cart-group-head small { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.cart-slot { background: var(--soft); border-radius: 8px; padding: 5px 6px 5px 10px; margin-top: 6px; font-size: 13px; color: var(--fg); }
.cart-slot > span { display: inline-flex; align-items: center; gap: 8px; }
.cart-slot > span::before { content: ""; width: 14px; height: 14px; flex: 0 0 auto; background: var(--muted); -webkit-mask: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E") center / contain no-repeat; }
.slot-remove { font-size: 0; width: 32px; background-color: var(--muted); -webkit-mask: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16M10 11v6M14 11v6M6 7l1 13h10l1-13M9 7V4h6v3'/%3E%3C/svg%3E") center / 16px no-repeat; mask: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16M10 11v6M14 11v6M6 7l1 13h10l1-13M9 7V4h6v3'/%3E%3C/svg%3E") center / 16px no-repeat; border-radius: 0; }
.slot-remove:hover { background-color: var(--bad); }
.cart-rate { margin-top: 12px; font-size: 13px; align-items: center; }
.cart-rate b { font-size: 18px; }
.cart-discount { font-size: 12px; color: var(--muted); margin-top: 4px; }
.cart-discount b { color: var(--ok); font-weight: 600; }
.cart-saving { display: flex; justify-content: space-between; gap: 10px; margin: 14px 0 6px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; }
.cart-saving b { color: var(--ok); }
.cart-total { margin: 4px 0 2px; font-size: 18px; }
.cart-total b { font-size: 28px; }
.cart-base { font-size: 12px; color: var(--muted); margin-bottom: 16px; }
.cart-toggle { display: none; }
.cart .sum-hint { font-size: 12px; margin-top: 10px; }
.cart-caption { display: flex; align-items: center; gap: 8px; font-size: 12px; margin-top: 14px; }
.cart-caption .icon { width: 16px; height: 16px; flex: 0 0 auto; color: var(--muted); }
.checkout-card h2 { margin-bottom: 8px; }
.payment-info { font-size: 12px; color: var(--muted); margin: 14px 0 0; line-height: 1.6; }
.help-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--accent); }
.help-link .icon { width: 16px; height: 16px; flex: 0 0 auto; }
@media (max-width: 1100px) {
  .order-intro h1 { font-size: 34px; }
  .steps > div { min-width: 128px; font-size: 13px; }
  .grid-mode { top: 20px; right: 20px; }
  .range-label { min-width: 160px; font-size: 13px; }
}
@media (max-width: 900px) {
  .order-intro { grid-template-columns: 1fr; gap: 16px; }
  .steps { width: 100%; }
  .steps > div { flex: 1 1 0; min-width: 0; }
  .comm-pick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .only-pc { display: none; }
  .only-phone { display: inline; }
  .order-intro { padding-top: 16px; gap: 12px; margin-bottom: 14px; }
  .order-intro h1 { font-size: 26px; }
  .order-intro .muted { font-size: 14px; }
  .steps { gap: 0; margin: 0; padding: 0; }
  .steps > div { flex-direction: row; align-items: center; gap: 5px; font-size: 11px; line-height: 1.2; }
  .steps > div:not(:last-child)::after { content: ""; position: static; flex: 1 0 8px; height: 1px; margin: 0 4px; background: var(--line); }
  .steps > div.on:has(+ .on)::after { background: var(--accent); }
  .steps > div:last-child { flex: 0 0 auto; }
  .steps .n { flex-basis: 24px; width: 24px; height: 24px; font-size: 11px; }
  .steps .cur .n { box-shadow: 0 0 0 3px #dfe6ff; }
  .steps > div > span:not(.n) { white-space: nowrap; }
  /* площадки — строки (решено штабом: все сразу, без раскрытия) */
  .comm-pick { grid-template-columns: 1fr; gap: 8px; margin: 0; padding: 0; }
  .comm-pick a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
  .comm-pick-top { flex: 1 1 auto; min-width: 0; align-items: center; gap: 10px; }
  .comm-pick .ava { flex-basis: 44px; width: 44px; height: 44px; }
  .comm-pick .ava img { width: 44px; height: 44px; }
  .comm-pick .ava .vk-badge, .comm-pick .ava .net-badge { width: 18px; height: 18px; right: -3px; bottom: -3px; }
  .comm-pick .ava .net-badge { font-size: 8px; }
  .comm-pick .ava .vk-badge svg { width: 10px; height: 10px; }
  .comm-pick .t { font-size: 14px; gap: 4px; }
  .comm-pick .cnt { font-size: 11px; padding: 2px 8px; }
  .comm-pick .p { margin: 0; font-size: 14px; white-space: nowrap; flex: 0 0 auto; }
  .comm-pick .p .muted { font-size: 11px; }
  .selection-help.info { font-size: 12px; }
  /* сетка: заголовок «Выберите день и время», диапазон, чипы дней, дата, крупные ячейки, легенда снизу */
  .grid-card .card-head { margin-bottom: 12px; }
  .grid-card .card-head .eyebrow { display: none; }
  .grid-h-phone { display: block; font-size: 18px; margin: 0; }
  .grid-mode { display: none; }
  .grid-controls { margin-bottom: 10px; gap: 10px; }
  .grid-who { width: 100%; }
  .grid-who img { width: 32px; height: 32px; }
  .grid-who h2 { font-size: 15px; }
  .range-nav { order: 1; width: 100%; justify-content: space-between; }
  .range-label { font-size: 14px; font-weight: 700; }
  .range-nav button { min-width: 40px; min-height: 40px; border-radius: 10px; }
  .gridwrap { display: flex; flex-direction: column; }
  .gridwrap .grid-controls { order: 0; }
  .day-picker { display: flex; order: 1; gap: 6px; padding-bottom: 4px; }
  .day-picker button { min-height: 62px; border-radius: 10px; background: var(--soft); border-color: var(--soft); color: var(--fg); font-weight: 700; font-size: 13px; position: relative; justify-content: center; }
  .day-picker button small { font-size: 11px; }
  .day-picker button.active { background: var(--accent); border-color: var(--accent); color: #fff; }
  .day-picker button.has-selection:not(.active) { background: var(--soft); border-color: var(--soft); color: var(--fg); }
  .day-picker button.has-selection:not(.active)::after { content: ""; position: absolute; bottom: 5px; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--accent); }
  .day-title { display: block; order: 2; font-size: 17px; font-weight: 700; margin: 10px 0 2px; }
  .slots { order: 3; }
  .slots .day { display: none !important; }
  .slots tr { padding: 8px 0 4px; }
  .slots .cell { min-height: 58px; flex-direction: column; gap: 1px; font-size: 15px; border-radius: 10px; }
  .slots .cell.busy { background: var(--soft); border-color: var(--soft); }
  .slots .cell.busy::before { content: attr(data-t); font-size: 15px; text-decoration: none; color: var(--muted); }
  .slots .cell.busy::after { content: "Занято"; font-size: 11px; font-weight: 500; color: var(--faint); }
  .slots .cell.closed { font-size: 15px; background: var(--soft); border-color: var(--soft); }
  .cell.free.sel::before, .cell.free:has(input:checked)::before { position: absolute; left: 14px; top: 50%; margin: -7px 0 0; }
  .gridwrap .legend-slots { order: 5; margin: 12px 0 0; gap: 14px; font-size: 12px; }
  .legend-slots i { width: 16px; height: 16px; border-radius: 4px; }
  .legend-slots .busy { width: 16px; height: 16px; border-radius: 4px; background: var(--soft); }
  .comm-picked:not([hidden]) { display: block; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
  .comm-picked-title { font-size: 16px; }
  .chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 12px; }
  .chip { display: inline-flex; align-items: center; gap: 4px; background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 600; padding: 4px 4px 4px 12px; border-radius: 8px; }
  .chip button { background: none; border: 0; color: var(--accent); font-size: 18px; min-height: 30px; min-width: 30px; padding: 0; }
  .comm-picked-sum { display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
  .comm-picked-sum > span > b { color: var(--accent); }
  .comm-picked-sum .sum { font-size: 20px; }
  .comm-picked-save { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; background: #e5f7ea; color: var(--ok); font-weight: 600; font-size: 13px; padding: 6px 12px; border-radius: 999px; }
  .comm-picked-save small { color: var(--muted); font-weight: 500; font-size: 12px; }
  /* корзина: итог сверху, состав по кнопке */
  .cart-title { padding-bottom: 10px; margin-bottom: 10px; }
  .cart-sub .only-phone { font-size: 15px; font-weight: 700; color: var(--fg); }
  #sumLine { display: flex; flex-direction: column; }
  .cart-groups { order: 4; display: none; }
  .cart.open .cart-groups { display: block; margin-top: 12px; }
  .cart-total { order: 1; margin: 2px 0; }
  .cart-saving { order: 2; border: 0; padding: 0; margin: 0 0 8px; justify-content: flex-start; gap: 6px; font-size: 14px; }
  .cart-saving small { color: var(--muted); font-weight: 500; }
  .cart-base { display: none; }
  .cart-toggle.only-phone { display: inline-flex; order: 3; align-self: flex-start; background: none; border: 0; padding: 0; color: var(--accent); font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; min-height: 32px; border-radius: 0; }
  .cart-toggle.only-phone::after { content: "▾"; margin-left: 6px; }
  .cart.open .cart-toggle.only-phone::after { content: "▴"; }
  .cart .sum-hint { margin-top: 6px; }
  .cart-caption { font-size: 12px; margin-top: 12px; }
  .payment-info { font-size: 12px; }
  .help-link { font-size: 13px; }
}
/* блоки 10–11, доводка: шаги на телефоне сжимаются (ширина страницы не растёт), корзина на ПК компактнее */
.cart-group { padding: 12px; margin-bottom: 10px; }
.cart-group-head { margin-bottom: 8px; }
.cart-group-head img { width: 36px; height: 36px; }
.cart-slot { margin-top: 5px; padding: 4px 4px 4px 10px; }
.cart-rate { margin-top: 10px; }
@media (max-width: 600px) {
  .order-intro { grid-template-columns: minmax(0, 1fr); }
  .steps { overflow: hidden; }
  .steps > div { flex: 0 1 auto; min-width: 0; gap: 4px; font-size: 11px; }
  .steps > div:last-child { flex: 0 1 auto; }
  .steps > div:not(:last-child)::after { flex: 1 1 6px; min-width: 6px; margin: 0 3px; }
  .steps > div > span:not(.n) { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .steps .n { flex-basis: 22px; width: 22px; height: 22px; font-size: 10px; }
}

/* --- Блок 12 «Общее» (Ал 20.10): Inter вместо Manrope; текст не мельче 11 px и цели касания ≥ 40 px (аудит 17.10, находки 4–5) */
.eyebrow, .card-head .eyebrow, .checkout-card .eyebrow, .case-body .eyebrow { font-size: 11px; }
.pill { font-size: 11px; }
h1, h2, h3 { letter-spacing: -0.02em; }
@media (max-width: 600px) {
  .eyebrow, .card-head .eyebrow, .hero .eyebrow { font-size: 11px; }
  .day-picker button small { font-size: 11px; }
  .slot-remove { min-width: 40px; min-height: 40px; }
  .chip button { min-width: 36px; min-height: 36px; }
  .post-footer a { min-height: 40px; display: inline-flex; align-items: center; }
  .site-footer .footer-col a { min-height: 36px; align-items: center; }
  .range-nav button, .grid-mode button { min-height: 40px; }
}
/* блок 12, доводка по замеру: кнопки состава заказа и помощи ≥ 40 px, номера шагов 11 px */
@media (max-width: 600px) {
  .cart-toggle.only-phone { min-height: 40px; }
  .help-link { min-height: 40px; }
  .steps .n { font-size: 11px; }
}
/* подвал (Ал 20.10, телефон): ссылки подчёркнуты, разделители без подчёркивания, реквизиты не рвутся внутри пары */
.legal-req > span { white-space: nowrap; }
.legal-req > span:not(:last-child)::after { content: " ·"; color: var(--faint); }  /* точка остаётся в конце строки, а не в начале следующей */
@media (max-width: 600px) {
  .site-footer .footer-nav a, .site-footer .footer-docs a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
  .site-footer .footer-nav a:not(:last-child)::after, .site-footer .footer-docs a:not(:last-child)::after { display: inline-block; text-decoration: none; margin-left: 10px; }
  .site-footer .footer-col { gap: 6px 10px; }
}
/* разделители подвала — отдельные элементы, не внутри ссылок (иначе подчёркивание ссылки тянется на точку) */
.site-footer .sep { display: none; }
@media (max-width: 600px) {
  .site-footer .footer-nav a:not(:last-child)::after, .site-footer .footer-docs a:not(:last-child)::after { content: none; }
  .site-footer .sep { display: inline-flex; align-items: center; min-height: 36px; color: var(--faint); font-style: normal; }
}
/* реквизиты на телефоне — три строки: ИП / ИНН / ОГРНИП, без точек (Ал 20.10) */
@media (max-width: 600px) {
  .legal-req > span { display: block; white-space: nowrap; line-height: 1.7; }
  .legal-req > span:not(:last-child)::after { content: none; }
}
/* реквизиты (Ал 20.10, дословно): три строки везде — «ИП …», «ИНН …», «ОГРНИП …»; подпись и номер — ячейки одного ряда, разрыв невозможен */
.legal-req { display: block; }
.legal-req > .req { display: flex; flex-wrap: nowrap; align-items: baseline; gap: 0.35em; white-space: nowrap; line-height: 1.7; }
.legal-req > .req::after, .legal-req > .req::before, .legal-req > .req:not(:last-child)::after { content: none; }  /* старое правило с :not(:last-child) весомее — гасим той же специфичностью */
/* реквизиты и © — одинаковый шаг строк (Ал 20.10) */
.site-footer .legal, .site-footer .legal > span:last-child { line-height: 1.7; }
@media (max-width: 600px) { .site-footer .legal { gap: 0; } }
/* оплата по счёту для ИП и ООО (Ал 20.10): переключатель способа и поля плательщика */
.pay-method { border: 0; padding: 0; margin: 18px 0 4px; display: grid; gap: 8px; }
.pay-method legend { font-size: 12px; font-weight: 600; margin-bottom: 8px; }
.pm-opt { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 10px; cursor: pointer; margin: 0; }
.pm-opt:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.pm-opt input { width: 18px; height: 18px; flex: 0 0 18px; margin: 2px 0 0; accent-color: var(--accent); }
.pm-opt b { display: block; font-size: 14px; }
.pm-opt small { display: block; font-size: 12px; color: var(--muted); line-height: 1.5; }
.invoice-fields > label { display: block; font-size: 12px; font-weight: 600; margin: 14px 0 7px; }
.invoice-fields select { width: 100%; min-height: 46px; border: 1px solid var(--line-strong); border-radius: 8px; padding: 10px 12px; font-size: 14px; background: #fff; }
.invoice-fields .field-note { margin-top: 10px; }
/* Telegram отложен (Ал 20.10): карточка без приглашения к заказу через менеджера */
.comm .btn.soon-btn { background: var(--soft); border-color: var(--soft); color: var(--muted); cursor: default; pointer-events: none; }

/* Client order: one schedule becomes labelled cards on small screens. */
.client-order { padding: 30px 0 8px; }
.client-order h2 { margin: 0; font-size: 20px; line-height: 1.4; }
.client-order .card { margin-bottom: 20px; }
.order-heading { margin-bottom: 22px; }
.order-heading p { margin: 10px 0 0; font-size: 14px; }
.order-status { display: inline-block; padding: 5px 10px; border-radius: 8px; font-size: 12px; font-weight: 650; line-height: 1.4; background: #f0f2f6; color: #536076; }
.order-status--success { color: #18694f; background: #eaf6ef; }
.order-status--attention { color: #805a14; background: #fff4dc; }
.order-summary { display: grid; grid-template-columns: 1fr .85fr .85fr 1.5fr; margin-bottom: 20px; border: 1px solid var(--line); border-radius: 18px; background: #fff; overflow: hidden; }
.order-summary-item { display: flex; flex-direction: column; gap: 9px; padding: 22px; min-width: 0; }
.order-summary-item + .order-summary-item { border-left: 1px solid var(--line); }
.order-caption { font-size: 12px; color: var(--muted); }
.order-summary-item > strong { font-size: 28px; letter-spacing: -.7px; line-height: 1.2; }
.order-summary-item > .order-amount { color: var(--accent); }
.order-summary-item > strong small { font-size: 15px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.order-summary-item > .order-next-date { font-size: 17px; letter-spacing: -.2px; line-height: 1.45; }
.order-summary progress { width: 100%; max-width: 145px; height: 6px; border: 0; border-radius: 6px; background: #edf0f6; accent-color: var(--accent); }
.order-summary progress::-webkit-progress-bar { background: #edf0f6; border-radius: 6px; }
.order-summary progress::-webkit-progress-value { background: var(--accent); border-radius: 6px; }
.order-summary progress::-moz-progress-bar { background: var(--accent); border-radius: 6px; }
.order-small { display: block; font-size: 12px; color: var(--muted); line-height: 1.6; overflow-wrap: anywhere; }
.order-action { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 32px; align-items: center; }
.order-action .eyebrow { margin-bottom: 9px; }
.order-action p { margin: 10px 0 0; }
.order-action .order-hold { color: #805a14; }
.order-action .btn-link { margin-top: 14px; }
.order-contact .btn-link { display: block; text-align: center; margin-top: 0; }
.order-contact .order-small { margin-top: 12px; }
.order-section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 18px; }
.order-placements-table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: 13px; }
.order-placements-table th { color: var(--muted); font-weight: 500; font-size: 11px; text-align: left; padding: 0 12px 12px; }
.order-placements-table td { padding: 18px 12px; border-top: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; }
.order-placements-table th:first-child { width: 25%; }
.order-placements-table th:nth-child(2) { width: 21%; }
.order-placements-table th:nth-child(3) { width: 18%; }
.order-placements-table th:nth-child(4) { width: 17%; }
.order-placements-table th:last-child { width: 19%; }
.order-placements-table th:first-child, .order-placements-table td:first-child { padding-left: 0; }
.order-placements-table th:last-child, .order-placements-table td:last-child { padding-right: 0; }
.order-place-name strong { display: block; font-size: 14px; font-weight: 600; line-height: 1.5; }
.order-place-badges { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.order-platform, .order-gift { font-size: 10px; padding: 3px 7px; border-radius: 5px; font-weight: 650; }
.order-platform--vk { background: #eaf2ff; color: #2367b0; }
.order-platform--max { background: #f0ebff; color: #6852ac; }
.order-platform--tg { background: #e8f6fc; color: #23789f; }
.order-gift { background: #edf6ed; color: #3d784d; }
.order-deadline { display: block; font-size: 12px; line-height: 1.5; }
.order-attention { color: #805a14; }
.order-post-link a { display: inline-block; font-weight: 650; padding: 3px 0; }
.order-post-link .order-small { margin-top: 5px; }
.order-table-note { border-top: 1px solid var(--line); padding-top: 16px; margin: 0; }
.order-details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.order-details-grid h2 { margin-bottom: 16px; font-size: 17px; }
.order-details-grid .kv { gap: 18px; }
.order-details-grid .kv b { font-family: inherit; overflow-wrap: anywhere; min-width: 0; }
.order-details-grid p { margin: 12px 0 0; }
.order-doc-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; font-size: 12px; }
@media (max-width: 900px) {
  .order-summary { grid-template-columns: 1fr 1fr; }
  .order-summary-item:nth-child(3) { border-left: 0; }
  .order-summary-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .order-action { grid-template-columns: minmax(0, 1fr) 250px; gap: 22px; }
}
@media (max-width: 700px) {
  .client-order { padding-top: 22px; }
  .client-order .card { padding: 20px; }
  .client-order h2 { font-size: 18px; }
  .order-heading .status-head { align-items: flex-start; gap: 10px; }
  .order-heading .status-head h1 { font-size: 25px; }
  .order-summary-item { padding: 16px; gap: 8px; }
  .order-summary-item > strong { font-size: 25px; }
  .order-summary-item > .order-next-date { font-size: 14px; }
  .order-action, .order-details-grid { grid-template-columns: 1fr; gap: 20px; }
  .order-details-grid { gap: 0; }
  .order-contact { border-top: 1px solid var(--line); padding-top: 18px; }
  .order-section-head { margin-bottom: 16px; }
  .order-placements-table, .order-placements-table tbody { display: block; width: 100%; }
  .order-placements-table thead { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
  .order-placements-table tr { display: block; padding: 16px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; }
  .order-placements-table td, .order-placements-table td:first-child, .order-placements-table td:last-child { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 0 10px; border: 0; padding: 8px 0; width: auto; }
  .order-placements-table td::before { content: attr(data-label); color: var(--muted); font-size: 11px; grid-column: 1; grid-row: 1 / span 5; padding-top: 2px; }
  .order-placements-table td > * { grid-column: 2; }
  .order-placements-table td.order-place-name { display: block; padding-top: 0; padding-bottom: 14px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
  .order-placements-table .order-place-name::before { display: none; }
  .order-post-link a { min-height: 32px; display: flex; align-items: center; }
  .order-placements-table .order-status { justify-self: start; }
  .order-table-note { border-top: 0; padding-top: 4px; }
}

/* Manager-prepared order: compact, complete schedule before payment. */
.review-order { padding: 32px 0 12px; }
.review-heading { margin-bottom: 26px; }
.review-title { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin: 9px 0 10px; }
.review-title h1 { margin: 0; font-size: 36px; line-height: 1.2; letter-spacing: -.9px; }
.review-heading p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.review-status { padding: 6px 10px; border-radius: 7px; color: #805a14; background: #fff1d4; font-size: 12px; font-weight: 650; }
.review-status--closed { color: #7b4753; background: #fcecf0; }
.review-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.review-main { min-width: 0; }
.review-summary { display: grid; grid-template-columns: .95fr .85fr 1.3fr; border: 1px solid var(--line); border-radius: 16px; background: #fff; margin-bottom: 26px; overflow: hidden; }
.review-summary > div { display: flex; flex-direction: column; gap: 10px; padding: 21px 20px; min-width: 0; }
.review-summary > div + div { border-left: 1px solid var(--line); }
.review-caption { color: var(--muted); font-size: 12px; font-weight: 600; line-height: 1.5; }
.review-summary strong { font-size: 29px; line-height: 1.15; letter-spacing: -.6px; }
.review-summary strong.review-period { font-size: 19px; line-height: 1.4; letter-spacing: -.3px; }
.review-summary small { color: var(--muted); font-size: 12px; line-height: 1.6; }
.review-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.review-order h2 { margin: 0; font-size: 21px; line-height: 1.35; letter-spacing: -.35px; }
.review-section-head > span { font-size: 12px; color: var(--muted); }
.review-gift-note { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; color: #386b4e; font-size: 13px; line-height: 1.6; }
.review-gift-note .order-gift { flex-shrink: 0; padding: 5px 9px; font-size: 11px; }
.review-community { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; margin-bottom: 12px; }
.review-community-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.review-community-head > div:first-child { min-width: 0; }
.review-community h3 { margin: 7px 0 0; font-size: 16px; line-height: 1.4; overflow-wrap: anywhere; }
.review-community .order-platform { display: inline-block; font-size: 11px; padding: 3px 7px; }
.review-group-count { display: flex; flex-direction: column; gap: 3px; text-align: right; flex-shrink: 0; color: var(--muted); font-size: 12px; }
.review-group-count b { color: var(--fg); }
.review-group-count > .review-gift-count { color: #386b4e; }
.review-dates { display: grid; grid-template-columns: repeat(auto-fill, minmax(79px, 1fr)); gap: 7px; list-style: none; padding: 0; margin: 0; }
.review-date { background: #f6f8fc; border: 1px solid #edf0f6; border-radius: 8px; padding: 8px 6px; text-align: center; min-width: 0; }
.review-date time { display: flex; flex-direction: column; gap: 5px; }
.review-date time > span { font-size: 12px; color: #657185; white-space: nowrap; }
.review-date strong { font-size: 15px; line-height: 1.3; letter-spacing: .1px; font-variant-numeric: tabular-nums; }
.review-date small { display: block; font-size: 10px; margin-top: 3px; }
.review-date--gift { background: #eff8f0; border-color: #d7eadb; color: #2e6d46; }
.review-date--gift time > span { color: #437853; }
.review-empty { padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.review-next { margin-top: 26px; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.review-next h2 { font-size: 18px; }
.review-next ol { margin: 18px 0 0; padding-left: 22px; }
.review-next li { padding-left: 5px; font-size: 14px; }
.review-next li + li { margin-top: 16px; }
.review-next li::marker { color: var(--accent); font-weight: 700; }
.review-next li > span { display: block; margin-top: 5px; color: var(--muted); line-height: 1.6; font-size: 13px; }
.review-payment { position: sticky; top: 94px; scroll-margin-top: 94px; min-width: 0; }
.review-payment-card { background: #fff; border: 1px solid #dce2f1; border-radius: 16px; padding: 24px; box-shadow: 0 8px 28px rgba(32, 54, 102, .04); }
.review-amount { font-size: 36px; line-height: 1.25; letter-spacing: -1px; font-weight: 750; margin-top: 8px; }
.review-included { margin: 7px 0 0; font-size: 12px; line-height: 1.6; color: var(--muted); }
.review-discount { color: #386b4e; font-size: 13px; }
.review-hold { display: flex; flex-direction: column; gap: 4px; margin: 20px 0; padding: 12px 13px; border-radius: 9px; background: #f3f5fb; font-size: 12px; line-height: 1.5; }
.review-hold > span { color: var(--muted); }
.review-hold b { font-weight: 600; }
.review-payment label[for="receiptEmail"] { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; }
.review-payment input[type="email"] { width: 100%; min-width: 0; font-size: 16px; }
.review-payment .field-note { font-size: 12px; line-height: 1.6; margin: 7px 0 16px; }
.review-payment .consent { margin: 13px 0; align-items: flex-start; }
.review-payment .consent label { font-size: 12px; line-height: 1.65; color: #68758a; }
.review-payment .consent input { flex-shrink: 0; margin-top: 4px; }
.review-payment button[type="submit"] { margin-top: 19px; width: 100%; font-size: 15px; min-height: 48px; padding: 12px 10px; white-space: normal; }
.review-pay-methods { text-align: center; font-size: 11px; line-height: 1.6; color: var(--muted); margin: 9px 0 0; }
.review-help { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 16px; text-align: center; }
.review-help p { font-size: 12px; color: var(--muted); margin: 0 0 10px; }
.review-help .btn-link { width: 100%; font-size: 12px; padding: 11px 8px; }
.review-help small { display: block; margin-top: 9px; color: var(--muted); font-size: 11px; }
.review-materials { margin-top: 14px; padding: 15px 17px; border-radius: 12px; background: #f0f3fb; font-size: 12px; line-height: 1.6; }
.review-materials > b, .review-materials > span { display: block; }
.review-materials > span { margin-top: 4px; }
.review-materials p { margin: 7px 0 0; color: var(--muted); font-size: 11px; }
.review-materials--late { background: #fff3df; }
.review-unavailable { color: #9d3b44; font-size: 14px; line-height: 1.6; }
.review-mobile-pay { display: none; }
@media (max-height: 800px) { .review-payment { position: static; } }
@media (max-width: 1050px) {
  .review-grid { grid-template-columns: minmax(0, 1fr) 310px; gap: 18px; }
  .review-payment-card { padding: 20px; }
  .review-summary > div { padding: 17px 14px; }
  .review-community { padding: 17px; }
}
@media (max-width: 850px) {
  .review-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .review-payment { position: static; }
  .review-order { padding-bottom: 82px; }
  .review-mobile-pay { position: fixed; display: flex; justify-content: space-between; align-items: center; gap: 16px; bottom: 0; left: 0; right: 0; z-index: 40; background: #fff; border-top: 1px solid var(--line); padding: 12px max(20px, calc((100vw - 700px)/2)); padding-bottom: max(12px, env(safe-area-inset-bottom)); box-shadow: 0 -4px 20px rgba(28, 41, 74, .06); }
  .review-mobile-pay > div { display: flex; flex-direction: column; gap: 2px; }
  .review-mobile-pay strong { font-size: 19px; line-height: 1.3; }
  .review-mobile-pay span { font-size: 11px; color: var(--muted); }
  .review-mobile-pay .btn-link { padding: 11px 24px; font-size: 14px; }
}
@media (max-width: 520px) {
  .review-order { padding-top: 23px; }
  .review-heading { margin-bottom: 20px; }
  .review-title { gap: 10px; }
  .review-title h1 { font-size: 28px; }
  .review-heading p { font-size: 13px; line-height: 1.6; }
  .review-status { font-size: 11px; }
  .review-summary { grid-template-columns: 1fr 1fr; margin-bottom: 23px; }
  .review-summary > div { padding: 15px; gap: 7px; }
  .review-summary > div:last-child { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); flex-direction: row; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; }
  .review-summary > div:last-child .review-caption { flex: 1 0 100%; }
  .review-summary strong { font-size: 26px; }
  .review-summary strong.review-period { font-size: 19px; }
  .review-order h2 { font-size: 19px; }
  .review-community { padding: 15px; }
  .review-community-head { gap: 8px; align-items: flex-start; }
  .review-community h3 { font-size: 15px; }
  .review-group-count { font-size: 11px; padding-top: 4px; }
  .review-dates { grid-template-columns: repeat(auto-fill, minmax(73px, 1fr)); gap: 6px; }
  .review-date { padding: 8px 4px; }
  .review-next { padding: 19px; }
}

/* Клиентская бронь: три шага только на телефоне. */
.mobile-order-steps, .mobile-add-platform, .mobile-order-edit { display: none; }
@media (max-width: 600px) {
  .client-order-intro, .client-order-form .grid-card, .client-order-form .comm-pick { scroll-margin-top: 76px; }
  .client-order-intro .steps { display: none; }
  .client-order-intro .mobile-order-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; width: 100%; }
  .mobile-order-steps button { display: flex; align-items: center; justify-content: center; gap: 5px; min-width: 0; min-height: 42px; margin: 0; padding: 6px 4px; border: 1px solid var(--line); border-radius: 9px; background: var(--soft); color: var(--muted); font-size: 12px; font-weight: 650; }
  .mobile-order-steps button span { display: grid; place-items: center; flex: none; width: 19px; height: 19px; border-radius: 50%; background: #e1e5ed; font-size: 11px; }
  .mobile-order-steps button[aria-current="step"] { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
  .mobile-order-steps button[aria-current="step"] span { background: var(--accent); color: #fff; }
  .mobile-order-steps button:disabled { opacity: .5; }
  .client-order-form[data-mobile-step="1"] .cart,
  .client-order-form[data-mobile-step="2"] .order-selection,
  .client-order-form[data-mobile-step="3"] .order-selection,
  .client-order-form[data-mobile-step="2"] #checkout,
  .client-order-form[data-mobile-step="3"] #summary { display: none; }
  .client-order-form[data-mobile-step="2"] .cart,
  .client-order-form[data-mobile-step="3"] .cart { display: block; }
  .client-order-form[data-mobile-step="2"] .cart-groups { display: block; margin: 12px 0 0; }
  .client-order-form[data-mobile-step="2"] .cart-toggle,
  .client-order-form #toCheckout,
  .client-order-form #payBtn { display: none; }
  .client-order-form .mobile-order-edit { display: inline-flex; align-items: center; min-height: 40px; margin: 0 0 12px; padding: 7px 12px; font-size: 13px; }
  .client-order-form .mobile-add-platform:not([hidden]) { display: inline-flex; align-items: center; min-height: 42px; margin: 12px 0 0; font-size: 13px; }
  .client-order-form .mbar-go { min-width: 130px; }
}
@media (max-width: 360px) {
  .client-order-form .row:has(#promoCode) { display: grid !important; grid-template-columns: 1fr; }
  .client-order-form #promoCode, .client-order-form #promoApply { width: 100%; box-sizing: border-box; }
}
