  /* Situation-first criminal-defence site: the hero answers "что случилось?", then the case as an interactive timeline, then trust, money, prep and contacts.
     One committed light look: ice-grey ground, navy ink, amber for urgency. */
  :root {
    --bg: #f4f6f9; --white: #ffffff; --navy: #10223d; --navy-2: #1b3358; --navy-3: #26426e;
    --muted: #5e6b7e; --line: #dbe1ea; --chip: #e3e9f2; --amber: #f2a541; --amber-d: #b8730f; --amber-l: #fdf0dc; --ok: #1d7a55; --no: #b5402c;
    --display: "Unbounded", system-ui, sans-serif; --ui: "Onest", system-ui, -apple-system, sans-serif;
    color-scheme: light;
  }
  * { box-sizing: border-box; }
  .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .skip { position: fixed; left: 12px; top: -80px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 0 0 12px 12px; font-weight: 600; }
  .skip:focus { top: 0; }
  main:focus { outline: none; }
  html { scroll-behavior: smooth; scroll-padding-top: var(--anchor-offset, 140px); }
  body { margin: 0; background: var(--bg); color: var(--navy); font: 400 17px/1.6 var(--ui); overflow-x: hidden; }
  @supports (overflow-x: clip) { body { overflow-x: clip; } }
  a { color: inherit; text-decoration: none; }
  .wrap { max-width: 1200px; margin: 0 auto; padding-inline: 24px; }
  h1, h2, h3 { font-family: var(--display); font-weight: 700; margin: 0; line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; }
  h2 { font-size: clamp(28px, 3.4vw, 42px); }
  .eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--amber-d); }
  button { font-family: inherit; }
  :focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

  /* ---------- top & header ---------- */
  .topbar { position: sticky; top: 0; z-index: 60; background: var(--amber); }
  .strip { background: var(--amber); font-size: 14px; font-weight: 600; padding-top: env(safe-area-inset-top, 0px); }
  .strip .wrap { display: flex; justify-content: space-between; gap: 12px; padding-block: 9px; flex-wrap: wrap; }
  .strip .ph { white-space: nowrap; }
  .strip .ph2::before { content: " · "; }
  .site-header { background: var(--white); border-bottom: 1px solid var(--line); position: relative; z-index: 40; }
  .nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
  .logo { font-family: var(--display); font-size: 17px; font-weight: 700; line-height: 1.15; }
  .logo small { display: block; font-family: var(--ui); font-weight: 500; font-size: 12.5px; color: var(--muted); }
  .menu { display: flex; gap: 20px; font-size: 14.5px; font-weight: 500; color: var(--muted); }
  .menu a:hover { color: var(--navy); }
  .acts { display: flex; gap: 8px; }
  .pill { height: 42px; padding: 0 16px; border-radius: 21px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; border: 1px solid var(--line); background: var(--white); color: var(--navy); cursor: pointer; white-space: nowrap; }
  .pill:hover { border-color: var(--navy); }
  .pill.dark { background: var(--navy); color: #fff; border-color: var(--navy); }
  .pill.dark:hover { background: var(--navy-2); }
  .pill.amber { background: var(--amber); color: var(--navy); border-color: var(--amber); }
  .pill.amber:hover { background: #f5b45f; }

  /* ---------- hero ---------- */
  .hero { padding: 56px 0 72px; }
  .hero-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 48px; align-items: start; }
  .tag { display: inline-flex; gap: 8px; align-items: center; font-size: 13.5px; font-weight: 600; background: var(--chip); padding: 6px 12px; border-radius: 6px; margin-bottom: 22px; }
  .tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
  .hero h1 { font-size: clamp(32px, 4.2vw, 54px); }
  .hero h1 span { color: var(--amber-d); }
  .hero .lead { color: var(--muted); font-size: 18.5px; margin: 22px 0 28px; max-width: 46ch; }
  .facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
  .facts div { padding: 18px 16px 0 0; }
  .facts b { font-family: var(--display); font-size: 26px; display: block; }
  .facts span { font-size: 14px; color: var(--muted); }
  .hero .cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }

  .help { background: var(--navy); color: #fff; border-radius: 22px; padding: 28px; box-shadow: 0 30px 60px -30px rgba(16,34,61,.6); }
  .help-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
  .help h2 { font-size: 22px; }
  .help-h span { font-size: 13.5px; color: #9fb0c8; }
  .sits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .sit { font: 500 14px/1.3 var(--ui); color: #d9e2ef; background: var(--navy-2); border: 1px solid transparent; border-radius: 12px; padding: 12px; text-align: left; cursor: pointer; min-height: 58px; transition: background .15s, border-color .15s; }
  .sit:hover { border-color: rgba(255,255,255,.3); }
  .sit[aria-pressed="true"] { background: var(--amber); color: var(--navy); font-weight: 700; }
  .answer { margin-top: 16px; background: var(--white); color: var(--navy); border-radius: 16px; padding: 22px; display: grid; gap: 16px; }
  .answer:empty { display: none; }
  .answer h3 { font-size: 18px; }
  .acols { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 18px; }
  .acols h4 { margin: 0 0 8px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
  .acols ol, .acols ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 15px; }
  .acols .no h4 { color: var(--no); }
  .acols .no ul { list-style: none; padding: 0; }
  .acols .no li { padding-left: 22px; position: relative; }
  .acols .no li::before { content: "✕"; position: absolute; left: 0; color: var(--no); font-weight: 700; }
  .law { background: var(--amber-l); border-radius: 12px; padding: 12px 14px; font-size: 15px; }
  .law b { color: var(--amber-d); }
  .abar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
  .copied { font-size: 13.5px; color: var(--ok); font-weight: 600; }
  .answer small { color: var(--muted); font-size: 12.5px; }
  .help-noscript { margin: 16px 0 0; color: #cfdcef; font-size: 15px; }
  .help-noscript a { text-decoration: underline; text-underline-offset: 3px; }

  /* ---------- trust band ---------- */
  .band { background: var(--white); border-block: 1px solid var(--line); }
  .band .wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .band div div { padding: 26px 20px 26px 0; display: grid; gap: 4px; }
  .band div div + div { border-left: 1px solid var(--line); padding-left: 20px; }
  .band b { font-size: 16px; }
  .band span { color: var(--muted); font-size: 14.5px; }

  section { padding: 88px 0; }
  .head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
  .head > div { display: grid; gap: 10px; }
  .head p { color: var(--muted); max-width: 46ch; margin: 0; }
  .white { background: var(--white); }

  /* ---------- timeline ---------- */
  .tl { display: grid; gap: 0; position: relative; max-width: 980px; }
  .tl::before { content: ""; position: absolute; left: 21px; top: 24px; bottom: 24px; width: 2px; background: var(--line); }
  .item { position: relative; }
  .st { all: unset; box-sizing: border-box; cursor: pointer; width: 100%; display: grid; grid-template-columns: 44px minmax(0, 1fr) 28px; gap: 18px; align-items: center; padding: 12px 0; }
  .st .dot { width: 44px; height: 44px; border-radius: 50%; background: var(--white); border: 2px solid var(--navy); display: grid; place-items: center; font-weight: 700; font-size: 15px; transition: .15s; position: relative; z-index: 1; }
  .st .nm { display: grid; gap: 2px; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .st b { font-family: var(--display); font-size: clamp(16px, 1.7vw, 19px); font-weight: 700; line-height: 1.25; }
  .st small { color: var(--muted); font-size: 14.5px; }
  .st .chev { width: 28px; height: 28px; border-radius: 50%; background: var(--chip); display: grid; place-items: center; font-weight: 700; color: var(--navy); transition: transform .2s, background .2s; }
  .st:hover .dot { border-color: var(--amber-d); }
  .st[aria-expanded="true"] .dot { background: var(--amber); border-color: var(--amber); }
  .st[aria-expanded="true"] .chev { transform: rotate(45deg); background: var(--amber); }
  .st[aria-expanded="true"] .nm { border-bottom-color: transparent; }
  .st:focus-visible .dot { outline: 3px solid var(--amber); outline-offset: 3px; }
  .stage { margin: 0 0 14px 62px; border: 1px solid var(--line); border-radius: 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: hidden; background: var(--white); box-shadow: 0 16px 34px -26px rgba(16,34,61,.45); animation: open .25s ease; }
  .stage[hidden], .sent[hidden], .cookie[hidden] { display: none; }
  @keyframes open { from { opacity: .3; transform: translateY(-6px); } }
  .stage > div { padding: 22px 24px; min-width: 0; }
  .stage > div + div { border-left: 1px solid var(--line); background: var(--amber-l); }
  .stage h4 { margin: 0 0 10px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
  .stage ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 15.5px; }
  @media (prefers-reduced-motion: reduce) { .stage { animation: none; } }

  /* ---------- compare ---------- */
  .cmp { background: var(--white); border: 1px solid var(--line); border-radius: 20px; overflow-x: auto; }
  .cmp table { width: 100%; border-collapse: collapse; min-width: 620px; }
  .cmp th, .cmp td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 15.5px; }
  .cmp th { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: #f8fafc; }
  .cmp th:last-child, .cmp td:last-child { background: var(--amber-l); }
  .cmp tbody th { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 15.5px; font-weight: 600; width: 24%; letter-spacing: 0; text-transform: none; color: var(--navy); background: transparent; }
  .cmp tr:last-child > * { border-bottom: 0; }

  /* ---------- areas ---------- */
  .areas { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; }
  .crim { background: var(--navy); color: #fff; border-radius: 20px; padding: 32px; display: grid; gap: 18px; align-content: start; }
  .crim h2 { font-size: 28px; }
  .crim p { color: #b9c6d8; margin: 0; }
  .crim ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .crim li { background: var(--navy-2); border-radius: 10px; padding: 10px 12px; font-size: 15px; }
  .others { display: grid; gap: 10px; align-content: start; }
  .others details { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; }
  .others summary { cursor: pointer; list-style: none; padding: 18px 0; display: flex; justify-content: space-between; gap: 12px; }
  .others summary b { font-family: var(--display); font-size: 17px; }
  .others summary span { color: var(--muted); font-size: 14px; }
  .others summary::after { content: "+"; color: var(--amber-d); font-size: 22px; line-height: 1; }
  .others details[open] summary::after { content: "–"; }
  .others ul { margin: 0 0 18px; padding-left: 18px; color: var(--muted); font-size: 15px; display: grid; gap: 4px; }

  /* ---------- about ---------- */
  .about { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
  .photo { aspect-ratio: 4 / 5; max-width: 100%; border-radius: 20px; background: linear-gradient(160deg, #26426e, #10223d); position: relative; overflow: hidden; display: grid; place-items: center; color: rgba(255,255,255,.55); font-size: 14px; }
  .photo::after { content: ""; position: absolute; inset: auto -30% -40% auto; width: 80%; aspect-ratio: 1; max-width: 100%; border-radius: 50%; background: rgba(242,165,65,.18); }
  .photo .cap { position: absolute; left: 20px; right: 20px; bottom: 20px; background: rgba(255,255,255,.95); color: var(--navy); border-radius: 14px; padding: 14px 16px; z-index: 1; }
  .photo .cap b { display: block; font-family: var(--display); font-size: 15px; }
  .photo .cap span { font-size: 13.5px; color: var(--muted); }
  .bio p { color: var(--muted); margin: 0 0 16px; }
  .bio blockquote { margin: 0 0 24px; font-family: var(--display); font-weight: 500; font-size: clamp(19px, 2vw, 24px); line-height: 1.35; border-left: 4px solid var(--amber); padding-left: 20px; }
  .kv { display: grid; border-top: 1px solid var(--line); margin-top: 8px; }
  .kv div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
  .kv span { color: var(--muted); }
  .kv b { font-weight: 600; }
  .sub-h { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin: 64px 0 20px; }
  .sub-h h3 { font-size: clamp(22px, 2.4vw, 28px); }
  .sub-h p { margin: 0; color: var(--muted); }
  .skills { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .skill { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 22px; border-top: 4px solid var(--amber); }
  .skill b { font-family: var(--display); font-size: 16px; display: block; margin-bottom: 8px; }
  .skill p { margin: 0; color: var(--muted); font-size: 15px; }
  .edu2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .cert2 { background: var(--navy); color: #fff; border-radius: 18px; padding: 26px; display: grid; gap: 10px; align-content: start; }
  .cert2 .eyebrow { color: var(--amber); }
  .cert2 b { font-family: var(--display); font-size: 18px; line-height: 1.3; }
  .cert2 p { margin: 0; color: #b9c6d8; font-size: 15px; }
  .princ { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .princ div { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
  .princ b { display: block; font-size: 16px; margin-bottom: 6px; }
  .princ span { color: var(--muted); font-size: 14.5px; }
  .card-data { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 6px 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
  .card-data div { display: grid; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .card-data span { color: var(--muted); font-size: 13.5px; }
  .card-data b { font-weight: 600; }
  .card-data .fill { color: var(--amber-d); border-bottom: 1px dashed var(--amber-d); width: fit-content; font-weight: 500; }
  .creds { display: grid; gap: 10px; }
  .cred { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: center; }
  .cred i { width: 40px; height: 40px; border-radius: 10px; background: var(--chip); display: grid; place-items: center; font-style: normal; font-weight: 700; }
  .cred b { display: block; font-size: 15.5px; }
  .cred span { color: var(--muted); font-size: 13.5px; }

  /* ---------- work & money ---------- */
  .steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
  .step { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 24px; counter-increment: s; }
  .step::before { content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; margin-bottom: 16px; }
  .step b { font-family: var(--display); font-size: 16px; display: block; margin-bottom: 6px; }
  .step p { margin: 0; color: var(--muted); font-size: 15px; }
  .money { margin-top: 16px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
  .money > div { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
  .money h3 { font-size: 18px; margin-bottom: 12px; }
  .money ul { margin: 0; padding-left: 18px; color: var(--muted); display: grid; gap: 6px; font-size: 15.5px; }
  .docnote { margin-top: 16px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
  .docnote h3 { font-size: clamp(18px, 2vw, 22px); margin: 6px 0 0; }
  .docnote p { margin: 8px 0 0; color: var(--muted); font-size: 15px; max-width: 85ch; }
  .docnote-act { display: grid; gap: 8px; justify-items: start; flex: none; }
  .docmeta { font-size: 13px; color: var(--muted); }

  /* ---------- prep checklist ---------- */
  .prep { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; align-items: start; }
  .prep p { color: var(--muted); }
  .checks { background: var(--bg); border-radius: 20px; padding: 10px 22px; display: grid; }
  .checks label { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); cursor: pointer; font-size: 16px; }
  .checks label:last-child { border-bottom: 0; }
  .checks input { width: 20px; height: 20px; accent-color: var(--navy); margin-top: 2px; flex: none; }
  .checks input:checked + span { color: var(--muted); text-decoration: line-through; }
  .progress { font-size: 14px; color: var(--muted); margin-top: 10px; }

  /* ---------- faq ---------- */
  .faq { display: grid; gap: 10px; max-width: 900px; }
  .faq details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 0 24px; }
  .faq summary { cursor: pointer; list-style: none; padding: 19px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
  .faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--amber-d); }
  .faq details[open] summary::after { content: "–"; }
  .faq p { margin: 0 0 20px; color: var(--muted); }

  /* ---------- contacts ---------- */
  .contact { background: var(--navy); color: #fff; border-radius: 24px; padding: 48px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
  .contact h2 { margin-bottom: 14px; }
  .contact > div > p { color: #b9c6d8; margin: 0 0 24px; }
  .clines { display: grid; gap: 8px; }
  .cl { background: var(--navy-2); border-radius: 14px; padding: 15px 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
  .cl span { color: #9fb0c8; font-size: 14px; }
  .cl b { font-weight: 600; user-select: all; }
  .cl button { background: transparent; border: 1px solid rgba(255,255,255,.3); color: #fff; border-radius: 16px; padding: 5px 12px; font-size: 13px; cursor: pointer; }
  .cl button:hover { border-color: #fff; }
  form { background: var(--white); color: var(--navy); border-radius: 18px; padding: 26px; display: grid; gap: 12px; align-content: start; }
  form h3 { font-size: 20px; }
  form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
  form input[type="text"], form input[type="tel"], form select, form textarea { font: inherit; font-weight: 400; color: var(--navy); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
  form textarea { min-height: 90px; resize: vertical; }
  .seg { display: flex; gap: 6px; flex-wrap: wrap; }
  .seg label { display: inline-flex; flex-direction: row; align-items: center; gap: 6px; font-weight: 500; background: var(--bg); border: 1px solid var(--line); border-radius: 18px; padding: 7px 12px; cursor: pointer; }
  .seg input { accent-color: var(--navy); }
  .agree { display: flex !important; flex-direction: row !important; gap: 10px !important; align-items: flex-start; font-weight: 400 !important; color: var(--muted); font-size: 13px !important; }
  .agree input { margin-top: 2px; accent-color: var(--navy); }
  form .pill { justify-content: center; height: 48px; }
  .sent { background: #e2f3ea; color: #135c3e; border-radius: 10px; padding: 12px 14px; font-size: 14.5px; }

  footer { padding: 40px 0 56px; font-size: 13.5px; color: var(--muted); }
  .fgrid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
  .fgrid b { display: block; color: var(--navy); margin-bottom: 8px; font-size: 14.5px; }
  .fgrid a { display: block; padding: 2px 0; }
  .fgrid a:hover { color: var(--navy); }

  .mbar { display: none; }

  @media (max-width: 1240px) { .menu { display: none; } }
  @media (max-width: 980px) {
    .hero-grid, .about, .contact, .prep, .areas, .money { grid-template-columns: minmax(0, 1fr); }
    .band .wrap { grid-template-columns: 1fr 1fr; }
    .band div div:nth-child(3) { border-left: 0; padding-left: 0; }
    .band div div:nth-child(n+3) { border-top: 1px solid var(--line); }
    .stage { grid-template-columns: minmax(0, 1fr); }
    .stage > div + div { border-left: 0; border-top: 1px solid var(--line); }
    .steps, .skills, .princ { grid-template-columns: 1fr 1fr; }
    .photo { max-width: 420px; }
  }
  @media (max-width: 640px) {
    .wrap { padding-inline: 16px; }
    .strip .wrap > span:last-child { display: none; }
    .acts .pill:not(.dark) { display: none; }
    .hero { padding: 36px 0 56px; }
    .sits { grid-template-columns: 1fr 1fr; }
    .stage { margin-left: 0; }
    .st { gap: 12px; }
    .help { padding: 18px; border-radius: 18px; }
    .answer { padding: 18px 16px; }
    .acols, .princ, .steps, .skills, .edu2, .card-data { grid-template-columns: minmax(0, 1fr); }
    .kv div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
    .crim ul { grid-template-columns: minmax(0, 1fr); }
    .crim, .contact { padding: 26px 18px; }
    .docnote { padding: 20px 18px; }
    .band .wrap { grid-template-columns: minmax(0, 1fr); }
    .band div div { border-left: 0 !important; padding-left: 0 !important; border-top: 1px solid var(--line); }
    .band div div:first-child { border-top: 0; }
    section { padding: 64px 0; }
    .fgrid { grid-template-columns: minmax(0, 1fr); }
    .cookie { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); padding: 0 10px; }
    .cookie-in { padding: 16px; }
    .cookie-act { width: 100%; }
    .cookie-btn { flex: 1; }
    .legal p, .legal li { font-size: 15.5px; }
    body { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
    .mbar { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--white); border-top: 1px solid var(--line); padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); }
    .mbar .pill { justify-content: center; height: 48px; padding: 0 10px; }
  }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

  /* ---------- multipage additions ---------- */
  .menu a { position: relative; padding: 6px 0; }
  .menu a[aria-current="page"] { color: var(--navy); font-weight: 700; }
  .menu a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; border-radius: 2px; background: var(--amber); }
  .burger { display: none; height: 44px; padding: 0 16px 0 12px; border-radius: 22px; border: 1.5px solid var(--navy); background: var(--white); color: var(--navy); cursor: pointer; align-items: center; gap: 10px; font: 700 15px var(--ui); }
  .burger:hover { background: var(--chip); }
  .burger .ico { display: block; width: 18px; height: 2px; background: var(--navy); position: relative; border-radius: 2px; }
  .burger .ico::before, .burger .ico::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; border-radius: 2px; background: var(--navy); transition: transform .2s; }
  .burger .ico::before { top: -6px; } .burger .ico::after { top: 6px; }
  .burger[aria-expanded="true"] { background: var(--navy); color: #fff; }
  .burger[aria-expanded="true"] .ico { background: transparent; }
  .burger[aria-expanded="true"] .ico::before { background: #fff; transform: translateY(6px) rotate(45deg); }
  .burger[aria-expanded="true"] .ico::after { background: #fff; transform: translateY(-6px) rotate(-45deg); }
  .mnav { display: none; }
  .mnav[hidden] { display: none !important; }

  .crumbs { font-size: 14px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
  .crumbs a:hover { color: var(--navy); text-decoration: underline; }
  .page-hero { background: var(--white); border-bottom: 1px solid var(--line); padding: 44px 0 48px; }
  .page-hero .wrap { display: grid; gap: 14px; }
  .page-hero h1 { font-size: clamp(30px, 4vw, 50px); max-width: 20ch; }
  .page-hero p { margin: 0; color: var(--muted); font-size: 18px; max-width: 60ch; }
  .page-hero .jump { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
  .page-hero .jump a { font-size: 14px; font-weight: 600; background: var(--chip); border-radius: 18px; padding: 7px 13px; }
  .page-hero .jump a:hover { background: var(--amber-l); }

  .tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .tile { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: grid; gap: 10px; align-content: start; transition: border-color .15s, transform .15s, box-shadow .15s; }
  .tile:hover { border-color: var(--navy); transform: translateY(-3px); box-shadow: 0 16px 30px -22px rgba(16,34,61,.5); }
  .tile .num { font-family: var(--display); font-size: 13px; color: var(--amber-d); }
  .tile b { font-family: var(--display); font-size: 19px; line-height: 1.25; }
  .tile p { margin: 0; color: var(--muted); font-size: 15px; }
  .tile .more { font-weight: 700; font-size: 15px; margin-top: 4px; }
  .tile .more::after { content: " →"; transition: margin .15s; }
  .tile:hover .more::after { margin-left: 4px; }
  .tile.dark { background: var(--navy); color: #fff; border-color: var(--navy); }
  .tile.dark p { color: #b9c6d8; }
  .tile.dark .num { color: var(--amber); }
  .tile.wide { grid-column: span 2; }

  .intro-about { display: grid; grid-template-columns: minmax(0, .55fr) minmax(0, 1.45fr); gap: 40px; align-items: center; }
  .intro-about .photo { aspect-ratio: 1; }
  .intro-about p { color: var(--muted); }

  .ctaband { background: var(--navy); color: #fff; border-radius: 24px; padding: 40px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
  .ctaband h2 { font-size: clamp(24px, 3vw, 34px); }
  .ctaband p { margin: 8px 0 0; color: #b9c6d8; }
  .ctaband .row { display: flex; gap: 8px; flex-wrap: wrap; }

  .sitcards { display: grid; gap: 16px; }
  .sitcard { background: var(--white); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
  .sitcard > header { position: static; background: var(--navy); color: #fff; border: 0; padding: 20px 24px; display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap; }
  .sitcard > header h2 { font-size: clamp(19px, 2vw, 24px); }
  .sitcard > header span { font-size: 13px; color: var(--amber); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
  .sitcard .answer { margin: 0; border-radius: 0; }
  .sitcard:target { outline: 3px solid var(--amber); outline-offset: 2px; }
  .side-nav { position: sticky; top: 96px; display: grid; gap: 4px; align-self: start; }
  .side-nav a { padding: 9px 12px; border-radius: 10px; font-size: 15px; color: var(--muted); }
  .side-nav a:hover { background: var(--white); color: var(--navy); }
  .with-side { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 32px; }

  .area-full { display: grid; gap: 16px; }
  .area-card { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 28px; }
  .area-card h3 { font-size: 24px; margin-bottom: 10px; }
  .area-card p { margin: 0; color: var(--muted); }
  .area-card ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; }

  .faq-groups { display: grid; gap: 40px; }
  .faq-groups h2 { font-size: 20px; margin-bottom: 14px; }

  @media (max-width: 1240px) {
      .burger { display: inline-flex; }
    .mnav { display: grid; gap: 0; background: var(--white); border-bottom: 1px solid var(--line); padding: 6px 16px 18px; box-shadow: 0 20px 30px -20px rgba(16,34,61,.35); max-height: calc(100vh - 205px); max-height: calc(100dvh - 205px); overflow-y: auto; }
    .mnav-h { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 10px 8px 6px; }
    .mnav > a:not(.pill) { display: flex; justify-content: space-between; align-items: center; padding: 14px 10px; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 17px; }
    .mnav > a:not(.pill)::after { content: "→"; color: var(--muted); }
    .mnav > a[aria-current="page"] { background: var(--amber-l); color: var(--amber-d); border-radius: 10px; border-bottom-color: transparent; }
    .mnav > a[aria-current="page"]::after { content: "вы здесь"; font-size: 12.5px; font-weight: 700; color: var(--amber-d); }
    .mnav .mcall { margin-top: 14px; justify-content: center; height: 50px; }
  }
  @media (max-width: 980px) {
    .tiles { grid-template-columns: 1fr 1fr; }
    .with-side { grid-template-columns: minmax(0, 1fr); }
    .side-nav { position: static; display: flex; flex-wrap: wrap; }
    .side-nav a { background: var(--white); border: 1px solid var(--line); font-size: 14px; }
    .intro-about, .area-card { grid-template-columns: minmax(0, 1fr); }
    .intro-about .photo { max-width: 260px; }
  }
  @media (max-width: 640px) {
    .tiles { grid-template-columns: minmax(0, 1fr); }
    .tile.wide { grid-column: auto; }
    .ctaband { padding: 26px 20px; }
    .page-hero { padding: 28px 0 32px; }
    .area-card { padding: 22px 18px; }
  }
  .pill .tube { width: 18px; height: 18px; fill: currentColor; flex: none; }
  .icall { width: 42px; padding: 0; justify-content: center; border-radius: 50%; }
  .icall .tube { width: 20px; height: 20px; }
  .icall:hover .tube { animation: ring .5s ease 2; }
  @keyframes ring { 0%,100% { transform: rotate(0); } 25% { transform: rotate(-14deg); } 75% { transform: rotate(14deg); } }
  @media (max-width: 640px) { .mbar { grid-template-columns: 56px 1fr 1fr; } .mbar .icall { width: 56px; height: 48px; border-radius: 14px; } .mbar .icall .tube { width: 24px; height: 24px; } }
  @media (prefers-reduced-motion: reduce) { .icall:hover .tube { animation: none; } }
  /* мессенджеры */
  .msg::before { content: ""; width: 9px; height: 9px; border-radius: 50%; flex: none; }
  .msg.tg::before, .msgbtn.tg i { background: #2aa3df; }
  .msg.wa::before, .msgbtn.wa i { background: #25c464; }
  .msg.mx::before, .msgbtn.mx i { background: linear-gradient(135deg, #3d7bff, #8a4dff); }
  .msgs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 4px; }
  .msgbtn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 8px 10px; border-radius: 14px; background: #fff; color: var(--navy); font-weight: 600; font-size: 14.5px; text-align: center; line-height: 1.2; }
  .msgbtn:hover { background: var(--amber-l); }
  .msgbtn i { width: 10px; height: 10px; border-radius: 50%; flex: none; }
  @media (max-width: 640px) {
    .mbar { grid-template-columns: 52px repeat(3, minmax(0, 1fr)); gap: 6px; padding-inline: 10px; }
    .mbar .icall { width: 52px; }
    .mbar .msg { font-size: 13.5px; padding: 0 6px; gap: 6px; }
    .msgs { grid-template-columns: minmax(0, 1fr); }
  }
  /* фото адвоката */
  .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
  .photo:has(img)::after { display: none; }
  .photo:has(img) { background: #d9c8a8; }
  .intro-about .photo img { object-position: 50% 40%; }
  /* контакты без формы */
  .callbox { display: grid; gap: 14px; align-content: start; }
  .callbox p { color: #b9c6d8; margin: 0; }
  .bigcall { display: flex; align-items: center; gap: 18px; background: var(--amber); color: var(--navy); border-radius: 20px; padding: 22px 24px; margin-top: 8px; transition: background .15s; }
  .bigcall:hover { background: #f5b45f; }
  .bigcall .tube { width: 34px; height: 34px; fill: currentColor; flex: none; }
  .bigcall:hover .tube { animation: ring .5s ease 2; }
  .bigcall small { display: block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
  .bigcall b { font-family: var(--display); font-size: clamp(20px, 2.6vw, 28px); user-select: all; }
  .msgside { background: var(--white); color: var(--navy); border-radius: 18px; padding: 26px; display: grid; gap: 16px; align-content: start; }
  .msgside h3 { font-size: 20px; }
  .msgs.big { grid-template-columns: minmax(0, 1fr); }
  .msgs.big .msgbtn { justify-content: flex-start; background: var(--bg); padding: 14px 16px; font-size: 16px; text-align: left; }
  .msgs.big .msgbtn:hover { background: var(--amber-l); }
  .msgs.big .msgbtn i { width: 12px; height: 12px; }
  .msgs.big .msgbtn small { display: block; font-weight: 500; font-size: 13.5px; color: var(--muted); }
  .clines.light .cl { background: var(--bg); }
  .clines.light .cl span { color: var(--muted); }
  .clines.light .cl button { color: var(--navy); border-color: var(--line); }
  .msgside .note { margin: 0; font-size: 13.5px; color: var(--muted); }
  .fgrid a { display: block; }
  /* категории, услуги, «своими словами», полезное */
  .cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .cat { background: var(--bg); border-radius: 16px; padding: 20px; display: grid; gap: 6px; align-content: start; }
  .cat .art { font-size: 12.5px; font-weight: 700; color: var(--amber-d); letter-spacing: .04em; }
  .cat b { font-family: var(--display); font-size: 15.5px; line-height: 1.3; }
  .cat p { margin: 0; color: var(--muted); font-size: 14.5px; }
  .svc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .svc > div { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 22px; border-left: 4px solid var(--navy); }
  .svc b { font-family: var(--display); font-size: 16px; display: block; margin-bottom: 8px; }
  .svc p { margin: 0; color: var(--muted); font-size: 15px; }
  .white .svc > div { background: var(--bg); border-color: transparent; border-left-color: var(--navy); }
  .own { margin-top: 64px; background: var(--navy); color: #fff; border-radius: 24px; padding: 36px; display: grid; gap: 22px; }
  .own .eyebrow { color: var(--amber); }
  .own-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px; }
  .own-lead { margin: 0; font-family: var(--display); font-weight: 500; font-size: clamp(18px, 2vw, 23px); line-height: 1.45; }
  .own-list { display: grid; gap: 16px; }
  .own-list b { display: block; margin-bottom: 4px; color: var(--amber); }
  .own-list p { margin: 0; color: #c9d3e1; font-size: 15.5px; }
  .own-sign { margin: 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.15); font-weight: 600; }
  .own-sign span { color: #9fb0c8; font-weight: 400; }
  .gloss { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
  .gloss div { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .gloss dt { font-family: var(--display); font-weight: 700; font-size: 16px; margin-bottom: 4px; }
  .gloss dd { margin: 0; color: var(--muted); font-size: 15.5px; }
  .links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .links a { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; display: grid; gap: 4px; transition: border-color .15s; }
  .links a:hover { border-color: var(--navy); }
  .links b { font-size: 17px; }
  .links b::after { content: " ↗"; color: var(--amber-d); }
  .links span { color: var(--muted); font-size: 15px; }
  .links i { font-style: normal; font-size: 13.5px; color: var(--amber-d); font-weight: 600; }
  @media (max-width: 980px) { .cats { grid-template-columns: 1fr 1fr; } .svc { grid-template-columns: 1fr 1fr; } .own-grid { grid-template-columns: minmax(0, 1fr); } }
  @media (max-width: 640px) { .cats, .svc, .gloss, .links { grid-template-columns: minmax(0, 1fr); } .own { padding: 24px 18px; } }
  .ya { font-weight: 600; font-size: 15px; color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
  /* вопросы: текст строго слева в любом браузере */
  .faq details { text-align: left; }
  .faq summary { display: grid !important; grid-template-columns: minmax(0, 1fr) 28px; gap: 16px; align-items: start; text-align: left; justify-content: initial; }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary::marker { content: ""; }
  .faq summary::after { content: none !important; }
  .faq summary .q { display: block; text-align: left; justify-self: start; }
  .faq summary .pm { width: 28px; height: 28px; border-radius: 50%; background: var(--chip); position: relative; justify-self: end; }
  .faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 8px; right: 8px; top: 13px; height: 2px; background: var(--amber-d); border-radius: 1px; transition: transform .2s; }
  .faq summary .pm::after { transform: rotate(90deg); }
  .faq details[open] summary .pm { background: var(--amber-l); }
  .faq details[open] summary .pm::after { transform: rotate(0); }
  .certlink { justify-self: start; margin-top: 4px; font-weight: 700; font-size: 14.5px; color: var(--amber); text-decoration: underline; text-underline-offset: 3px; }
  /* окно «Позвонить»: нативный <dialog> даёт focus trap и инертный фон */
  .calldlg { border: 0; padding: 0; margin: 0; width: 100%; height: 100%; max-width: 100%; max-height: 100%; background: transparent; overflow: visible; }
  .calldlg[open] { display: grid; place-items: center; padding: 16px; }
  .calldlg::backdrop { background: rgba(10,16,26,.55); }
  .calldlg-box { position: relative; width: min(420px, 100%); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; background: var(--white); color: var(--navy); border-radius: 22px; padding: 28px 24px 24px; display: grid; gap: 12px; text-align: center; box-shadow: 0 30px 60px -20px rgba(0,0,0,.45); }
  .calldlg-x { position: absolute; top: 8px; right: 10px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--chip); color: var(--navy); font-size: 22px; line-height: 1; cursor: pointer; }
  .calldlg-x:focus-visible { outline-color: var(--navy); }
  .calldlg-k { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
  .calldlg-num { font-family: var(--display); font-weight: 700; font-size: clamp(24px, 6vw, 30px); user-select: all; }
  .calldlg-hint { margin: 0; color: var(--muted); font-size: 14.5px; }
  .calldlg-row { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
  .calldlg-row .pill { height: 46px; }
  .calldlg-line { display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; padding: 8px 0; }
  .calldlg-line + .calldlg-line { border-top: 1px solid var(--line); }
  /* ссылка «Проверить в реестре» и подсказка */
  .regcheck { display: inline-block; font-size: 13.5px; font-weight: 600; color: var(--amber-d); text-decoration: underline; text-underline-offset: 3px; }
  .card-data .regcheck { display: block; margin-top: 4px; }
  .band .regcheck { margin-top: 2px; }
  footer .regcheck { display: inline; }
  .legal-links { display: flex; gap: 6px 14px; flex-wrap: wrap; margin-bottom: 10px; }
  .legal-links a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
  /* cookie-баннер */
  .cookie { position: fixed; left: 0; right: 0; bottom: calc(84px + env(safe-area-inset-bottom, 0px)); z-index: 100; width: auto; max-width: none; padding: 0 16px; }
  .cookie[hidden] { display: none; }
  .cookie-in { max-width: 1120px; margin: 0 auto; background: #fffdf9 !important; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 50px -24px rgba(16,34,61,.5); padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
  .cookie p { margin: 0; max-width: 72ch; font-size: 14.5px; color: var(--muted); }
  .cookie p a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
  .cookie-act { display: flex; gap: 8px; flex-wrap: wrap; }
  .cookie-btn { height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--navy); font: 600 14px/1 var(--ui); cursor: pointer; }
  .cookie-btn.primary { background: var(--navy); border-color: var(--navy); color: #fff; }
  .cookie-btn:focus-visible { outline: 2px solid var(--amber-d); outline-offset: 2px; }
  /* юридическая страница */
  .legal { max-width: 900px; }
  .legal-date { margin: 0 0 18px; font-size: 13.5px; color: var(--muted); }
  .legal h2 { margin: 28px 0 10px; font-size: clamp(20px, 2.2vw, 28px); }
  .legal p, .legal li { color: var(--muted); font-size: 16px; line-height: 1.65; }
  .legal p { margin: 0 0 12px; }
  .legal ul { margin: 0 0 14px; padding-left: 20px; display: grid; gap: 6px; }
  .legal a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
  .legal code { background: var(--chip); padding: 1px 5px; border-radius: 5px; font-size: 14px; }
  @media (min-width: 901px) { .cookie { bottom: 20px; } }
  .toast { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 120; width: min(440px, calc(100% - 32px)); background: var(--navy); color: #fff; border-radius: 14px; padding: 12px 16px; font-size: 14.5px; text-align: center; box-shadow: 0 16px 36px -16px rgba(0,0,0,.5); }
  .toast[hidden] { display: none; }
  .calldlg-status { margin: 0; font-size: 14px; color: var(--muted); font-weight: 600; }
  .calldlg-status:empty { display: none; }

  /* ---------- сравнение на телефоне: таблица превращается в карточки ---------- */
  @media (max-width: 640px) {
    .cmp.cmp { background: transparent !important; border: 0 !important; border-radius: 0; overflow: visible; }
    .cmp table, .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; width: auto; min-width: 0; }
    .cmp thead { display: none; }
    .cmp tr { background: #fffdf9; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; margin: 0 0 10px; }
    .cmp tr:last-child { margin-bottom: 0; }
    .cmp tbody th, .cmp td { border: 0 !important; padding: 0; background: transparent !important; }
    .cmp tbody th { font-family: var(--display); font-size: 17px; font-weight: 700; line-height: 1.3; margin-bottom: 10px; width: auto; }
    .cmp td { margin-top: 10px; font-size: 15.5px; }
    .cmp td::before { content: attr(data-label); display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--amber-d); margin-bottom: 3px; }
    .cmp td:last-child { border-left: 3px solid var(--amber) !important; padding-left: 12px !important; }
  }

  /* ---------- очень узкие экраны: не даём логотипу и телефону развалиться ---------- */
  @media (max-width: 360px) {
    .strip-label { display: none; }
    .strip { font-size: 12.5px; }
    .strip .wrap { gap: 4px; }
    .nav { height: auto; min-height: 72px; padding-block: 10px; }
    .logo small { display: none; }
    .acts .icall { display: none; }
    .strip .ph2::before { content: ""; }
    .strip .ph + .ph2 { margin-left: .3em; }
    .mbar .msg { font-size: 12.5px; padding-inline: 4px; }
  }
  .answer[hidden] { display: none; }
  /* методические рекомендации: страницы документа картинками */
  .docview { display: grid; gap: 20px; max-width: 900px; }
  .docbar { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
  .docpages { display: grid; gap: 18px; }
  .docpage { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 14px 30px -24px rgba(16,34,61,.45); }
  .docpage img { display: block; width: 100%; height: auto; }
  .docpage figcaption { padding: 8px 14px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); }

/* ===== основная тема: Акварель ===== */
/* name: Акварель
   desc: Мягкие акварельные пятна — голубое, бирюзовое, персиковое — на «бумаге», чернильно-синий текст. Легко и необычно.
   fonts: https://fonts.googleapis.com/css2?family=Kurale&family=Manrope:wght@400;500;600;700;800&display=swap */
:root {
  --bg: #fbf8f2; --white: rgba(255,255,255,.7); --navy: #1f2f4a; --navy-2: #2c4166; --navy-3: #39527d;
  --muted: #586378; --line: rgba(31,47,74,.12); --chip: rgba(255,255,255,.75); --amber: #ffb38a; --amber-d: #a6461c; --amber-l: rgba(255,179,138,.2);
  --display: "Kurale", Georgia, serif; --ui: "Manrope", system-ui, sans-serif;
}
body {
  background:
    radial-gradient(38% 30% at 12% 8%, rgba(120,180,240,.35) 0, rgba(120,180,240,.12) 45%, transparent 70%),
    radial-gradient(34% 28% at 88% 18%, rgba(110,215,200,.32) 0, rgba(110,215,200,.1) 45%, transparent 70%),
    radial-gradient(40% 32% at 70% 85%, rgba(255,170,130,.32) 0, rgba(255,170,130,.1) 45%, transparent 70%),
    radial-gradient(30% 25% at 20% 75%, rgba(200,170,255,.28) 0, transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 .4 0 0 0 0 .35 0 0 0 0 .3 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23p)'/%3E%3C/svg%3E"),
    #fbf8f2;
  background-attachment: fixed;
}
.white, .band, .page-hero { background: transparent !important; }
h1, h2, h3, .st b, .tile b, .skill b, .svc b, .cat b, .cert2 b, .step b, .gloss dt { font-weight: 400; letter-spacing: 0; }
.hero h1 span { color: #2f6fb8; }
.site-header { background: rgba(251,248,242,.75) !important; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.strip { background: linear-gradient(90deg, rgba(120,180,240,.9), rgba(110,215,200,.9) 50%, rgba(255,170,130,.9)); color: #13213a; }
.tile, .area-card, .skill, .svc > div, .princ div, .links a, .faq details, .card-data, .msgside, .step, .money > div, .cat, .checks, .answer, .stage, .cmp, .mnav, .calldlg-box, .clines.light .cl, .msgbtn, .docnote {
  background: rgba(255,255,255,.7) !important; backdrop-filter: blur(6px); border: 1px solid rgba(31,47,74,.08) !important;
}
.pill, .burger, .msgbtn, .side-nav a, .page-hero .jump a, .tag { border-radius: 999px !important; }
.sit { border-radius: 40% 60% 55% 45% / 60% 45% 55% 40% !important; color: #e3ecf8; }
.help, .crim, .contact, .own, .ctaband, .tile.dark, .cert2 { background: linear-gradient(150deg, #2c4166, #1f2f4a 70%) !important; border-radius: 34px 26px 38px 24px !important; }
.tile, .area-card, .skill, .princ div, .links a, .faq details, .step, .card-data, .msgside, .money > div, .cat, .answer, .stage, .docnote { border-radius: 28px 20px 30px 18px !important; }
.photo:has(img) { border-radius: 46% 54% 40% 60% / 38% 42% 58% 62% !important; }
.help-h span, .help-noscript, .crim p, .cert2 p, .own-list p, .callbox p, .ctaband p, .tile.dark p, .clines:not(.light) .cl span { color: #cfdcef !important; }
.own .eyebrow, .crim .eyebrow, .cert2 .eyebrow, .callbox .eyebrow, .sitcard > header span, .own-list b, .tile.dark .num, .help-h a { color: #ffc6a5 !important; }
.pill.amber, .bigcall, .sit[aria-pressed="true"] { color: #2a1406 !important; }
/* модальное окно должно быть непрозрачным: текст страницы не должен просвечивать */
.calldlg-box { background: #fffdf9 !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.calldlg-x { background: #e8edf4 !important; }
.mbar { background: rgba(251,248,242,.85) !important; backdrop-filter: blur(10px); }
/* фото с подписью: в форму пятна обрезается только снимок, подпись — целиком поверх нижнего края */
.photo:has(.cap) { overflow: visible; border-radius: 0 !important; background: transparent !important; margin-bottom: 28px; }
.photo:has(.cap) img { border-radius: 46% 54% 40% 60% / 38% 42% 58% 62%; }
.photo .cap { left: 8%; right: 8%; bottom: -22px; border-radius: 18px; text-align: center; box-shadow: 0 16px 32px -18px rgba(31,47,74,.5); }

@media (max-width: 980px) { body { background-attachment: scroll; } }
