/* шрифт Onest с хостинга, лицензия SIL OFL 1.1 в fonts/OFL.txt */
  @font-face { font-family:'Onest'; font-style:normal; font-weight:400 700; font-display:swap; src:url('fonts/onest-cyrillic.woff2') format('woff2'); unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
  @font-face { font-family:'Onest'; font-style:normal; font-weight:400 700; font-display:swap; src:url('fonts/onest-latin-ext.woff2') format('woff2'); unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
  @font-face { font-family:'Onest'; font-style:normal; font-weight:400 700; font-display:swap; src:url('fonts/onest-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 { --navy:#1b2b4b; --text:#1f2329; --muted:#5b6470; --bg:#f2f5fa; --tint:#e8ecf4; --tint2:#c9d3e6; --cta:#cc4a0c; --cta-h:#b03f08; }
  * { box-sizing:border-box; margin:0; padding:0; }
  html { scroll-behavior:smooth; }
  body { font-family:'Onest', Arial, Helvetica, sans-serif; color:var(--text); background:#fff; font-size:17px; line-height:1.55; }
  a { color:inherit; }
  .wrap { max-width:1200px; margin:0 auto; padding:0 24px; }
  h1 { font-size:38px; line-height:1.14; font-weight:700; color:var(--navy); margin-bottom:20px; }
  h1 .acc { color:var(--navy); }
  h2 { font-size:34px; line-height:1.18; font-weight:700; color:var(--navy); margin-bottom:32px; max-width:none; }
  b, strong { font-weight:700; }
  .nw { white-space:nowrap; }

  /* кнопки */
  .btn { display:inline-flex; align-items:center; gap:10px; background:var(--cta); color:#fff; font-weight:700; text-decoration:none; padding:18px 30px; border-radius:12px; font-size:18px; line-height:1.2; box-shadow:0 8px 20px rgba(204,74,12,.28); transition:background .2s, transform .2s, box-shadow .2s; border:0; cursor:pointer; }
  .btn:hover { background:var(--cta-h); transform:translateY(-2px); box-shadow:0 12px 26px rgba(176,63,8,.34); }
  .btn svg { width:18px; height:18px; flex:0 0 18px; }
  .btn.small { padding:12px 18px; font-size:18px; box-shadow:none; border-radius:10px; }

  /* шапка: верхняя строка с контактами и закрепленная строка с меню */
  .topbar { background:var(--bg); font-size:14px; line-height:1.6; color:var(--muted); }
  .topbar .wrap { display:flex; align-items:center; justify-content:space-between; gap:18px; padding-top:7px; padding-bottom:7px; }
  .topbar .geo { display:flex; align-items:center; gap:6px; }
  .topbar .geo svg { width:16px; height:16px; }
  .topbar .right { display:flex; align-items:center; gap:14px; }
  .topbar .tel { font-size:16px; font-weight:700; color:var(--navy); text-decoration:none; white-space:nowrap; }
  .msgs { display:flex; gap:8px; }
  .msg { flex:0 0 30px; height:30px; border-radius:50%; display:flex; align-items:center; justify-content:center; }
  .msg svg { width:16px; height:16px; }
  .wa, .tg { background:var(--navy); } .call { background:var(--navy); }
  header { position:sticky; top:0; z-index:20; background:rgba(255,255,255,.97); box-shadow:0 2px 14px rgba(27,43,75,.08); }
  .hdr { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:12px 24px; }
  .brand { display:flex; align-items:center; gap:12px; text-decoration:none; }
  .mono { flex:0 0 44px; height:44px; border-radius:12px; background:var(--navy); color:#fff; font-weight:700; display:flex; align-items:center; justify-content:center; font-size:16px; }
  .brand b { display:block; font-size:19px; color:var(--navy); line-height:1.25; white-space:nowrap; }
  .brand span { display:block; font-size:14px; color:var(--muted); line-height:1.3; white-space:nowrap; }
  nav { display:flex; gap:16px; font-size:15px; }
  nav a { text-decoration:none; position:relative; padding:4px 0; white-space:nowrap; }
  nav a::after { content:""; position:absolute; left:0; right:100%; bottom:0; height:2px; background:var(--navy); transition:right .25s; }
  nav a:hover::after { right:0; }
  .hdr .btn { white-space:nowrap; }
  .hdr .msgs { display:none; }

  /* первый экран */
  .hero { position:relative; overflow:hidden; background:var(--bg); padding:56px 0 140px; }
  .hero .grid { display:grid; grid-template-columns:1.12fr .88fr; gap:48px; align-items:center; }
  .sub { font-size:20px; line-height:1.5; margin-bottom:30px; max-width:600px; }
  .visual { position:relative; height:500px; }
  .court { position:absolute; left:-30px; top:40px; width:400px; height:auto; }
  .frame { position:absolute; left:120px; right:0; top:0; bottom:10px; border-radius:24px; overflow:hidden; border:8px solid #fff; box-shadow:0 20px 50px rgba(27,43,75,.2); background:var(--tint); }
  .frame img { width:100%; height:100%; object-fit:cover; object-position:50% 20%; display:block; }
  .badge { position:absolute; background:#fff; border-radius:14px; box-shadow:0 12px 30px rgba(27,43,75,.18); padding:12px 14px; display:flex; gap:10px; align-items:center; font-size:14px; line-height:1.4; animation:float 5s ease-in-out infinite; }
  .badge .bi { flex:0 0 38px; height:38px; border-radius:10px; background:var(--tint); display:flex; align-items:center; justify-content:center; }
  .badge .bi svg { width:20px; height:20px; }
  .badge b { color:var(--navy); white-space:nowrap; }
  .b1 { left:0; bottom:40px; }
  .b2 { right:-14px; top:210px; animation-delay:-2.5s; }
  @keyframes float { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-8px); } }

  /* выгоды плитками */
  .tiles { position:relative; margin-top:-96px; z-index:2; }
  .tiles .row { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
  .tile { background:#fff; border-radius:18px; box-shadow:0 14px 36px rgba(27,43,75,.12); padding:26px; display:flex; gap:16px; align-items:flex-start; }
  .tile .ti { flex:0 0 52px; width:52px; height:52px; border-radius:14px; background:var(--tint); display:flex; align-items:center; justify-content:center; }
  .tile .ti svg { width:28px; height:28px; }
  .tile .big { font-size:30px; font-weight:700; color:var(--navy); line-height:1.1; margin-bottom:8px; }
  .tile p { font-size:17px; }

  /* блок 2 */
  section.pains { background:var(--navy); color:#fff; padding:96px 0; margin-top:80px; position:relative; overflow:hidden; }
  .pains .deco { position:absolute; border-radius:50%; border:2px solid rgba(255,255,255,.06); }
  .pains .d1 { width:520px; height:520px; right:-160px; top:-220px; }
  .pains .d2 { width:320px; height:320px; left:-120px; bottom:-160px; }
  .pains h2 { color:#fff; position:relative; }
  .pcards { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; margin-bottom:36px; position:relative; }
  .pcard { background:#fff; color:var(--text); border-radius:18px; padding:26px 22px; position:relative; font-size:17px; }
  .pcard .num { position:absolute; top:18px; right:20px; font-size:15px; font-weight:700; color:var(--muted); }
  .pcard svg { width:72px; height:72px; margin-bottom:16px; display:block; }
  .callout { display:flex; gap:24px; align-items:center; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.16); border-left:4px solid var(--tint2); border-radius:14px; padding:22px 26px; position:relative; }
  .callout svg { flex:0 0 96px; height:64px; }
  .callout p { font-size:20px; line-height:1.5; max-width:780px; }

  /* блок 3 */
  section.check { padding:96px 0; }
  .check .grid { display:grid; grid-template-columns:1.15fr .85fr; gap:40px; align-items:start; }
  .check .intro { font-size:20px; line-height:1.5; margin:-12px 0 26px; max-width:none; }
  .check h3 { font-size:20px; line-height:1.3; color:var(--navy); margin-bottom:14px; }
  .clist { list-style:none; display:grid; gap:14px; }
  .clist li { display:flex; gap:14px; align-items:flex-start; background:var(--bg); border-radius:14px; padding:16px 18px; font-size:17px; }
  .clist .ci { flex:0 0 40px; height:40px; border-radius:12px; background:#fff; display:flex; align-items:center; justify-content:center; }
  .clist .ci svg { width:22px; height:22px; }
  .clist b { color:var(--navy); }
  .result { background:#fff; border-radius:20px; box-shadow:0 16px 40px rgba(27,43,75,.13); padding:30px; position:sticky; top:96px; border-top:5px solid var(--navy); }
  .result ul { list-style:none; margin-bottom:20px; }
  .result li { padding-left:32px; position:relative; margin-bottom:12px; font-size:17px; }
  .result li::before { content:""; position:absolute; left:0; top:3px; width:20px; height:20px; border-radius:50%; background:var(--navy); }
  .result li::after { content:""; position:absolute; left:7px; top:7px; width:5px; height:9px; border:solid #fff; border-width:0 2px 2px 0; transform:rotate(45deg); }
  .result .honest { background:var(--bg); border-radius:12px; padding:14px 16px; font-size:17px; margin-bottom:22px; }
  .result .btn { width:100%; justify-content:center; }

  /* общие для блоков 4-13 */
  .sec { padding:96px 0; }
  .debt .ico-box { flex:0 0 44px; width:44px; height:44px; border-radius:12px; }
  .debt .ico-box svg { width:24px; height:24px; }
  .sec.alt { background:var(--bg); }
  .sec.dark { background:var(--navy); color:#fff; position:relative; overflow:hidden; }
  .sec.dark h2 { color:#fff; }
  .center { text-align:center; margin-top:36px; }
  
  .ico-box { flex:0 0 52px; width:52px; height:52px; border-radius:14px; background:var(--tint); display:flex; align-items:center; justify-content:center; }
  .ico-box svg { width:28px; height:28px; }

  /* блок 4 */
  .debts { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; margin-bottom:28px; }
  .debt { background:#fff; border-radius:16px; padding:14px 18px; display:flex; flex-direction:row; align-items:center; gap:14px; font-size:20px; line-height:1.3; font-weight:700; color:var(--navy); box-shadow:0 8px 24px rgba(27,43,75,.06); }
  .debts-note { font-size:17px; margin-bottom:18px; }
  .chips { display:flex; flex-wrap:wrap; gap:12px; list-style:none; }
  .chips li { display:flex; align-items:center; gap:10px; background:#fff; border-radius:40px; padding:10px 18px 10px 12px; font-size:17px; }
  .chips li::before { content:""; flex:0 0 22px; height:22px; border-radius:50%; background:var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6.5 11.5l3 3 6-6.5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/22px no-repeat; }

  /* блок 5 */
  .steps { display:grid; grid-template-columns:repeat(5,1fr); gap:18px; list-style:none; position:relative; margin-bottom:28px; }
  .steps::before { content:""; position:absolute; left:28px; right:28px; top:27px; height:2px; background:var(--tint2); }
  .step { position:relative; }
  .step .n { width:56px; height:56px; border-radius:50%; background:var(--navy); color:#fff; font-weight:700; font-size:22px; display:flex; align-items:center; justify-content:center; margin-bottom:16px; border:6px solid #fff; box-sizing:content-box; position:relative; left:-6px; }
  .step b { display:block; color:var(--navy); font-size:20px; line-height:1.3; margin-bottom:6px; }
  .step p { font-size:17px; color:var(--text); }
  .report { display:flex; align-items:center; gap:14px; background:var(--bg); border-radius:14px; padding:16px 20px; font-size:17px; font-weight:700; color:var(--navy); margin-bottom:20px; }
  .who { display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-bottom:14px; }
  .who > div { border-radius:18px; padding:24px 26px; font-size:17px; }
  .who .you { background:var(--bg); }
  .who .me { background:var(--navy); color:#fff; }
  .who h3 { font-size:20px; line-height:1.3; margin-bottom:8px; }
  .who .me h3 { color:#fff; } .who .you h3 { color:var(--navy); }
  .small-note { font-size:14px; line-height:1.6; color:var(--muted); }

  /* блок 6 */
  .prices { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-bottom:30px; }
  .price { background:#fff; border-radius:20px; padding:28px 26px; box-shadow:0 12px 32px rgba(27,43,75,.08); display:flex; flex-direction:column; }
  .price h3 { font-size:20px; line-height:1.3; color:var(--navy); margin-bottom:6px; }
  .price .sum { font-size:30px; font-weight:700; color:var(--navy); margin-bottom:14px; }
  .price .incl { display:flex; gap:10px; font-size:17px; margin-bottom:14px; }
  .plus li::before { position:absolute; left:0; top:2px; width:20px; }
  .price .incl::before, .plus li::before { content:""; flex:0 0 20px; height:20px; margin-top:2px; border-radius:50%; background:#e3f1e6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%231d6b33' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }
  .price .pct { margin-top:auto; font-size:14px; line-height:1.6; color:var(--muted); border-top:1px solid var(--tint); padding-top:14px; }
  .price-more { display:grid; grid-template-columns:1.2fr .8fr; gap:20px; }
  .price-more > div { background:#fff; border-radius:18px; padding:24px 26px; min-width:0; overflow-wrap:break-word; }
  .price-more h3 { font-size:20px; line-height:1.3; color:var(--navy); margin-bottom:12px; }
  .plus, .minus { list-style:none; display:grid; gap:10px; font-size:17px; }
  .plus li, .minus li { position:relative; padding-left:30px; }
  .minus li::before { content:""; position:absolute; left:6px; top:9px; width:8px; height:8px; border-radius:50%; background:var(--muted); }
  .mail-note { font-size:14px; line-height:1.6; color:var(--muted); margin-bottom:12px; }

  /* блок 7 */
  .guar { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-bottom:22px; }
  .g { background:var(--bg); border-radius:18px; padding:26px 22px; font-size:17px; position:relative; }
  .g .gn { font-size:20px; font-weight:700; color:var(--navy); line-height:1.3; margin-bottom:12px; }
  .honest-line { display:flex; gap:14px; align-items:center; border:2px solid var(--tint); border-radius:14px; padding:16px 20px; font-size:17px; }
  .honest-line svg { flex:0 0 32px; height:32px; }

  /* блок 8 */
  .cases { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; position:relative; }
  .case { background:#fff; color:var(--text); border-radius:20px; padding:30px; }
  .case h3 { font-size:20px; line-height:1.3; color:var(--navy); margin-bottom:18px; }
  .case .rows { display:grid; gap:12px; }
  .case p { font-size:17px; }
  .case p b { color:var(--navy); white-space:nowrap; }
  .case .res { background:var(--bg); border-radius:12px; padding:12px 14px; border-left:4px solid var(--navy); }
  .sec.dark .center .btn { box-shadow:none; }

  /* блок 9 */
  .about { display:grid; grid-template-columns:.8fr 1.2fr; gap:48px; align-items:start; }
  .portrait { border-radius:24px; overflow:hidden; border:8px solid #fff; box-shadow:0 20px 50px rgba(27,43,75,.18); background:var(--tint); position:sticky; top:100px; }
  .portrait img { width:100%; height:auto; display:block; aspect-ratio:3/4; object-fit:cover; object-position:50% 25%; }
  .about .name { font-size:20px; line-height:1.3; font-weight:700; color:var(--navy); margin:-14px 0 14px; }
  .facts { list-style:none; display:grid; gap:10px; margin-bottom:22px; }
  .facts li { display:flex; gap:10px; align-items:center; font-size:17px; }
  .facts li::before { content:""; flex:0 0 10px; height:10px; border-radius:50%; background:var(--navy); }
  .quote { position:relative; background:var(--bg); border-radius:18px; padding:26px 28px 26px 70px; font-size:17px; margin-bottom:22px; }
  .quote::before { content:"«"; position:absolute; left:22px; top:6px; font-size:64px; color:var(--navy); line-height:1; font-weight:700; }
  .about .btn svg { width:20px; height:20px; }

  /* блок 10 */
  .lead { display:grid; grid-template-columns:.8fr 1.2fr; gap:48px; align-items:center; }
  .cover { position:relative; height:360px; }
  .cover .sheet { position:absolute; width:230px; height:310px; border-radius:14px; background:#fff; box-shadow:0 18px 40px rgba(27,43,75,.16); padding:26px 22px; }
  .cover .s1 { left:20px; top:30px; transform:rotate(-6deg); }
  .cover .s2 { left:110px; top:10px; transform:rotate(4deg); background:var(--navy); }
  .cover .s2 .bar { background:rgba(255,255,255,.25); }
  .cover .bar { height:10px; border-radius:5px; background:var(--tint); margin-bottom:12px; }
  .cover .tag { display:inline-block; background:#fff; color:var(--navy); font-weight:700; font-size:14px; border-radius:6px; padding:3px 10px; margin-bottom:18px; }
  .cover .route { display:flex; align-items:center; gap:10px; margin-bottom:16px; }
  .cover .route i { flex:0 0 26px; height:26px; border-radius:50%; background:rgba(255,255,255,.18); display:flex; align-items:center; justify-content:center; color:#fff; font-style:normal; font-weight:700; font-size:13px; }
  .cover .route span { flex:1; height:8px; border-radius:4px; background:rgba(255,255,255,.25); }

  /* формы */
  .form { display:grid; gap:16px; }
  .field label, .field .lbl { display:block; font-size:14px; line-height:1.6; font-weight:700; color:var(--navy); margin-bottom:6px; }
  .field input[type=text], .field input[type=tel], .field textarea { width:100%; font:inherit; font-size:17px; border:2px solid #7486ad; border-radius:12px; padding:13px 14px; background:#fff; color:var(--text); }
  .field textarea { min-height:96px; resize:vertical; }
  .field input:focus, .field textarea:focus { outline:none; border-color:var(--navy); }
  .field .err { display:none; color:#b3261e; font-size:14px; line-height:1.6; margin-top:6px; }
  .field.bad .err { display:block; }
  .field.bad input, .field.bad textarea { border-color:#b3261e; }
  .drop { border:2px dashed #7486ad; border-radius:14px; padding:20px; text-align:center; background:#fff; cursor:pointer; position:relative; }
  .diplom { display:inline-flex; align-items:center; gap:12px; color:var(--navy); text-decoration:underline; text-underline-offset:3px; }
  .diplom img { width:64px; height:auto; border-radius:4px; border:1px solid var(--tint2); box-shadow:0 2px 8px rgba(27,43,75,.12); }
  .lightbox { position:fixed; inset:0; z-index:1000; display:flex; align-items:center; justify-content:center; padding:56px 16px 16px; background:rgba(15,23,42,.86); cursor:zoom-out; }
  .lightbox[hidden] { display:none; }
  .lightbox img { display:block; max-width:min(1100px, 100%); max-height:calc(100vh - 80px); width:auto; height:auto; border-radius:8px; background:#fff; box-shadow:0 20px 60px rgba(0,0,0,.45); cursor:default; }
  .lb-close { position:absolute; top:12px; right:12px; width:44px; height:44px; border:0; border-radius:50%; background:#fff; color:var(--navy); font-size:28px; line-height:44px; text-align:center; cursor:pointer; }
  .lb-close:focus-visible { outline:3px solid var(--navy); outline-offset:2px; }
  .drop:hover { border-color:var(--navy); }
  .drop input { position:absolute; inset:0; opacity:0; cursor:pointer; }
  .field label.drop { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:10px; }
  .drop svg { flex:0 0 26px; width:26px; height:26px; margin:0; }
  .drop .files:empty { display:none; }
  .drop .files { display:block; flex-basis:100%; font-size:14px; color:var(--navy); margin-top:0; font-weight:400; }
  .hint { font-size:14px; line-height:1.6; color:var(--muted); margin-top:6px; }
  .field label.check { display:flex; gap:10px; align-items:flex-start; font-size:14px; line-height:1.6; font-weight:400; color:var(--text); margin:0; }
  label.check input { width:20px; height:20px; margin-top:2px; accent-color:var(--navy); flex:0 0 20px; }
  label.check a, .fine a { color:var(--navy); }
  .fine { font-size:14px; line-height:1.6; color:var(--muted); }
  .form .btn { justify-content:center; }
  .hp { position:absolute; left:-9999px; width:1px; height:1px; opacity:0; }
  form.sending button[type=submit] { opacity:.6; pointer-events:none; }
  form.failed .send-err { display:block; margin-top:12px; }
  .send-err { display:none; background:#fdecea; color:#8c1d18; border-radius:10px; padding:12px 14px; font-size:14px; line-height:1.6; }

  /* блок 11 */
  .faq { max-width:900px; margin:0 auto; display:grid; gap:12px; }
  #voprosy h2 { text-align:center; }
  .faq details { background:var(--bg); border-radius:16px; padding:0 24px; }
  .faq summary { list-style:none; cursor:pointer; padding:20px 40px 20px 0; font-size:20px; line-height:1.3; font-weight:700; color:var(--navy); position:relative; }
  .faq summary::-webkit-details-marker { display:none; }
  .faq summary::after { content:"+"; position:absolute; right:0; top:14px; font-size:28px; color:var(--navy); font-weight:400; }
  .faq details[open] summary::after { content:"−"; }
  .faq details p { padding:0 0 20px; font-size:17px; }

  /* блок 12 */
  .cta-grid { display:grid; grid-template-columns:1.3fr .7fr; gap:40px; align-items:start; }
  .form-card { background:#fff; border-radius:22px; padding:32px; box-shadow:0 16px 40px rgba(27,43,75,.12); border-top:5px solid var(--navy); }
  .side { display:grid; gap:14px; }
  .side div { display:flex; gap:14px; align-items:center; background:#fff; border-radius:16px; padding:18px; font-size:17px; font-weight:700; color:var(--navy); }
  .cta-sub { font-size:20px; line-height:1.5; margin:-14px 0 28px; max-width:700px; }

  /* блок 13 */
  .contacts-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-bottom:24px; }
  .ccard { background:var(--bg); border-radius:18px; padding:24px; }
  .ccard .k { font-size:14px; line-height:1.6; color:var(--muted); margin-bottom:4px; }
  .ccard .v { font-size:20px; font-weight:700; color:var(--navy); text-decoration:none; word-break:break-word; }
  .cbtns { display:flex; gap:14px; flex-wrap:wrap; }
  .btn.wa-b { background:var(--navy); box-shadow:none; } .btn.wa-b:hover { background:#2a3d63; }
  .btn.tg-b { background:var(--navy); box-shadow:none; } .btn.tg-b:hover { background:#2a3d63; }

  /* подвал */
  footer { background:#131f37; color:#c9d3e6; padding:48px 0 30px; font-size:14px; line-height:1.6; }
  .fgrid { display:grid; grid-template-columns:1.2fr 1fr 1fr; gap:30px; margin-bottom:28px; }
  footer b { color:#fff; display:block; font-size:17px; margin-bottom:6px; }
  .fnav { display:flex; flex-direction:column; gap:8px; }
  footer a { color:#c9d3e6; text-decoration:none; }
  footer a:hover { color:#fff; }
  .fbottom { border-top:1px solid rgba(255,255,255,.12); padding-top:20px; display:flex; justify-content:space-between; gap:20px; flex-wrap:wrap; font-size:14px; }

  /* страницы «Спасибо» */
  .thanks { min-height:70vh; background:var(--bg); }
  .ok-mark svg { width:64px; height:64px; margin-bottom:18px; }
  .thanks h1 { margin-bottom:16px; }
  .thanks .cta-sub { margin:0 0 30px; }
  .thanks .steps { grid-template-columns:1fr; gap:18px; }
  .thanks .steps::before { left:27px; right:auto; top:28px; bottom:28px; width:2px; height:auto; }
  .thanks .step { display:grid; grid-template-columns:56px 1fr; column-gap:18px; align-items:center; }
  .thanks .step .n { grid-row:span 2; margin:0; }
  .promo { background:var(--navy); color:#fff; border-radius:20px; padding:28px; display:flex; gap:24px; align-items:center; justify-content:space-between; flex-wrap:wrap; }
  .promo p { font-size:20px; line-height:1.5; max-width:520px; }

  /* анимация при прокрутке */
  .js .reveal { opacity:0; transform:translateY(28px); transition:opacity .7s ease, transform .7s ease; }
  .js .reveal.in { opacity:1; transform:none; }
  .js .d-1 { transition-delay:.12s; } .js .d-2 { transition-delay:.24s; } .js .d-3 { transition-delay:.36s; }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior:auto; }
    .badge { animation:none; }
    .js .reveal { opacity:1; transform:none; transition:none; }
  }

  /* планшет */
  @media (max-width: 1180px) {
    nav { display:none; }
    .pcards { grid-template-columns:repeat(2,1fr); }
    .tile { flex-direction:column; gap:12px; }
  }
  @media (max-width: 1180px) {
    .debts { grid-template-columns:repeat(2,1fr); }
    .guar { grid-template-columns:repeat(3,1fr); }
  }
  @media (max-width: 1000px) {
    .steps { grid-template-columns:1fr; gap:22px; }
    .steps::before { left:27px; right:auto; top:28px; bottom:28px; width:2px; height:auto; }
    .step { display:grid; grid-template-columns:56px 1fr; column-gap:18px; }
    .step .n { grid-row:span 2; margin:0; left:-6px; }
    .prices, .price-more, .cases, .about, .lead, .cta-grid { grid-template-columns:1fr; }
    .portrait { position:static; max-width:380px; }
    .cover { max-width:380px; }
    .fgrid { grid-template-columns:1fr; gap:20px; }
  }
  @media (max-width: 900px) {
    .tiles .row { grid-template-columns:1fr; gap:14px; }
  }
  /* планшет: первый экран в одну колонку */
  @media (max-width: 1000px) {
    .hero .grid { grid-template-columns:1fr; gap:28px; }
    .visual { height:380px; order:-1; }
    .court { display:none; }
    .frame { left:0; right:0; }
    .frame img { object-position:50% 18%; }
    .b1 { left:-8px; right:auto; bottom:76px; } .b2 { left:-8px; right:auto; top:auto; bottom:18px; }
  }
  /* телефон */
  @media (max-width: 760px) {
    .topbar, .hdr .btn, .brand span { display:none; }
    .hdr .msgs { display:flex; }
    .hdr { padding:10px 16px; gap:10px; }
    .mono { flex-basis:38px; height:38px; font-size:14px; }
    .brand b { font-size:16px; }
    .msg { flex-basis:34px; height:34px; }
    h1 { font-size:30px; }
    h2 { font-size:25px; margin-bottom:24px; }
    .hero { padding:20px 0 72px; }
    .hero .grid { grid-template-columns:1fr; gap:22px; }
    .visual { height:280px; order:-1; }
    .court { display:none; }
    .frame { left:0; right:0; }
    .frame img { object-position:50% 20%; }
    .badge { font-size:13px; padding:9px 10px; }
    .badge .bi { flex-basis:30px; height:30px; }
    .b1 { left:-6px; right:auto; bottom:62px; } .b2 { left:-6px; right:auto; top:auto; bottom:10px; }
    .sub, .check .intro, .callout p, .cta-sub, .promo p { font-size:18px; }
    .check h3, .who h3, .price h3, .price-more h3, .case h3, .about .name, .faq summary, .step b, .g .gn, .debt, .ccard .v { font-size:18px; }
    .btn { display:flex; justify-content:center; font-size:16px; padding:18px 20px; }
    .tiles { margin-top:-40px; }
    .tiles .row, .pcards { grid-template-columns:1fr; gap:14px; }
    .tile .big { font-size:26px; }
    section.pains { padding:56px 0; margin-top:52px; }
    .callout { flex-direction:column; align-items:flex-start; }
    section.check { padding:56px 0; }
    .check .grid { grid-template-columns:1fr; }
    .result { position:static; padding:24px; }
    .result .btn { text-align:center; }
    .sec { padding:56px 0; }
    .debts, .guar, .contacts-grid, .who { grid-template-columns:1fr; gap:14px; }
    .debt { flex-direction:row; align-items:center; padding:18px; }
    .price .sum { font-size:26px; }
    .form-card { padding:22px 18px; }
    .price-more > div { padding:20px 16px; }
    .price { padding:24px 20px; }
    .quote { padding:22px 20px 22px 56px; }
    .quote::before { left:16px; font-size:54px; }
    .cover { height:300px; transform:scale(.85); transform-origin:left top; }
    .faq details { padding:0 18px; }
    .cbtns .btn { flex:1 1 100%; }
    .center .btn { width:100%; }
    .honest-line { align-items:flex-start; }
  }
  /* длинные строки не на всю ширину блока (модуль 10, проверка 3) */
  .check .intro, #garantii p { max-width:780px; }
  /* очень узкий экран (300-340 px): шапка помещается без прокрутки вбок */
  @media (max-width: 340px) {
    .hdr { padding:10px 10px; gap:6px; }
    .brand b { font-size:14px; }
    .hdr .msgs { gap:5px; }
    .msg { flex-basis:30px; height:30px; }
    .mono { flex-basis:34px; height:34px; font-size:13px; }
    .brand { gap:8px; }
    .cover .sheet.s2 { left:64px; }
  }
  /* узкий телефон: номер в строке «Документы не приложили?» на странице «Спасибо» переносится */
  @media (max-width: 360px) {
    .report .nw { white-space:normal; }
  }
  /* узкий телефон: обложка разбора не выходит за край */
  @media (max-width: 400px) {
    .cover { height:300px; }
    .cover .sheet { width:190px; height:256px; padding:22px 18px; }
    .cover .s2 { left:80px; }
  }
  /* планшет и телефон: плашки на фото стопкой, без наложения при любой ширине текста (в Safari на iPhone налезали, 30.11.2026) */
  @media (max-width: 1000px) {
    .visual { display:flex; flex-direction:column; justify-content:flex-end; align-items:flex-start; gap:8px; padding-bottom:18px; }
    .badge, .b1, .b2 { position:relative; left:-8px; right:auto; top:auto; bottom:auto; max-width:calc(100% + 8px); }
    .badge b { white-space:normal; }
  }
  @media (max-width: 760px) {
    .visual { padding-bottom:10px; }
    .badge, .b1, .b2 { left:-6px; max-width:calc(100% + 6px); }
  }
  /* страница не шире экрана: в Safari на iPhone она расширялась вбок и шапка уходила за край (30.11.2026) */
  html, body { overflow-x:clip; }

/* cookie banner (01.12.2026) */
.ck-banner { position:fixed; left:16px; right:16px; bottom:16px; z-index:1000; display:flex; justify-content:center; pointer-events:none; }
.ck-inner { pointer-events:auto; max-width:760px; width:100%; background:#fff; color:var(--text); border:1px solid var(--tint); border-radius:14px; box-shadow:0 12px 32px rgba(19,31,55,.22); padding:18px 20px; display:flex; gap:18px; align-items:center; }
.ck-text { margin:0; font-size:14px; line-height:1.5; flex:1 1 auto; }
.ck-text a { color:var(--navy); text-decoration:underline; }
.ck-buttons { display:flex; flex-direction:column; gap:8px; flex:0 0 auto; }
.ck-btn { font:inherit; font-size:15px; font-weight:700; border-radius:10px; padding:10px 18px; cursor:pointer; border:1px solid var(--navy); white-space:nowrap; }
.ck-yes { background:var(--navy); color:#fff; }
.ck-yes:hover { background:#2a3d63; }
.ck-no { background:#fff; color:var(--navy); }
.ck-no:hover { background:var(--bg); }
@media (max-width:640px) {
  .ck-banner { left:8px; right:8px; bottom:8px; }
  .ck-inner { flex-direction:column; align-items:stretch; padding:14px 16px; gap:12px; }
  .ck-buttons { flex-direction:row; }
  .ck-btn { flex:1 1 50%; }
}
