/* ═══════════════════════════════════════════════════════════════
   ФАЙЛ:        assets/style.css
   НАЗНАЧЕНИЕ:  Единый стиль сайта srotools.ru
   ВЕРСИЯ:      8.2 (v1.2 — реквизиты в футере)
   ЧТО МЕНЯТЬ:  цвета — в :root, шрифты — в :root
   НЕ ТРОГАТЬ:  структуру классов, они используются в HTML
   ОБНОВЛЕНО:   2026-10-30
   ═══════════════════════════════════════════════════════════════ */

/* ─── ПЕРЕМЕННЫЕ ───────────────────────────────────────────── */
:root {
  --blue:       #17517a;
  --blue-2:     #0f3a5c;
  --slate:      #2c3e50;
  --slate-2:    #22303f;
  --bg:         #eef1f5;
  --white:      #ffffff;

  --text:       #1a1a1a;
  --text-2:     #3a3a3a;
  --muted:      #6b7280;

  --border:     #d5dae1;
  --border-lt:  #e5e9ef;

  --gold:       #e67e22;
  --gold-2:     #c96a17;
  --gold-soft:  rgba(230,126,34,0.08);
  --green:      #15803d;
  --green-soft: rgba(21,128,61,0.08);

  --font-serif: "Times New Roman", Times, Georgia, serif;
  --font-sans:  Arial, "Helvetica Neue", Helvetica, sans-serif;

  --radius:     3px;
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.06);
  --shadow:     0 2px 8px rgba(0,0,0,0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  font-size: 14.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

/* ═══════════════════════════════════════════════════════════════
   КОНТЕЙНЕР
   ═══════════════════════════════════════════════════════════════ */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
}

/* ═══════════════════════════════════════════════════════════════
   ВЕРХНЯЯ ПОЛОСА
   ═══════════════════════════════════════════════════════════════ */
.top-strip {
  background: var(--slate-2);
  color: #fff;
  font-size: 12px;
  padding: 8px 0;
}
.top-strip__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.top-strip a { color: rgba(255,255,255,0.85); }
.top-strip a:hover { color: #fff; }
.top-strip__right { display: flex; align-items: center; gap: 14px; }
.top-strip__right span { color: rgba(255,255,255,0.4); }
@media (max-width: 720px) { .top-strip { display: none; } }

/* ═══════════════════════════════════════════════════════════════
   ШАПКА
   ═══════════════════════════════════════════════════════════════ */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border-lt);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 0;
}
.site-header__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 24px;
  border-right: 1px solid var(--border-lt);
  text-decoration: none;
  max-width: 130px;
}
.site-header__logo img {
  width: auto;
  height: 72px;
  max-width: 110px;
  object-fit: contain;
}
.site-header__title {
  flex: 1;
  min-width: 0;
  text-align: center;
}
.site-header__org {
  font-family: var(--font-serif);
  color: var(--blue);
  font-size: 20px;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.3;
  margin-bottom: 6px;
}
.site-header__title .sub {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.6;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.site-header__title .sub a { color: var(--blue); font-weight: normal; }
@media (max-width: 800px) {
  .site-header__inner { flex-direction: column; gap: 16px; text-align: center; }
  .site-header__logo {
    padding-right: 0;
    border-right: none;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-lt);
    width: 100%;
    max-width: none;
  }
  .site-header__logo img { height: 64px; }
  .site-header__org { font-size: 15px; }
}

/* ═══════════════════════════════════════════════════════════════
   МЕНЮ ВЕРХНЕЕ
   ═══════════════════════════════════════════════════════════════ */
.main-menu {
  background: var(--white);
  border-bottom: 1px solid var(--border-lt);
}
.main-menu__inner {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  min-height: 44px;
}
.main-menu a {
  display: block;
  padding: 13px 9px;
  font-family: var(--font-serif);
  font-size: 11.5px;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  border-right: 1px solid var(--border-lt);
  white-space: nowrap;
  transition: background 0.15s;
}
.main-menu a:first-child { border-left: 1px solid var(--border-lt); }
.main-menu a:hover { background: rgba(23,81,122,0.06); text-decoration: none; }
@media (max-width: 1100px) {
  .main-menu__inner { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; }
}

/* ═══════════════════════════════════════════════════════════════
   МЕНЮ НИЖНЕЕ
   ═══════════════════════════════════════════════════════════════ */
.sub-menu {
  background: var(--slate);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 4px rgba(0,0,0,0.12);
}
.sub-menu__inner {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  min-height: 46px;
}
.sub-menu a {
  display: block;
  padding: 13px 22px;
  font-family: var(--font-serif);
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-right: 1px solid rgba(255,255,255,0.1);
  white-space: nowrap;
  transition: all 0.15s;
}
.sub-menu a:first-child { border-left: 1px solid rgba(255,255,255,0.1); }
.sub-menu a:hover { background: var(--slate-2); color: #fff; text-decoration: none; }
.sub-menu a.active { background: var(--gold); color: #fff; font-weight: bold; }
@media (max-width: 920px) {
  .sub-menu__inner { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; }
}

/* ═══════════════════════════════════════════════════════════════
   ОСНОВНОЕ
   ═══════════════════════════════════════════════════════════════ */
main { padding: 32px 0 48px; }

.card {
  background: var(--white);
  border: 1px solid var(--border-lt);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 36px;
  margin-bottom: 20px;
}
.card:last-child { margin-bottom: 0; }
@media (max-width: 640px) { .card { padding: 24px 20px; margin-bottom: 16px; } }

.section-head {
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-lt);
}
.section-head .kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: bold;
  color: var(--gold-2);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.section-head h2 {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-weight: normal;
  line-height: 1.25;
  margin-bottom: 8px;
}
.section-head p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 720px;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--blue);
  font-weight: normal;
}
h1 { font-size: 30px; line-height: 1.2; margin-bottom: 14px; }
h2 { font-size: 22px; line-height: 1.25; margin-bottom: 12px; }
h3 { font-size: 16px; line-height: 1.3; margin-bottom: 8px; text-transform: uppercase; }

