/* ===== Правовые страницы ===== */
.legal-page{max-width:760px;margin:0 auto;padding:26px 16px 60px}
.legal-crumbs{font-size:13px;color:#8a93a3;margin-bottom:16px}
.legal-crumbs a{color:#2563eb;text-decoration:none}
.legal-crumbs span{margin:0 6px}
.legal-h1{font-size:30px;font-weight:800;color:#111;margin:0 0 6px;line-height:1.2}
.legal-updated{font-size:13px;color:#8a93a3;margin:0 0 26px}
.legal-body h2{font-size:19px;font-weight:800;color:#1a2030;margin:26px 0 10px}
.legal-body p{font-size:15px;line-height:1.7;color:#3a3f4a;margin:0 0 12px}
.legal-note{margin-top:32px;padding:14px 16px;background:#f7f8fa;border-left:3px solid #2563eb;border-radius:0 10px 10px 0;font-size:13px;color:#6b7280;line-height:1.55}

/* ===== Подвал (footer) — единый аккуратный вид ===== */
.site-footer{background:#0f1623;color:#c3ccda;margin-top:48px;padding:38px 16px 26px}
.site-footer-inner{max-width:1080px;margin:0 auto}
.footer-cols{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:28px;margin-bottom:26px}
.footer-brand{font-weight:800;font-size:18px;color:#fff;margin:0 0 8px}
.footer-about{font-size:13px;line-height:1.6;color:#8a93a3;max-width:340px}
.footer-col h4{font-size:13px;text-transform:uppercase;letter-spacing:.06em;color:#6b7686;margin:0 0 12px;font-weight:700}
.footer-col a{display:block;color:#c3ccda;text-decoration:none;font-size:14px;padding:5px 0;transition:color .14s ease}
.footer-col a:hover{color:#fff}
.footer-bottom{border-top:1px solid #1e2838;padding-top:18px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;font-size:12px;color:#6b7686}
.footer-bottom a{color:#8a93a3;text-decoration:none}
.footer-bottom a:hover{color:#fff}
@media(max-width:680px){
  .footer-cols{grid-template-columns:1fr;gap:20px}
  .legal-h1{font-size:24px}
}

/* ===== Блок «Рекомендуем» на главной (расширенный) ===== */
.home-banks-rich{padding:40px 0;background:linear-gradient(180deg,#f7f8fa,#fff)}
.home-banks-rich .hbr-head{text-align:center;margin-bottom:24px}
.home-banks-rich .hbr-head h2{font-size:26px;font-weight:800;color:#111;margin:0 0 6px}
.home-banks-rich .hbr-head p{color:#6b7280;font-size:15px;margin:0}
.hbr-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;max-width:900px;margin:0 auto}
.hbr-card{position:relative;overflow:hidden;display:flex;flex-direction:column;gap:8px;padding:26px;border-radius:20px;text-decoration:none;color:#fff;transition:transform .18s ease,box-shadow .18s ease}
.hbr-card:hover{transform:translateY(-4px);box-shadow:0 16px 40px rgba(0,0,0,.18)}
.hbr-alfa{background:linear-gradient(135deg,#ef3124,#b71c12)}
.hbr-tbank{background:linear-gradient(135deg,#1c1c1c,#444)}
.hbr-ic{font-size:34px}
.hbr-t{font-size:22px;font-weight:800}
.hbr-d{font-size:14px;line-height:1.5;opacity:.92}
.hbr-go{margin-top:6px;font-weight:800;font-size:15px}
@media(max-width:680px){.hbr-grid{grid-template-columns:1fr}}

/* ===== Cookie-плашка ===== */
.cookie-bar{position:fixed;left:16px;right:16px;bottom:16px;z-index:9999;display:flex;align-items:center;gap:14px;flex-wrap:wrap;justify-content:center;background:#0f1623;color:#e6ebf5;padding:14px 18px;border-radius:14px;box-shadow:0 10px 40px rgba(0,0,0,.3);font-size:14px}
.cookie-bar a{color:#7eb0ff;text-decoration:underline}
.cookie-bar button{background:#2563eb;color:#fff;border:none;padding:9px 22px;border-radius:10px;font-weight:700;cursor:pointer;font-size:14px}
.cookie-bar button:hover{filter:brightness(1.1)}
/* ===== Партнёрская страница: детали ===== */
.partner-details{padding:20px 0}
.pd-h2{font-size:24px;font-weight:800;color:#111;margin:36px 0 18px;text-align:center}
.pd-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.pd-card{background:#fff;border:1px solid #eef0f4;border-radius:16px;padding:24px;text-align:center;box-shadow:0 2px 10px rgba(20,30,60,.05)}
.pd-ic{font-size:36px;margin-bottom:10px}
.pd-card h3{font-size:18px;font-weight:800;color:#111;margin:0 0 8px}
.pd-card p{font-size:14px;line-height:1.6;color:#46505f;margin:0}
.pd-slots{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.pd-slot{background:#f7f8fa;border-radius:12px;padding:16px;display:flex;flex-direction:column;gap:3px}
.pd-slot b{font-size:15px;color:#1a2030}
.pd-slot span{font-size:13px;color:#8a93a3}
.pd-cta{margin-top:40px;text-align:center;padding:36px;background:linear-gradient(135deg,#eef3ff,#fff);border-radius:20px;border:1px solid #dbe6ff}
.pd-cta h2{font-size:24px;font-weight:800;color:#111;margin:0 0 8px}
.pd-cta p{color:#46505f;margin:0 0 18px}
@media(max-width:760px){.pd-grid,.pd-slots{grid-template-columns:1fr}}
.social-howto{max-width:760px;margin:0 auto;padding:10px 0}
.social-howto h2{font-size:24px;font-weight:800;color:#111;margin:0 0 8px}
.social-howto .sh-lead{color:#46505f;font-size:15px;margin:0 0 20px}
.sh-card{background:#fff;border:1px solid #eef0f4;border-radius:16px;padding:20px 22px;margin-bottom:14px;box-shadow:0 2px 10px rgba(20,30,60,.05)}
.sh-net{display:inline-block;font-weight:800;font-size:14px;color:#fff;padding:5px 14px;border-radius:999px;margin-bottom:12px}
.sh-tg{background:#2aabee}.sh-vk{background:#0077ff}.sh-ok{background:linear-gradient(135deg,#ee8208,#f4731c)}
.social-howto ol{margin:0;padding-left:20px}
.social-howto li{font-size:14px;line-height:1.7;color:#2a3340;margin:5px 0}
.social-howto code{background:#f1f3f7;padding:2px 7px;border-radius:6px;font-size:13px;color:#c026d3}
.sh-soon p{font-size:14px;line-height:1.6;color:#46505f;margin:0}
.sh-note{font-size:13px;color:#8a93a3;margin-top:16px;line-height:1.6}
