/* VerixLaw site-chrome — header + footer как на главной.
   Локально-scoped: не перезаписывает :root родительской страницы. */

/* ===== HEADER ===== */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(10px); -webkit-backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid #e5e7eb; font-family: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
.header .wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.header .logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: #052555; letter-spacing: -.01em; text-decoration: none; }
.header .logo-mark { width: 32px; height: 32px; border-radius: 8px; background: linear-gradient(135deg,#0260e8 0%,#1771f1 100%); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 18px; }
.header .nav { display: flex; align-items: center; gap: 32px; }
.header .nav a { font-size: 15px; font-weight: 600; color: #4b5563; transition: color .15s; text-decoration: none; }
.header .nav a:hover { color: #0260e8; }
.header-cta { display: flex; align-items: center; gap: 14px; }
.header .btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; border-radius: 10px; font-weight: 700; font-size: 15px; line-height: 1; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; text-decoration: none; }
.header .btn-primary { background: #0260e8; color: #fff; box-shadow: 0 6px 16px rgba(2,96,232,.22); }
.header .btn-primary:hover { background: #1771f1; transform: translateY(-1px); }
.header .btn-ghost { background: transparent; color: #052555; border: 1.5px solid #e5e7eb; }
.header .btn-ghost:hover { background: #fafafa; border-color: #0260e8; }
.burger { display: none; width: 40px; height: 40px; border-radius: 8px; align-items: center; justify-content: center; background: none; border: 0; cursor: pointer; }
.burger span { display: block; width: 20px; height: 2px; background: #052555; position: relative; }
.burger span::before, .burger span::after { content: ''; position: absolute; left: 0; width: 20px; height: 2px; background: #052555; }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }

/* ===== FOOTER ===== */
.footer { background: #052555; color: #fff; padding: 60px 0 32px; font-family: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; margin-top: 60px; }
.footer .wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .logo { color: #fff !important; display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; text-decoration: none; }
.footer-brand p { color: rgba(255,255,255,.65); margin-top: 14px; font-size: 15px; max-width: 320px; line-height: 1.6; }
.footer h4 { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { color: rgba(255,255,255,.82); font-size: 15px; transition: color .15s; text-decoration: none; }
.footer ul a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.1); font-size: 14px; color: rgba(255,255,255,.5); flex-wrap: wrap; gap: 12px; }
.footer-bottom a { color: rgba(255,255,255,.7); text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
  .header .nav { display: none; }
  .header .nav.open { display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: #fff; border-bottom: 1px solid #e5e7eb; padding: 18px 24px; gap: 0; box-shadow: 0 4px 20px rgba(5,37,85,.08); }
  .header .nav.open a { padding: 14px 4px; border-bottom: 1px solid #e5e7eb; font-size: 16px; }
  .header .nav.open a:last-child { border-bottom: 0; }
  .burger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 520px) {
  .header .wrap, .footer .wrap { padding: 0 18px; }
  .header-cta .btn-ghost { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
}