p { margin-bottom: 12px; font-size: 14px; line-height: 1.7; color: var(--text-2); }
p:last-child { margin-bottom: 0; }

/* ═══════════════════════════════════════════════════════════════
   БАННЕР
   ═══════════════════════════════════════════════════════════════ */
.banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 340px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 32px;
}
.banner__image {
  /* ВАЖНО: путь относителен самого CSS-файла (assets/), а не HTML.
     banner.jpg лежит рядом со style.css в assets/. */
  background-image: url('banner.jpg');
  background-size: cover;
  background-position: center;
  background-color: var(--slate);
  position: relative;
}
.banner__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.25) 100%);
}
.banner__overlay {
  background: linear-gradient(135deg, #17517a 0%, #2c5f8a 100%);
  color: #fff;
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.banner__overlay::before {
  content: "";
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 5px;
  background: var(--gold);
}
.banner__overlay h2 {
  color: #fff;
  font-size: 24px;
  font-weight: normal;
  text-transform: uppercase;
  line-height: 1.3;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}
.banner__overlay p { font-size: 14px; opacity: 0.92; line-height: 1.7; color: #fff; margin: 0; }
@media (max-width: 800px) {
  .banner { grid-template-columns: 1fr; min-height: auto; margin-bottom: 24px; }
  .banner__image { min-height: 200px; }
  .banner__overlay { padding: 28px 24px; }
  .banner__overlay h2 { font-size: 18px; }
}

/* ═══════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */
.hero {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 48px;
  align-items: stretch;
}
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; gap: 32px; } }

.hero__left { display: flex; flex-direction: column; height: 100%; }

.hero__badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(23,81,122,0.08);
  color: var(--blue);
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 1px solid rgba(23,81,122,0.2);
  border-radius: var(--radius);
  margin-bottom: 18px;
  align-self: center;
}
.hero h1 {
  font-size: 30px;
  margin-bottom: 18px;
  line-height: 1.25;
  text-align: center;
}
.hero h1 .hl { color: var(--blue); }
.hero h1 .hl-gold { color: var(--gold-2); }
.hero__subtitle {
  font-size: 15px;
  color: var(--text-2);
  margin-bottom: 24px;
  line-height: 1.7;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
  padding-top: 24px;
  justify-content: center;
}
@media (max-width: 500px) {
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; }
}

/* ─── ЗАДЕЛ: блок «Ключевые факты». Пока не используется. ─── */
.hero__facts {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 28px;
  border-left: 4px solid var(--blue);
}
.hero__facts-title {
  font-family: var(--font-serif);
  font-size: 13px;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-lt);
}
.fact-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border-lt);
}
.fact-row:last-child { border-bottom: none; padding-bottom: 0; }
.fact-row__value {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--blue);
  font-weight: bold;
  flex-shrink: 0;
  min-width: 70px;
}
.fact-row__label { font-size: 12.5px; color: var(--text-2); line-height: 1.5; }
/* ─── КОНЕЦ ЗАДЕЛА ─── */

/* ═══════════════════════════════════════════════════════════════
   ИНФОРМАЦИОННАЯ ВРЕЗКА
   ═══════════════════════════════════════════════════════════════ */
.info-note {
  background: var(--bg);
  border-left: 4px solid var(--blue);
  padding: 16px 20px;
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.7;
}
.info-note--green { border-left-color: var(--green); background: var(--green-soft); }
.info-note strong { color: var(--text); }

/* ═══════════════════════════════════════════════════════════════
   КНОПКИ
   ═══════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 24px;
  font-family: var(--font-serif);
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s;
}
.btn--primary { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn--primary:hover { background: var(--blue-2); color: #fff; text-decoration: none; }
.btn--outline { background: #fff; color: var(--blue); border-color: var(--blue); }
.btn--outline:hover { background: rgba(23,81,122,0.06); text-decoration: none; }
.btn--gold { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn--gold:hover { background: var(--gold-2); color: #fff; text-decoration: none; }
.btn--success { background: var(--green); color: #fff; border-color: var(--green); }
.btn--success:hover { background: #0f5c2b; color: #fff; }
.btn--sm { height: 36px; padding: 0 16px; font-size: 12px; }
.btn-group { display: flex; gap: 12px; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════════════════════
   СЕТКИ
   ═══════════════════════════════════════════════════════════════ */
.grid-2, .grid-3, .grid-4 { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 14px; } }

/* ═══════════════════════════════════════════════════════════════
   КАРТОЧКИ-ПРЕИМУЩЕСТВА
   ═══════════════════════════════════════════════════════════════ */
.feature {
  background: #fff;
  border: 1px solid var(--border-lt);
  border-top: 3px solid var(--blue);
  border-radius: var(--radius);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all 0.15s;
}
.feature:hover { border-top-color: var(--gold); box-shadow: var(--shadow); }
.feature__num {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--gold);
  font-weight: bold;
  line-height: 1;
  margin-bottom: 12px;
}
.feature h3 {
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
  line-height: 1.3;
}
.feature p { font-size: 13px; color: var(--text-2); line-height: 1.6; margin: 0; }

.feature--link {
  text-decoration: none;
  color: inherit;
  border-top-color: var(--gold);
  cursor: pointer;
}
.feature--link:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.feature--link h3 { color: var(--blue); transition: color 0.15s; }
.feature--link:hover h3 { color: var(--gold-2); }
.feature__more {
  display: inline-block;
  margin-top: auto;
  padding-top: 12px;
  font-size: 12.5px;
  font-weight: bold;
  color: var(--gold-2);
  letter-spacing: 0.03em;
}

