/* =========================================================
   NON-CRITICAL CSS
   Все стили ниже первого экрана.
   (Базу, header, hero, виджет, logos, CLS-fixes, visually-hidden
    держим в critical.css)
   ========================================================= */

/* базовые отступы секций (влияет на нижние блоки) */
section{padding: 34px 0}
@media(max-width:960px){ section{padding: 26px 0} }
[id]{scroll-margin-top: 92px;}

.card{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ===== Типографика (тонкая) ===== */
p, li, span, small, label, input, textarea, select, summary, details, button, div { font-weight: 400; }
h1{font-weight: 600; letter-spacing: -0.02em; margin:0 0 10px}
h2{font-weight: 600; letter-spacing: -0.015em; margin:0 0 10px}
h3{font-weight: 600; margin:0 0 8px}

/* ===== SEO Intro (теперь там H2, но класс может остаться) ===== */
.seo-intro{
  padding-top: 16px;
  padding-bottom: 32px;
}
@media (max-width: 640px){
  .seo-intro{ padding-top: 14px; }
}

.seo-card{
  background: #ffffff;
  border-radius: 22px;
  border: 1px solid rgba(226,232,240,.9);
  box-shadow: 0 16px 40px rgba(2,6,23,.06);
  padding: 28px 32px;
}
.seo-intro .seo-card{ margin-top: 0; }

.seo-h1{
  max-width: 900px;
  font-size: 32px;
  line-height: 1.15;
  margin: 0 0 14px;
  font-weight: 600;
}
.seo-text{
  max-width: 860px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 12px;
}
@media(max-width: 640px){
  .seo-card{ padding: 20px 18px; }
  .seo-h1{ font-size: 24px; }
  .seo-text{ font-size: 15px; }
}

/* ===== Остальные блоки ===== */
.grid3{display:grid; grid-template-columns: repeat(3, 1fr); gap: 18px}
@media(max-width:960px){ .grid3{grid-template-columns:1fr} }

.feature{padding: 18px}
.icon{
  width: 40px; height: 40px;
  border-radius: 14px;
  display:inline-flex; align-items:center; justify-content:center;
  background: rgba(37,99,235,.08);
  color: var(--brand);
  margin-bottom: 10px;
}
.feature h3{font-size:16px}
.feature p{
  margin:0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.info{padding: 18px}
.info p{
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.75;
  font-size: 14px;
}

.trust-grid{display:grid; grid-template-columns: 1.05fr .95fr; gap: 18px}
@media(max-width:960px){ .trust-grid{grid-template-columns:1fr} }

.pill{
  display:inline-flex; align-items:center; gap:8px;
  font-size: 13px;
  color: var(--muted);
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(226,232,240,.9);
  padding: 8px 10px;
  border-radius: 999px;
  margin: 0 8px 8px 0;
}

/* ===== FAQ ===== */
.faq{padding: 18px}
details{
  border:1px solid rgba(226,232,240,.9);
  border-radius: 14px;
  padding: 12px 14px;
  background: rgba(248,250,252,.6);
  margin: 10px 0;
}
summary{
  cursor:pointer;
  font-weight: 600;
  line-height: 1.35;
}
details p{
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 14px;
}

/* ===== Contacts ===== */
.contacts{padding:18px}
.contacts p{
  margin:0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 14px;
  word-break: break-word;
}

/* ===== Footer ===== */
footer{padding: 26px 0 48px; color: var(--muted)}
.footer-grid{display:grid; grid-template-columns: 1.2fr .8fr; gap: 18px}
@media(max-width:960px){ .footer-grid{grid-template-columns:1fr} }
.foot-card{padding: 18px}
.foot-card b{color: var(--text); font-weight:600}
.foot-text,.foot-links{margin:10px 0 0;line-height:1.7;font-size:13px}

/* ===== Cookie ===== */
.cookie{
  position:fixed; left:12px; right:12px; bottom:12px; z-index:9999;
  display:none;
}
.cookie-inner{
  max-width:var(--max); margin:0 auto;
  display:flex; gap:10px; align-items:center; justify-content:space-between;
  padding:12px 12px;
  border-radius:16px;
  background: rgba(255,255,255,.94);
  border:1px solid rgba(226,232,240,.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  flex-wrap:wrap;
}
.cookie-inner p{margin:0;color:var(--muted);font-size:13px;line-height:1.35}
.cookie-actions{display:flex; gap:10px; flex-wrap:wrap; width:100%; justify-content:flex-end}
@media(max-width:520px){
  .cookie-inner{flex-direction:column; align-items:stretch}
  .cookie-inner .btn{width:100%}
}

/* ===== Секция агента ===== */
.agent{ padding: 28px 0; }

.agent-card{
  background:#fff;
  border-radius:22px;
  border:1px solid rgba(226,232,240,.9);
  box-shadow: 0 16px 40px rgba(2,6,23,.06);
  overflow:hidden;

  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 24px;
  align-items: stretch;
}

.agent-media{
  overflow: hidden;
  border-radius: 22px;
  background: rgba(248,250,252,.7);
}
.agent-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  object-position: center 20%;
  filter: saturate(1.02) contrast(1.02);
}

.agent-content{
  padding: 26px 28px 22px;
  min-width: 0;
  overflow: visible;
}

.agent-title{
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 600;
}
.agent-sub{
  margin: 0 0 14px;
  color:#4b5563;
  line-height: 1.75;
  font-size: 15.5px;
  max-width: 720px;
}
.agent-list{
  margin:0 0 16px;
  padding-left: 18px;
  color:#4b5563;
  line-height:1.75;
  font-size:14px;
}
.agent-list li{ margin: 8px 0; }

.agent-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:14px;
}
.agent-actions .btn{
  padding: 12px 16px;
  min-width: 148px;
}

.agent-note{
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed rgba(226,232,240,.9);
  font-size: 12.5px;
  color:#6b7280;
  line-height:1.45;
}

@media (max-width: 960px) {
  .agent { padding-top: 12px; padding-bottom: 12px; }

  .agent-card{
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
  }

  .agent-media{
    width: 100% !important;
    min-height: 0 !important;
    max-height: 360px;
    overflow: hidden;
    border-radius: 22px 22px 0 0;
  }

  .agent-media img{
    width: 100% !important;
    height: 100% !important;
    display: block;
    object-fit: cover;
    object-position: center 20%;
  }

  .agent-content{
    width: 100% !important;
    padding: 16px !important;
  }

  .agent-actions{
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .agent-actions .btn{
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 900px){
  .agent-card{ grid-template-columns: 1fr; }
  .agent-media{ border-radius: 18px; }
  .agent-media img{
    height: auto;
    object-fit: cover;
  }
}

/* ===== Content / SEO blocks ===== */
.content{ padding: 34px 0; }

.content-quote{
  display:flex;
  gap:14px;
  align-items:flex-start;
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(226,232,240,.9);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 18px 18px;
  margin-bottom: 16px;
}
.content-quote-ava{
  width:42px;height:42px;border-radius: 16px;
  display:flex;align-items:center;justify-content:center;
  font-weight:700;
  color: var(--brand);
  background: rgba(37,99,235,.10);
  flex:0 0 auto;
}
.content-quote-title{ font-weight:600; margin: 0 0 6px; }
.content-quote-text{ margin:0; color: var(--muted); line-height:1.7; }

.content-card{
  background:#fff;
  border: 1px solid rgba(226,232,240,.9);
  border-radius: 22px;
  box-shadow: 0 16px 40px rgba(2,6,23,.06);
  padding: 26px 28px;
  overflow:hidden;
  margin: 18px 0;
  line-height: 1.6;
}

@media (max-width: 960px){
  .content-card{ padding: 20px 16px; }
}

@media (max-width: 640px){
  .content{ padding: 16px 0 34px; }
  .content-card{ padding:18px 16px; border-radius:18px; margin:14px 0; }
}

.content-h2{ margin: 0 0 10px; font-size: 22px; line-height:1.25; }
.content-h3{ margin: 0 0 8px; font-size: 16px; }
.content-lead{
  margin:0 0 16px;
  color:var(--muted);
  font-size:15.5px;
  line-height:1.75;
  max-width:920px;
}
.content-p{ margin: 0 0 12px; color: var(--muted); line-height: 1.75; font-size: 14.5px; }

/* 3 columns */
.content-3col,
.content-grid3{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:14px;
  margin-top:14px;
}
@media (max-width:960px){
  .content-3col,
  .content-grid3{ grid-template-columns:1fr; }
}

.mini-card{
  background:rgba(248,250,252,.65);
  border:1px solid rgba(226,232,240,.9);
  border-radius:18px;
  padding:14px 14px 12px;
}
.mini-card h3{ margin:0 0 6px; font-size:15px; }
.mini-card p{ margin:0; color:var(--muted); font-size:14px; line-height:1.7; }

.content-mini{
  background: rgba(248,250,252,.65);
  border: 1px solid rgba(226,232,240,.9);
  border-radius: 18px;
  padding: 14px 14px;
}

.content-divider{
  height:1px;
  background: rgba(226,232,240,.9);
  margin: 18px 0;
}

/* lists */
.u-list{ margin: 8px 0 0; padding-left: 18px; color: var(--muted); line-height:1.7; font-size:14px; }
.u-list li{ margin: 6px 0; }

.content-ol{
  margin: 0;
  padding-left: 18px;
  color: var(--text);
}
.content-ol li{
  margin: 10px 0;
  color: var(--muted);
  line-height: 1.7;
}
.content-ol b{ color: var(--text); font-weight:600; }

/* callouts */
.content-callout{
  display:flex; gap:10px; align-items:flex-start;
  padding:12px 14px; border-radius:16px;
  border:1px solid rgba(226,232,240,.9);
  background:rgba(248,250,252,.75);
  margin:14px 0 0;
}
.content-callout--soft{ background: rgba(37,99,235,.06); border-color: rgba(37,99,235,.12); }
.content-callout--warn{ background: rgba(245,158,11,.08); border-color: rgba(245,158,11,.18); }

.callout-ico{
  width:22px; height:22px; border-radius:999px;
  display:inline-flex; align-items:center; justify-content:center;
  font-weight:700; font-size:13px;
  background: rgba(37,99,235,.12);
  border: 1px solid rgba(37,99,235,.18);
  flex: 0 0 22px;
}
.content-callout--warn .callout-ico{
  background: rgba(245,158,11,.18);
  border-color: rgba(245,158,11,.28);
}
.callout-text{ color:#374151; font-size:14px; line-height:1.6; }

.content-hint{
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(37,99,235,.06);
  border: 1px solid rgba(37,99,235,.12);
  color: #374151;
  line-height: 1.6;
  font-size: 13.5px;
}

.content-note{
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

/* steps */
.steps{ list-style:none; margin:0; padding:0; display:grid; gap:14px; }
.step{
  display:grid; grid-template-columns:34px 1fr; gap:12px;
  padding:14px 14px 12px; border-radius:18px;
  border:1px solid rgba(226,232,240,.9);
  background:rgba(248,250,252,.55);
}
.step-num{
  width:34px; height:34px; border-radius:12px;
  display:inline-flex; align-items:center; justify-content:center;
  font-weight:700;
  background: rgba(37,99,235,.10);
  color: var(--brand);
  border: 1px solid rgba(37,99,235,.16);
}
.step-body b{ display:block; margin-bottom:4px; color:var(--text); font-weight:600; }
.step-body span{ display:block; color:var(--muted); font-size:14px; line-height:1.65; }

/* screenshots */
.shot{
  margin:12px 0 0;
  border-radius:16px;
  overflow:hidden;
  border:1px solid rgba(226,232,240,.9);
  background:#fff;
}
.shot figcaption{
  padding:10px 12px;
  font-size:12.5px;
  color:var(--muted);
  background: rgba(248,250,252,.65);
  border-top:1px solid rgba(226,232,240,.9);
}

/* docs table */
.table-wrap{
  overflow:auto;
  border-radius:16px;
  border:1px solid rgba(226,232,240,.9);
  background: rgba(248,250,252,.45);
}
table.docs{
  width:100%;
  border-collapse:collapse;
  min-width:720px;
}
table.docs th, table.docs td{
  padding:12px;
  border-bottom:1px solid rgba(226,232,240,.9);
  vertical-align:top;
  font-size:14px;
  line-height:1.55;
}
table.docs th{
  text-align:left;
  color:#111827;
  font-weight:600;
  background: rgba(255,255,255,.75);
}

/* renewal list */
.renew{ margin: 0; padding-left: 18px; color: var(--muted); line-height:1.7; }
.renew li{ margin: 10px 0; }
.renew b{ color: var(--text); font-weight: 600; }

/* accordion */
.accordion details{
  border:1px solid rgba(226,232,240,.9);
  border-radius:16px;
  padding:12px 14px;
  background: rgba(248,250,252,.6);
  margin:10px 0;
}
.accordion summary{ cursor:pointer; font-weight:600; line-height:1.35; }
.accordion .acc-body{ margin-top:10px; color:var(--muted); font-size:14px; line-height:1.75; }

/* expert */
.content-expert{
  display:grid;
  grid-template-columns:96px 1fr;
  gap:16px;
  align-items:start;
  background: rgba(248,250,252,.65);
}
@media (max-width:640px){ .content-expert{ grid-template-columns:1fr; } }

.expert-ava{
  width:96px; height:96px; border-radius:999px;
  overflow:hidden;
  border:1px solid rgba(226,232,240,.9);
  background:#fff;
}
.expert-ava img{ width:100%; height:100%; object-fit:cover; }
.expert-kicker{ font-size:12px; color:var(--muted); margin-bottom:6px; }
.expert-text{ margin:0 0 10px; color:#374151; line-height:1.75; }
.expert-meta{ font-size:13px; color:var(--muted); }
.expert-meta b{ color:var(--text); font-weight:600; }

/* FIX: шаги/скриншоты */
#how-online .step{
  grid-template-columns: 34px minmax(0, 1fr);
}
#how-online .step-body{
  min-width: 0;
}
#how-online .shot,
#how-online .shot img{
  max-width: 100%;
}

/* ===== Table variant (content-table*) ===== */
.content-table-wrap{
  overflow:auto;
  border-radius: 16px;
  border: 1px solid rgba(226,232,240,.9);
  background: rgba(248,250,252,.55);
}
.content-table{
  width:100%;
  border-collapse: collapse;
  min-width: 720px;
}
.content-table th,
.content-table td{
  text-align:left;
  padding: 12px 12px;
  border-bottom: 1px solid rgba(226,232,240,.9);
  vertical-align: top;
  color: #374151;
  font-size: 13.5px;
  line-height: 1.55;
}
.content-table th{
  color: var(--text);
  font-weight: 600;
  background: rgba(255,255,255,.7);
}

/* ===== Articles (FINAL) ===== */
.articles{ padding: 22px 0 34px; }
.articles-head{ display:flex; align-items:flex-end; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.articles-title{ margin:0; font-size:20px; line-height:1.2; font-weight:600; }

.articles-chips{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top: 8px;
  margin-bottom: 14px;
}

.articles-chips .chip{
  border: 1px solid rgba(226,232,240,.9);
  background: rgba(255,255,255,.9);
  color: rgba(11,18,32,.78);
  padding: 9px 12px;
  border-radius: 999px;
  font-size: 13px;
  line-height: 1;
  font-weight: 500;
  cursor:pointer;
  transition: .18s ease;
  box-shadow: 0 10px 22px rgba(2,6,23,.06);
}
.articles-chips .chip:hover{
  transform: translateY(-1px);
  background: #fff;
  border-color: rgba(37,99,235,.18);
}
.articles-chips .chip.is-active{
  background: rgba(37,99,235,.08);
  border-color: rgba(37,99,235,.18);
  color: rgba(11,18,32,.92);
  box-shadow: 0 14px 28px rgba(37,99,235,.10);
}

.articles-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.article-card{ display:block; color:inherit; }

.article-thumb{
  width: 100%;
  background: #fff;
  border: 1px solid rgba(226,232,240,.9);
  border-radius: 18px;

  height: 132px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow:hidden;
}
.article-thumb img{
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.article-name{
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.35;
  color: var(--text);
  font-weight: 500;
}
.article-card:hover .article-name{ text-decoration: underline; }

.articles-actions{
  margin-top: 18px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}

@media (max-width: 1024px){
  .articles-grid{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px){
  .articles-grid{ gap: 12px; grid-template-columns: 1fr; }
  .article-thumb{ height: 124px; border-radius: 16px; padding: 10px; }

  .articles-chips{
    flex-wrap: nowrap;
    overflow:auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
    margin-bottom: 12px;
  }
  .articles-chips::-webkit-scrollbar{ height: 6px; }

  .articles-actions{
    display:grid;
    grid-template-columns: 1fr;
  }
  .articles-actions .btn{ width:100%; }
}

/* ===== Benefits (FINAL: one white panel + 3 cols) ===== */
.benefits{ padding: 18px 0 10px; }

.benefits-title{
  max-width: var(--max);
  margin: 0 auto 14px;
  padding: 0 18px;
  font-size: 22px;
  font-weight: 600;
}

.benefits-grid{
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px;
  background: #fff;
  border: 1px solid rgba(226,232,240,.9);
  border-radius: 22px;
  box-shadow: var(--shadow);

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

.benefit{
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;

  padding: 6px 6px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  height: 100%;
}

.benefit:not(:last-child){
  border-right: 1px solid rgba(226,232,240,.9);
  padding-right: 18px;
  margin-right: 2px;
}

.benefit-name{
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 600;
}
.benefit-text{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.benefit-ico{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  flex: 0 0 44px;
  border: 1px solid rgba(226,232,240,.9);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size: 18px;
  line-height: 1;
}


/* ===== Benefits icons (CSS-only, no SVG) ===== */
.benefit-ico{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  position:relative;
}

.benefit-ico::before{
  /* emoji-safe fonts */
  font-family: "Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji",sans-serif !important;
  font-weight: 400 !important;
  font-style: normal !important;
  line-height: 1 !important;
  font-variant: normal !important;
  -webkit-font-smoothing: auto !important;
  text-rendering: auto !important;
}

/* ? Быстро */
.benefit-ico--fast::before{
  content: "\26A1"; /* ? */
}

/* ?? Выбор (сравнение) */
.benefit-ico--choice::before{
  content: "\1F50E"; /* ?? */
}

/* ?? Безопасность */
.benefit-ico--shield::before{
  content: "\1F6E1"; /* ?? */
}



@media (max-width: 960px){
  .benefits-title{
    padding: 0 14px;
    font-size: 20px;
  }

  .benefits-grid{
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .benefit{
    padding: 10px 0;
  }

  .benefit:not(:last-child){
    border-right: 0;
    padding-right: 0;
    margin-right: 0;
    border-bottom: 1px solid rgba(226,232,240,.9);
    padding-bottom: 14px;
    margin-bottom: 10px;
  }
}

/* ===== Bottom area polish (contacts + footer) ===== */
.contacts-section{ padding: 26px 0 18px; }

.contacts-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
}

.contacts-card, .disclosure-card{ padding: 18px; }

.contacts-title{ margin:0 0 12px; }

.contacts-row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 14px;
}

.contacts-label{
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 2px;
}

.contacts-value{
  color: var(--text);
  font-size: 14.5px;
  line-height: 1.35;
  word-break: break-word;
}

.contacts-note{
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px dashed rgba(226,232,240,.9);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.disclosure-title{
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 600;
}
.disclosure-list{
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
}
.disclosure-list li{ margin: 8px 0; }
.disclosure-muted{ color:#6b7280; }

.disclosure-badge{
  margin-top: 12px;
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(37,99,235,.06);
  border: 1px solid rgba(37,99,235,.12);
  color:#374151;
  font-size: 13px;
  line-height: 1.45;
}
.disclosure-badge .dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34,197,94,.12);
}

/* footer */
.site-footer{ padding: 16px 0 44px; color: var(--muted); }
.foot-brand{ color: var(--text); font-weight: 600; }
.foot-meta{
  margin-top: 12px;
  font-size: 12.5px;
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
  align-items:center;
  color: #6b7280;
}
.foot-meta a{ color: #6b7280; }
.foot-meta a:hover{ color: var(--text); }
.foot-meta .sep{ opacity:.6; }

.foot-small{
  margin: 12px 0 0;
  color: #6b7280;
  font-size: 12.5px;
  line-height: 1.55;
}

@media (max-width: 960px){
  .contacts-grid{ grid-template-columns: 1fr; }
  .contacts-row{ grid-template-columns: 1fr; }
}

/* ===== Misc / SEO pages ===== */
.seo-disclaimer {
  margin-top: 10px;
  opacity: 0.85;
  line-height: 1.4;
}

.toc {
  margin: 16px 0 18px;
  padding: 14px 16px;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 14px;
  background: rgba(0,0,0,.02);
}
.toc-title { display:block; margin-bottom: 8px; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }

.breadcrumbs{
  max-width: 1100px;
  margin: 0 auto 10px;
  padding: 0 16px;
  font-size: 13px;
  opacity: .75;
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.breadcrumbs a{ text-decoration:none; }
.breadcrumbs a:hover{ text-decoration:underline; opacity:1; }

.content-card--narrow{
  max-width: 980px;
  margin: 0 auto;
}
.content-card--wide{
  max-width: 1200px;
  margin: 0 auto;
}
.widget-wrap{
  width: 100%;
  overflow: hidden;
}

/* Ритм статьи (универсально) */
.content-card > * + * { margin-top: 16px; }
@media (min-width: 900px) { .content-card > * + * { margin-top: 20px; } }

.content-card .content-h2{
  margin: 28px 0 12px;
  line-height: 1.2;
}
@media (min-width: 900px){
  .content-card .content-h2{ margin: 34px 0 14px; }
}
.content-card .toc + .content-h2,
.content-card .content-lead + .content-h2{
  margin-top: 24px;
}

.content-card figure.shot{ margin: 18px 0; }
.content-card .content-callout{ margin: 16px 0; }
.content-card .table-wrap{ margin: 16px 0; }

.content-card ul,
.content-card ol{ margin: 12px 0; }

.related{
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid rgba(0,0,0,.06);
}
.related-head{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.related-all{
  text-decoration: none;
  opacity: .75;
  font-size: 14px;
}
.related-all:hover { text-decoration: underline; opacity: 1; }
.related-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 960px) {
  .related-grid { grid-template-columns: 1fr; }
}
.related-card{
  display: block;
  padding: 14px 14px;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 16px;
  background: rgba(0,0,0,.02);
  text-decoration: none;
}
.related-card:hover { background: rgba(0,0,0,.035); }
.related-title { font-weight: 700; margin-bottom: 6px; }
.related-desc { opacity: .78; line-height: 1.45; font-size: 14px; }

/* Article CTA */
.article-cta{ margin-top: 22px; }
.article-cta__inner{
  border: 1px solid rgba(0,0,0,.06);
  background: rgba(30, 136, 229, .06);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  gap: 16px;
  align-items: center;
}
.article-cta__media{ flex: 0 0 260px; }
.article-cta__media img{
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.article-cta__title{
  font-weight: 800;
  font-size: 18px;
  line-height: 1.2;
  margin-bottom: 6px;
}
.article-cta__text{ margin: 0 0 12px; opacity: .9; }
.article-cta__actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.article-cta__note{ font-size: 13px; opacity: .75; }

@media (min-width: 900px){
  .article-cta{ margin-top: 28px; }
  .article-cta__inner{ padding: 18px; }
  .article-cta__title{ font-size: 20px; }
}

@media (max-width: 768px){
  .article-cta__inner{
    flex-direction: column;
    align-items: stretch;
  }
  .article-cta__media{
    display: block !important;
    order: -1;
    flex: 0 0 auto;
    width: 100%;
    margin-bottom: 12px;
    text-align: center;
  }
  .article-cta__media img{
    width: 100%;
    max-width: 250px;
    height: auto;
    margin: 0 auto;
  }
}

.article-hero-image { border: none; }

/* =========================
   CRITICAL CSS (top + hero + logos + buttons + drawer)
   ========================= */

:root{
  --max: 1120px;

  --site-bg: #f6f5f4;
  --hero-bg: #f6f5f4;

  --card: #ffffff;
  --text: #0b1220;
  --muted: #4b5563;
  --line: rgba(226,232,240,.9);

  --brand: #2563eb;
  --brand2:#38bdf8;

  --radius: 20px;
  --shadow: 0 10px 24px rgba(2,6,23,.06);
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:"Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background: var(--site-bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-weight: 400;
  letter-spacing: -0.005em;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}
.container{max-width:var(--max);margin:0 auto;padding:0 18px}

/* Кнопки — нужны везде (в т.ч. "Показать ещё") */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-size: 14px;
  cursor:pointer;
  transition: .18s ease;
  user-select:none;
  white-space: nowrap;
  font-weight: 500;
}
.btn-primary{
  color:#fff;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  box-shadow: 0 14px 28px rgba(37,99,235,.18);
}
.btn-primary:hover{transform: translateY(-1px)}
.btn-ghost{
  background: rgba(255,255,255,.92);
  border-color: var(--line);
  color: var(--text);
  box-shadow: 0 10px 22px rgba(2,6,23,.06);
}
.btn-ghost:hover{transform: translateY(-1px); background:#fff}

/* ===== Header ===== */
.topbar{
  position:sticky; top:0; z-index:50;
  background: rgba(246,245,244,.92);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
}
.topbar-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding: 12px 0; gap: 10px;
}
.logo{
  display:flex; align-items:center; gap:10px;
  min-width: 0;
}
.logo-badge{
  width:38px;height:38px;border-radius:12px;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  box-shadow: 0 10px 18px rgba(37,99,235,.18);
  flex: 0 0 auto;
  transition: transform .18s ease, filter .18s ease;
  will-change: transform;
}
.logo:hover .logo-badge{
  transform: translateY(-1px);
  filter: saturate(1.03) contrast(1.03);
  box-shadow: 0 10px 18px rgba(2,6,23,.10);
}
.logo-title{line-height:1.1; min-width:0}
.logo-title .name{font-weight: 600; white-space:nowrap}
.logo-title .desc{
  display:block;
  font-size:12.5px;
  color:var(--muted);
  font-weight:400;
  margin-top:2px;
  max-width: 40vw;
  overflow:hidden;
  text-overflow: ellipsis;
  white-space:nowrap;
}

.nav{display:flex; gap: 12px; flex-wrap:wrap}
.nav a{
  font-size:14px;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 12px;
  font-weight: 500;
}
.nav a:hover{background: rgba(37,99,235,.07); color: var(--text);}

.burger{
  display:none;
  width:42px;height:42px;
  border-radius:14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.92);
  align-items:center;justify-content:center;
  cursor:pointer;
}
.cta-desktop{display:inline-flex}

@media(max-width:1024px){
  .nav{display:none}
  .burger{display:inline-flex}
  .cta-desktop{display:none}
  .container{padding:0 14px}
  .logo-title .desc{max-width: 58vw;}
}
@media (max-width:520px){
  .logo-title .desc{display:none;}
}

/* ===== Drawer ===== */
.drawer-overlay{
  position:fixed; inset:0;
  background: rgba(2,6,23,.35);
  display:none;
  z-index:2000;
}
.drawer{
  position:fixed; top:0; right:0;
  height:100%;
  width:min(360px, 88vw);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-left: 1px solid var(--line);
  box-shadow: -20px 0 50px rgba(2,6,23,.12);
  transform: translateX(110%);
  transition: transform .22s ease;
  z-index:2100;
  display:flex; flex-direction:column;
}
.drawer.open{transform: translateX(0)}
.drawer-head{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px;
  border-bottom:1px solid var(--line);
}
.drawer-title{font-weight:600}
.drawer-close{
  width:40px;height:40px;border-radius:14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.9);
  cursor:pointer;
}
.drawer-body{padding:10px 14px 14px; display:flex; flex-direction:column; gap:8px}
.drawer-link{
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(226,232,240,.85);
  background: rgba(248,250,252,.72);
  color: var(--text);
  font-weight: 500;
}
.drawer-link small{display:block; color:var(--muted); font-weight:400; margin-top:4px}
.drawer-cta{margin-top:10px}
.drawer-cta .btn{width:100%}

/* ===== HERO (виджет) ===== */
.hero2{
  background: var(--hero-bg);
  padding: 24px 0 0;
}
@media(max-width:960px){
  .hero2{padding: 18px 0 0;}
}
.form-card, #calc, .calc-embed{
  width: 100%;
  max-width: 100%;
}
.form-card{
  background:#fff;
  border-radius: 22px;
  border: 1px solid rgba(226,232,240,.9);
  box-shadow: 0 16px 40px rgba(2,6,23,.08);
  overflow: hidden;
  padding: 0;
  margin: 0;
  max-width: none !important;
}
.form-card iframe,
#calc iframe,
.calc-embed iframe{
  width: 100% !important;
  min-width: 100% !important;
  display: block !important;
  border: 0 !important;
}
.wl-wrap{ margin: 0 !important; padding: 0 !important; }

/* Мобилка: если ты реально режешь "хвост" виджета */
@media (max-width: 640px){
  .wl-wrap{
    position: relative !important;
    overflow: hidden !important;
    clip-path: inset(0 0 180px 0) !important;
  }
}

/* ===== Logos (едущая лента) — это тоже “верх страницы” ===== */
.logos{
  padding-top: 0 !important;
  margin-top: 0 !important;
  padding-bottom: 18px;
}
@media (max-width: 640px){
  .logos{ padding-bottom: 14px; }
}
.logos-card{
  background:#fff;
  border-radius:22px;
  border: 1px solid rgba(226,232,240,.9);
  box-shadow: 0 16px 40px rgba(2,6,23,.06);
  padding: 18px 18px 14px;
}
.logos-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.logos-title{
  margin:0;
  font-size:18px;
  line-height:1.2;
  font-weight:600;
}
.logos-sub{
  margin:0;
  color: var(--muted);
  font-size:13px;
  line-height:1.4;
  max-width: 520px;
}

.logos-marquee{
  position:relative;
  overflow:hidden;
  border-radius: 16px;
  background: rgba(248,250,252,.7);
  border: 1px solid rgba(226,232,240,.9);
  padding: 12px 0;
  min-height: 72px; /* CLS fix */
}
.logos-marquee:before,
.logos-marquee:after{
  content:"";
  position:absolute;
  top:0; bottom:0;
  width: 48px;
  z-index:2;
  pointer-events:none;
}
.logos-marquee:before{
  left:0;
  background: linear-gradient(to right, rgba(248,250,252,1), rgba(248,250,252,0));
}
.logos-marquee:after{
  right:0;
  background: linear-gradient(to left, rgba(248,250,252,1), rgba(248,250,252,0));
}

.logos-track{
  display:flex;
  gap: 10px;
  width: max-content;
  padding: 0 14px;
  animation: logosScroll 26s linear infinite;
}
@media (prefers-reduced-motion: reduce){
  .logos-track{ animation:none; }
  .logos-marquee{ overflow:auto; }
}

.logo-pill{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background:#fff;
  border: 1px solid rgba(226,232,240,.9);
  box-shadow: 0 10px 18px rgba(2,6,23,.05);
  white-space: nowrap;
  min-height: 44px; /* CLS fix */
}
.logo-mark{
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:600;
  font-size:12px;
  color: var(--brand);
  background: rgba(37,99,235,.10);
}
.logo-text{
  font-size: 13px;
  color: var(--text);
  font-weight: 500;
  opacity: .85;
}

.logos-note{
  display:flex;
  align-items:center;
  gap: 8px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.35;
}
.logos-dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34,197,94,.12);
}

@keyframes logosScroll{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}

/* ===== CLS FIX: reserve space for widget container ===== */
#calculator-container{
  width: 100%;
  min-height: 640px;
}
@media (max-width: 640px){
  #calculator-container{ min-height: 760px; }
}
#calculator-container iframe{
  display:block;
  width:100%;
  border:0;
}

/* helper */
.visually-hidden{
  position:absolute !important;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;
  clip:rect(0 0 0 0);
  white-space:nowrap;
  border:0;
}

/* Fix: эмодзи-иконки в блоке преимуществ (чтобы не были "?" ) */
.benefit-ico{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.benefit-ico::before{
  font-family: "Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji",sans-serif;
  font-variant-emoji: emoji;
  line-height: 1;
}

/* FIX: эмодзи-иконки не превращаются в "?" */
.benefit-ico::before{
  font-family: "Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji" !important;
  font-weight: 400 !important;
  font-style: normal !important;
  line-height: 1 !important;
  font-variant: normal !important;
  text-rendering: auto !important;
  -webkit-font-smoothing: auto !important;
  display: inline-block;
  transform: translateZ(0);
}

/* ===== Bank Landing Specifics (Updated: Co-Brand) ===== */

.bank-hero {
  padding-top: 24px;
  padding-bottom: 0 !important; /* Убираем отступ снизу, как договаривались */
}

/* Сама карточка баннера */
.bank-banner {
  background: #fff;
  border: 1px solid rgba(226,232,240,.9);
  border-radius: 20px;
  box-shadow: 0 10px 24px rgba(2,6,23,.04);
  padding: 20px 28px;
  
  /* Flex для десктопа: логотипы слева, текст справа */
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
  overflow: hidden;
}

/* Декоративный фон (легкое свечение) */
.bank-banner::before {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; width: 40%;
  background: linear-gradient(to left, rgba(37,99,235,.04), transparent);
  pointer-events: none;
}

/* Блок с логотипами (Ябу + Банк) */
.bank-banner__media {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0; /* Чтобы логотипы не сплющило */
  background: rgba(248,250,252,.5);
  padding: 8px 12px;
  border-radius: 14px;
  border: 1px solid rgba(226,232,240,.8);
}

.bank-logo-site,
.bank-logo-target {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 8px; /* Чуть скругляем квадратные логотипы */
}

.bank-logo-sep {
  color: #9ca3af;
  font-size: 10px;
  font-weight: 600;
  opacity: 0.6;
}

/* Текстовая часть */
.bank-banner__content {
  flex-grow: 1;
}

.bank-title {
  font-size: 22px; /* Чуть компактнее */
  margin: 0 0 4px;
  line-height: 1.2;
  font-weight: 700;
}

.bank-desc {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

/* ===== MOBILE STYLES (Самое важное) ===== */
@media (max-width: 640px) {
  .bank-hero {
    padding-top: 12px; /* Уменьшаем отступ сверху */
  }

  .bank-banner {
    padding: 14px 16px;
    flex-direction: row; /* ОСТАВЛЯЕМ В РЯД! Не column */
    align-items: center;
    gap: 14px;
    min-height: 70px; /* Фикс высоты */
  }

  /* Логотипы делаем поменьше на мобильном */
  .bank-banner__media {
    padding: 6px 8px;
    gap: 8px;
  }
  
  .bank-logo-site,
  .bank-logo-target {
    width: 32px;
    height: 32px;
  }

  .bank-title {
    font-size: 17px; /* Уменьшаем шрифт заголовка */
    margin-bottom: 2px;
  }
  
  .bank-desc {
    font-size: 12px; /* Мелкий подзаголовок */
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Ограничиваем описание 2 строками, чтобы не росло */
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

/* ===== Dropdown Menu (Обновленный стиль) ===== */

.nav-item-drop {
  position: relative;
  display: flex; /* Чтобы блок вел себя как соседние ссылки */
  align-items: center;
  height: 100%;
}

/* Ссылка-триггер "Банки" */
.nav-link-drop {
  /* Принудительно ставим flex, чтобы выровнять текст и стрелку */
  display: inline-flex !important; 
  align-items: center;
  gap: 6px; /* Отступ до стрелочки */
  cursor: pointer;
}

/* Рисуем аккуратную стрелочку через CSS */
.nav-link-drop::after {
  content: "";
  display: block;
  width: 0; 
  height: 0; 
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor; /* Цвет берется от текста ссылки */
  opacity: 0.6;
  transform: translateY(1px); /* Чуть опускаем для оптического центра */
  transition: transform 0.2s ease;
}

/* Поворот стрелки при наведении */
.nav-item-drop:hover .nav-link-drop::after {
  transform: translateY(1px) rotate(180deg);
  opacity: 1;
}

/* Выпадающий список */
.nav-dropdown {
  position: absolute;
  top: 100%; /* Появляется ровно под кнопкой */
  left: 0;
  background: #fff;
  border: 1px solid rgba(226,232,240,.9);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(2,6,23,.12);
  min-width: 200px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
  z-index: 100;
  margin-top: 4px; /* Небольшой зазор */
}

/* Показываем при наведении на весь блок */
.nav-item-drop:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 10px 12px;
  color: var(--text);
  font-size: 14px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 500;
}

.nav-dropdown a:hover {
  background: rgba(37,99,235,.06);
  color: var(--brand);
}

/* ===== Убираем отступы на страницах банков (ФИНАЛ) — ИСПРАВЛЕНО ДЛЯ INSSMART ===== */

/* 1. Возвращаем нормальные отступы для героя */
.hero-bank {
  /* Было 0 !important, возвращаем стандартный padding, если нужно, или оставляем небольшим */
  padding-bottom: 10px !important; 
}

/* 2. Возвращаем отступ сверху для контента */
.bank-content {
  padding-top: 10px !important;
}

/* 3. ДЕСКТОП: Убираем отрицательный margin (наезд) */
.bank-content .content-card {
  margin-top: 0; /* Было -20px. Ставим 0, чтобы блоки шли друг за другом */
  position: relative;
  z-index: 10;
  /* Радиусы оставляем, это красиво */
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
}

/* 4. МОБИЛЬНАЯ ВЕРСИЯ: Тоже убираем наезд */
@media (max-width: 640px) {
  .bank-content .content-card {
    margin-top: 0; /* Было -30px. Сбрасываем в ноль. */
    
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
  }
  
  /* Важно: возвращаем контейнеру высоту, если виджет долго грузится, 
     но для Inssmart можно оставить auto, если он быстрый. 
     Если будет прыгать — поставьте min-height: 400px */
  #calculator-container {
    min-height: 480px !important; /* Даем место под виджет на мобилке */
  }
}

.drawer.is-active {
  transform: translateX(0);
}
.drawer-overlay.is-active {
  display: block;
}


/* --- ГЛОБАЛЬНЫЕ ПРАВКИ (YABU PATCH V15 - PRECISION) --- */

/* 1. Глобальный сброс */
img { max-width: 100%; height: auto; }

/* =========================================
   2. ОТСТУПЫ СЕКЦИЙ (Расширяем контент)
   Делаем как у плашки Cookie
========================================= */
@media (max-width: 768px) {
  /* Уменьшаем боковые поля до минимума */
  .container {
    padding-left: 8px !important;  /* Было 12px */
    padding-right: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }
  
  /* Уменьшаем отступы ВНУТРИ белых карточек */
  .seo-card, .agent-card, .content-card, .step {
    padding: 16px 12px !important; /* Было 20px 16px */
    border-radius: 16px !important;
  }

  section {
    padding-top: 16px !important;
    padding-bottom: 16px !important;
  }
}

/* =========================================
   3. ШАГИ: СИММЕТРИЯ КАРТИНКИ
========================================= */
@media (max-width: 768px) {
  /* Сетка */
  .step {
    display: grid !important;
    grid-template-columns: 34px 1fr !important;
    gap: 10px !important;
    align-items: start !important;
  }

  .step-body > b,
  .step-body > span {
    display: block;
    width: 100%;
    margin-left: 0 !important;
  }

  /* ЛОГИКА КАРТИНКИ И СНОСКИ */
  /* Ширина левой колонки (34) + Гап (10) = 44px */
  .step-body .shot,
  .step-body .content-callout {
    width: calc(100% + 44px) !important; /* Растягиваем на ширину отступа */
    margin-left: -44px !important;       /* Тянем влево под цифру */
    margin-top: 14px !important;
    margin-bottom: 0 !important;
    border-radius: 12px !important;
  }

  /* ФИКС КАРТИНКИ (Чтобы она была большой) */
  .step-body .shot img {
    width: 100% !important;      /* Растянуть на всю доступную ширину */
    min-width: 100% !important;  /* Гарантия от сжатия */
    display: block !important;
    border-radius: 12px !important;
    box-sizing: border-box !important;
  }
}

/* =========================================
   4. ИКОНКА ВОСКЛИЦАТЕЛЬНОГО ЗНАКА (Уменьшение)
========================================= */
.callout-ico {
  display: flex !important;
  align-items: center;
  justify-content: center;
  
  /* НОВЫЙ РАЗМЕР (Маленький) */
  width: 24px !important; 
  height: 24px !important;
  min-width: 24px !important;
  
  flex-shrink: 0 !important;
  font-size: 14px !important; /* Шрифт тоже меньше */
  line-height: 1 !important;
  font-weight: bold;
  border-radius: 50% !important;
  background: rgba(0,0,0,0.05);
}
.content-callout--warn .callout-ico { color: #b45309; background: #fef3c7; }

/* Сам блок сноски */
.content-callout {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 12px !important;
  padding: 24px !important;
  border-radius: 12px !important;
  box-sizing: border-box !important;
  width: 100% !important;
  margin-top: 24px;
}

/* Мобильная версия сноски */
@media (max-width: 768px) {
  .content-callout {
    flex-direction: column !important; /* Иконка сверху */
    align-items: flex-start !important;
    gap: 8px !important; /* Отступ от иконки до текста меньше */
    padding: 14px !important;
  }
}

.callout-text {
  flex: 1 !important;
  min-width: 0 !important;
  width: 100% !important;
  line-height: 1.4 !important;
  font-size: 14px !important; /* Чуть меньше текст сноски */
}

/* =========================================
   5. ТИПОГРАФИКА (Для маленьких экранов)
========================================= */
@media (max-width: 480px) {
  .seo-h2 {
    font-size: 20px !important;
    line-height: 1.25 !important;
    margin-bottom: 12px !important;
  }
  .seo-text { font-size: 15px !important; line-height: 1.4 !important; }
}

/* =========================================
   6. БЛОК АГЕНТ
========================================= */
@media (max-width: 768px) {
  .agent-card {
    display: flex;
    flex-direction: column-reverse;
    gap: 20px;
    align-items: flex-start;
  }
  .agent-media img {
    width: 100%;
    max-height: 350px;
    object-fit: cover;
    object-position: top center;
    border-radius: 12px;
    display: block;
  }
  .agent-title { font-size: 24px !important; text-align: left; margin-bottom: 8px; }
  .agent-sub, .agent-text, .agent-steps { text-align: left; padding-left: 0; }
}

/* =========================================
   7. TELEGRAM КНОПКА
========================================= */
.tg-fab { display: inline-flex !important; align-items: center; justify-content: center; }
@media (max-width: 768px) {
  .tg-fab__text { display: none !important; }
  .tg-fab {
    width: 52px !important;
    height: 52px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.5) !important;
    position: fixed;
    bottom: 16px !important;
    right: 16px !important;
    z-index: 100;
  }
  .tg-fab svg { width: 26px; height: 26px; }
}

/* =========================================
   8. ПРОЧИЕ ФИКСЫ
========================================= */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 20px;
}
.calc-shell { min-height: 380px; position: relative; z-index: 10; }

/* =========================================================
   YABU FINAL FIX V3: INSSMART MOBILE OVERLAP
   Исправление наезда блоков для длинного виджета
   ========================================================= */

@media (max-width: 820px) {

  /* 1. Отменяем ограничение в 380px и даем много места */
  .calc-shell,
  #calculator-container {
    min-height: 1350px !important; /* Увеличили с запасом под все поля */
    height: auto !important;
    display: block !important;
    overflow: visible !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }

  /* 2. Скрываем белую маску, она мешает кнопке */
  .calc-bottom-mask {
    display: none !important;
  }

  /* 3. Секцию с логотипами принудительно двигаем, если она все же наезжает */
  .logos {
    position: relative !important;
    z-index: 20 !important;
    margin-top: 20px !important;
    background: var(--site-bg); /* Чтобы текст был читаем, даже если наедет */
  }

  /* 4. Исправляем отступ самого первого блока, чтобы он не "проваливался" */
  .hero2 {
    padding-bottom: 0 !important;
  }
}