.footer__trust strong { color: #fff; }
.footer__inner { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.footer__links { display: flex; gap: 1.1rem; flex-wrap: wrap; margin-left: auto; font-size: 0.9rem; }
.footer__copy { margin: 0; width: 100%; padding-top: 1rem; font-size: 0.82rem; color: #7fa38d; }

/* ---------- формы (order / login / cabinet) ---------- */
.order-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: clamp(1.4rem, 4vw, 2rem);
  box-shadow: var(--shadow-card);
}
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 700; font-size: 0.93rem; margin-bottom: 0.45rem; }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8em 1em;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  font: 600 1rem var(--font-mono);
  color: var(--ink);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #9fb2a6; font-family: var(--font-body); font-weight: 500; }
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(0, 184, 80, 0.12); }
.form-group textarea { resize: vertical; font-size: 0.95rem; }
.form-hint { font-size: 0.84rem; color: var(--muted); margin: 0.45rem 0 0; }

.service-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.service-tab {
  padding: 0.75em 0.9em;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  font: 700 0.95rem var(--font-body);
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.2s;
}
.service-tab:hover { border-color: var(--green); }
.service-tab.is-active {
  border-color: var(--green);
  background: var(--green-tint);
  color: var(--green-dark);
  box-shadow: inset 0 0 0 1px var(--green);
}
.legal-sample-btn { margin-top: 0.7rem; }

.price-line { font: 700 1.5rem var(--font-mono); margin: 0.4rem 0 1rem; color: var(--ink); }
.promo-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--green-dark);
  background: var(--green-tint);
  border-radius: var(--r-pill);
  padding: 0.4em 0.95em;
  margin: 0 0 1rem;
}

.alert { padding: 0.9rem 1.2rem; border-radius: 14px; font-weight: 600; margin-bottom: 1.2rem; }
.alert--error { background: var(--red-tint); color: #b3222f; border: 1px solid #f6c6cb; }
.alert--ok { background: var(--green-tint); color: var(--green-dark); border: 1px solid #c8ecd6; }

.loyalty-mini {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: 16px;
  padding: 1.1rem 1.3rem;
}
.loyalty-mini__head { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.4rem; }
.loyalty-mini__tag { font: 700 0.72rem var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-dark); }
.loyalty-mini__link { margin-left: auto; font-size: 0.85rem; font-weight: 700; }
.loyalty-mini__text { margin: 0; font-size: 0.93rem; color: var(--muted); }
.loyalty-mini__text strong { color: var(--ink); }

.messengers-note { font-size: 0.93rem; }

/* страница-обёртка узких форм */
.page-head { margin-bottom: 1.5rem; }

/* ---------- статус заказа ---------- */
.status-box {
  max-width: 500px;
  margin: clamp(2rem, 6vw, 3.5rem) auto 0;
  padding: clamp(1.6rem, 5vw, 2.4rem);
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
}
.status-icon { font-size: 2.6rem; margin-bottom: 0.6rem; }

/* степпер статуса */
.status-steps { display: flex; justify-content: center; gap: 0; margin: 1.2rem 0 0.4rem; }
.status-steps__item { display: grid; justify-items: center; gap: 0.35rem; flex: 1; position: relative; font-size: 0.72rem; font-weight: 700; color: var(--muted); }
.status-steps__item::before {
  content: "";
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--line-strong);
  border: 3px solid #fff;
  box-shadow: 0 0 0 1.5px var(--line-strong);
  z-index: 1;
}
.status-steps__item::after {
  content: "";
  position: absolute;
  top: 6px;
  left: -50%; right: 50%;
  height: 2.5px;
  background: var(--line);
}
.status-steps__item:first-child::after { display: none; }
.status-steps__item.done::before { background: var(--green); box-shadow: 0 0 0 1.5px var(--green); }
.status-steps__item.done::after { background: var(--green); }
.status-steps__item.done { color: var(--green-dark); }

/* ---------- кабинет ---------- */
.cabinet-head { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.cabinet-head > div { flex: 1; min-width: 220px; }
.cabinet-list { display: grid; gap: 1rem; }
.cabinet-card { box-shadow: none; transition: box-shadow 0.3s, transform 0.3s var(--ease-out); }
.cabinet-card:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }
.cabinet-card__head { display: flex; align-items: baseline; gap: 0.8rem; flex-wrap: wrap; }
.cabinet-card__id { font: 700 0.8rem var(--font-mono); color: var(--muted); }
.cabinet-card__title { font-weight: 800; }
.cabinet-card__status {
  margin-left: auto;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--green-dark);
  background: var(--green-tint);
  border-radius: var(--r-pill);
  padding: 0.3em 0.85em;
}
.cabinet-card__meta { font-size: 0.87rem; margin: 0.5rem 0 0.9rem; }
.cabinet-card__actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.cabinet-empty { text-align: center; }