/* ═══════════════════════════════════════════════════════════════
   БЛОК «ТРЕБОВАНИЯ»
   ═══════════════════════════════════════════════════════════════ */
.req-item {
  background: var(--bg);
  border-left: 3px solid var(--blue);
  border-radius: var(--radius);
  padding: 20px 22px;
  height: 100%;
}
.req-item strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 14px;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-lt);
  font-weight: normal;
}
.req-item ul { list-style: none; padding: 0; margin: 0; }
.req-item li {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.6;
  padding-left: 16px;
  position: relative;
  margin-bottom: 6px;
}
.req-item li:last-child { margin-bottom: 0; }
.req-item li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: bold;
}

/* ═══════════════════════════════════════════════════════════════
   ШАГИ
   ═══════════════════════════════════════════════════════════════ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.step {
  background: #fff;
  border: 1px solid var(--border-lt);
  border-radius: var(--radius);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all 0.15s;
}
.step:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--slate);
  color: #fff;
  font-family: var(--font-serif);
  font-size: 20px;
  margin-bottom: 16px;
}
.step h3 {
  font-size: 14px;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
  line-height: 1.3;
}
.step p { font-size: 12.5px; color: var(--text-2); line-height: 1.6; margin: 0; }

/* ═══════════════════════════════════════════════════════════════
   КОНТАКТЫ
   ═══════════════════════════════════════════════════════════════ */
.contact-tile {
  background: #fff;
  border: 1px solid var(--border-lt);
  border-radius: var(--radius);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  transition: all 0.15s;
  text-decoration: none;
}
.contact-tile:hover { border-color: var(--blue); box-shadow: var(--shadow); text-decoration: none; }
.contact-tile__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--bg);
  border-radius: var(--radius);
  font-size: 22px;
  margin-bottom: 16px;
}
.contact-tile__label {
  font-size: 11px;
  font-weight: bold;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.contact-tile__value {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--blue);
  line-height: 1.4;
  font-weight: bold;
  word-break: break-word;
}
.contact-tile__note { font-size: 12px; color: var(--muted); margin-top: 6px; line-height: 1.5; }

/* ═══════════════════════════════════════════════════════════════
   CTA
   ═══════════════════════════════════════════════════════════════ */
.cta {
  background: linear-gradient(135deg, var(--slate) 0%, var(--blue) 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 44px 40px;
  margin: 32px 0 0;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 32px;
  align-items: center;
}
.cta::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gold);
}
.cta h2 {
  color: #fff;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 10px;
  line-height: 1.3;
}
.cta p { font-size: 14px; opacity: 0.88; line-height: 1.65; color: #fff; margin: 0; }
.cta__buttons { display: flex; flex-direction: column; gap: 12px; }
.cta__buttons .btn { width: 100%; }
@media (max-width: 800px) { .cta { grid-template-columns: 1fr; padding: 32px 24px; gap: 24px; } }

/* ═══════════════════════════════════════════════════════════════
   ФУТЕР — упрощённый: реквизиты + копирайт
   ═══════════════════════════════════════════════════════════════ */
footer {
  background: var(--slate);
  color: rgba(255,255,255,0.6);
  font-size: 12px;
  padding: 32px 0 24px;
  margin-top: 32px;
  border-top: 4px solid var(--gold);
}

/* ─── Реквизиты ─── */
.footer__requisites {
  text-align: left;
  line-height: 1.7;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer__requisites-title {
  font-family: var(--font-serif);
  font-size: 13px;
  color: rgba(255,255,255,0.9);
  font-weight: bold;
  margin-bottom: 10px;
}
.footer__requisites p {
  margin: 0 0 4px;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
}
.footer__requisites p:last-child { margin-bottom: 0; }
.footer__req-label { color: rgba(255,255,255,0.4); }

/* ─── Копирайт ─── */
.footer__bottom {
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 11.5px;
  color: rgba(255,255,255,0.55);
  line-height: 1.55;
}
.footer__bottom a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
}
.footer__bottom a:hover {
  color: #fff;
  text-decoration: underline;
}

@media (max-width: 560px) {
  footer { padding: 24px 0 20px; }
  .footer__requisites,
  .footer__requisites p { font-size: 11px; }
  .footer__bottom { flex-direction: column; gap: 6px; }
}
/* ═══════════════════════════════════════════════════════════════
   КАЛЬКУЛЯТОР
   ═══════════════════════════════════════════════════════════════ */
.calc-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 28px;
  align-items: start;
}
@media (max-width: 900px) { .calc-layout { grid-template-columns: 1fr; } }

.calc-panel {
  background: #fff;
  border: 1px solid var(--border-lt);
  border-top: 3px solid var(--blue);
  padding: 28px;
  border-radius: var(--radius);
}
  
