/* Онлайн копирка Якутск — mobile-first order site */
:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --text: #1a1f26;
  --muted: #5c6773;
  --border: #e2e6eb;
  --accent: #0d6e6e;
  --accent-hover: #0a5858;
  --accent-soft: #e6f3f3;
  --wa: #25d366;
  --tg: #2aabee;
  --danger: #b42318;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.06), 0 4px 12px rgba(16, 24, 40, 0.04);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1080px;
  --narrow: 640px;
  --header-h: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: 2px; }
a:hover { color: var(--accent-hover); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.muted { color: var(--muted); font-weight: 400; }
.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}
.container--narrow {
  width: min(100% - 2rem, var(--narrow));
  margin-inline: auto;
}

.header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); gap: 1rem;
}
.logo {
  display: inline-flex; align-items: center; gap: .6rem;
  color: var(--text); text-decoration: none; font-weight: 700;
}
.logo__mark {
  display: grid; place-items: center; width: 2rem; height: 2rem;
  border-radius: 8px; background: var(--accent); color: #fff; font-size: .95rem;
}
.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.nav a:hover {
  color: var(--text);
  background: var(--bg);
}
.nav__cta {
  background: var(--accent) !important;
  color: #fff !important;
}
.nav__cta:hover {
  background: var(--accent-hover) !important;
}