/* ---------- модалки (капча, пример отчёта) ---------- */
body.modal-open { overflow: hidden; }
.captcha-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 1rem; }
.captcha-modal[hidden] { display: none; }
.captcha-modal__backdrop { position: absolute; inset: 0; background: rgba(11, 31, 20, 0.45); backdrop-filter: blur(4px); }
.captcha-modal__dialog {
  position: relative;
  width: min(460px, 100%);
  max-height: 86vh;
  overflow: auto;
  background: #fff;
  border-radius: var(--r-card);
  padding: 1.8rem 1.6rem 1.4rem;
  box-shadow: var(--shadow-pop);
  animation: modal-in 0.35s var(--ease-out);
}
@keyframes modal-in { from { transform: translateY(18px) scale(0.97); opacity: 0; } }
.legal-sample-dialog { width: min(560px, 100%); }
.captcha-modal__close {
  position: absolute;
  top: 0.8rem; right: 0.9rem;
  width: 34px; height: 34px;
  border: 0;
  border-radius: 50%;
  background: var(--bg-mint);
  color: var(--muted);
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.captcha-modal__close:hover { background: var(--green-tint); color: var(--green-dark); }
.captcha-modal__tag {
  display: inline-block;
  font: 700 0.68rem var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-dark);
  background: var(--green-tint);
  padding: 0.45em 0.95em;
  border-radius: var(--r-pill);
  margin-bottom: 0.8rem;
}
.captcha-modal__title { font-size: 1.25rem; }
.captcha-modal__desc { color: var(--muted); font-size: 0.92rem; }
.captcha-modal__widget { margin: 1rem 0 1.2rem; min-height: 90px; display: grid; place-items: center; }
.captcha-modal__loading { color: var(--muted); font-size: 0.9rem; }
.legal-sample__body {
  background: var(--green-deep);
  color: #cfeeda;
  border-radius: 14px;
  padding: 1.1rem 1.2rem;
  font: 500 0.78rem/1.55 var(--font-mono);
  overflow-x: auto;
  white-space: pre-wrap;
  margin: 0 0 1.2rem;
}

/* ---------- блог / статьи ---------- */
.breadcrumb { font-size: 0.85rem; color: var(--muted); margin-bottom: 1.2rem; }
.article-shell { position: relative; }
.article-read-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--green), var(--green-glow));
  z-index: 130;
}
.article-hero { padding: clamp(2rem, 5vw, 3.5rem) 0 0; }
.article-header { max-width: 780px; }
.article-header h1 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
.article-meta { display: flex; gap: 1rem; flex-wrap: wrap; color: var(--muted); font-size: 0.85rem; font-weight: 600; }
.article-author { color: var(--muted); font-size: 0.85rem; }
.article-lead { font-size: 1.12rem; color: var(--ink-soft); }
.article-cover { border-radius: var(--r-card); overflow: hidden; margin: 1.6rem 0; box-shadow: var(--shadow-card); position: relative; }
.article-cover img { width: 100%; height: auto; }
.article-cover--hero { width: min(calc(100% - clamp(2rem, 8vw, 4rem)), 960px); margin: 1.9rem auto 0; max-height: 440px; }
.article-cover--hero img { height: 100%; max-height: 440px; object-fit: cover; }
.article-cover__shine { display: none; }
.article-glow { display: none; }

.article-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(1.6rem, 4vw, 3rem); align-items: start; padding-top: clamp(1.6rem, 4vw, 2.6rem); }
@media (max-width: 960px) { .article-grid { grid-template-columns: 1fr; } .article-sidebar { position: static; } }
.article-sidebar { position: sticky; top: 90px; }
.article-toc {
  background: var(--bg-mint);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.2rem 1.3rem;
  font-size: 0.88rem;
}
.article-toc__title { font-weight: 800; margin-bottom: 0.6rem; }
.article-toc ol { margin: 0; padding-left: 1.1rem; display: grid; gap: 0.4rem; }
.article-toc a { color: var(--ink-soft); }
.article-toc a:hover { color: var(--green-dark); }

.article-prose { max-width: 720px; }
.article-prose h2 {
  font-size: 1.45rem;
  margin-top: 2em;
  padding-top: 0.4em;
  position: relative;
}
.article-prose h2::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 52px;
  height: 4px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--green), var(--green-glow));
}
.article-prose h3 { font-size: 1.15rem; margin-top: 1.6em; }