.tile-group { margin-bottom: 24px; }
.tile-group-label {
  font-size: 12px; font-weight: bold; color: var(--text);
  text-transform: uppercase; letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
@media (max-width: 620px) { .tiles { grid-template-columns: repeat(2, 1fr); } }

.tile {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 14px 8px;
  text-align: center; cursor: pointer; transition: all 0.15s;
  color: var(--text); font-size: 13px; font-family: inherit;
}
.tile:hover { border-color: var(--blue); background: rgba(23,81,122,0.06); }
.tile.selected { background: var(--blue); border-color: var(--blue); color: #fff; font-weight: bold; }
.tile-num { font-family: var(--font-serif); font-size: 22px; line-height: 1.1; }
.tile-label { font-size: 10.5px; margin-top: 4px; line-height: 1.35; opacity: 0.85; }
.tile.selected .tile-label { opacity: 1; }

.calc-summary {
  background: linear-gradient(135deg, var(--slate) 0%, var(--blue) 100%);
  color: #fff; border-radius: var(--radius);
  padding: 28px; position: sticky; top: 80px;
  box-shadow: var(--shadow);
}
.calc-summary h3 {
  color: #fff; font-size: 15px; margin: 0 0 18px;
  text-transform: uppercase; letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 12px; font-family: var(--font-serif);
}
.sum-group-label {
  font-size: 11px; font-weight: bold; text-transform: uppercase;
  letter-spacing: 0.06em; color: rgba(255,255,255,0.6);
  margin: 18px 0 8px;
}
.sum-row {
  display: flex; justify-content: space-between;
  padding: 8px 0; border-bottom: 1px dashed rgba(255,255,255,0.18);
  font-size: 13px; gap: 12px;
}
.sum-row:last-of-type { border-bottom: none; }
.sum-row .lbl { color: rgba(255,255,255,0.85); }
.sum-row .val { font-weight: bold; text-align: right; white-space: nowrap; }
.sum-row .val small {
  display: block; font-weight: normal; font-size: 10px;
  color: rgba(255,255,255,0.55); margin-top: 2px;
}
.sum-total {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 16px 0 6px; margin-top: 12px;
  border-top: 2px solid var(--gold);
  font-size: 15px; font-weight: bold; gap: 12px;
}
.sum-total .val {
  font-family: var(--font-serif); font-size: 26px;
  color: #ffb066; white-space: nowrap;
}
.sum-yearly {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 12px 0 0; margin-top: 10px;
  border-top: 1px dashed rgba(255,255,255,0.25);
  font-size: 13px; color: rgba(255,255,255,0.9); gap: 12px;
}
.sum-yearly .val { font-weight: bold; font-size: 15px; }
.sum-placeholder {
  color: rgba(255,255,255,0.5); text-align: center;
  padding: 3rem 0; font-size: 14px;
}

/* ═══════════════════════════════════════════════════════════════
   ТАБЛИЦЫ
   ═══════════════════════════════════════════════════════════════ */
.table-wrap {
  overflow-x: auto; border: 1px solid var(--border-lt);
  border-radius: var(--radius); background: #fff;
}
table.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data-table th, table.data-table td {
  padding: 13px 16px; text-align: left;
  border-bottom: 1px solid var(--border-lt);
  border-right: 1px solid var(--border-lt);
}
table.data-table th:last-child, table.data-table td:last-child { border-right: none; }
table.data-table thead th {
  background: var(--slate); color: #fff;
  font-family: var(--font-serif); font-size: 13.5px;
  text-transform: uppercase; letter-spacing: 0.04em;
  font-weight: normal;
}
table.data-table thead th span {
  display: block; font-size: 10px; text-transform: none;
  letter-spacing: 0; opacity: 0.7; margin-top: 3px;
}
table.data-table tbody tr:nth-child(even) { background: #f8fafc; }
table.data-table tbody tr:hover { background: rgba(23,81,122,0.04); }
table.data-table tbody tr:last-child td { border-bottom: none; }
table.data-table td.sum {
  font-family: var(--font-serif); font-weight: bold;
  color: var(--blue); white-space: nowrap;
}
table.data-table td.sum--gold { color: var(--gold); }

.level-badge {
  display: inline-block; width: 32px; height: 32px;
  line-height: 32px; text-align: center;
  background: var(--slate); color: #fff;
  font-family: var(--font-serif); font-size: 16px;
  border-radius: 50%;
}
.level-badge--1 { background: #2c5f8a; }
.level-badge--2 { background: #1e4b7a; }
.level-badge--3 { background: #17517a; }
.level-badge--4 { background: #123f60; }
.level-badge--5 { background: #0f3a5c; }

/* ═══════════════════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════════════════ */
.faq__item {
  background: #fff; border: 1px solid var(--border-lt);
  margin-bottom: 6px; border-radius: var(--radius);
  overflow: hidden;
}
.faq__item.open { border-color: var(--blue); }
.faq__q {
  width: 100%; padding: 14px 18px; background: none;
  border: none; color: var(--blue);
  font-family: var(--font-serif); font-size: 15px;
  text-align: left; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; line-height: 1.35;
}
.faq__q:hover { background: rgba(23,81,122,0.04); }
.faq__q::after {
  content: "+"; font-size: 20px; color: var(--blue);
  transition: transform 0.2s; flex-shrink: 0;
}
.faq__item.open .faq__q::after { transform: rotate(45deg); }
.faq__a {
  max-height: 0; overflow: hidden;
  padding: 0 18px; background: var(--bg);
  font-size: 13px; line-height: 1.65;
  color: var(--text-2);
  transition: max-height 0.3s, padding 0.3s;
}
.faq__item.open .faq__a { max-height: 500px; padding: 14px 18px; }
.faq__a p { margin: 0 0 8px; font-size: 13px; }
.faq__a p:last-child { margin-bottom: 0; }

/* ═══════════════════════════════════════════════════════════════
   КАРТОЧКИ ИНСТРУМЕНТОВ
   ═══════════════════════════════════════════════════════════════ */
.tool-card {
  background: #fff; border: 1px solid var(--border-lt);
  border-top: 3px solid var(--blue); border-radius: var(--radius);
  padding: 28px 24px 24px; cursor: pointer;
  transition: all 0.15s; display: flex;
  flex-direction: column; height: 100%;
}
.tool-card:hover { border-top-color: var(--gold); box-shadow: var(--shadow); }
.tool-card__icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: var(--bg); border: 1px solid var(--border-lt);
  border-radius: var(--radius); font-size: 1.6rem;
  color: var(--blue); margin-bottom: 16px;
}
.tool-card h3 {
  font-family: var(--font-serif); font-size: 15px;
  color: var(--blue); text-transform: uppercase;
  letter-spacing: 0.03em; margin-bottom: 8px; line-height: 1.3;
}
.tool-card p {
  font-size: 13px; color: var(--text-2);
  line-height: 1.6; margin: 0 0 16px; flex: 1;
}
.tool-card .badge {
  display: inline-block; font-size: 10px;
  font-weight: bold; padding: 3px 9px;
  border-radius: 10px; text-transform: uppercase;
  letter-spacing: 0.05em; align-self: flex-start;
}
.badge--free { background: var(--green-soft); color: var(--green); }
.badge--locked { background: var(--gold-soft); color: var(--gold-2); }

/* ═══════════════════════════════════════════════════════════════
   ПОЛЯ ФОРМ
   ═══════════════════════════════════════════════════════════════ */
.field { margin-bottom: 16px; }
.field label {
  display: block; font-size: 12px; color: var(--text);
  font-weight: bold; margin-bottom: 5px;
}
.field .hint { font-size: 11px; color: var(--muted); margin-top: 4px; line-height: 1.45; }
input[type="text"], input[type="email"], input[type="tel"],
input[type="number"], input[type="password"], select, textarea {
  width: 100%; padding: 10px 13px; background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius);
  color: var(--text); font-family: var(--font-sans);
  font-size: 14px; transition: all 0.15s;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(23,81,122,0.1);
}
textarea { resize: vertical; min-height: 90px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .row-2, .row-3 { grid-template-columns: 1fr; gap: 12px; } }

.check-row {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 14px; background: #fff;
  border: 1px solid var(--border-lt); border-radius: var(--radius);
  margin-bottom: 8px; cursor: pointer; transition: all 0.15s;
}
.check-row:hover { border-color: var(--blue); }
.check-row input { margin-top: 3px; flex-shrink: 0; }
.check-row span { font-size: 13px; line-height: 1.5; }

.error-box {
  background: #fdeaea;
  border: 1px solid rgba(139,26,26,0.25);
  border-left: 4px solid #8b1a1a;
  border-radius: var(--radius);
  padding: 12px 14px; font-size: 13px;
  color: #8b1a1a; margin-top: 12px;
}

/* ═══════════════════════════════════════════════════════════════
   БЛОК «ЧТО ЭТО ЗНАЧИТ НА ПРАКТИКЕ»
   ═══════════════════════════════════════════════════════════════ */
.practice-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; margin-top: 20px;
}
@media (max-width: 700px) { .practice-grid { grid-template-columns: 1fr; gap: 12px; } }
.practice-item {
  background: var(--bg); border-left: 3px solid var(--blue);
  border-radius: var(--radius);
  padding: 18px 20px; font-size: 13px;
  line-height: 1.65; color: var(--text-2);
  height: 100%;
}
.practice-item strong {
  display: block; font-family: var(--font-serif);
  font-size: 14px; color: var(--blue);
  text-transform: uppercase; letter-spacing: 0.04em;
  margin-bottom: 8px; padding-bottom: 8px;
  border-bottom: 1px solid var(--border-lt);
  font-weight: normal;
}

/* ═══════════════════════════════════════════════════════════════
   БЛОГ — HERO
   ═══════════════════════════════════════════════════════════════ */
.blog-hero {
  background: linear-gradient(135deg, var(--slate) 0%, var(--blue) 100%);
  color: #fff; padding: 48px 44px;
  border-radius: var(--radius);
  text-align: center; margin-bottom: 20px;
  position: relative; overflow: hidden;
}
.blog-hero::before {
  content: ""; position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px; background: var(--gold);
}
.blog-hero h1 {
  color: #fff; font-family: var(--font-serif);
  font-size: 30px; font-weight: normal;
  line-height: 1.25; margin-bottom: 14px;
  text-transform: none; letter-spacing: 0.01em;
}
.blog-hero p {
  font-size: 14.5px; opacity: 0.92;
  line-height: 1.65; color: #fff;
  max-width: 640px; margin: 0 auto 24px;
}
@media (max-width: 700px) {
  .blog-hero { padding: 32px 24px; }
  .blog-hero h1 { font-size: 22px; }
  .blog-hero p { font-size: 13.5px; }
}

/* ═══════════════════════════════════════════════════════════════
   БЛОГ — СТАТЬИ
   ═══════════════════════════════════════════════════════════════ */
.blog-articles { display: flex; flex-direction: column; gap: 0; }
.blog-article-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--border-lt);
}
.blog-article-item:first-child { padding-top: 0; }
.blog-article-item:last-child { border-bottom: none; padding-bottom: 0; }
.blog-article-item h3 {
  font-family: var(--font-serif); font-size: 19px;
  color: var(--blue); font-weight: normal;
  line-height: 1.35; margin: 0 0 8px;
  text-transform: none; letter-spacing: 0;
  transition: color 0.15s;
}
.blog-meta { font-size: 12px; color: var(--muted); margin-bottom: 10px; letter-spacing: 0.01em; }
.blog-article-item p {
  font-size: 13.5px; color: var(--text-2);
  line-height: 1.65; margin: 0 0 12px;
  max-width: 820px;
}
.blog-article-item > a {
  display: inline-block; font-size: 13px;
  font-weight: bold; color: var(--blue);
  text-decoration: none; padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: all 0.15s;
}
.blog-article-item > a:hover {
  color: var(--gold-2);
  border-bottom-color: var(--gold-2);
}
.blog-soon {
  display: inline-block;
  font-size: 11px;
  font-weight: bold;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  background: var(--bg);
  border-radius: 10px;
}

/* ═══════════════════════════════════════════════════════════════
   БЛОК АВТОРА
   ═══════════════════════════════════════════════════════════════ */
.author-block {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 700px) {
  .author-block { grid-template-columns: 1fr; gap: 20px; text-align: center; }
}
.author-block__photo {
  width: 200px; height: 200px;
  border-radius: 50%; overflow: hidden;
  border: 4px solid var(--bg);
  box-shadow: var(--shadow);
  margin: 0 auto;
}
.author-block__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.author-block__name {
  font-family: var(--font-serif); font-size: 24px;
  color: var(--blue); line-height: 1.2; margin-bottom: 6px;
}
.author-block__position {
  font-size: 13px; color: var(--gold-2);
  text-transform: uppercase; letter-spacing: 0.06em;
  font-weight: bold; margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-lt);
}
.author-block__text {
  font-size: 14px; color: var(--text-2);
  line-height: 1.7; margin: 0 0 20px;
}
.author-block__contacts { display: flex; gap: 20px; flex-wrap: wrap; }
@media (max-width: 700px) { .author-block__contacts { justify-content: center; } }
.author-block__contacts a {
  font-size: 13.5px; color: var(--blue);
  text-decoration: none; font-weight: bold;
}
.author-block__contacts a:hover { color: var(--gold-2); }

/* ═══════════════════════════════════════════════════════════════
   ХЛЕБНЫЕ КРОШКИ
   ═══════════════════════════════════════════════════════════════ */
.breadcrumbs {
  padding: 16px 0 0; font-size: 12.5px;
  color: var(--muted); margin-bottom: 16px;
}
.breadcrumbs a { color: var(--blue); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs span { margin: 0 8px; color: var(--muted); opacity: 0.6; }

/* ═══════════════════════════════════════════════════════════════
   СТРАНИЦА СТАТЬИ
   ═══════════════════════════════════════════════════════════════ */
.article {
  background: var(--white);
  border: 1px solid var(--border-lt);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 48px 56px;
  margin-bottom: 20px;
}
@media (max-width: 700px) { .article { padding: 28px 20px; } }

.article__header {
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-lt);
}
.article__meta-top {
  display: flex; gap: 20px; flex-wrap: wrap;
  align-items: center; margin-bottom: 16px;
}
.article__rubric {
  display: inline-block; padding: 4px 12px;
  background: var(--gold-soft); color: var(--gold-2);
  font-size: 11px; font-weight: bold;
  text-transform: uppercase; letter-spacing: 0.06em;
  border-radius: var(--radius);
}
.article__date { font-size: 12.5px; color: var(--muted); }
.article__title {
  font-family: var(--font-serif); font-size: 32px;
  color: var(--blue); font-weight: normal;
  line-height: 1.25; margin-bottom: 18px;
  text-transform: none; letter-spacing: 0.01em;
}
@media (max-width: 700px) { .article__title { font-size: 22px; } }
.article__lead {
  font-size: 16px; color: var(--text-2);
  line-height: 1.7; margin: 0;
  padding-left: 20px;
  border-left: 4px solid var(--gold);
}

.article__author {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 0; margin-bottom: 24px;
  border-bottom: 1px solid var(--border-lt);
}
.article__author-photo {
  width: 60px; height: 60px;
  border-radius: 50%; overflow: hidden;
  flex-shrink: 0; border: 2px solid var(--bg);
}
.article__author-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article__author-name {
  font-family: var(--font-serif); font-size: 16px;
  color: var(--blue); font-weight: bold; margin-bottom: 2px;
}
.article__author-position { font-size: 12px; color: var(--muted); }

.article__body {
  font-size: 15px; line-height: 1.75;
  color: var(--text-2); max-width: 760px;
}
.article__body p { margin-bottom: 18px; font-size: 15px; line-height: 1.75; }
.article__body h2 {
  font-family: var(--font-serif); font-size: 24px;
  color: var(--blue); font-weight: normal;
  text-transform: none; letter-spacing: 0.01em;
  margin: 36px 0 16px; padding-top: 8px; line-height: 1.3;
}
.article__body h2:first-child { margin-top: 0; }
.article__body h3 {
  font-family: var(--font-serif); font-size: 18px;
  color: var(--blue); font-weight: bold;
  text-transform: none; letter-spacing: 0.01em;
  margin: 28px 0 12px; line-height: 1.35;
}
.article__body ul, .article__body ol { margin: 16px 0; padding-left: 24px; }
.article__body ul li, .article__body ol li {
  font-size: 15px; line-height: 1.7;
  margin-bottom: 8px; color: var(--text-2);
}
.article__body strong { color: var(--text); font-weight: bold; }

.article__checklist {
  margin: 24px 0;
  display: flex; flex-direction: column; gap: 12px;
}
.article__check-item {
  display: flex; gap: 16px;
  padding: 18px 20px;
  background: var(--bg);
  border-left: 3px solid var(--blue);
  border-radius: var(--radius);
}
.article__check-num {
  width: 32px; height: 32px; flex-shrink: 0;
  border-radius: 50%; background: var(--slate);
  color: #fff; display: grid; place-items: center;
  font-family: var(--font-serif); font-size: 16px;
  font-weight: bold;
}
.article__check-item strong {
  display: block; font-family: var(--font-serif);
  font-size: 15px; color: var(--blue);
  text-transform: uppercase; letter-spacing: 0.02em;
  margin-bottom: 4px;
}
.article__check-item p {
  font-size: 13.5px; line-height: 1.6;
  margin: 0; color: var(--text-2);
}

.article__note {
  margin: 20px 0; padding: 16px 20px;
  background: var(--gold-soft);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  font-size: 14px; line-height: 1.65;
  color: var(--text-2);
}
.article__note strong { color: var(--gold-2); }

.article__footer {
  margin-top: 40px; padding-top: 24px;
  border-top: 1px solid var(--border-lt);
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 16px;
}
.article__footer-author { font-size: 13.5px; color: var(--text-2); }
.article__footer-author strong { color: var(--blue); }
.article__footer-back a {
  font-size: 13.5px; color: var(--blue);
  text-decoration: none; font-weight: bold;
}
.article__footer-back a:hover { color: var(--gold-2); }

/* ═══════════════════════════════════════════════════════════════
   МОДАЛКИ (для рубрик блога)
   ═══════════════════════════════════════════════════════════════ */
.modal {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 9998;
  overflow-y: auto;
  padding: 40px 20px;
}
.modal.open {
  display: block;
  animation: modalFadeIn 0.2s ease;
}
@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.modal__overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(20, 30, 45, 0.65);
  backdrop-filter: blur(2px);
  cursor: pointer;
}
.modal__content {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 44px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: modalSlideIn 0.25s ease;
}
@keyframes modalSlideIn {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.modal__close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  background: var(--bg);
  border: none;
  border-radius: 50%;
  color: var(--muted);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}
.modal__close:hover {
  background: var(--blue);
  color: #fff;
}
.modal__kicker {
  font-size: 11px;
  font-weight: bold;
  color: var(--gold-2);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.modal__title {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--blue);
  font-weight: normal;
  line-height: 1.3;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-lt);
  text-transform: none;
  letter-spacing: 0.01em;
}
.modal__body p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-2);
  margin-bottom: 16px;
}
.modal__body p:last-child { margin-bottom: 0; }
.modal__actions {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border-lt);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
@media (max-width: 600px) {
  .modal { padding: 20px 12px; }
  .modal__content { padding: 28px 22px; }
  .modal__title { font-size: 19px; }
  .modal__actions { flex-direction: column; }
  .modal__actions .btn { width: 100%; }
}

