/* Оформление сайта (редизайн 2026, светлый вариант).
   Подключается после bootstrap.min.css и main.css: перекрывает их стили.
   Классы нового макета начинаются с «o-», чтобы не пересекаться с Bootstrap. */
/* Шрифт Manrope со своего сервера (вариативный: один файл на все начертания 200–800) */
@font-face {
  font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(../fonts/manrope/manrope-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(../fonts/manrope/manrope-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --o-green-900: #123d24;
  --o-green-700: #1f6b3a;
  --o-green-600: #2a8049;
  --o-green-100: #e6f2e9;
  --o-green-50: #f3f8f4;
  --o-orange: #ef8a17;
  --o-orange-600: #d97706;
  --o-ink: #17221b;
  --o-muted: #5d6b62;
  --o-line: #e2e8e3;
  --o-soft: #f6f8f6;
  --o-radius: 14px;
  --o-shadow: 0 1px 2px rgba(18, 61, 36, .06), 0 8px 24px rgba(18, 61, 36, .06);
}

/* ---------- Базовые стили (перекрывают main.css) ---------- */
html, body { height: auto; }
/* Подвал прижат к низу экрана на коротких страницах */
body { display: flex; flex-direction: column; min-height: 100vh; }
body > * { flex-shrink: 0; }
.o-footer { margin-top: auto; }
body {
  background: #fff; color: var(--o-ink);
  font-family: "Manrope", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
a { color: var(--o-green-700); }
a:hover { color: var(--o-green-600); }
h1, h2, h3, h4, h5 { color: var(--o-ink); letter-spacing: -.01em; }
.o-muted { color: var(--o-muted); }
.o-eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--o-green-700); margin-bottom: 12px; }
@media (min-width: 1200px) { .container { max-width: 1200px; } }

/* ---------- Кнопки ---------- */
.btn { border-radius: 10px; font-weight: 700; font-size: 15px; padding: .6rem 1.2rem; border-width: 1.5px; transition: .15s; }
.btn-lg { padding: .8rem 1.5rem; font-size: 16px; }
.btn-sm { padding: .3rem .8rem; font-size: 14px; border-radius: 8px; }
.btn-primary, .btn-warning { background: var(--o-orange); border-color: var(--o-orange); color: #fff; }
.btn-primary:hover, .btn-primary:focus, .btn-primary:not(:disabled):not(.disabled):active,
.btn-warning:hover, .btn-warning:focus { background: var(--o-orange-600); border-color: var(--o-orange-600); color: #fff; }
.btn-success, .btn-info { background: var(--o-green-700); border-color: var(--o-green-700); color: #fff; }
.btn-success:hover, .btn-success:focus, .btn-info:hover, .btn-info:focus,
.btn-success:not(:disabled):not(.disabled):active, .btn-info:not(:disabled):not(.disabled):active { background: var(--o-green-900); border-color: var(--o-green-900); color: #fff; }
.btn-secondary, .btn-default, .modal-footer .btn:not(.btn-primary):not(.btn-success):not(.btn-danger) { background: #fff; border-color: var(--o-line); color: var(--o-ink); }
.btn-secondary:hover, .btn-default:hover { background: var(--o-soft); border-color: #cfd8d2; color: var(--o-ink); }
.btn-outline, .o-btn-ghost { background: transparent; color: var(--o-green-700); border-color: var(--o-green-700); }
.btn-outline:hover, .o-btn-ghost:hover { background: var(--o-green-50); color: var(--o-green-700); }
.btn:focus, .btn.focus { box-shadow: 0 0 0 3px rgba(42, 128, 73, .25); }

/* ---------- Формы ---------- */
.form-control, .custom-select { border-radius: 10px; border-color: var(--o-line); min-height: 44px; padding: .5rem .8rem; color: var(--o-ink); font-size: 15px; }
textarea.form-control { min-height: 96px; }
.form-control:focus, .custom-select:focus { border-color: var(--o-green-600); box-shadow: 0 0 0 3px rgba(42, 128, 73, .15); }
label, .col-form-label, .form-control-label { font-weight: 600; font-size: 14px; }
.has-danger .form-control { border-color: #d92d20; }

/* ---------- Таблицы, алерты, хлебные крошки, пагинация ---------- */
.table { background: #fff; font-size: 15px; }
.table thead th { background: var(--o-soft); color: var(--o-muted); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; border-bottom: 1px solid var(--o-line); vertical-align: middle; }
.table td, .table th { border-color: var(--o-line); padding: .8rem 1rem; }
.table-bordered { border-color: var(--o-line); }
.table-striped tbody tr:nth-of-type(odd) { background: #fafcfa; }
.item-list { border: 1px solid var(--o-line); border-radius: var(--o-radius); overflow: hidden; }
.item-list .table { margin: 0; border: 0; }
.item-list .table-bordered td, .item-list .table-bordered th { border-left: 0; border-right: 0; }
.alert { border-radius: 12px; border: 0; }
.alert-info { background: var(--o-green-50); color: var(--o-ink); }
.alert-primary { background: #fff3e2; color: #6b3d00; }
.alert-success { background: var(--o-green-100); color: var(--o-green-900); }
.alert-warning { background: #fff7e6; color: #6b4a00; }
.breadcrumb { background: transparent; padding: 0; margin: 24px 0 8px; font-size: 14px; }
.breadcrumb-item, .breadcrumb-item a { color: var(--o-muted); }
.breadcrumb-item.active { color: var(--o-ink); }
.page-link { color: var(--o-green-700); border-color: var(--o-line); }
.page-item.active .page-link { background: var(--o-green-700); border-color: var(--o-green-700); }
.pagination { flex-wrap: wrap; }
.page-item:first-child .page-link { border-radius: 10px 0 0 10px; }
.page-item:last-child .page-link { border-radius: 0 10px 10px 0; }
.badge-danger { background: #fde8e8; color: #b42318; }
.card { border-color: var(--o-line); border-radius: var(--o-radius); }
.card-header { background: var(--o-soft); border-color: var(--o-line); }

/* ---------- Модальные окна и выпадающие меню ---------- */
.modal-content { border: 0; border-radius: 18px; box-shadow: 0 24px 64px rgba(18, 61, 36, .25); }
.modal-header, .modal-footer { border-color: var(--o-line); padding: 1rem 1.5rem; }
.modal-body { padding: 1.25rem 1.5rem; }
.modal-header h3, .modal-title { font-size: 20px; font-weight: 800; margin: 0; }
.dropdown-menu { border: 1px solid var(--o-line); border-radius: 12px; box-shadow: var(--o-shadow); padding: 8px; }
.dropdown-item { border-radius: 8px; padding: 8px 12px; font-size: 15px; }
.dropdown-item:hover, .dropdown-item:focus { background: var(--o-green-50); color: var(--o-green-700); }
.dropdown-item.active, .dropdown-item:active { background: var(--o-green-700); }

/* ---------- Верхняя полоса ---------- */
.o-topbar { background: var(--o-green-900); color: #cfe3d5; font-size: 13.5px; position: relative; z-index: 60; }
.o-topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 12px; }
.o-topbar a, .o-topbar .o-link { color: #fff; cursor: pointer; text-decoration: none; }
.o-topbar a:hover, .o-topbar .o-link:hover { color: #ffc27a; }
.o-topbar .o-links { display: flex; gap: 18px; align-items: center; }
.o-topbar .fa { margin-right: 4px; }
.o-topbar .dropdown-menu { font-size: 15px; }
.o-topbar-left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.o-registry { display: flex; align-items: center; gap: 2px; padding-left: 12px; border-left: 1px solid rgba(255, 255, 255, .18); color: #9fbfaa; font-size: 12.5px; white-space: nowrap; }
.o-registry .fa { color: #7fc79a; }
.o-registry-short { display: none; }
@media (max-width: 1199px) { .o-registry-full { display: none; } .o-registry-short { display: inline; } }
@media (max-width: 767px) { .o-registry { display: none; } }
.o-topbar .dropdown-item { color: var(--o-ink); }

/* ---------- Шапка и меню ---------- */
.o-header { position: -webkit-sticky; position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .95); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--o-line); }
.o-header .container { display: flex; align-items: center; gap: 28px; min-height: 76px; position: relative; }
.o-logo img { height: 52px; width: auto; display: block; }
.o-nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.o-nav > a, .o-dd > .o-dd-toggle { padding: 10px 14px; border-radius: 8px; color: var(--o-ink); font-weight: 600; font-size: 15px; cursor: pointer; text-decoration: none; background: none; border: 0; font-family: inherit; }
.o-nav > a:hover, .o-dd:hover > .o-dd-toggle { background: var(--o-green-50); color: var(--o-green-700); text-decoration: none; }
.o-nav > a.o-active, .o-dd.o-active > .o-dd-toggle { color: var(--o-green-700); }
.o-nav .o-cta { margin-left: 10px; padding: 10px 18px; color: #fff; background: var(--o-orange); }
.o-nav .o-cta:hover { color: #fff; background: var(--o-orange-600); }
.o-dd { position: relative; }
.o-dd-toggle::after { content: ""; display: inline-block; margin-left: 6px; vertical-align: 3px; border-top: 5px solid currentColor; border-left: 4px solid transparent; border-right: 4px solid transparent; }
.o-dd-menu { position: absolute; top: 100%; left: 0; min-width: 310px; background: #fff; border: 1px solid var(--o-line); border-radius: 12px; box-shadow: var(--o-shadow); padding: 8px; display: none; }
.o-dd:hover .o-dd-menu, .o-dd:focus-within .o-dd-menu { display: block; }
.o-dd-menu a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--o-ink); font-size: 14.5px; text-decoration: none; }
.o-dd-menu a:hover { background: var(--o-green-50); color: var(--o-green-700); text-decoration: none; }
.o-burger { display: none; margin-left: auto; background: none; border: 0; font-size: 26px; line-height: 1; cursor: pointer; color: var(--o-ink); padding: 8px; }

/* ---------- Общие секции ---------- */
.o-block { padding: 88px 0; }
.o-soft { background: var(--o-soft); }
.o-head { max-width: 720px; margin-bottom: 44px; }
.o-head.o-center { text-align: center; margin-left: auto; margin-right: auto; }
.o-head h2 { font-size: 38px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; margin: 0 0 .4em; }

/* ---------- Главная: первый экран ---------- */
.o-hero { background: linear-gradient(180deg, var(--o-green-50), #fff); padding: 72px 0 64px; position: relative; overflow: hidden; }
.o-hero::after { content: ""; position: absolute; right: -180px; top: -120px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(239, 138, 23, .13), transparent 65%); pointer-events: none; }
.o-hero .o-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.o-hero h1 { font-size: 54px; font-weight: 800; line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .45em; }
.o-hero .o-lead { font-size: 19px; color: var(--o-muted); max-width: 560px; }
.o-hero .o-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.o-hero .o-note { margin-top: 20px; font-size: 14px; color: var(--o-muted); display: flex; gap: 18px; flex-wrap: wrap; }
.o-hero .o-note span::before { content: "\2713\00a0"; color: var(--o-green-600); font-weight: 800; }
.o-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.o-stat { background: #fff; border: 1px solid var(--o-line); border-radius: var(--o-radius); padding: 24px; box-shadow: var(--o-shadow); }
.o-stat b { display: block; font-size: 44px; line-height: 1; font-weight: 800; color: var(--o-green-700); letter-spacing: -.03em; }
.o-stat span { display: block; margin-top: 8px; color: var(--o-muted); font-size: 15px; }
.o-stat.o-accent { background: var(--o-green-700); border-color: var(--o-green-700); }
.o-stat.o-accent b, .o-stat.o-accent span { color: #fff; }

/* ---------- Главная: карточки решений ---------- */
.o-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.o-card { background: #fff; border: 1px solid var(--o-line); border-radius: var(--o-radius); padding: 28px; transition: .2s; display: flex; flex-direction: column; color: var(--o-ink); text-decoration: none; }
.o-card:hover { transform: translateY(-3px); box-shadow: var(--o-shadow); border-color: #cfe0d4; color: var(--o-ink); text-decoration: none; }
.o-card .o-ico { width: 52px; height: 52px; border-radius: 12px; background: var(--o-green-100); color: var(--o-green-700); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.o-card .o-ico svg { width: 26px; height: 26px; }
.o-card h3 { font-size: 19px; font-weight: 700; margin: 0 0 8px; }
.o-card p { color: var(--o-muted); font-size: 15px; flex: 1; }
.o-card .o-more { font-weight: 700; font-size: 14.5px; color: var(--o-green-700); }
.o-card .o-more::after { content: " \2192"; }
.o-product { align-self: flex-start; font-size: 12.5px; font-weight: 700; color: var(--o-orange-600); background: #fff3e2; border-radius: 999px; padding: 2px 10px; margin: -2px 0 10px; }

/* ---------- Главная: преимущества, этапы ---------- */
.o-benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.o-benefit { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--o-line); }
.o-benefit i { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--o-orange); color: #fff; display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 14px; font-weight: 800; margin-top: 1px; }
.o-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: ostep; }
.o-step { position: relative; padding-top: 58px; }
.o-step::before { counter-increment: ostep; content: "0" counter(ostep); position: absolute; top: 0; left: 0; font-size: 40px; font-weight: 800; color: var(--o-green-100); -webkit-text-stroke: 1.5px var(--o-green-600); }
.o-step h3 { font-size: 19px; font-weight: 700; }
.o-step p { color: var(--o-muted); font-size: 15px; }

/* ---------- Главная: баннер сервиса ---------- */
.o-service { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; background: var(--o-green-900); color: #dbe9df; border-radius: 22px; padding: 48px; }
.o-service h2 { color: #fff; font-size: 34px; font-weight: 800; line-height: 1.2; }
.o-service .o-eyebrow { color: #9fd3ae; }
.o-search { display: flex; background: #fff; border-radius: 12px; padding: 6px; gap: 6px; }
.o-search input { flex: 1; border: 0; font: inherit; padding: 10px 12px; outline: none; min-width: 0; color: var(--o-ink); }
.o-service ul { list-style: none; padding: 0; margin: 0; }
.o-service li { padding: 12px 0 12px 30px; border-bottom: 1px solid rgba(255, 255, 255, .1); position: relative; }
.o-service li::before { content: "\2713"; position: absolute; left: 0; color: #ffc27a; font-weight: 800; }
.o-service li:last-child { border-bottom: 0; }

/* ---------- Главная: Нейрон Фарм, истории, интеграции ---------- */
.o-card.o-wide { grid-column: span 2; }
.o-np { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: start; }
.o-np-intro h2 { font-size: 38px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; margin: 0 0 .5em; }
.o-np-intro > p { font-size: 17px; color: var(--o-muted); }
.o-np-intro .o-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.o-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.o-chips span { background: #fff; border: 1px solid var(--o-line); border-radius: 999px; padding: 5px 14px; font-size: 14px; font-weight: 600; color: var(--o-green-700); }
.o-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.o-feature { background: #fff; border: 1px solid var(--o-line); border-radius: var(--o-radius); padding: 22px 24px; border-top: 3px solid var(--o-green-600); }
.o-feature h3 { font-size: 17px; font-weight: 700; margin: 0 0 6px; }
.o-feature p { color: var(--o-muted); font-size: 15px; margin: 0; }
.o-cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.o-case { background: var(--o-green-50); border-radius: var(--o-radius); padding: 28px; }
.o-case b { display: block; font-size: 34px; font-weight: 800; color: var(--o-green-700); line-height: 1.1; letter-spacing: -.02em; margin-bottom: 14px; }
.o-case h3 { font-size: 18px; font-weight: 700; margin: 0 0 8px; }
.o-case p { color: var(--o-muted); font-size: 15px; margin: 0; }
.o-partners { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.o-partner { background: #fff; border: 1px solid var(--o-line); border-radius: 12px; height: 92px; display: flex; align-items: center; justify-content: center; padding: 16px 20px; }
.o-partner img { max-width: 100%; max-height: 52px; width: auto; -webkit-filter: grayscale(1); filter: grayscale(1); opacity: .7; transition: .2s; }
.o-partner:hover img { -webkit-filter: none; filter: none; opacity: 1; }

/* ---------- Главная: последние статьи ---------- */
.o-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; }
.o-all { font-weight: 700; white-space: nowrap; }
.o-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.o-post { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--o-line); border-radius: var(--o-radius); overflow: hidden; color: var(--o-ink); text-decoration: none; transition: .2s; }
.o-post:hover { transform: translateY(-3px); box-shadow: var(--o-shadow); border-color: #cfe0d4; color: var(--o-ink); text-decoration: none; }
.o-post-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--o-soft); }
.o-post-img img { width: 100%; height: 100%; object-fit: cover; }
.o-post-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.o-post time { font-size: 13px; color: var(--o-muted); margin-bottom: 8px; }
.o-post h3 { font-size: 18px; font-weight: 700; line-height: 1.35; margin: 0 0 10px; }
.o-post p { color: var(--o-muted); font-size: 15px; margin: 0 0 14px; flex: 1; }
.o-post .o-more { font-weight: 700; font-size: 14.5px; color: var(--o-green-700); margin-top: auto; }
.o-post .o-more::after { content: " \2192"; }

/* ---------- Иконка-обложка статьи ---------- */
.o-icon-cover { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--o-green-50), var(--o-green-100)); position: relative; overflow: hidden; }
.o-icon-cover::after { content: ""; position: absolute; right: -40px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(239, 138, 23, .16), transparent 65%); }
.o-icon-cover img { width: 38%; max-width: 150px; height: auto; position: relative; z-index: 1; }
.o-icon-cover.o-icon-small { aspect-ratio: auto; width: 64px; height: 64px; flex: none; border-radius: 12px; }
.o-icon-cover.o-icon-small img { width: 44px; }
.o-icon-cover.o-icon-small::after { display: none; }
/* Редактор: поле и диалог выбора иконки */
.o-icon-field { display: flex; gap: 16px; align-items: center; }
.o-icon-preview { width: 96px; height: 96px; flex: none; border-radius: 14px; background: linear-gradient(135deg, var(--o-green-50), var(--o-green-100)); display: flex; align-items: center; justify-content: center; }
.o-icon-preview img { width: 64px; height: 64px; }
.o-icon-preview span { display: none; color: var(--o-muted); font-size: 13px; }
.o-icon-preview.o-empty { background: var(--o-soft); border: 1.5px dashed var(--o-line); }
.o-icon-preview.o-empty img { display: none; }
.o-icon-preview.o-empty span { display: block; }
.o-icon-name { font-weight: 700; margin-bottom: 8px; }
.o-icon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.o-icon-choice { background: #fff; border: 1.5px solid var(--o-line); border-radius: 12px; padding: 12px 8px 10px; cursor: pointer; font-family: inherit; display: flex; flex-direction: column; align-items: center; gap: 6px; transition: .15s; }
.o-icon-choice img { width: 64px; height: 64px; }
.o-icon-choice span { font-size: 12px; line-height: 1.3; color: var(--o-muted); text-align: center; }
.o-icon-choice:hover { border-color: var(--o-green-600); background: var(--o-green-50); }
.o-icon-choice.o-selected { border-color: var(--o-orange); box-shadow: 0 0 0 3px rgba(239, 138, 23, .25); }

/* ---------- Список статей: картинка/иконка слева, на телефоне — под заголовком ---------- */
.content_text.post_box { padding: 28px 0 !important; margin: 0; border-bottom: 1px solid var(--o-line); }
.o-list-post { display: grid; grid-template-columns: 180px 1fr; grid-template-areas: "head head" "media body"; column-gap: 28px; row-gap: 14px; align-items: start; }
.o-list-post.o-nomedia { grid-template-columns: 1fr; grid-template-areas: "head" "body"; }
.o-lp-media { grid-area: media; display: flex; aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden; }
.o-lp-media.o-icon-cover img { width: 58%; max-width: none; }
.o-lp-photo img { width: 100%; height: 100%; object-fit: cover; }
.post_box h2.o-lp-head { grid-area: head; font-size: 24px; font-weight: 800; line-height: 1.3; margin: 0; }
.o-lp-head a { color: var(--o-ink); }
.o-lp-head a:hover { color: var(--o-green-700); text-decoration: none; }
.o-lp-body { grid-area: body; }
.post_box .o-lp-body .small { color: var(--o-muted); font-size: 14px; margin-bottom: 6px; }
.o-lp-body p { color: var(--o-muted); font-size: 16px !important; margin-bottom: 14px !important; }

/* ---------- Главная: статьи в 2 колонки, иконка справа от текста ---------- */
.o-posts { grid-template-columns: 1fr 1fr; }
.o-post { flex-direction: row; align-items: stretch; }
.o-post .o-post-body { order: 1; }
.o-post .o-post-img, .o-post .o-icon-cover { order: 2; flex: none; width: 150px; aspect-ratio: auto; align-self: stretch; }
.o-post .o-icon-cover img { width: 72%; }
.o-post .o-icon-cover::after { display: none; }

/* ---------- Главная: клиенты, обращение ---------- */
.o-clients { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.o-client { background: #fff; border: 1px solid var(--o-line); border-radius: 12px; height: 96px; width: calc((100% - 80px) / 6); min-width: 140px; display: flex; align-items: center; justify-content: center; padding: 14px; }
.o-client img { max-height: 60px; max-width: 100%; width: auto; -webkit-filter: grayscale(1); filter: grayscale(1); opacity: .75; transition: .2s; }
.o-client:hover img { -webkit-filter: none; filter: none; opacity: 1; }
.o-cta-box { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; background: var(--o-green-50); border-radius: 22px; padding: 48px; }
.o-cta-box h2 { font-size: 34px; font-weight: 800; line-height: 1.2; }
.o-cta-box .o-phone { font-size: 26px; font-weight: 800; color: var(--o-ink); text-decoration: none; }
.o-cta-box .o-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }

/* ---------- Внутренние страницы ---------- */
.o-main { min-height: 50vh; padding-bottom: 64px; }
.content { margin: 0 0 2em; }
.content > h1, .content_text > h1, .o-page-title { font-size: 38px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; margin: 8px 0 24px; }
.content_text { margin: 24px 0 0; border: 0; background: transparent; border-radius: 0; padding: 0; font-size: 17px; line-height: 1.7; }
.content_text p { font-family: inherit !important; font-size: 17px !important; }
/* Текст в БД вставлен из Word: убираем выравнивание по ширине и красную строку */
.content_text [align="justify"], .content_text [style*="justify"] { text-align: left !important; }
.content_text p, .content_text div, .content_text li { text-indent: 0 !important; }
.content_text p { margin: 0 0 .7em !important; }
.content_text h2 { font-size: 28px; font-weight: 800; margin: 1.4em 0 .6em; }
.content_text h3 { font-size: 22px; font-weight: 700; margin: 1.2em 0 .5em; }
.content_text img { border-radius: 12px; max-width: 100%; height: auto; }
.content_text table { width: 100%; margin: 1em 0; }
.content_text table td, .content_text table th { border: 1px solid var(--o-line); padding: 8px 12px; }

/* ---------- Подвал (перекрывает высоту footer из main.css) ---------- */
.o-footer { height: auto; background: #0f2419; color: #a9bfb0; padding: 64px 0 28px; font-size: 15px; }
.o-footer h4 { color: #fff; margin: 0 0 14px; font-size: 15px; font-weight: 700; }
.o-footer a { color: #a9bfb0; }
.o-footer a:hover { color: #fff; text-decoration: none; }
.o-footer .o-cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 32px; }
.o-footer ul { list-style: none; padding: 0; margin: 0; }
.o-footer li { margin-bottom: 8px; }
.o-footer .o-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13.5px; }
.o-footer-logo { background: #fff; display: inline-block; padding: 8px 12px; border-radius: 10px; margin-bottom: 14px; }
.o-footer-logo img { height: 44px; display: block; }

/* ---------- Cookie-баннер ---------- */
.messages_cookies { display: none; left: 16px; right: 16px; bottom: 16px; width: auto; max-width: 760px; margin: 0 auto; border-radius: 14px; box-shadow: 0 12px 40px rgba(18, 61, 36, .2); font-size: 13px; padding: 16px 20px; color: var(--o-muted); }
.messages_cookies-wrp { width: auto; padding-right: 28px; }
.messages_cookies-close { right: 0; }

/* ---------- Адаптивность ---------- */
@media (max-width: 1199px) {
  .o-hero h1 { font-size: 44px; }
  .o-nav > a, .o-dd > .o-dd-toggle { padding: 10px 10px; }
}
@media (max-width: 991px) {
  .o-nav { display: none; }
  .o-burger { display: block; }
  .o-nav.o-open { display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 12px 20px 20px; border-bottom: 1px solid var(--o-line); box-shadow: var(--o-shadow); max-height: calc(100vh - 80px); overflow-y: auto; }
  .o-nav.o-open .o-dd-menu { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 0 12px; min-width: 0; }
  .o-nav.o-open .o-cta { margin: 10px 0 0; text-align: center; }
  .o-hero .o-grid, .o-service, .o-cta-box { grid-template-columns: 1fr; }
  .o-cards, .o-steps, .o-posts { grid-template-columns: 1fr 1fr; }
  .o-np { grid-template-columns: 1fr; gap: 36px; }
  .o-cases { grid-template-columns: 1fr; }
  .o-partners { grid-template-columns: repeat(3, 1fr); }
  .o-client { width: calc((100% - 32px) / 3); }
  .o-footer .o-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .o-list-post, .o-list-post.o-nomedia { grid-template-columns: 1fr; grid-template-areas: "head" "media" "body"; }
  .o-lp-media { aspect-ratio: 16 / 9; }
  .o-lp-media.o-icon-cover img { width: auto; height: 62%; }
  .o-post .o-post-img, .o-post .o-icon-cover { width: 96px; }
  .o-topbar .o-hide-sm { display: none; }
  .o-block { padding: 60px 0; }
  .o-hero { padding: 44px 0; }
  .o-hero h1 { font-size: 34px; }
  .o-head h2, .o-service h2, .o-cta-box h2 { font-size: 28px; }
  .content > h1, .content_text > h1, .o-page-title { font-size: 28px; }
  .o-cards, .o-benefits, .o-steps, .o-stats, .o-posts, .o-features { grid-template-columns: 1fr; }
  .o-card.o-wide { grid-column: auto; }
  .o-partners { grid-template-columns: repeat(2, 1fr); }
  .o-np-intro h2 { font-size: 28px; }
  .o-stats { grid-template-columns: 1fr 1fr; }
  .o-stat { padding: 18px; } .o-stat b { font-size: 34px; }
  .o-client { width: calc((100% - 16px) / 2); min-width: 0; }
  .o-service, .o-cta-box { padding: 28px 22px; }
  .o-footer .o-cols { grid-template-columns: 1fr; }
  .o-logo img { height: 44px; }
  .item-list { border: 0; border-radius: 0; }
  #itemList thead { display: none; }
  #itemList tr { display: block; border-bottom: 1px solid var(--o-line); padding: 8px 0; }
  #itemList td { display: block; border: 0; padding: 4px 8px; text-align: left !important; }
}
