/* ============================================================
   ИНСТРУМЕНТЫ СРО — единая сетка, строгий ритм
   Версия 5.0 — финальная композиция
   ============================================================ */

:root {
  --blue:       #17517a;
  --blue-2:     #0f3a5c;
  --blue-3:     #0a2a45;
  --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: 28px;
  padding: 18px 0;
}
.site-header__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 28px;
  border-right: 1px solid var(--border-lt);
  text-decoration: none;
}
.site-header__logo img { width: 88px; height: 88px; object-fit: contain; }
.site-header__title { flex: 1; text-align: center; }
.site-header__title h1 {
  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;
}
.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%;
  }
  .site-header__logo img { width: 72px; height: 72px; }
  .site-header__title h1 { 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;
}
.main-menu a {
  display: block;
  padding: 13px 18px;
  font-family: var(--font-serif);
  font-size: 12.5px;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  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: 920px) {
  .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;
}
.sub-menu a {
  display: block;
  padding: 13px 30px;
  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; }

/* ============================================================
   БАННЕР — две колонки равной высоты
   ============================================================ */
.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 {
  position: relative;
  background-image: url('../assets/banner.jpg');
  background-size: cover;
  background-position: center;
  background-color: var(--slate);
}
.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 {
  font-family: var(--font-serif);
  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; }
}

/* ============================================================
   КАРТОЧКИ-СЕКЦИИ
   ============================================================ */
.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; }

/* ============================================================
   HERO — правильная сетка
   ============================================================ */
.hero {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 32px; }
}
.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;
}
.hero h1 {
  font-size: 30px;
  margin-bottom: 18px;
  line-height: 1.25;
}
.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;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 0;
}

/* Правая колонка hero — цифры */
.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;
  margin-bottom: 0;
}
.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--sm { height: 36px; padding: 0 16px; font-size: 12px; }
.btn--block { width: 100%; }
.btn-group { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============================================================
   СЕТКИ — 2, 3, 4 колонки
   ============================================================ */
.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__icon {
  font-size: 28px;
  line-height: 1;
  margin-bottom: 14px;
}
.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;
}

/* ============================================================
   БЛОК «ТРЕБОВАНИЯ»
   ============================================================ */
.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);
}
.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;
}

/* ============================================================
   ШАГИ — 4 колонки на десктопе
   ============================================================ */
.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;
  position: relative;
}
.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.8);
  font-size: 12.5px;
  padding: 40px 0 20px;
  margin-top: 32px;
  border-top: 4px solid var(--gold);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
@media (max-width: 900px) {
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 560px) {
  .footer__inner { grid-template-columns: 1fr; gap: 24px; }
}
.footer__col h4 {
  color: #fff;
  font-family: var(--font-serif);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.footer__col p,
.footer__col a {
  display: block;
  color: rgba(255,255,255,0.75);
  font-size: 12.5px;
  line-height: 1.7;
  margin-bottom: 6px;
  text-decoration: none;
}
.footer__col a:hover { color: #fff; text-decoration: underline; }

.footer__logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.footer__logo img {
  width: 52px;
  height: 52px;
  background: #fff;
  border-radius: var(--radius);
  padding: 4px;
  object-fit: contain;
}
.footer__logo-text {
  font-family: var(--font-serif);
  font-size: 15px;
  color: #fff;
  font-weight: bold;
  line-height: 1.25;
}
.footer__logo-text small {
  display: block;
  font-family: var(--font-sans);
  font-size: 10.5px;
  color: rgba(255,255,255,0.6);
  font-weight: normal;
  margin-top: 4px;
}

.footer-info {
  display: flex;
  gap: 10px;
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(255,255,255,0.75);
  margin-bottom: 8px;
}
.footer-info strong {
  color: rgba(255,255,255,0.6);
  font-weight: normal;
  flex-shrink: 0;
  min-width: 58px;
}
.footer-info a {
  color: #fff;
  font-weight: bold;
  display: inline;
  margin: 0;
}
.footer-info a:hover { text-decoration: underline; }

.footer__bottom {
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  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); }
.footer__bottom a:hover { color: #fff; text-decoration: underline; }

/* ============================================================
   БОТ
   ============================================================ */
#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('../assets/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;
  }
}

/* ============================================================
   ПЕЧАТЬ
   ============================================================ */
@media print {
  .top-strip, .site-header, .main-menu, .sub-menu, footer,
  .btn, .btn-group, #osotk-widget-btn, #osotk-widget-window {
    display: none !important;
  }
  body { background: #fff; font-size: 12pt; }
  .card { border: none; box-shadow: none; padding: 0; }
}