/* ═══════════════════════════════════════════════════════════════
   ДОКУМЕНТ «ЗАЯВЛЕНИЕ»
   ═══════════════════════════════════════════════════════════════ */
.app-preview {
  background: #fff;
  border: 1px solid var(--border-lt);
  border-radius: var(--radius);
  padding: 0;
  margin-top: 20px;
  max-height: 900px;
  overflow-y: auto;
}
.doc {
  position: relative;
  padding: 48px 56px;
  font-family: var(--font-serif);
  font-size: 14px;
  line-height: 1.6;
  color: #000;
  background: #fff;
  min-height: 100%;
}
.doc__watermark {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(-30deg);
  font-family: var(--font-serif);
  font-size: 140px;
  font-weight: bold;
  color: rgba(23, 81, 122, 0.04);
  letter-spacing: 20px;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  z-index: 0;
}
.doc > * { position: relative; z-index: 1; }
.doc__brand {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}
.doc__brand-info { flex: 1; text-align: center; }
.doc__brand-name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: bold;
  color: var(--blue);
  margin-bottom: 6px;
  line-height: 1.2;
}
.doc__brand-line { font-size: 11px; color: #444; line-height: 1.4; }
.doc__brand-rule {
  height: 4px;
  border-top: 1.5px solid var(--blue);
  border-bottom: 0.5px solid var(--blue);
  margin-bottom: 20px;
}
.doc__meta { font-size: 13px; margin-bottom: 16px; line-height: 1.7; }
.doc__addressee {
  text-align: right;
  margin-bottom: 24px;
  line-height: 1.5;
  font-size: 13.5px;
}
.doc__title {
  text-align: center;
  font-weight: bold;
  font-size: 17px;
  letter-spacing: 2px;
  margin-bottom: 24px;
  line-height: 1.4;
}
.doc__title-sub {
  display: block;
  font-size: 12px;
  font-weight: normal;
  font-style: italic;
  letter-spacing: 0;
  margin-top: 6px;
  color: #333;
}
.doc p {
  font-family: var(--font-serif);
  font-size: 13.5px;
  line-height: 1.7;
  color: #000;
  text-align: justify;
  margin-bottom: 12px;
}
.doc p strong { color: #000; }
.doc__table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 20px;
}
.doc__table td {
  border: 1px solid #999;
  padding: 10px 12px;
  vertical-align: top;
  font-size: 13px;
}
.doc__table-num {
  width: 32px;
  text-align: center;
  background: #f0f2f5;
  font-weight: bold;
  color: var(--blue);
  font-family: var(--font-serif);
}
.doc__table-field {
  margin-top: 6px;
  padding-bottom: 4px;
  border-bottom: 1px dotted #999;
  font-size: 12.5px;
  line-height: 1.6;
}
.doc__table-field span { color: var(--blue); font-weight: bold; }
.doc__signature {
  margin-top: 36px;
  page-break-inside: avoid;
}
.doc__signature-row {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  margin-top: 28px;
}
.doc__signature-line {
  flex: 1;
  border-bottom: 1px solid #000;
  height: 22px;
}
.doc__signature-fio { flex-shrink: 0; padding-bottom: 2px; }
.doc__signature-labels {
  display: flex;
  gap: 16px;
  margin-top: 4px;
  font-size: 10px;
  color: #666;
  font-style: italic;
}
.doc__signature-labels > div:first-child { flex: 1; text-align: center; }
.doc__signature-labels > div:last-child { flex-shrink: 0; }
.doc__signature-mp { margin-top: 20px; font-size: 13px; }
@media (max-width: 700px) {
  .doc { padding: 24px 18px; }
  .doc__watermark { font-size: 80px; }
  .doc__table td { padding: 8px; font-size: 12px; }
  .doc__title { font-size: 14px; letter-spacing: 1px; }
}

/* ═══════════════════════════════════════════════════════════════
   БОТ
   ═══════════════════════════════════════════════════════════════ */
#osotk-widget-btn {
  position: fixed; bottom: 24px; right: 24px;
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--slate));
  color: #fff; border: none; cursor: pointer;
  box-shadow: 0 8px 24px rgba(23,81,122,0.4);
  font-size: 26px;
  display: flex; align-items: center; justify-content: center;
  z-index: 999999; transition: transform 0.2s;
}
#osotk-widget-btn:hover { transform: scale(1.08); }