.header__right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.header__messengers {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.header__msg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  color: #fff !important;
  white-space: nowrap;
}
.header__msg--wa { background: var(--wa); }
.header__msg--wa:hover { filter: brightness(0.95); color: #fff !important; }
.header__msg--tg { background: var(--tg); }
.header__msg--tg:hover { filter: brightness(0.95); color: #fff !important; }
/* 19m7: телефон + самовывоз в шапке — только на десктопе */
.header__contact { display: none; }
@media (min-width: 1024px) {
  .header__contact {
    display: flex; flex-direction: column; align-items: flex-end; justify-content: center;
    line-height: 1.2; margin-right: .35rem; white-space: nowrap;
  }
  .header__phone { color: var(--text); font-weight: 700; font-size: .95rem; text-decoration: none; padding: .1rem 0; }
  .header__phone:hover { color: var(--accent); }
  .header__pickup { color: var(--muted); font-size: .75rem; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0.7rem 1.25rem;
  border-radius: 10px;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); color: #fff; }
.btn--primary:disabled { opacity: .55; cursor: not-allowed; }
.btn--secondary {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: #c5e0e0;
}
.btn--secondary:hover {
  background: #d5ecec;
  color: var(--accent-hover);
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn--ghost:hover {
  background: var(--surface);
  color: var(--text);
}
.btn--block { width: 100%; }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { filter: brightness(0.95); color: #fff; }
.btn--tg { background: var(--tg); color: #fff; }
.btn--tg:hover { filter: brightness(0.95); color: #fff; }

.hero {
  padding: 2.5rem 0 3rem;
  background: linear-gradient(180deg, var(--accent-soft) 0%, var(--bg) 100%);
}
/* 19l: одна ось для всех секций — .container (1080), выравнивание по левому краю; ограничиваем только длину строки. */
.hero__inner {
  margin-inline: auto; /* та же ось, что у .container: контент слева внутри 1080 */
}
.hero__title { max-width: 22ch; }
.hero__eyebrow {
  margin: 0 0 .75rem; color: var(--accent); font-weight: 600;
  font-size: .85rem; text-transform: uppercase; letter-spacing: .02em;
}
.hero__title {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.hero__lead {
  margin: 0 0 1.5rem;
  color: var(--muted);
  max-width: 65ch;
  font-size: 1.05rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.hero__chips li { margin: 0; }
.hero__chips button {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.35rem 0.85rem;
  font: inherit;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.hero__chips button:hover,
.hero__chips button:focus-visible {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-soft);
}
.hero__chips button:active { transform: translateY(1px); }

.section { padding: 3rem 0; }
.section--muted {
  background: var(--surface);
  border-block: 1px solid var(--border);
}
.section__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  letter-spacing: -0.02em;
}
.section__subtitle {
  margin: 0 0 1.75rem;
  color: var(--muted);
  max-width: 65ch;
}
/* Форма заказа: 640 px, прижата влево к оси заголовка (а не по центру). */
#order .form, #order .orders-paused { max-width: var(--narrow); margin-inline: 0; }
/* 19m1: в режиме конструктора визиток форма на всю ширину контейнера — поля и лента шаблонов не обрезаются. */
#order .form.form--wide { max-width: 100%; }
#bonuses .bonus-acc { max-width: 65ch; margin-inline: auto; } /* 19m3: узкий аккордеон — по центру (classic и touch) */
.seo-page p, .seo-page li { max-width: 65ch; }

/* Service cards — landing 3-col grid */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 560px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  /* 19m14f: 6 колонок, карточка = 2; неполный последний ряд (1 или 2 карточки) — по центру, при любом числе услуг */
  .cards { grid-template-columns: repeat(6, 1fr); }
  .cards > .card { grid-column: span 2; }
  .cards > .card:last-child:nth-child(3n+1) { grid-column: 3 / 5; }
  .cards > .card:nth-last-child(2):nth-child(3n+1) { grid-column: 2 / 4; }
  .cards > .card:last-child:nth-child(3n+2) { grid-column: 4 / 6; }
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  text-align: left;
}
.card--interactive,
.card--btn {
  font: inherit;
  color: inherit;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.card--interactive:hover,
.card--interactive:focus-visible,
.card--btn:hover,
.card--btn:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 5px 18px rgba(13, 110, 110, 0.14);
  outline: none;
  transform: translateY(-2px);
}
.section--muted .card { background: var(--bg); }
.card__icon {
  font-size: 1.5rem;
  line-height: 1;
  margin-bottom: 0.75rem;
}
.card__title {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 700;
}
.card__text {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.card__price {
  margin: 0;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}

/* Price list — teal headers */
.prices {
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) {
  .prices { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .prices { grid-template-columns: repeat(3, 1fr); }
}
.prices__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem 1.1rem 1.15rem;
}
.section--muted .prices__card { background: var(--bg); }
.prices__card-title {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
}
.prices__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.prices__table th,
.prices__table td {
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
  font-weight: 400;
}
.prices__table tr:last-child th,
.prices__table tr:last-child td { border-bottom: 0; }
.prices__table th {
  color: var(--text);
  padding-right: 0.75rem;
}
.prices__value {
  text-align: right !important;
  font-weight: 600 !important;
  white-space: nowrap;
  color: var(--text);
}
.prices__value.prices__value--note { white-space: normal; font-size: .85rem; font-weight: 500 !important; max-width: 11rem; }
.prices__card--idphoto .prices__table { font-size: 0.86rem; }
.prices__card--idphoto .prices__table th { padding-right: 0.5rem; }
.prices__card--idphoto .prices__value {
  width: 1%;
  padding-left: 0.25rem;
  font-size: 0.84rem;
  letter-spacing: -0.01em;
}
.prices__disclaimer {
  margin: 1rem 0 0;
  font-size: 0.85rem;
}
.prices__note {
  margin: 1.25rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.form {
  background: var(--surface); border-radius: var(--radius);
  padding: 1.25rem 1.15rem 1.5rem; box-shadow: var(--shadow); display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr);
  width: 100%;
  margin-inline: auto;
}
.form__row {
  display: grid; gap: .75rem;
}
@media (min-width: 520px) {
  .form__row { grid-template-columns: 1fr 1fr; }
}
.field { display: grid; gap: .35rem; }
.field__label { font-weight: 600; font-size: .9rem; }
.field__label abbr { color: var(--danger); text-decoration: none; }
.field input[type="text"],
.field input[type="tel"],
.field input[type="number"],
.field input[type="url"],
.field select,
.field textarea {
  width: 100%; border: 1px solid var(--border); border-radius: 10px;
  padding: .65rem .75rem; font: inherit; background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--accent-soft); border-color: var(--accent);
}
.fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: .5rem; }
.radios { display: flex; flex-wrap: wrap; gap: .5rem .85rem; }
.radios--stack { flex-direction: column; }
.radio { display: inline-flex; align-items: center; gap: .4rem; cursor: pointer; }
.check { display: flex; align-items: flex-start; gap: .55rem; cursor: pointer; }
.check__price { color: var(--muted); font-weight: 500; }
.form__error { color: var(--danger); margin: 0; font-weight: 600; }
.form__actions { display: grid; gap: .5rem; }
.form__note { margin: 0; font-size: .85rem; color: var(--muted); }

.calc {
  border: 1px dashed var(--border); border-radius: var(--radius);
  padding: .9rem; display: grid; gap: .85rem; background: #fafbfc;
}
.calc__title { margin: 0; font-size: 1rem; display: flex; align-items: center; gap: .5rem; }
.calc__badge {
  font-size: .7rem; font-weight: 600; text-transform: uppercase;
  background: var(--accent-soft); color: var(--accent);
  padding: .15rem .4rem; border-radius: 999px;
}
.calc__panel { display: grid; gap: .75rem; grid-template-columns: minmax(0, 1fr); }
.calc, .order-options { grid-template-columns: minmax(0, 1fr); }
.calc__panel[hidden],
#calc[hidden],
[hidden] { display: none !important; }
.checks { display: flex; flex-wrap: wrap; gap: .5rem .85rem; }
.checks--stack { flex-direction: column; }
.calc__note {
  background: var(--accent-soft); border-radius: 10px; padding: .75rem .85rem;
}
.calc__note-title { margin: 0 0 .35rem; font-weight: 700; font-size: .9rem; }
.calc__note-text { margin: 0; font-size: .85rem; color: var(--muted); }

.total {
  background: var(--accent-soft); border-radius: var(--radius); padding: .9rem 1rem;
}
.total__title { margin: 0 0 .5rem; font-size: 1rem; }
.total__lines { margin: 0 0 .6rem; padding-left: 1.1rem; }
.total__sum { margin: 0; font-size: 1.05rem; }
.total__note { margin: .35rem 0 0; font-size: .8rem; color: var(--muted); }

.kit-formats { display: flex; flex-wrap: wrap; gap: .5rem; }
.kit-chip { cursor: pointer; }
.kit-chip input { position: absolute; opacity: 0; pointer-events: none; }
.kit-chip__body {
  display: grid; gap: .1rem; padding: .55rem .7rem;
  border: 1px solid var(--border); border-radius: 10px; background: #fff;
}
.kit-chip__label { font-weight: 700; }
.kit-chip__hint { font-size: .75rem; color: var(--muted); }
.kit-chip:has(input:checked) .kit-chip__body,
.kit-chip:has(input:focus-visible) .kit-chip__body {
  border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.kit-layouts {
  display: grid; gap: .6rem;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
}
.kit-layout { cursor: pointer; }
.kit-layout input { position: absolute; opacity: 0; pointer-events: none; }
.kit-layout__card {
  border: 1px solid var(--border); border-radius: 12px; padding: .65rem;
  background: #fff; display: grid; gap: .45rem;
}
.kit-layout:has(input:checked) .kit-layout__card,
.kit-layout:has(input:focus-visible) .kit-layout__card {
  border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.kit-sheet {
  display: grid; gap: 3px;
  grid-template-columns: repeat(var(--cols, 2), 1fr);
  grid-template-rows: repeat(var(--rows, 2), 1fr);
  aspect-ratio: 15 / 10; background: #edf1f4; border-radius: 6px; padding: 4px;
  min-height: 4.5rem;
}
.kit-sheet__cell { background: #c5d0d8; border-radius: 3px; min-height: 0.75rem; }
.kit-layout__meta {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: .35rem; font-size: .8rem; flex-wrap: wrap;
}
.kit-layout__pcs { font-weight: 600; }
.kit-layout__price { color: var(--accent); font-weight: 700; }
#idPhotoPrintBlock[hidden],
#idPhotoFormatBlock[hidden],
#idPhotoLayoutBlock[hidden] { display: none !important; }
.kit-chip { position: relative; }
.kit-layout { position: relative; }
.kit-stepper { display: grid; gap: .4rem; }
.kit-stepper__controls { display: inline-flex; align-items: center; gap: .4rem; }
.kit-stepper__btn {
  width: 2.25rem; height: 2.25rem; border-radius: 8px; border: 1px solid var(--border);
  background: #fff; font-size: 1.2rem; cursor: pointer;
}
.kit-stepper input { width: 4rem; text-align: center; }


.pkg-cards {
  display: grid; gap: .55rem;
  grid-template-columns: 1fr;
}
@media (min-width: 480px) {
  .pkg-cards { grid-template-columns: 1fr 1fr; }
}
.pkg-card { position: relative; cursor: pointer; display: block; }
.pkg-card input { position: absolute; opacity: 0; pointer-events: none; }
.pkg-card__body {
  display: grid; gap: .25rem;
  border: 1px solid var(--border); border-radius: 12px;
  padding: .7rem .8rem; background: #fff;
}
.pkg-card:has(input:checked) .pkg-card__body,
.pkg-card:has(input:focus-visible) .pkg-card__body {
  border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.pkg-card__top {
  display: flex; justify-content: space-between; align-items: baseline; gap: .5rem;
}
.pkg-card__name { font-weight: 700; }
.pkg-card__price { color: var(--accent); font-weight: 700; white-space: nowrap; }
.pkg-card__desc { font-size: .8rem; color: var(--muted); }
/* 19m14c: «от» + предварительная оценка, перекрёстные подсказки между услугами */
.calc__unit { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .6rem; font-size: .95rem; }
.calc__badge--est { text-transform: none; white-space: normal; }
.total__est { display: inline-block; margin-left: .3rem; padding: .1rem .45rem; border-radius: 999px; font-size: .72rem; font-weight: 600; background: var(--accent-soft); color: var(--accent); vertical-align: middle; white-space: normal; }
.card__cross { margin: .45rem 0 0; font-size: .8rem; line-height: 1.35; color: var(--muted); font-style: italic; overflow-wrap: anywhere; }
.prices__card--colordocs .prices__table { font-size: 0.86rem; }
.prices__value.prices__value--multi { white-space: pre-line; line-height: 1.4; }

.uploader__drop {
  display: grid; gap: .25rem; place-items: center; text-align: center;
  border: 2px dashed var(--border); border-radius: var(--radius);
  padding: 1.25rem 1rem; background: #fafbfc; cursor: pointer; color: var(--muted);
}
.uploader__drop strong { color: var(--text); }
.uploader input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.uploader { position: relative; display: grid; gap: .75rem; }
.thumbs {
  display: grid; gap: .5rem;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
}
.thumb {
  position: relative; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--border); background: #fff; aspect-ratio: 1;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb__rm {
  position: absolute; top: 4px; right: 4px; width: 1.6rem; height: 1.6rem;
  border: none; border-radius: 999px; background: rgba(0,0,0,.65); color: #fff;
  cursor: pointer; font-size: 1rem; line-height: 1;
}
.thumb__name {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,.45); color: #fff; font-size: .65rem;
  padding: .15rem .3rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.upload-progress {
  display: grid; gap: .35rem;
}
.upload-progress__track {
  background: #e8eef0; border-radius: 999px; overflow: hidden; height: 10px;
}
.upload-progress__bar {
  height: 100%; width: 0; background: var(--accent); transition: width .2s;
}
.upload-progress__text { margin: 0; font-size: .85rem; color: var(--muted); }
.upload-failed {
  list-style: none; margin: .5rem 0 0; padding: 0; display: grid; gap: .4rem;
}
.upload-failed:not([hidden]) {
  border: 1px dashed #e0a090;
  border-radius: 8px;
  padding: 0.5rem;
  background: #fff8f5;
}
.upload-failed__item {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  font-size: .85rem; background: #fff4f0; color: #8a2b1a;
  border-radius: 8px; padding: .4rem .55rem;
}
.upload-failed__retry {
  flex-shrink: 0; font-size: .8rem; padding: .25rem .55rem;
  border: 1px solid #c44; background: #fff; color: #a33;
  border-radius: 6px; cursor: pointer;
}
.upload-failed__retry:disabled { opacity: .5; cursor: wait; }

.timing-note {
  background: var(--accent-soft);
  border: 1px solid #c5e0e0;
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  display: grid;
  gap: 0.35rem;
}
.timing-note__main {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.45;
}
.timing-note__winter {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}
.timing-note__hint {
  margin: 0;
  font-size: 0.8rem;
}

.thanks {
  background: var(--surface); border-radius: var(--radius); padding: 1.5rem;
  box-shadow: var(--shadow); text-align: center; display: grid; gap: .75rem;
}
.thanks__id-label {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}
.thanks__id {
  margin: 0;
  font-size: clamp(1.6rem, 6vw, 2.1rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--accent);
  word-break: break-all;
  line-height: 1.2;
}
.thanks__summary {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
}
.thanks__contact {
  margin: 0;
  font-size: 0.95rem;
}
.thanks__soft { margin: 0; font-size: 0.85rem; }
.thanks__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 0.35rem;
}
.thanks__actions .btn { min-width: 8.5rem; }

#delivery-fields {
  display: grid;
  gap: 0.75rem;
  margin: 0.15rem 0 0.25rem;
}
#delivery-fields[hidden] { display: none; }


.footer { padding: 2rem 0 5rem; border-top: 1px solid var(--border); margin-top: 1rem; }
.footer__grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.footer__brand { font-weight: 700; margin: 0 0 .35rem; }
.footer__label { font-weight: 600; margin: 0 0 .35rem; }
.footer__text { margin: 0; color: var(--muted); font-size: .9rem; }
.footer__list { margin: 0; padding-left: 1.1rem; color: var(--muted); font-size: .9rem; }
.footer__bottom { margin-top: 1.5rem; font-size: .85rem; color: var(--muted); }
.footer__legal { margin: .35rem 0 0; font-size: .75rem; line-height: 1.45; color: var(--muted); max-width: 90ch; }

.sticky-contacts {
  position: fixed; right: .85rem; bottom: .85rem; z-index: 50;
  display: flex; flex-direction: column; gap: .5rem;
}
.sticky-contacts__btn {
  width: 3rem; height: 3rem; border-radius: 999px; display: grid; place-items: center;
  color: #fff; text-decoration: none; box-shadow: var(--shadow);
}
.sticky-contacts__btn--wa { background: var(--wa); }
.sticky-contacts__btn--tg { background: var(--tg); }

@media (max-width: 520px) {
  .nav a:not(.nav__cta) { display: none; }
  .header__msg { font-size: 0.7rem; padding: 0.3rem 0.5rem; min-height: 32px; }
}

.thumb--file {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-2, #e8f1f0);
  color: var(--muted, #5a6b6a);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.thumb--file .thumb__ext {
  padding: .25rem .4rem;
  border-radius: .35rem;
  background: rgba(0,0,0,.06);
  max-width: 90%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- Согласие в форме заказа ---------- */
.check--consent {
  padding: .75rem .85rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  font-size: .92rem;
  line-height: 1.45;
}
.check--consent input { margin-top: .2rem; flex-shrink: 0; width: 1.1rem; height: 1.1rem; accent-color: var(--accent); }
.check--consent abbr { color: var(--danger); text-decoration: none; }
.check--invalid { border-color: var(--danger); background: #fef3f2; }

/* ---------- Футер: документы ---------- */
.footer__list--plain { list-style: none; padding-left: 0; display: grid; gap: .25rem; }

/* ---------- Юридические страницы ---------- */
.legal { padding: 2rem 0 3rem; }
.legal__back {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .9rem; font-weight: 500; text-decoration: none; margin-bottom: 1rem;
}
.legal__back:hover { text-decoration: underline; }
.legal__doc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem 1.1rem 1.5rem;
  font-size: .97rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.legal__doc h1 { margin: 0 0 .35rem; font-size: clamp(1.4rem, 4vw, 1.85rem); line-height: 1.25; }
.legal__revision { margin: 0 0 1.25rem; color: var(--muted); font-size: .9rem; }
.legal__doc h2 { margin: 1.75rem 0 .6rem; font-size: 1.12rem; line-height: 1.35; }
.legal__doc p { margin: 0 0 .75rem; }
.legal__doc ul, .legal__doc ol { margin: 0 0 .85rem; padding-left: 1.35rem; }
.legal__doc li { margin-bottom: .3rem; }
.legal__doc .legal__note {
  padding: .75rem .9rem; border-radius: 10px;
  background: var(--accent-soft); color: var(--text); font-size: .92rem;
}
.legal__requisites { margin: 0; display: grid; grid-template-columns: minmax(8rem, 34%) 1fr; gap: .35rem .85rem; }
.legal__requisites dt { color: var(--muted); }
.legal__requisites dd { margin: 0; font-weight: 500; }
.legal__related { margin-top: 1.5rem; font-size: .92rem; color: var(--muted); }
@media (min-width: 640px) {
  .legal__doc { padding: 2rem 2.25rem 2.25rem; }
}
@media (max-width: 480px) {
  .legal__requisites { grid-template-columns: 1fr; gap: .1rem; }
  .legal__requisites dd { margin-bottom: .45rem; }
}

/* ---------- Баннер cookie ---------- */
.cookie-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--surface);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 16px rgba(16, 24, 40, .08);
  padding: .85rem 0 calc(.85rem + env(safe-area-inset-bottom, 0px));
  transform: translateY(0);
  transition: transform .25s ease, opacity .25s ease;
}
.cookie-bar--hidden { transform: translateY(110%); opacity: 0; }
.cookie-bar__inner {
  display: flex; flex-direction: column; gap: .7rem;
}
.cookie-bar__text { margin: 0; font-size: .86rem; line-height: 1.45; color: var(--text); }
.cookie-bar__text a { white-space: nowrap; }
.cookie-bar__btn { min-height: 44px; width: 100%; }
/* 19m5: две равноценные кнопки — «Принимаю» и «Только необходимые» */
.cookie-bar__btns { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.cookie-bar__btns .cookie-bar__btn { width: 100%; padding-inline: .75rem; }
@media (min-width: 720px) {
  .cookie-bar__inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 1.25rem; }
  .cookie-bar__btn { width: auto; flex-shrink: 0; padding-inline: 1.75rem; }
  .cookie-bar__btns { flex: 0 0 auto; }
  .cookie-bar__btns .cookie-bar__btn { white-space: nowrap; padding-inline: 1.5rem; }
}
/* 19m7: телефон — короткий текст в 1–2 строки + «Подробнее» (раскрывает полный текст со ссылкой на Политику и оговоркой про GA);
   кнопки в одну строку, равные, ≥44 px. С 720 px — как раньше: полный текст в строку с кнопками. */
.cookie-bar__short { display: none; margin: 0; font-size: .86rem; line-height: 1.4; color: var(--text); }
.cookie-bar__more { color: var(--accent); font-weight: 600; text-decoration: underline; white-space: nowrap; cursor: pointer; }
@media (max-width: 719px) {
  .cookie-bar { padding: .6rem 0 calc(.6rem + env(safe-area-inset-bottom, 0px)); }
  .cookie-bar__inner { gap: .5rem; }
  .cookie-bar__short { display: block; }
  .cookie-bar:not(.cookie-bar--open) .cookie-bar__text { display: none; }
  .cookie-bar--open .cookie-bar__text { max-height: 40vh; overflow-y: auto; font-size: .82rem; }
  .cookie-bar__btns { gap: .5rem; }
  .cookie-bar__btns .cookie-bar__btn { white-space: nowrap; padding-inline: .35rem; font-size: .9rem; min-height: 44px; }
}
@media (max-width: 374px) {
  .cookie-bar__btns .cookie-bar__btn { font-size: .84rem; padding-inline: .25rem; }
}
/* Поднимаем плавающие кнопки мессенджеров над баннером */
body.has-cookie-bar .sticky-contacts { bottom: calc(var(--cookie-bar-h, 0px) + .85rem); }
body.has-cookie-bar .footer { padding-bottom: calc(var(--cookie-bar-h, 0px) + 5rem); }
@media (prefers-reduced-motion: reduce) {
  .cookie-bar { transition: none; }
}

/* ---------- Проверка разрешения фото (ppi) ---------- */
.thumb--q-green { outline: 3px solid #12b76a; outline-offset: -3px; }
.thumb--q-yellow { outline: 3px solid #f79009; outline-offset: -3px; }
.thumb--q-red { outline: 3px solid var(--danger); outline-offset: -3px; }
.thumb--q-green::after, .thumb--q-yellow::after, .thumb--q-red::after {
  content: ""; position: absolute; top: 6px; left: 6px; width: .7rem; height: .7rem;
  border-radius: 999px; border: 2px solid #fff;
}
.thumb--q-green::after { background: #12b76a; }
.thumb--q-yellow::after { background: #f79009; }
.thumb--q-red::after { background: var(--danger); }

.quality { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.quality__item {
  border: 1px solid var(--border); border-left-width: 4px; border-radius: 10px;
  background: #fff; padding: .55rem .7rem; display: grid; gap: .3rem; font-size: .85rem;
}
.quality__item--green { border-left-color: #12b76a; }
.quality__item--yellow { border-left-color: #f79009; background: #fffcf5; }
.quality__item--red { border-left-color: var(--danger); background: #fef3f2; }
.quality__item--unknown { border-left-color: #98a2b3; }
.quality__head { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; }
.quality__name { font-weight: 600; overflow-wrap: anywhere; }
.quality__badge {
  flex-shrink: 0; font-size: .72rem; font-weight: 700; padding: .1rem .45rem; border-radius: 999px;
  background: #eef0f3; color: var(--muted); white-space: nowrap;
}
.quality__badge--green { background: #ecfdf3; color: #067647; }
.quality__badge--yellow { background: #fffaeb; color: #b54708; }
.quality__badge--red { background: #fee4e2; color: var(--danger); }
.quality__msg { margin: 0; line-height: 1.4; }
.quality__msg--red { color: #7a271a; }
.quality__msg--yellow { color: #93370d; }
.quality__msg--crop, .quality__msg--unknown { color: var(--muted); }
.quality__replace {
  justify-self: start; font: inherit; font-size: .82rem; font-weight: 600;
  padding: .35rem .75rem; border-radius: 8px; cursor: pointer;
  border: 1px solid var(--danger); background: #fff; color: var(--danger);
}
.quality__replace:hover { background: #fee4e2; }

.lowq {
  border: 1px solid #f5b5ac; border-radius: 10px; background: #fef3f2;
  padding: .75rem .85rem; display: grid; gap: .45rem; font-size: .92rem; line-height: 1.45;
}
.lowq.check--invalid { border-color: var(--danger); box-shadow: 0 0 0 3px #fee4e2; }
.lowq__text { margin: 0; font-weight: 600; color: #7a271a; }
.lowq__label { display: flex; align-items: flex-start; gap: .55rem; cursor: pointer; }
.lowq__label input { margin-top: .2rem; flex-shrink: 0; width: 1.1rem; height: 1.1rem; accent-color: var(--danger); }
.lowq__label abbr { color: var(--danger); text-decoration: none; }
.lowq__hint { margin: 0; font-size: .82rem; }

/* Фото на документы: требования и «как сняться» */
.idguide { display: grid; gap: .35rem; }
.idguide__list { margin: 0 0 .35rem; padding-left: 1.15rem; font-size: .85rem; color: var(--text); display: grid; gap: .2rem; }
.idguide__how summary { cursor: pointer; font-weight: 700; font-size: .9rem; color: var(--accent); }
.idguide__how[open] summary { margin-bottom: .35rem; }

/* ---------- Фото на документы: автопроверка, кадр, ползунки (2026-10-12b) ---------- */
.quality__badge--unknown { background: #f2f4f7; color: #475467; }
.quality__msg--operator { color: #1a4b9a; font-weight: 500; }
.idcheck { display: flex; gap: .85rem; align-items: flex-start; margin-top: .45rem; flex-wrap: wrap; }
.idcheck__preview { margin: 0; flex: 0 0 auto; text-align: center; }
.idcheck__preview img { display: block; width: 120px; height: auto; border: 1px solid var(--border); border-radius: 4px; background: #fff; }
.idcheck__preview figcaption { font-size: .75rem; color: var(--muted); margin-top: .2rem; }
.idcheck__right { flex: 1 1 14rem; min-width: 0; }
.idcheck__list { list-style: none; margin: 0; padding: 0; font-size: .85rem; }
.idcheck__item { display: flex; gap: .4rem; align-items: baseline; margin: .15rem 0; line-height: 1.35; }
.idcheck__icon { flex: 0 0 1.1rem; height: 1.1rem; border-radius: 50%; font-size: .7rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.idcheck__item--ok .idcheck__icon { background: #12b76a; }
.idcheck__item--warn .idcheck__icon { background: #f79009; }
.idcheck__item--error .idcheck__icon { background: var(--danger); }
.idcheck__item--error { color: #7a271a; }
.idcheck__item--warn { color: #93370d; }
.idcheck__sliders { margin-top: .55rem; display: grid; gap: .3rem; font-size: .8rem; color: var(--muted); }
.idcheck__slider { display: grid; grid-template-columns: 7.5rem 1fr; align-items: center; gap: .5rem; }
.idcheck__slider input[type="range"] { width: 100%; }
.idcheck__reset { justify-self: start; background: none; border: 0; padding: .1rem 0; color: var(--accent); text-decoration: underline; cursor: pointer; font-size: .8rem; }
.idcap { margin: .5rem 0 0; font-size: .85rem; }
.idcap--warn { color: #b54708; font-weight: 600; }
.idmanual { border-color: #b2ccff; background: #f5f8ff; }
.idmanual .lowq__text { color: #1a4b9a; }
.idmanual.check--invalid { border-color: var(--danger); background: #fef3f2; }

/* ---------- 2026-10-14: бонусы, промокоды, отзывы ---------- */
.nw { white-space: nowrap; }
.card__price-note--line { display: block; margin-top: .1rem; }
.card__price-note { font-weight: 500; font-size: .8em; color: var(--muted); }
.card__bonus { margin: .45rem 0 0; padding: .35rem .55rem; border-radius: 8px; background: #f4f1ff; color: #5925dc; font-size: .8rem; line-height: 1.35; }
.total__hint { margin: .3rem 0 0; font-size: .9rem; color: var(--accent); font-weight: 600; }
.total__bonus { color: #5925dc; font-weight: 600; }
.lam-fields { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin: .2rem 0 .4rem 1.7rem; }
@media (max-width: 520px) { .lam-fields { grid-template-columns: 1fr; margin-left: 0; } }
.promo { margin: 1rem 0; padding: .85rem 1rem; border: 1px dashed #bdb4fe; border-radius: var(--radius); background: #fcfbff; }
.promo__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem; margin-top: .35rem; }
.promo__row .btn { white-space: nowrap; }
.promo__row input { width: 100%; box-sizing: border-box; min-width: 0; padding: .65rem .8rem; border: 1px solid var(--border); border-radius: 10px; font: inherit; text-transform: uppercase; letter-spacing: .04em; }
.promo__msg { margin: .5rem 0 0; font-size: .9rem; }
.promo__msg--ok { color: #067647; font-weight: 600; }
.promo__msg--err { color: var(--danger); }
.promo__msg--info { color: #b54708; }
.promo__note { margin: .5rem 0 0; font-size: .82rem; }

/* ---------- 19m13: проверка зоны доставки ---------- */
.btn--sm { padding: .4rem .75rem; font-size: .85rem; }
.delivery-check { margin: -.25rem 0 .25rem; display: grid; gap: .4rem; }
.delivery-check__msg { margin: 0; font-size: .88rem; font-weight: 600; }
.delivery-check__msg--ok { color: #067647; }
.delivery-check__msg--err { color: var(--danger); }
.delivery-check__msg--info { color: #b54708; font-weight: 500; }
.delivery-widget { margin: 1.25rem 0; padding: 1rem; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); display: grid; gap: .6rem; max-width: 520px; }
.delivery-widget__label { font-weight: 600; font-size: .9rem; }
.delivery-widget__row { display: flex; gap: .5rem; flex-wrap: wrap; align-items: start; }
.delivery-widget__row .field { flex: 1 1 220px; min-width: 0; margin: 0; }
.delivery-widget__row .btn { flex: 0 0 auto; }
.delivery-widget__areas { margin: 0; font-size: .82rem; color: var(--muted); }


/* ---------- 19m14: параметры услуги открыты сразу (без «Дополнительно»), «что куда», WhatsApp-подсказка ---------- */
.order-options { display: grid; gap: .85rem; min-width: 0; }
.svc-guide { list-style: none; margin: 0; padding: .65rem .8rem; display: grid; gap: .3rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--accent-soft, #f1f5f9); font-size: .86rem; line-height: 1.35; min-width: 0; }
.svc-guide li { padding: .25rem .55rem; border-radius: 8px; overflow-wrap: anywhere; border-left: 3px solid transparent; }
.svc-guide li.is-active { background: var(--surface, #fff); border-left-color: var(--accent); }
.svc-guide__ex { color: var(--muted); }
.svc-guide__arrow { color: var(--accent); font-weight: 700; padding: 0 .1rem; }
.wa-help { margin: 0; }
.wa-help__btn { width: 100%; max-width: 100%; white-space: normal; text-align: center; justify-content: center; line-height: 1.25; }
.card__hint { margin: .45rem 0 0; font-size: .8rem; line-height: 1.35; color: var(--muted); overflow-wrap: anywhere; }
.total__sum strong.total__sum--pending { font-size: .95em; white-space: normal; }
.field__hint { display: block; margin-top: .3rem; font-size: .8rem; line-height: 1.35; }
@media (min-width: 560px) and (max-width: 899px) { .cards > .card:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (max-width: 759px) { .cards > .card:last-child:nth-child(odd) { grid-column: 1 / -1; } }
#panel-certdocs { display: grid; gap: .85rem; min-width: 0; }
#panel-certdocs[hidden] { display: none; }
#panel-certdocs .fieldset { min-width: 0; margin: 0; }
.cert-groups { display: grid; gap: .85rem; min-width: 0; }
#panel-certdocs .seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
#panel-certdocs .seg__item { justify-content: center; min-height: 44px; text-align: center; }
.loyalty-progress { margin-top: .7rem; display: grid; gap: .45rem; }
.loyalty-progress__title { margin: 0; font-weight: 700; font-size: .9rem; color: #5925dc; }
.loyalty-progress__row { display: grid; gap: .2rem; font-size: .85rem; }
.loyalty-progress__bar { display: block; height: 6px; border-radius: 99px; background: #ebe9fe; overflow: hidden; }
.loyalty-progress__bar span { display: block; height: 100%; background: #7a5af8; border-radius: 99px; }
.bonus-acc { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); }
.bonus-acc__sum { cursor: pointer; padding: 1rem 1.2rem; font-weight: 700; font-size: 1.1rem; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.bonus-acc__sum::-webkit-details-marker { display: none; }
.bonus-acc__sum::after { content: "+"; font-size: 1.4rem; color: var(--accent); }
.bonus-acc[open] .bonus-acc__sum::after { content: "–"; }
.bonus-acc__body { padding: 0 1.2rem 1rem; font-size: .95rem; }
.bonus-acc__list { padding-left: 1.1rem; display: grid; gap: .45rem; }
.bonus-acc__warn { padding: .55rem .75rem; background: #fff4e5; border-radius: 8px; color: #9a5b00; }
.thanks__ref { margin: 1.1rem auto; padding: 1rem; max-width: 30rem; border-radius: var(--radius); background: #f4f1ff; text-align: center; }
.thanks__ref-title { margin: 0; font-weight: 600; }
.thanks__ref-code { margin: .3rem 0; font-size: 1.6rem; font-weight: 800; letter-spacing: .08em; color: #5925dc; font-variant-numeric: tabular-nums; }
.thanks__ref-actions { display: flex; flex-wrap: wrap; gap: .45rem; justify-content: center; }
/* Карусель отзывов */
.reviews[hidden] { display: none !important; }
.rv { position: relative; display: flex; align-items: center; gap: .5rem; }
/* Трек листается и без JS: горизонтальный скролл со «щелчком» по слайдам. */
.rv__viewport { flex: 1; min-width: 0; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.rv__viewport::-webkit-scrollbar { display: none; }
@media (prefers-reduced-motion: reduce) { .rv__viewport { scroll-behavior: auto; } }
.rv__track { display: flex; margin: 0; padding: 0; list-style: none; }
.rv__slide { flex: 0 0 100%; box-sizing: border-box; padding: .4rem; list-style: none; scroll-snap-align: start; }
@media (min-width: 720px) { .rv__slide { flex-basis: 50%; } }
@media (min-width: 1000px) { .rv__slide { flex-basis: 33.333%; } }
.rv__card { height: 100%; box-sizing: border-box; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: .9rem 1rem; }
.rv__head { display: flex; justify-content: space-between; gap: .5rem; }
.rv__name { font-weight: 700; }
.rv__stars { color: #f79009; letter-spacing: .05em; white-space: nowrap; }
.rv__meta { margin: .15rem 0 .4rem; font-size: .82rem; color: var(--muted); }
.rv__text { margin: 0 0 .4rem; line-height: 1.5; }
.rv__more { display: inline-block; margin: 0 0 .6rem; color: var(--accent); font-size: .88rem; text-decoration: underline; }
.rv__dots { display: flex; justify-content: center; gap: .4rem; margin-top: .6rem; }
.rv__dot { width: .55rem; height: .55rem; padding: 0; border-radius: 50%; border: 0; background: var(--border); cursor: pointer; }
.rv__dot.is-active { background: var(--accent); }
.rv__reply { margin-top: .4rem; padding: .5rem .65rem; border-left: 3px solid var(--accent); background: var(--accent-soft); border-radius: 6px; font-size: .88rem; }
.rv__nav { flex: 0 0 auto; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--text); box-shadow: var(--shadow); }
.rv__nav:hover, .rv__nav:focus-visible { border-color: var(--accent); color: var(--accent); }
.rv__links { text-align: center; margin-top: .8rem; }
@media (max-width: 560px) { .rv__nav { width: 2.1rem; height: 2.1rem; font-size: 1.2rem; } .rv { gap: .25rem; } }
.reviews-page { padding: 2rem 0 3rem; }
.reviews-page__lead { max-width: 65ch; }
.rv-grid { list-style: none; padding: 0; margin: 1rem 0 2rem; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); align-items: start; }
.rv-grid__item { margin: 0; scroll-margin-top: calc(var(--header-h) + 1rem); }
.rv-grid__item:target .rv__card { outline: 2px solid var(--accent); }
.rv-grid .rv__card { height: auto; }
.reviews-leave { max-width: 65ch; }
.reviews-leave__note, .review-form__note { font-size: .9rem; color: var(--muted); }
/* Форма отзыва */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.stars-input { display: inline-flex; flex-direction: row-reverse; gap: .15rem; }
.stars-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stars-input label { font-size: 2rem; color: #d0d5dd; cursor: pointer; line-height: 1; }
.stars-input input:checked ~ label, .stars-input label:hover, .stars-input label:hover ~ label { color: #f79009; }
.stars-input input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.review-code { margin: 1rem 0; padding: 1rem; background: #f4f1ff; border-radius: var(--radius); text-align: center; }
.review-code__value { font-size: 1.6rem; font-weight: 800; letter-spacing: .08em; color: #5925dc; margin: .3rem 0; }
.review-form .form__error p { margin: .2rem 0; }

/* 2026-10-14: «Вписать / Заполнить» — схемы в стиле макетов фото на документы */
.fit-opts { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 26rem; }
.fit-pic { display: block; width: 100%; max-width: 7.5rem; height: auto; margin: 0 auto; overflow: hidden; border-radius: 6px; background: #edf1f4; }
.fit-pic__sheet { fill: #fff; stroke: #c5d0d8; stroke-width: 1.2; }
.fit-pic__photo { fill: #c5d0d8; }
.fit-pic__photo--cut { opacity: .45; }
.fit-pic__img { fill: #8fa1ae; }
.fit-pic__frame { fill: none; stroke: var(--accent, #2563eb); stroke-width: 1.6; stroke-dasharray: 4 3; }
.fit-pic__hatch { stroke: #fff; stroke-width: 2; opacity: .8; }
.fit-pic__lbl { font: 600 9px/1 system-ui, sans-serif; fill: #8fa1ae; text-anchor: middle; }
.fit-opts__t { font-size: .82rem; font-weight: 600; text-align: center; line-height: 1.3; }

/* Визитки (2026-10-19c) */
.viz-req { margin: 0 0 .75rem; }
.viz-offset { color: var(--text); font-weight: 600; margin: -.25rem 0 .55rem; }
.viz-nobonus { margin-top: .65rem; }
.promo-off { margin: .5rem 0 .75rem; font-size: .85rem; }
.card__note { margin: .45rem 0 0; font-size: .78rem; line-height: 1.35; }

/* Услуги выключены в админке (2026-10-19): «приём заказов приостановлен» и подсказка по ссылке ?service= */
.orders-paused { border: 1px solid currentColor; border-color: rgba(127, 127, 127, .35); border-radius: 14px; padding: 1.1rem 1.25rem; margin: 0 0 1rem; text-align: center; }
.orders-paused__title { font-weight: 700; font-size: 1.15rem; margin: 0 0 .4rem; }
.orders-paused p { margin: .35rem 0; }
.orders-paused__links { display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; margin-top: .75rem !important; }
.orders-paused-note { font-weight: 600; }
.service-off-hint { margin: -.25rem 0 .75rem; padding: .5rem .75rem; border-radius: 10px; background: rgba(245, 158, 11, .14); font-size: .92rem; }

/* Опции, выключенные в админке для выбранной услуги (2026-10-19f) */
.form [data-opt][hidden], .form [data-opt-any][hidden], .tui-tile[hidden] { display: none !important; }

/* --- SEO pages & main extras (19h) --- */
.seo-page { padding: 1.25rem 0 3rem; max-width: 48rem; }
.seo-bc { font-size: .9rem; margin: 0 0 1rem; color: var(--muted, #667085); }
.seo-bc a { color: inherit; }
.seo-body { line-height: 1.55; }
.seo-body h2 { margin: 1.6rem 0 .6rem; font-size: 1.25rem; }
.seo-body h3 { margin: 1.2rem 0 .4rem; font-size: 1.05rem; }
.seo-table-wrap { overflow-x: auto; margin: .75rem 0 1rem; }
.seo-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.seo-table th, .seo-table td { border: 1px solid var(--border, #d0d5dd); padding: .45rem .6rem; text-align: left; }
.seo-table th { background: var(--surface-2, #f5f7fa); }
.seo-faq { border: 1px solid var(--border, #d0d5dd); border-radius: 10px; padding: .55rem .8rem; margin: .45rem 0; background: var(--surface, #fff); }
.seo-faq summary { cursor: pointer; font-weight: 600; }
.seo-faq p { margin: .5rem 0 0; }
.seo-price-note { margin: 1rem 0 0; font-size: 0.9rem; }
.seo-cta { margin: 1.5rem 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.seo-sticky { display: none; }
.seo-paused { padding: .75rem 1rem; border-radius: 10px; background: #fff7e6; border: 1px solid #f5c26b; }
.card__more { margin: .35rem 0 0; font-size: .9rem; }
.card__more a { color: var(--accent, #0b7285); }
.prices-ssr { margin: 0 0 1rem; }

.footer__grid { grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); }
@media (max-width: 720px) {
  .seo-sticky { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; justify-content: center; align-items: center; min-height: 48px; border-radius: 999px; background: var(--accent, #0b7285); color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 6px 20px rgba(0,0,0,.2); }
  body.theme-touch .seo-sticky { bottom: 72px; }
}

/* 19l: подробный прайс на главной — аккордеон по услугам (рендерит сервер, lib/prices_html.php). */
.price-accs { display: grid; gap: .6rem; margin-bottom: 1rem; }
.prices.price-accs { grid-template-columns: minmax(0, 1fr); align-items: start; }
.price-acc .prices__table { width: 100%; }
.price-acc { background: var(--bg); border-radius: var(--radius); box-shadow: var(--shadow); }
.section--muted .price-acc { background: var(--bg); }
.price-acc__sum { cursor: pointer; padding: .85rem 1.1rem; font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: .75rem; }
.price-acc__sum::-webkit-details-marker { display: none; }
.price-acc__sum::after { content: "+"; font-size: 1.3rem; color: var(--accent); flex: 0 0 auto; }
.price-acc[open] .price-acc__sum::after { content: "–"; }
.price-acc__from { font-weight: 600; color: var(--accent); white-space: nowrap; margin-left: auto; }
.price-acc__from-note { font-weight: 500; font-size: .8em; color: var(--muted); }
.price-acc .prices__card { box-shadow: none; margin: 0; padding-top: 0; background: transparent; }
.price-acc .prices__card-title { display: none; }
/* 19m14b: раскрытый прайс не расширяет страницу на 360 px — таблица прокручивается внутри карточки */
.price-acc { min-width: 0; max-width: 100%; }
.price-acc .prices__card { min-width: 0; overflow-x: auto; }
.price-acc .prices__table th { overflow-wrap: anywhere; }
.price-acc .seo-table-wrap { margin: 0 1.1rem 1rem; }
.prices__table td[colspan], .seo-table td[colspan] { text-align: left; }

/* 19l: «Ваши фото в безопасности» — под полем загрузки и на /foto-na-dokumenty/. */
.safe-photos { margin: .75rem 0 0; padding: .8rem 1rem; border-radius: var(--radius); background: var(--accent-soft); font-size: .9rem; max-width: 65ch; }
.safe-photos__title { margin: 0 0 .35rem; font-weight: 700; }
.safe-photos ul { margin: 0; padding-left: 1.1rem; display: grid; gap: .2rem; }
.safe-photos__more { margin: .4rem 0 0; }

/* 19l: грамоты — формат и стороны */
.calc__row-2 { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); }
.seg { display: inline-flex; flex-wrap: wrap; gap: .4rem; }
.seg__item { display: inline-flex; align-items: center; gap: .35rem; padding: .45rem .8rem; border: 1px solid var(--border); border-radius: 999px; cursor: pointer; background: var(--surface); }
.seg__item:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.seg__item.is-disabled { opacity: .5; cursor: not-allowed; }


/* 19m7: /dostavka/ — блок «карта»: заглушка + кнопки-ссылки (без iframe; показывается, только если в админке заданы ссылки) */
.map-block { margin: 1.25rem 0; padding: 1rem; border: 1px solid var(--border, rgba(0,0,0,.12)); border-radius: 14px; background: var(--surface, #fff); }
.map-block__ph { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 140px; border-radius: 10px; color: var(--muted); font-weight: 600; text-align: center; padding: .75rem;
  background: repeating-linear-gradient(45deg, rgba(127,127,127,.08) 0 12px, rgba(127,127,127,.14) 12px 24px); }
.map-block__pin { font-size: 1.6rem; }
.map-block__text { margin: .75rem 0 .5rem; }
.map-block__btns { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: .5rem; }
.map-block__btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; text-align: center; }

/* 19m14d: «Печать документов» — брошюровка / ламинация (отметка, цена по прайсу) */
.cert-finish { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.cert-finish .check { margin: 0; }

/* 19m14e: компактный прайс — одна таблица на услугу, столбцы A5/A4/A3 */
.prices__table--grid thead th { font-size: .78rem; font-weight: 600; color: var(--muted); padding-bottom: .3rem; border-bottom: 1px solid var(--border); }
.prices__table--grid thead .prices__corner { text-align: left; }
.prices__table--grid .prices__value { white-space: nowrap; padding-left: .5rem; }
.prices__table--grid thead .prices__value { text-align: right; }
.prices__sub { display: block; font-size: .76rem; font-weight: 400; color: var(--muted); line-height: 1.25; }
.prices__note { margin: .5rem 0 0; font-size: .82rem; }
@media (max-width: 480px) {
  .prices__table--grid { font-size: .84rem; }
  .prices__table--grid .prices__value { padding-left: .3rem; font-size: .82rem; }
  .prices__table--grid th { padding-right: .4rem; }
  .price-acc .prices__value--wrap { white-space: normal; }
  .price-acc .seo-table-wrap { margin-left: .8rem; margin-right: .8rem; }
  .price-acc .seo-table { font-size: .84rem; }
  .price-acc .seo-table th, .price-acc .seo-table td { padding: .35rem .4rem; }
}

/* 19m14g: строка про бумагу в форме грамот */
.calc__paper-line { font-weight: 600; }
