/* Kyrgyz Builder — тёплая палитра: войлок, охра, гранат */
:root {
  --bg: #f7f3ec; --panel: #ffffff; --ink: #2b2824; --sub: #7a7268; --line: #e6ded1; --soft: #f1ebe1;
  --acc: #b0472f; --acc2: #8e3622; --acc-soft: #f6e4dc; --gold: #c9962f; --gold-soft: #f7ecd2; --ok: #3d7a52;
  --r: 14px; --top: 64px; --foot: 64px;
  --shadow: 0 1px 2px rgba(60, 40, 20, .06), 0 6px 22px rgba(60, 40, 20, .07);
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.45 Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
button { font: inherit; color: inherit; cursor: pointer; }
button:disabled { cursor: default; opacity: .45; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -.01em; }

/* ---- шапка и шаги */
#top { position: sticky; top: 0; z-index: 30; height: var(--top); display: flex; align-items: center; gap: 16px; padding: 0 18px; background: rgba(247, 243, 236, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 9px; border: 0; background: none; padding: 0; flex: none; }
.brand .logo { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(140deg, var(--acc), var(--acc2)); display: grid; place-items: center; box-shadow: 0 2px 8px rgba(176, 71, 47, .35); }
.brand .logo svg { width: 24px; height: 24px; }
.brand .bt { font-weight: 700; font-size: 17px; letter-spacing: -.02em; }
.brand .bt b { color: var(--acc); font-weight: 800; margin-left: 2px; }
#steps { flex: 1; display: flex; gap: 4px; justify-content: center; overflow-x: auto; scrollbar-width: none; }
#steps::-webkit-scrollbar { display: none; }
.st { display: flex; align-items: center; gap: 7px; border: 0; background: none; padding: 7px 10px; border-radius: 999px; white-space: nowrap; color: var(--sub); font-weight: 500; font-size: 14px; }
.st .n { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; background: var(--soft); color: var(--sub); }
.st.done .n { background: var(--gold-soft); color: var(--gold); }
.st.on { background: var(--panel); color: var(--ink); box-shadow: var(--shadow); }
.st.on .n { background: var(--acc); color: #fff; }
.st:not(:disabled):hover { color: var(--ink); }

/* ---- кнопки */
.btn { border: 1px solid var(--line); background: var(--panel); padding: 10px 18px; border-radius: 11px; font-weight: 600; transition: transform .08s, background .15s; }
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn.primary { background: var(--acc); border-color: var(--acc); color: #fff; box-shadow: 0 2px 10px rgba(176, 71, 47, .3); }
.btn.primary:hover:not(:disabled) { background: var(--acc2); }
.btn.ghost { background: transparent; }
.btn.ghost:hover:not(:disabled) { background: var(--panel); }
.btn.small { padding: 7px 12px; font-size: 13.5px; border-radius: 9px; }
.btn.big { padding: 15px 26px; font-size: 17px; border-radius: 13px; }

/* ---- основа шага */
#app { max-width: 1320px; margin: 0 auto; padding: 22px 20px calc(var(--foot) + 30px); }
.head { margin: 4px 0 20px; }
.head h1 { font-size: 30px; font-weight: 800; letter-spacing: -.03em; }
.head p { margin: 6px 0 0; color: var(--sub); max-width: 820px; }
.head.row { display: flex; gap: 20px; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; }
.head .acts { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
h2 { font-size: 20px; margin: 26px 0 12px; }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.row.end { justify-content: flex-end; margin-top: 14px; }

/* ---- карточки */
.cards { display: grid; gap: 16px; }
.cards.c3 { grid-template-columns: repeat(3, 1fr); }
.cards.c4 { grid-template-columns: repeat(4, 1fr); }
.card { position: relative; text-align: left; background: var(--panel); border: 2px solid transparent; border-radius: 18px; padding: 18px; box-shadow: var(--shadow); transition: border-color .15s, transform .15s, box-shadow .15s; cursor: pointer; }
.card:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(60, 40, 20, .06), 0 12px 30px rgba(60, 40, 20, .1); }
.card.sel { border-color: var(--acc); }
.card h3 { font-size: 20px; font-weight: 700; margin-top: 4px; }
.card p { color: var(--sub); margin: 6px 0 0; font-size: 14px; }
.card.type .ico { background: linear-gradient(180deg, #e8f1f6, #f7f3ec); border-radius: 12px; margin: -4px -4px 12px; padding: 18px 10px 6px; }
.card.type .ico svg { width: 100%; height: 150px; display: block; }
.card.type ul { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.card.type li { font-size: 14px; padding-left: 22px; position: relative; }
.card.type li::before { content: ''; position: absolute; left: 4px; top: 7px; width: 8px; height: 8px; border-radius: 2px; background: var(--gold); transform: rotate(45deg); }
.badge { position: absolute; top: 14px; right: 14px; background: var(--gold-soft); color: #8a6312; font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 999px; }
.card.size .fp { height: 92px; display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.fprect { position: relative; border: 3px solid var(--ink); border-radius: 3px; background: repeating-linear-gradient(45deg, var(--soft), var(--soft) 4px, #fff 4px, #fff 8px); }
.fprect span { position: absolute; top: -21px; left: 0; right: 0; text-align: center; font-size: 11px; color: var(--sub); }
.fprect i { position: absolute; right: -36px; top: 50%; transform: translateY(-50%); font-size: 11px; color: var(--sub); font-style: normal; }
.kv { display: flex; justify-content: space-between; font-size: 14px; padding: 5px 0; border-bottom: 1px dashed var(--line); }
.kv span { color: var(--sub); }
.note { font-size: 13px !important; }

/* планировки */
.card.layout { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card.layout canvas.thumb { width: 100%; height: 250px; display: block; background: #fff; border-bottom: 1px solid var(--line); }
.layouts .lbody { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.layouts .sub { margin-top: 2px !important; }
.layouts .desc { font-size: 13.5px !important; flex: 1; }
.layouts .row { margin-top: 12px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.chips span { background: var(--soft); border-radius: 999px; padding: 4px 10px; font-size: 12.5px; font-weight: 600; }
.chips span.gold { background: var(--gold-soft); color: #8a6312; }

/* ---- модальные окна */
.modal { position: fixed; inset: 0; z-index: 60; background: rgba(30, 24, 18, .45); display: grid; place-items: center; padding: 18px; animation: fade .15s; }
@keyframes fade { from { opacity: 0; } }
.mcard { background: var(--panel); border-radius: 18px; padding: 18px; width: min(560px, 100%); max-height: calc(100vh - 36px); overflow: auto; box-shadow: 0 20px 60px rgba(0, 0, 0, .25); }
.mcard.wide { width: min(1100px, 100%); }
.mhead { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.mhead h3 { flex: 1; font-size: 19px; }
.x { border: 0; background: var(--soft); width: 34px; height: 34px; border-radius: 50%; font-size: 22px; line-height: 1; }
.planwrap { width: 100%; }
.seg { display: inline-flex; background: var(--soft); border-radius: 11px; padding: 3px; gap: 2px; }
.seg button { border: 0; background: none; padding: 6px 12px; border-radius: 8px; font-weight: 600; font-size: 13.5px; color: var(--sub); white-space: nowrap; }
.seg button.on { background: var(--panel); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
.seg.big button { padding: 8px 16px; font-size: 14.5px; }
.hint { color: var(--sub); font-size: 13px; margin: 6px 0 0; }

/* ---- дизайн */
.dgrid { display: grid; grid-template-columns: 400px 1fr; gap: 20px; align-items: start; }
.dpanel { background: var(--panel); border-radius: 18px; padding: 6px 16px 16px; box-shadow: var(--shadow); max-height: calc(100vh - var(--top) - var(--foot) - 120px); overflow: auto; }
.grp { padding: 12px 0; border-bottom: 1px solid var(--line); }
.grp h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--sub); margin-bottom: 8px; }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.opts.compact { grid-template-columns: repeat(3, 1fr); }
.opt { text-align: left; border: 1.5px solid var(--line); background: #fff; border-radius: 11px; padding: 8px 10px; display: flex; flex-direction: column; gap: 2px; }
.opt b { font-size: 13.5px; }
.opt span { font-size: 11.5px; color: var(--sub); line-height: 1.3; }
.opt em { font-size: 12px; font-style: normal; color: var(--acc); font-weight: 600; margin-top: 2px; }
.opt.on { border-color: var(--acc); background: var(--acc-soft); }
.sws { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 9px; }
.sw { width: 30px; height: 30px; border-radius: 9px; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); padding: 0; }
.sw.on { box-shadow: 0 0 0 2px var(--acc); }
.estmini { margin-top: 14px; background: var(--gold-soft); border-radius: 13px; padding: 12px 14px; display: grid; gap: 2px; }
.estmini span { font-size: 12.5px; color: #7a5a14; }
.estmini b { font-size: 22px; font-weight: 800; color: var(--ink); }
.vcol { display: flex; flex-direction: column; gap: 10px; position: sticky; top: calc(var(--top) + 16px); }
.v3dbox { position: relative; height: calc(100vh - var(--top) - var(--foot) - 205px); min-height: 380px; border-radius: 18px; overflow: hidden; background: linear-gradient(#cfe1ee, #eef2f4); box-shadow: var(--shadow); }
.v3dbox canvas.v3d { display: block; width: 100% !important; height: 100% !important; touch-action: none; }
.v3dbox.offscreen { position: fixed; left: -5000px; top: 0; width: 1600px; height: 1000px; }
.vload { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; color: var(--sub); font-weight: 600; z-index: 2; }
.spin { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--acc); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.vbar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

/* ---- 3D */
.r3dbody { display: block; }
.r3dhost { position: relative; height: calc(100vh - var(--top) - var(--foot) - 190px); min-height: 440px; border-radius: 18px; background: #efece6; box-shadow: var(--shadow); }
#r3dKeep { position: absolute; z-index: 5; border-radius: 18px; overflow: hidden; }
#r3dKeep.off { position: fixed; left: -5000px; top: 0; width: 1500px; height: 950px; visibility: hidden; }
#r3dKeep iframe { border: 0; width: 100%; height: 100%; display: block; }

/* ---- смета */
.eset { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; background: var(--panel); padding: 14px; border-radius: 16px; box-shadow: var(--shadow); }
.fld { display: grid; gap: 4px; font-size: 12.5px; color: var(--sub); font-weight: 600; }
.fld select { font: inherit; font-size: 14px; color: var(--ink); padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
.chks { display: flex; gap: 14px; flex-wrap: wrap; padding-bottom: 8px; }
.chk { display: flex; gap: 6px; align-items: center; font-size: 14px; cursor: pointer; }
.chk input { width: 17px; height: 17px; accent-color: var(--acc); }
.totals { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 12px; margin-top: 16px; }
.tot { background: var(--panel); border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow); display: grid; gap: 2px; }
.tot span { color: var(--sub); font-size: 13px; font-weight: 600; }
.tot b { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.tot i { font-style: normal; color: var(--sub); font-size: 12.5px; }
.tot.main { background: linear-gradient(135deg, var(--acc), var(--acc2)); color: #fff; }
.tot.main span, .tot.main i { color: rgba(255, 255, 255, .8); }
.tot.main b { font-size: 28px; }
.bench { margin-top: 12px; font-size: 13.5px; color: #7a5a14; background: var(--gold-soft); border-radius: 12px; padding: 10px 14px; }
.keymat { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.km { background: var(--panel); border-radius: 14px; padding: 12px 14px; box-shadow: var(--shadow); display: grid; grid-template-columns: auto 1fr; column-gap: 6px; align-items: baseline; }
.km b { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.km span { color: var(--sub); font-size: 13px; }
.km i { grid-column: 1 / -1; font-style: normal; font-size: 12.5px; color: var(--sub); margin-top: 2px; }
.secs { display: grid; gap: 8px; }
.sec { background: var(--panel); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.sec summary { cursor: pointer; display: flex; gap: 12px; align-items: center; padding: 13px 16px; list-style: none; }
.sec summary::-webkit-details-marker { display: none; }
.sec summary::before { content: '▸'; color: var(--sub); transition: transform .15s; }
.sec[open] summary::before { transform: rotate(90deg); }
.sec summary b { flex: 1; }
.sec summary .mw { display: flex; gap: 12px; color: var(--sub); font-size: 13px; }
.sec summary .mw i { font-style: normal; }
.sec summary strong { font-size: 16px; min-width: 130px; text-align: right; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tbl th { text-align: left; font-size: 12px; color: var(--sub); font-weight: 600; padding: 6px 12px; background: var(--soft); }
.tbl td { padding: 7px 12px; border-top: 1px solid var(--line); vertical-align: top; }
.tbl td small { display: block; color: var(--sub); font-size: 12px; }
.tbl td.n { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tbl tr.work td:first-child { color: #3d5a7a; }
.tbl sup { color: var(--acc); }
.resv { display: flex; justify-content: space-between; background: var(--panel); border-radius: 14px; padding: 13px 16px; margin-top: 8px; box-shadow: var(--shadow); }
.fine { font-size: 12.5px; color: var(--sub); margin-top: 14px; }
.plist { display: grid; gap: 4px; }
.prow { display: grid; grid-template-columns: 1fr 120px; gap: 12px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.prow small { display: block; font-size: 12px; color: var(--sub); }
.prow input { font: inherit; padding: 7px 9px; border: 1px solid var(--line); border-radius: 9px; text-align: right; width: 100%; }

/* ---- PDF */
.pgrid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; align-items: start; }
.plist2 { margin: 0 0 18px; padding: 0; list-style: none; counter-reset: p; display: grid; gap: 8px; }
.plist2 li { counter-increment: p; background: var(--panel); border-radius: 12px; padding: 10px 14px 10px 46px; position: relative; box-shadow: var(--shadow); display: grid; }
.plist2 li::before { content: counter(p); position: absolute; left: 12px; top: 11px; width: 24px; height: 24px; border-radius: 50%; background: var(--acc-soft); color: var(--acc); font-weight: 700; font-size: 13px; display: grid; place-items: center; }
.plist2 span { color: var(--sub); font-size: 13px; }
.prog { margin-top: 10px; color: var(--sub); font-weight: 600; min-height: 22px; }
.pdfprev { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.pdfprev figure { margin: 0; background: var(--panel); border-radius: 14px; padding: 8px; box-shadow: var(--shadow); }
.pdfprev canvas { width: 100%; height: 230px; display: block; }
.pdfprev figcaption { text-align: center; font-size: 13px; color: var(--sub); font-weight: 600; padding-top: 4px; }

/* ---- подвал */
#foot { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; height: var(--foot); display: flex; align-items: center; gap: 14px; padding: 0 18px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
#foot .sum { flex: 1; text-align: center; color: var(--sub); font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#toast { position: fixed; left: 50%; bottom: calc(var(--foot) + 16px); transform: translateX(-50%) translateY(20px); background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 12px; font-size: 14px; opacity: 0; pointer-events: none; transition: .2s; z-index: 80; }
#toast.on { opacity: 1; transform: translateX(-50%); }

/* ---- адаптив */
@media (max-width: 1100px) {
  .cards.c4 { grid-template-columns: repeat(2, 1fr); }
  .dgrid { grid-template-columns: 340px 1fr; }
  .totals { grid-template-columns: 1fr 1fr; }
  .st .t { display: none; }
  .st.on .t { display: inline; }
}
@media (max-width: 820px) {
  :root { --top: 56px; --foot: 60px; }
  #top { padding: 0 10px; gap: 8px; }
  .brand .bt { display: none; }
  #btnReset { display: none; }
  #steps { justify-content: flex-start; }
  #app { padding: 16px 12px calc(var(--foot) + 24px); }
  .head h1 { font-size: 24px; }
  .cards.c3, .cards.c4 { grid-template-columns: 1fr; }
  .card.type .ico svg { height: 110px; }
  .dgrid { grid-template-columns: 1fr; }
  .vcol { position: static; order: -1; }
  .v3dbox { height: 52vh; min-height: 300px; }
  .dpanel { max-height: none; }
  .r3dhost { height: calc(100vh - var(--top) - var(--foot) - 210px); min-height: 380px; }
  .pgrid { grid-template-columns: 1fr; }
  .sec summary .mw { display: none; }
  .tbl { font-size: 12.5px; }
  .tbl th:nth-child(4), .tbl td:nth-child(4) { display: none; }
  #foot .sum { font-size: 12px; }
  #foot .btn { padding: 9px 12px; font-size: 14px; }
  .prow { grid-template-columns: 1fr 96px; }
}
@media (max-width: 820px) {
  .tot b { font-size: 18px; }
  .tot.main b { font-size: 21px; }
  .km b { font-size: 19px; }
}
.srow { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 4px 0; font-size: 14px; }
.srow select { font: inherit; font-size: 14px; padding: 6px 8px; border-radius: 9px; border: 1px solid var(--line); background: #fff; min-width: 110px; }

/* ---- язык */
.langsw { display: flex; flex: none; background: var(--soft); border-radius: 999px; padding: 3px; }
.langsw button, .langsw a { text-decoration: none; border: 0; background: none; padding: 5px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: var(--sub); }
.langsw button.on, .langsw a.on { background: var(--panel); color: var(--acc); box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
#top .adm { flex: none; padding: 6px 10px; text-decoration: none; }

/* ---- заказ */
.order-cta { margin: 28px 0 8px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; padding: 22px 24px; border-radius: 18px;
  background: linear-gradient(120deg, #fff 0%, var(--acc-soft) 100%); border: 1px solid #efd3c7; box-shadow: var(--shadow); }
.order-cta .oc-text { flex: 1 1 320px; }
.order-cta h3 { font-size: 19px; margin-bottom: 4px; }
.order-cta p { margin: 0; color: var(--sub); }
.order-cta .oc-acts { flex: 1 1 360px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.order-cta .btn.big { display: inline-flex; align-items: center; gap: 9px; text-align: left; }
.order-cta .btn.big svg, #foot .order svg { flex: none; }
.contacts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.ct { display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px 8px 10px; border-radius: 12px; text-decoration: none; color: var(--ink); background: var(--panel); border: 1px solid var(--line); transition: transform .12s, box-shadow .12s; }
.ct:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.ct .ci { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; flex: none; }
.ct > span:last-child { display: flex; flex-direction: column; line-height: 1.2; }
.ct b { font-size: 13.5px; }
.ct i { font-style: normal; font-size: 13px; color: var(--sub); white-space: nowrap; }
.ct.wa .ci { background: #25a85a; }
.ct.tg .ci { background: #2a9bd6; }
.ct.ph .ci { background: var(--acc); }
.contacts.sm .ct { padding: 6px 12px 6px 7px; }
.contacts.sm .ci { width: 28px; height: 28px; border-radius: 8px; }
.contacts.sm .ci svg { width: 17px; height: 17px; }
#foot .order { display: inline-flex; align-items: center; gap: 6px; background: var(--gold-soft); color: #7b5a12; border: 1px solid #ecd6a4; flex: none; }
#foot .order:hover { background: #f3e2b8; }
.mcard.order { width: min(600px, 100%); }
.mcard.order .olabel { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-weight: 600; font-size: 14px; margin: 12px 0 6px; }
.mcard.order .olabel small { font-weight: 400; color: var(--sub); font-size: 12px; }
.omsg { width: 100%; resize: vertical; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font: 14px/1.45 Inter, system-ui, sans-serif; background: #fffdf9; color: var(--ink); }
.omsg:focus { outline: 2px solid var(--acc-soft); border-color: var(--acc); }
.mcard.order .contacts { margin-top: 12px; }
.hint.warn { color: var(--acc2); }
.step.s3d .order-cta { margin-top: 18px; }
@media (max-width: 820px) {
  .order-cta { padding: 16px; gap: 14px; margin-top: 20px; }
  .order-cta h3 { font-size: 16.5px; }
  .order-cta .btn.big { width: 100%; justify-content: center; }
  .langsw button, .langsw a { padding: 4px 7px; font-size: 11.5px; }
  #foot .order .ot { display: none; }
  #foot .order { padding: 9px 10px; }
  .ct { flex: 1 1 100%; }
}

/* ---- заказ v2: скромная строка + маленькая зелёная кнопка WhatsApp */
.order-line { margin: 26px auto 6px; display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; padding: 12px 0; border-top: 1px dashed var(--line); color: var(--sub); font-size: 14px; text-align: center; }
.order-line .ol-t { font-weight: 500; }
.wa-btn { display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px 6px 9px; border-radius: 999px; background: #e9f7ee; color: #1d7a43; border: 1px solid #bfe5cc; font-size: 13.5px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background .12s; }
.wa-btn:hover { background: #d8f1e1; }
.wa-btn .wi { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #25a85a; color: #fff; flex: none; }
.wa-btn .wi svg { width: 14px; height: 14px; }
#foot .wa-btn.foot { flex: none; }
@media (max-width: 820px) {
  .order-line { font-size: 13px; gap: 8px; margin-top: 18px; }
  #foot .wa-btn.foot { padding: 6px; }
  #foot .wa-btn.foot .wl { display: none; }
}

/* ---- логотип-ссылка и блок «О сервисе» (SEO) */
a.brand { text-decoration: none; color: inherit; }
.about { max-width: 1320px; margin: 0 auto; }
#app .about { margin-top: 18px; padding: 20px 0 0; border-top: 1px solid var(--line); color: var(--ink); }
.about h2 { font-size: 21px; margin-bottom: 10px; }
.about h3 { font-size: 16px; margin: 20px 0 8px; }
.about p { max-width: 860px; margin: 0 0 10px; color: #4d4740; line-height: 1.6; }
.about details { max-width: 860px; border-bottom: 1px solid var(--line); padding: 10px 0; }
.about summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.about summary::-webkit-details-marker { display: none; }
.about summary::after { content: '+'; color: var(--acc); font-weight: 700; }
.about details[open] summary::after { content: '−'; }
.about details p { margin: 8px 0 2px; color: var(--sub); }
.about .org { margin-top: 18px; font-size: 13.5px; color: var(--sub); }
.about .org a { color: #1d7a43; text-decoration: none; font-weight: 600; }
body > .about { padding: 0 20px 100px; } /* до запуска JS текст стоит под #app; потом переезжает внутрь первого шага */
@media (max-width: 820px) { .about h2 { font-size: 18px; } }