#osotk-widget-window {
  position: fixed; bottom: 100px; right: 24px;
  width: 380px; max-width: calc(100vw - 32px);
  height: 560px; max-height: calc(100vh - 140px);
  background: #fff; border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  display: none; flex-direction: column;
  overflow: hidden; z-index: 999998;
  font-family: var(--font-sans);
}
#osotk-widget-window.open { display: flex; }

.osotk-header {
  background: linear-gradient(135deg, var(--slate), var(--blue));
  color: #fff; padding: 14px 16px;
  display: flex; align-items: center;
  justify-content: space-between; flex-shrink: 0;
}
.osotk-header-title {
  font-size: 15px; font-weight: 600;
  display: flex; align-items: center; gap: 12px;
}
.osotk-header-title::before {
  content: ""; width: 56px; height: 56px;
  background: url('avatar.jpg') center/cover no-repeat,
              linear-gradient(135deg, var(--blue), var(--slate));
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.5);
  flex-shrink: 0;
}
.osotk-close {
  background: rgba(255,255,255,0.2); border: none;
  color: #fff; width: 28px; height: 28px;
  border-radius: 50%; cursor: pointer;
  font-size: 16px; flex-shrink: 0;
}
.osotk-close:hover { background: rgba(255,255,255,0.35); }

