
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; overflow-x: hidden; }
  body { font-family: var(--font-body); background: var(--bb-sand-050); color: var(--bb-charcoal); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
  a { color: inherit; }
  img { display: block; max-width: 100%; }
  .wrap { max-width: 1120px; margin: 0 auto; padding-inline: clamp(18px, 4vw, 48px); }

  /* ── Шапка ─────────────────────────────────────────────────────────── */
  .top { position: sticky; top: 0; z-index: 40; background: rgba(15,46,32,.94); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,.08); color: #fff; }
  .top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 10px; flex-wrap: wrap; }
  .brandline { display: flex; align-items: center; gap: 10px; }
  .brandline img { width: 36px; height: 36px; background: #fff; border-radius: 18%; padding: 3px; }
  .brandline b { display: block; font-size: 12px; letter-spacing: .16em; }
  .brandline small { display: block; font-size: 8px; letter-spacing: .26em; color: var(--bb-brass-300); margin-top: 2px; }
  .top-actions { display: flex; gap: 8px; align-items: center; }
  .top-actions a { font: 600 11.5px var(--font-body); text-decoration: none; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(196,167,125,.4); color: var(--bb-brass-300); white-space: nowrap; }
  .top-actions a:hover { background: rgba(196,167,125,.12); }
  .top-actions a.solid { background: var(--bb-brass-500); color: #0F2E20; border-color: var(--bb-brass-500); }

  /* ── Hero ──────────────────────────────────────────────────────────── */
  .hero { background: linear-gradient(155deg, #1B4332 0%, #0F2E20 100%); color: #FAFAF8; padding: clamp(48px, 7vw, 92px) 0 56px; position: relative; overflow: hidden; }
  .hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(rgba(196,167,125,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(196,167,125,.07) 1px, transparent 1px);
    background-size: 48px 48px; mask-image: linear-gradient(120deg, transparent 28%, #000 100%); }
  .hero .wrap { position: relative; z-index: 1; }
  .hero-top { display: flex; align-items: center; gap: 14px; margin-bottom: 42px; }
  .emblem { width: 58px; height: 58px; background: #fff; border-radius: 18%; padding: 5px; display: inline-flex; }
  .emblem img { width: 100%; height: 100%; object-fit: contain; }
  .eyebrow { font: 600 10.5px var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--bb-brass-300); margin-bottom: 10px; }
  .hero h1 { font-family: var(--font-display); font-size: clamp(40px, 6.6vw, 72px); line-height: 1.03; letter-spacing: -.03em; max-width: 19ch; margin-bottom: 20px; }
  .hero h1 em { font-style: italic; color: var(--bb-brass-300); }
  .hero p.lead { font-size: clamp(15px, 1.8vw, 18px); color: rgba(250,250,248,.72); max-width: 62ch; margin-bottom: 28px; }
  .hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
  .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 14px 26px; font: 600 14px var(--font-body); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; }
  .btn-primary { background: var(--bb-brass-500); color: #0F2E20; }
  .btn-primary:hover { background: var(--bb-brass-300); }
  .btn-outline { border-color: rgba(255,255,255,.4); color: #fff; }
  .btn-outline:hover { background: rgba(255,255,255,.08); }
  .btn-green { background: var(--bb-green-800); color: #fff; }
  .btn-green:hover { background: var(--bb-green-600); }
  .pills { display: flex; gap: 8px; flex-wrap: wrap; }
  .pill { border: 1px solid rgba(196,167,125,.35); border-radius: 999px; padding: 6px 13px; font-size: 11px; letter-spacing: .05em; color: var(--bb-brass-300); }
  .pill b { color: #fff; font-weight: 600; }

  /* ── Секции ────────────────────────────────────────────────────────── */
  section { padding: clamp(42px, 6vw, 76px) 0; }
  .sec-head { display: flex; gap: 16px; align-items: baseline; margin-bottom: 26px; }
  .sec-num { font: 600 10.5px var(--font-body); letter-spacing: .18em; color: var(--bb-brass-700); min-width: 26px; padding-top: 5px; }
  .sec-head h2 { font-family: var(--font-display); font-size: clamp(26px, 3.6vw, 38px); line-height: 1.12; letter-spacing: -.02em; }
  .sec-head p { color: var(--bb-stone-700); font-size: 14.5px; margin-top: 8px; max-width: 68ch; }
  h3 { font-family: var(--font-display); font-size: 21px; font-weight: 600; margin-bottom: 10px; }

  .demo-section { background: var(--bb-sand-100); border-top: 1px solid var(--bb-line-warm); border-bottom: 1px solid var(--bb-line-warm); }

  /* ── Портал ────────────────────────────────────────────────────────── */
  .portal { background: #fff; border: 1px solid var(--bb-line); border-radius: 20px; overflow: hidden; box-shadow: 0 30px 80px rgba(28,25,23,.14); }
  .portal-top { display: flex; align-items: center; gap: 12px; padding: 11px 16px; background: #0F2E20; color: rgba(255,255,255,.65); font: 500 11px var(--font-body); }
  .dots { display: flex; gap: 5px; }
  .dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.18); }
  .portal-top b { color: #fff; font-weight: 600; letter-spacing: .04em; }
  .portal-top .sep { opacity: .3; }
  .portal-body { display: grid; grid-template-columns: 244px minmax(0,1fr); min-height: 560px; min-width: 0; }
  .portal-side { background: #F8F5F0; border-right: 1px solid var(--bb-line-warm); padding: 18px 14px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
  .obj { display: flex; gap: 10px; align-items: center; }
  .obj-ico { width: 38px; height: 38px; border-radius: 11px; background: var(--bb-green-800); color: #fff; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
  .obj b { display: block; font-size: 12.5px; }
  .obj span { display: block; font-size: 10px; color: var(--bb-stone-500); margin-top: 1px; }
  .ptabs { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
  .ptab { display: flex; align-items: center; gap: 9px; width: 100%; text-align: left; border: 0; background: transparent; border-radius: 8px; padding: 8px 10px; font: 500 12px var(--font-body); color: var(--bb-stone-700); cursor: pointer; }
  .ptab:hover { background: rgba(27,67,50,.06); color: var(--bb-green-800); }
  .ptab.active { background: var(--bb-green-800); color: #fff; }
  .ptab .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .55; }
  .side-note { margin-top: auto; font-size: 9.5px; line-height: 1.5; color: var(--bb-stone-500); border-top: 1px solid var(--bb-line-warm); padding-top: 10px; }
  .side-note b { color: var(--bb-brass-700); }

  .portal-main { padding: 24px; min-width: 0; }  .ppanel { display: none; }
  .ppanel.active { display: block; animation: fade .2s ease; }
  @keyframes fade { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }

  .p-head { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
  .status { display: inline-flex; align-items: center; gap: 6px; font: 600 9px var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: #057A55; background: #E7F6EF; border-radius: 999px; padding: 4px 9px; margin-bottom: 6px; }
  .status::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #059669; }
  .p-head h3 { font-size: 25px; margin-bottom: 2px; }
  .p-head p { font-size: 11.5px; color: var(--bb-stone-500); }
  .p-head img { width: 70px; height: 70px; border-radius: 8px; }

  .progress-card { background: var(--bb-green-050); border: 1px solid var(--bb-green-100); border-radius: 12px; padding: 14px 16px; margin-bottom: 16px; }
  .progress-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
  .progress-row span { font: 600 9.5px var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--bb-brass-700); }
  .progress-row b { font: 600 22px var(--font-display); color: var(--bb-green-800); }
  .bar { height: 8px; border-radius: 999px; background: #DDE8E1; overflow: hidden; }
  .bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--bb-green-800), var(--bb-green-600)); width: 0; transition: width .9s ease; }
  .steps { display: flex; justify-content: space-between; gap: 6px; margin-top: 10px; }
  .steps span { font-size: 9px; color: var(--bb-stone-500); text-align: center; flex: 1; }
  .steps span.done { color: var(--bb-green-800); font-weight: 600; }

  .mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
  .mini { background: #fff; border: 1px solid var(--bb-line); border-radius: 11px; padding: 13px 14px; }
  .mini span { display: block; font: 600 9px var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--bb-stone-500); }
  .mini b { display: block; font: 600 23px var(--font-display); color: var(--bb-green-800); margin: 3px 0 1px; }
  .mini em { font-style: normal; font-size: 10px; color: var(--bb-stone-500); }

  .next h4 { font-size: 12px; font-weight: 600; margin-bottom: 7px; }
  .next-row { display: flex; justify-content: space-between; gap: 10px; font-size: 11.5px; padding: 7px 0; border-bottom: 1px solid var(--bb-line); }
  .next-row:last-child { border-bottom: 0; }
  .next-row span:last-child { color: var(--bb-brass-700); font-weight: 600; white-space: nowrap; }

  .ptable { width: 100%; border-collapse: collapse; font-size: 11.5px; table-layout: fixed; }
  .ptable th { text-align: left; font: 600 8.5px var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--bb-stone-500); padding: 7px 8px; border-bottom: 1px solid var(--bb-line); }
  .ptable td { padding: 8px; border-bottom: 1px solid #F2F0ED; vertical-align: top; overflow-wrap: anywhere; }
  .ptable th:first-child, .ptable td:first-child { width: 46%; }
  .ptable th:last-child, .ptable td:last-child { width: 22%; }
  .ptable td:last-child, .ptable th:last-child { text-align: right; }
  .ptable .num { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 600; }
  .tag { display: inline-block; font: 600 8.5px var(--font-body); letter-spacing: .08em; text-transform: uppercase; padding: 3px 7px; border-radius: 999px; white-space: nowrap; }
  .tag.ok { background: #E7F6EF; color: #057A55; }
  .tag.work { background: var(--bb-brass-100); color: var(--bb-brass-700); }
  .tag.wait { background: #F1F0EE; color: var(--bb-stone-500); }
  .total-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--bb-green-800); color: #fff; border-radius: 10px; padding: 13px 15px; margin-top: 12px; }
  .total-row span { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--bb-brass-300); }
  .total-row b { font: 600 24px var(--font-display); font-variant-numeric: tabular-nums; }

  .work-row { display: grid; grid-template-columns: 92px minmax(0,1fr) 100px 80px; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--bb-line); font-size: 11.5px; }
  .work-row:last-child { border-bottom: 0; }
  .work-row .date { color: var(--bb-stone-500); font-size: 10.5px; }
  .work-row b { font-weight: 600; }
  .work-row small { display: block; color: var(--bb-stone-500); font-size: 10px; margin-top: 1px; }

  .shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .shot { position: relative; aspect-ratio: 4/3; border-radius: 9px; overflow: hidden; display: flex; align-items: flex-end; padding: 9px; color: #fff; font-size: 10px; }
  .shot::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 20px 20px; }
  .shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 35%, rgba(15,46,32,.8)); }
  .shot span { position: relative; z-index: 1; font-weight: 600; }
  .shot small { position: absolute; top: 8px; right: 8px; z-index: 1; font-size: 8.5px; opacity: .8; }
  .s1 { background: linear-gradient(150deg,#8B7355,#5A4530); }
  .s2 { background: linear-gradient(150deg,#D4A574,#8A6E45); }
  .s3 { background: linear-gradient(150deg,#6E7F8D,#3C4A55); }
  .s4 { background: linear-gradient(150deg,#7B9A8B,#3F5F51); }
  .s5 { background: linear-gradient(150deg,#A0AEC0,#5C6B7A); }
  .s6 { background: linear-gradient(150deg,#C4A77D,#6E5A3E); }
  .shot-hint { font-size: 9.5px; color: var(--bb-stone-500); margin-top: 8px; }

  .warranty { display: grid; grid-template-columns: 180px 1fr; gap: 16px; align-items: stretch; }
  .warranty-big { background: var(--bb-green-800); color: #fff; border-radius: 14px; padding: 18px; display: flex; flex-direction: column; justify-content: center; }
  .warranty-big b { font: 600 46px/1 var(--font-display); color: var(--bb-brass-300); }
  .warranty-big span { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-top: 6px; }
  .warranty ul { list-style: none; padding: 0; display: grid; gap: 7px; }
  .warranty li { font-size: 11.5px; padding-left: 18px; position: relative; }
  .warranty li::before { content: "✓"; position: absolute; left: 0; color: var(--bb-green-800); font-weight: 700; }

  .history { margin-top: 12px; border: 1px solid var(--bb-line); border-radius: 11px; padding: 12px 14px; font-size: 11.5px; color: var(--bb-stone-700); }
  .history b { color: var(--bb-green-800); }

  .transfer-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 14px; }
  .tr-step { background: #fff; border: 1px solid var(--bb-line); border-radius: 11px; padding: 13px; }
  .tr-step b { display: block; font-size: 11.5px; margin-bottom: 3px; }
  .tr-step span { font-size: 10.5px; color: var(--bb-stone-500); }
  .tr-step i { display: block; font-style: normal; font: 600 10px var(--font-body); color: var(--bb-brass-700); margin-bottom: 6px; }
  .legal { background: var(--bb-brass-100); border-left: 3px solid var(--bb-brass-500); border-radius: 0 8px 8px 0; padding: 10px 13px; font-size: 10px; line-height: 1.55; color: var(--bb-stone-700); }

  .demo-hint { font-size: 11.5px; color: var(--bb-stone-500); margin-top: 14px; text-align: center; }

  /* ── Вход ──────────────────────────────────────────────────────────── */
  .login-section { background: var(--bb-sand-100); border-top: 1px solid var(--bb-line-warm); border-bottom: 1px solid var(--bb-line-warm); }
  .login-grid { display: grid; grid-template-columns: minmax(0,1fr) 430px; gap: 24px; align-items: stretch; }
  .login-brand { background: linear-gradient(155deg,#1B4332,#0F2E20); color: #fff; border-radius: 20px; padding: clamp(24px,4vw,36px); position: relative; overflow: hidden; }
  .login-brand::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(196,167,125,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(196,167,125,.08) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(120deg, transparent 35%, #000); }
  .login-brand > * { position: relative; z-index: 1; }
  .login-brand h2 { font-family: var(--font-display); font-size: clamp(30px,4vw,44px); line-height: 1.06; letter-spacing: -.02em; margin: 10px 0 12px; }
  .login-brand h2 em { font-style: italic; color: var(--bb-brass-300); }
  .login-brand p { font-size: 13.5px; color: rgba(255,255,255,.7); max-width: 46ch; }
  .login-brand ul { list-style: none; padding: 0; margin-top: 22px; display: grid; gap: 8px; }
  .login-brand li { font-size: 12.5px; color: rgba(255,255,255,.78); padding-left: 22px; position: relative; }
  .login-brand li::before { content: "✓"; position: absolute; left: 0; color: var(--bb-brass-300); font-weight: 700; }
  .login-card { background: #fff; border: 1px solid var(--bb-line); border-radius: 20px; padding: clamp(22px,3vw,32px); box-shadow: 0 20px 60px rgba(28,25,23,.09); }
  .login-card h3 { font-size: 25px; margin-bottom: 4px; }
  .login-card > p { font-size: 12.5px; color: var(--bb-stone-700); margin-bottom: 18px; max-width: 40ch; }
  .login-card label { display: block; font: 500 12px var(--font-body); color: var(--bb-ink, #1C1917); margin-bottom: 12px; }
  .login-card input { width: 100%; height: 48px; margin-top: 5px; border: 1px solid var(--bb-line); border-radius: 10px; padding: 0 14px; font: 400 14px var(--font-body); color: var(--bb-charcoal); background: #fff; letter-spacing: .04em; }
  .login-card input:focus { outline: 0; border-color: var(--bb-green-800); box-shadow: 0 0 0 3px rgba(27,67,50,.1); }
  .login-card .btn { width: 100%; }
  .form-msg { min-height: 17px; font-size: 11.5px; margin-top: 9px; }
  .form-msg.err { color: #DC2626; }
  .form-msg.ok { color: #059669; }
  .login-links { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; font-size: 11px; }
  .login-links a { color: var(--bb-brass-700); text-decoration: none; }
  .login-divider { display: flex; align-items: center; gap: 10px; margin: 16px 0; font: 600 9px var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--bb-stone-500); }
  .login-divider::before, .login-divider::after { content: ""; flex: 1; height: 1px; background: var(--bb-line); }
  .btn-demo { width: 100%; border: 1.5px solid var(--bb-green-800); background: transparent; color: var(--bb-green-800); border-radius: 999px; padding: 12px; font: 600 13px var(--font-body); cursor: pointer; }
  .btn-demo:hover { background: var(--bb-green-050); }
  .login-hint { font-size: 10px; color: var(--bb-stone-500); text-align: center; margin-top: 9px; line-height: 1.5; }

  /* ── Таймлайн этапов ───────────────────────────────────────────────── */
  .stage-line { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; margin-top: 16px; position: relative; }
  .stage-line::before { content: ""; position: absolute; left: 8%; right: 8%; top: 7px; height: 2px; background: var(--bb-line); }
  .stage { position: relative; z-index: 1; text-align: center; }
  .stage i { display: block; width: 14px; height: 14px; margin: 0 auto 6px; border-radius: 50%; background: #fff; border: 2px solid var(--bb-line); }
  .stage.done i { background: var(--bb-green-800); border-color: var(--bb-green-800); }
  .stage.work i { background: var(--bb-brass-500); border-color: var(--bb-brass-500); box-shadow: 0 0 0 4px rgba(196,167,125,.22); }
  .stage b { display: block; font: 600 8.5px var(--font-body); color: var(--bb-charcoal); }
  .stage span { display: block; font-size: 7.5px; color: var(--bb-stone-500); margin-top: 1px; }

  /* ── Документы ─────────────────────────────────────────────────────── */
  .doc-list { display: grid; gap: 8px; }
  .doc-item { display: flex; align-items: center; gap: 12px; border: 1px solid var(--bb-line); border-radius: 10px; padding: 10px 12px; background: #fff; }
  .doc-ico { width: 34px; height: 40px; border-radius: 6px; background: var(--bb-brass-100); color: var(--bb-brass-700); display: flex; align-items: center; justify-content: center; font: 700 8px var(--font-body); flex: 0 0 auto; }
  .doc-item b { display: block; font-size: 11.5px; }
  .doc-item span { display: block; font-size: 9.5px; color: var(--bb-stone-500); margin-top: 1px; }
  .doc-item a { margin-left: auto; font: 600 10px var(--font-body); color: var(--bb-green-800); text-decoration: none; white-space: nowrap; }
  .doc-item a:hover { text-decoration: underline; }

  .portal-tools { display: flex; gap: 6px; margin-left: auto; }
  .portal-tools button { border: 1px solid rgba(255,255,255,.2); background: transparent; color: #fff; border-radius: 999px; padding: 5px 10px; font: 600 9.5px var(--font-body); cursor: pointer; }
  .portal-tools button:hover { background: rgba(255,255,255,.1); }

  .recent { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 12px; }
  .mini-title { font: 600 11px var(--font-body); margin: 14px 0 8px; }

  .toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 18px); background: var(--bb-green-800); color: #fff; padding: 12px 20px; border-radius: 999px; font: 500 12.5px var(--font-body); box-shadow: 0 12px 30px rgba(0,0,0,.25); opacity: 0; pointer-events: none; transition: .25s; z-index: 100; max-width: 90vw; text-align: center; }
  .toast.show { opacity: 1; transform: translate(-50%, 0); }

  /* ── Преимущества ──────────────────────────────────────────────────── */
  .cards { display: grid; gap: 14px; }
  .g3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .card { background: #fff; border: 1px solid var(--bb-line); border-radius: 13px; padding: 20px; }
  .card .num { font: 600 10px var(--font-body); letter-spacing: .14em; color: var(--bb-brass-700); }
  .card h4 { font-size: 14px; font-weight: 600; margin: 7px 0 5px; }
  .card p { font-size: 12.5px; color: var(--bb-stone-700); }
  .card ul { margin: 0; padding-left: 17px; font-size: 12.5px; color: var(--bb-stone-700); }
  .card li { margin-bottom: 4px; }

  .audience { background: var(--bb-sand-100); border-top: 1px solid var(--bb-line-warm); border-bottom: 1px solid var(--bb-line-warm); }

  .how { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
  .how-step { background: #fff; border: 1px solid var(--bb-line); border-radius: 13px; padding: 18px; }
  .how-step i { display: flex; width: 30px; height: 30px; border-radius: 50%; background: var(--bb-green-800); color: #fff; align-items: center; justify-content: center; font: 600 12px var(--font-body); font-style: normal; margin-bottom: 10px; }
  .how-step h4 { font-size: 13.5px; margin-bottom: 4px; }
  .how-step p { font-size: 12px; color: var(--bb-stone-700); }

  .transfer { background: var(--bb-green-800); color: #fff; }
  .transfer .sec-head h2 { color: #fff; }
  .transfer .sec-head p { color: rgba(255,255,255,.65); }
  .transfer .sec-num { color: var(--bb-brass-300); }
  .transfer-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 26px; align-items: start; }
  .transfer p { font-size: 14px; color: rgba(255,255,255,.72); margin-bottom: 12px; }
  .transfer ul { list-style: none; padding: 0; display: grid; gap: 8px; }
  .transfer li { font-size: 13px; color: rgba(255,255,255,.8); padding-left: 22px; position: relative; }
  .transfer li::before { content: "→"; position: absolute; left: 0; color: var(--bb-brass-300); }
  .transfer-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 20px; }
  .transfer-card h4 { font-family: var(--font-display); font-size: 20px; margin-bottom: 8px; }
  .transfer-card p { font-size: 12.5px; margin: 0 0 10px; }
  .transfer-card .legal { background: rgba(196,167,125,.12); border-left-color: var(--bb-brass-500); color: rgba(255,255,255,.7); }

  /* ── FAQ ───────────────────────────────────────────────────────────── */
  .faq { max-width: 820px; }
  details { border-bottom: 1px solid var(--bb-line); padding: 14px 0; }
  summary { cursor: pointer; font: 600 14px var(--font-body); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
  summary::-webkit-details-marker { display: none; }
  summary::after { content: "+"; color: var(--bb-brass-700); font-weight: 700; }
  details[open] summary::after { content: "−"; }
  details p { font-size: 13px; color: var(--bb-stone-700); margin-top: 8px; max-width: 68ch; }

  /* ── CTA ───────────────────────────────────────────────────────────── */
  .cta { background: linear-gradient(155deg,#1B4332,#0F2E20); color: #fff; text-align: center; }
  .cta h2 { font-family: var(--font-display); font-size: clamp(30px, 4.4vw, 48px); line-height: 1.1; letter-spacing: -.02em; max-width: 22ch; margin: 0 auto 12px; }
  .cta h2 em { font-style: italic; color: var(--bb-brass-300); }
  .cta p { color: rgba(255,255,255,.68); max-width: 60ch; margin: 0 auto 22px; font-size: 15px; }
  .cta-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
  .cta .phone { display: inline-flex; align-items: center; gap: 8px; color: var(--bb-brass-300); font: 600 16px var(--font-body); text-decoration: none; }

  footer { background: #0B1F16; color: rgba(255,255,255,.5); padding: 26px 0; font-size: 11px; }
  footer .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; }
  footer b { color: #fff; letter-spacing: .1em; }

  /* ── Адаптив ───────────────────────────────────────────────────────── */
  @media (max-width: 900px) {
    .portal-body { grid-template-columns: minmax(0, 1fr); min-height: 0; }
    .portal-side { border-right: 0; border-bottom: 1px solid var(--bb-line-warm); }
    .ptabs { flex-direction: row; overflow-x: auto; scrollbar-width: none; }
    .ptabs::-webkit-scrollbar { display: none; }
    .ptab { white-space: nowrap; }
    .side-note { display: none; }
    .g3 { grid-template-columns: 1fr 1fr; }
    .how { grid-template-columns: 1fr 1fr; }
    .transfer-grid { grid-template-columns: 1fr; }
    .login-grid { grid-template-columns: 1fr; }
    .login-card { order: 1; }
    .login-brand { order: 2; }
  }
  @media (max-width: 620px) {
    .g3, .how, .mini-grid, .transfer-row { grid-template-columns: 1fr; }
    .sec-head { flex-direction: column; gap: 4px; }
    .sec-num { padding-top: 0; }
    .shots { grid-template-columns: 1fr 1fr; }
    .work-row { grid-template-columns: 1fr 1fr; gap: 3px 10px; }
    .work-row .date { grid-column: 1; }
    .work-row small { display: none; }
    .warranty { grid-template-columns: 1fr; }
    .top-actions a:first-child { display: none; }
    .p-head img { width: 52px; height: 52px; }
    .portal-main { padding: 16px; }
    .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px 4px; }
    .steps span { font-size: 8.5px; }
    .progress-card, .next, .mini, .ppanel { min-width: 0; }
    .next-row { flex-wrap: wrap; }
    .next-row span:last-child { white-space: normal; }
    .ptable { font-size: 10.5px; }
    .ptable th, .ptable td { padding: 6px 5px; }
    .stage-line { grid-template-columns: repeat(3, 1fr); gap: 12px 4px; }
    .stage-line::before { display: none; }
    .portal-top { flex-wrap: wrap; row-gap: 6px; }
    .portal-tools { margin-left: 0; }
    .login-brand { padding: 22px; }
  }

/* ── Реальный паспорт: дополнения ───────────────────────────────────── */
.empty-state { border: 1px dashed var(--bb-line-warm); border-radius: 12px; padding: 22px 18px; text-align: center; color: var(--bb-stone-500); font-size: 12px; background: #FCFBF9; }
.empty-state b { display: block; color: var(--bb-green-800); font-family: var(--font-display); font-size: 17px; margin-bottom: 4px; }
.notice { display: flex; gap: 10px; align-items: flex-start; background: #FFF8E7; border: 1px solid #F3E2B8; color: #7A5B12; border-radius: 10px; padding: 10px 13px; font-size: 11px; line-height: 1.5; margin-bottom: 14px; }
.notice b { font-weight: 600; }
.portal-tools { margin-left: auto; display: flex; gap: 6px; }
.portal-tools button, .portal-tools a { border: 1px solid rgba(255,255,255,.22); background: transparent; color: rgba(255,255,255,.8); border-radius: 999px; padding: 5px 11px; font: 500 10px var(--font-body); cursor: pointer; text-decoration: none; }
.portal-tools button:hover, .portal-tools a:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-sm { padding: 8px 16px; font-size: 12px; }
.btn-danger { background: #B42318; color: #fff; }
.btn-danger:hover { background: #912018; }
.doc-item .doc-ico { width: 34px; height: 34px; border-radius: 8px; background: var(--bb-green-050); color: var(--bb-green-800); font: 700 8px var(--font-body); letter-spacing: .06em; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.doc-item .doc-ico.pdf { background: #FDECEA; color: #B42318; }
.doc-item .doc-ico.img { background: #EAF2FD; color: #1D4ED8; }
.doc-list { display: flex; flex-direction: column; gap: 8px; }
.shots img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; display: block; }
.shot { position: relative; overflow: hidden; }
.photo-card { border: 1px solid var(--bb-line); border-radius: 10px; overflow: hidden; background: #fff; }
.photo-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.photo-card .meta { padding: 8px 10px; font-size: 10px; color: var(--bb-stone-500); }
.photo-card .meta b { display: block; color: var(--bb-charcoal); font-size: 11px; }
.photo-group { margin-bottom: 18px; }
.photo-group h4 { font-size: 12px; margin-bottom: 8px; }
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.estimate-card { border: 1px solid var(--bb-line); border-radius: 12px; overflow: hidden; margin-bottom: 14px; background: #fff; }
.estimate-head { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 12px 14px; background: #FCFBF9; border-bottom: 1px solid var(--bb-line); flex-wrap: wrap; }
.estimate-head b { font-size: 13px; }
.estimate-head small { color: var(--bb-stone-500); font-size: 10px; display: block; }
.estimate-head .sum { font-family: var(--font-display); font-size: 19px; color: var(--bb-green-800); white-space: nowrap; }
.est-table { width: 100%; border-collapse: collapse; font-size: 11.5px; }
.est-table th { text-align: left; font: 600 9px var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--bb-stone-500); padding: 8px 14px; border-bottom: 1px solid var(--bb-line); }
.est-table td { padding: 8px 14px; border-bottom: 1px solid var(--bb-line); vertical-align: top; }
.est-table tr:last-child td { border-bottom: 0; }
.est-table td.num, .est-table th.num { text-align: right; white-space: nowrap; }
.est-section td { background: #FAF8F4; font-weight: 600; }
.total-row { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 2px; border-top: 2px solid var(--bb-green-800); margin-top: 10px; font-size: 12px; }
.total-row b { font-family: var(--font-display); font-size: 23px; color: var(--bb-green-800); }
.dialog-backdrop { position: fixed; inset: 0; background: rgba(15,46,32,.45); display: none; align-items: center; justify-content: center; z-index: 90; padding: 18px; }
.dialog-backdrop.show { display: flex; }
.dialog { background: #fff; border-radius: 16px; padding: 24px; width: min(460px, 100%); box-shadow: 0 30px 80px rgba(0,0,0,.3); }
.dialog h3 { font-size: 22px; margin-bottom: 6px; }
.dialog p { font-size: 12px; color: var(--bb-stone-700); margin-bottom: 14px; }
.dialog label { display: block; font: 500 12px var(--font-body); margin-bottom: 10px; }
.dialog input, .dialog textarea { width: 100%; border: 1px solid var(--bb-line); border-radius: 9px; padding: 10px 12px; margin-top: 4px; font: 400 13px var(--font-body); }
.dialog textarea { min-height: 74px; resize: vertical; }
.dialog-actions { display: flex; gap: 8px; margin-top: 6px; }
.portal-note { font-size: 10px; color: var(--bb-stone-500); margin-top: 10px; }
.stale-note { font-size: 10px; color: #7A5B12; background: #FFF8E7; border-radius: 8px; padding: 7px 10px; margin-bottom: 12px; }
.footer-link { color: var(--bb-brass-300); text-decoration: none; }
.footer-link:hover { text-decoration: underline; }
.side-user { border-top: 1px solid var(--bb-line-warm); padding-top: 10px; font-size: 9.5px; color: var(--bb-stone-500); }
.side-user b { color: var(--bb-charcoal); font-size: 10px; }
@media (max-width: 620px) {
  .photo-grid { grid-template-columns: 1fr 1fr; }
  .portal-main { padding: 16px; }
  .portal-tools { width: 100%; margin-left: 0; }
}
@media print {
  .top, .portal-side, .portal-tools, .demo-hint, footer, .btn, .dialog-backdrop { display: none !important; }
  .portal { box-shadow: none; border: 0; }
  .portal-body { display: block; }
  .ppanel { display: block !important; break-inside: avoid; }
  .ppanel + .ppanel { margin-top: 24px; border-top: 1px solid #ddd; padding-top: 18px; }
  body { background: #fff; }
}

/* Кнопки-выход в шапках */
.top-actions form { display: inline; margin: 0; }
.top-actions button { font: 600 11.5px var(--font-body); padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(196,167,125,.4); color: var(--bb-brass-300); background: transparent; cursor: pointer; white-space: nowrap; }
.top-actions button.solid { background: var(--bb-brass-500); color: #0F2E20; border-color: var(--bb-brass-500); }
.top-actions button:hover { background: rgba(196,167,125,.12); }
.top-actions button.solid:hover { background: var(--bb-brass-300); }
.portal-tools form { display: inline; margin: 0; }

/* Длинные названия объектов */
.obj b { overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.p-head h3 { overflow-wrap: anywhere; }
.obj span { overflow-wrap: anywhere; }