.osotk-messages {
  flex: 1; overflow-y: auto; padding: 14px;
  background: #f5f7fa;
  display: flex; flex-direction: column; gap: 10px;
}
.osotk-msg {
  max-width: 85%; padding: 10px 13px;
  border-radius: 10px; font-size: 13.5px;
  line-height: 1.5; white-space: pre-line;
  word-wrap: break-word;
}
.osotk-msg.bot {
  background: #fff; color: #333;
  align-self: flex-start;
  border-left: 3px solid var(--blue);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.osotk-msg.user {
  background: linear-gradient(135deg, var(--blue), var(--slate));
  color: #fff; align-self: flex-end;
}
.osotk-typing {
  display: flex; gap: 4px; padding: 10px 14px;
  background: #fff; border-radius: 10px;
  align-self: flex-start;
  border-left: 3px solid var(--blue);
}
.osotk-typing span {
  width: 6px; height: 6px; border-radius: 50%;
  background: #a0a8b8;
  animation: osotkBlink 1.2s infinite;
}
.osotk-typing span:nth-child(2) { animation-delay: 0.2s; }
.osotk-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes osotkBlink {
  0%, 60%, 100% { opacity: 0.3; }
  30% { opacity: 1; }
}

.osotk-quick {
  display: flex; flex-wrap: wrap; gap: 6px;
  padding: 10px 14px 0; background: #f5f7fa;
}
.osotk-quick button {
  background: #fff; border: 1.5px solid #cfd6e0;
  color: #555; padding: 6px 11px;
  border-radius: 13px; font-size: 12px;
  cursor: pointer; font-family: inherit;
}
.osotk-quick button:hover {
  border-color: var(--blue); color: var(--blue);
  background: rgba(23,81,122,0.06);
}

.osotk-input-row {
  display: flex; padding: 10px 14px 14px;
  gap: 8px; background: #f5f7fa;
}
.osotk-input-row input {
  flex: 1; border: 1.5px solid #cfd6e0;
  border-radius: 20px; padding: 10px 15px;
  font-size: 13.5px; outline: none; background: #fff;
}
.osotk-input-row input:focus { border-color: var(--blue); }
.osotk-input-row button {
  background: linear-gradient(135deg, var(--blue), var(--slate));
  border: none; color: #fff;
  width: 42px; height: 42px; border-radius: 50%;
  cursor: pointer; font-size: 17px; flex-shrink: 0;
}
@media (max-width: 480px) {
  #osotk-widget-window {
    bottom: 0; right: 0;
    width: 100vw; max-width: 100vw;
    height: 100vh; max-height: 100vh;
    border-radius: 0;
  }
}

/* ═══════════════════════════════════════════════════════════════
   УТИЛИТЫ
   ═══════════════════════════════════════════════════════════════ */
.hidden { display: none !important; }

/* ═══════════════════════════════════════════════════════════════
   ПЕЧАТЬ
   ═══════════════════════════════════════════════════════════════ */
@media print {
  .top-strip, .site-header, .main-menu, .sub-menu, footer,
  .btn, .btn-group, #osotk-widget-btn, #osotk-widget-window,
  .breadcrumbs, .modal__close, .modal__actions {
    display: none !important;
  }
  body { background: #fff; font-size: 12pt; }
  .card, .article { border: none; box-shadow: none; padding: 0; }
  .modal { position: static; padding: 0; display: block; }
  .modal__overlay { display: none; }
  .modal__content { box-shadow: none; padding: 0; max-width: none; }
}
/* Блок «Наша команда» */
.team-block {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 24px;
  border-left: 4px solid var(--blue);
}
.team-block__title {
  font-family: var(--font-serif);
  font-size: 13px;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
  margin-bottom: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-lt);
}
.team-block__subtitle {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.5;
}
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 16px;
}
.team-member { text-align: center; }
.team-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue) 0%, var(--slate) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  box-shadow: 0 2px 8px rgba(23,81,122,0.2);
}
.team-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.team-name {
  font-family: var(--font-serif);
  font-size: 13.5px;
  color: var(--blue);
  font-weight: bold;
  line-height: 1.3;
}
@media (max-width: 400px) {
  .team-circle { width: 84px; height: 84px; }
  .team-name { font-size: 12.5px; }
}