/* Profil Bisnes SME — RCG Mentorship. Mobile-first. */

:root{
  --brand:#be1e2d;
  --brand-dark:#8f121f;
  --brand-soft:#fdecee;
  --ink:#101217;
  --ink-2:#3d4450;
  --muted:#6b7484;
  --line:#e2e6ec;
  --bg:#f4f6f9;
  --card:#ffffff;
  --ok:#12805c;
  --warn:#b45309;
  --radius:16px;
  --tap:52px;
}

*{box-sizing:border-box}
/* Author display rules below would otherwise beat the UA [hidden] rule. */
[hidden]{display:none!important}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font:400 16px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  overflow-x:hidden;
}
img{max-width:100%}
.wrap{width:100%;max-width:680px;margin:0 auto;padding:0 16px}

/* ---------- header ---------- */
.top{
  background:var(--card);
  border-bottom:1px solid var(--line);
  position:sticky;top:0;z-index:20;
}
.top-in{display:flex;align-items:center;gap:12px;padding:12px 16px}
.logo{height:30px;width:auto;display:block}
.top-txt{display:flex;flex-direction:column;line-height:1.25;min-width:0}
.top-txt strong{font-size:15px;letter-spacing:-.01em}
.top-txt span{font-size:11.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

main{padding-top:16px;padding-bottom:8px}

/* ---------- cards ---------- */
.card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:18px 16px;
  margin:0 0 14px;
  box-shadow:0 1px 2px rgba(16,18,23,.04);
}
.intro h1{font-size:25px;line-height:1.2;margin:0 0 10px;letter-spacing:-.02em}
.intro .lead{font-size:16.5px;color:var(--ink-2);margin:0 0 10px}
.intro p{margin:0 0 10px;color:var(--ink-2)}
.facts{margin:14px 0 18px;padding:0 0 0 4px;list-style:none}
.facts li{position:relative;padding:0 0 0 24px;margin:0 0 8px;font-size:14.5px;color:var(--ink-2)}
.facts li::before{
  content:"";position:absolute;left:4px;top:7px;width:7px;height:7px;border-radius:50%;background:var(--brand);
}
.facts strong{color:var(--ink)}

h2{font-size:19px;margin:0 0 14px;letter-spacing:-.01em;display:flex;align-items:center;gap:10px}
h2 .n{
  flex:0 0 26px;width:26px;height:26px;border-radius:8px;
  background:var(--brand);color:#fff;font-size:13px;
  display:inline-flex;align-items:center;justify-content:center;font-weight:700;
}
.muted{color:var(--muted);font-size:14.5px;margin:-6px 0 14px}

/* ---------- progress ---------- */
.progress{padding:0 2px 12px}
.progress .bar{height:6px;border-radius:99px;background:#dfe4ea;overflow:hidden}
.progress .bar i{display:block;height:100%;width:0;background:var(--brand);border-radius:99px;transition:width .25s ease}
.step-label{display:block;margin-top:7px;font-size:11px;letter-spacing:.09em;color:var(--muted);font-weight:600}

/* ---------- fields ---------- */
.f{display:block;margin:0 0 16px}
.f > .f, .f .chips{margin-top:8px}
.f > span, .f{font-size:14.5px;font-weight:600;color:var(--ink-2)}
.req{color:var(--brand)}
input[type=text],input[type=tel],select,textarea{
  display:block;width:100%;margin-top:7px;
  font:inherit;font-size:16px;color:var(--ink);
  background:#fff;border:1.5px solid var(--line);border-radius:12px;
  padding:13px 13px;min-height:var(--tap);
  appearance:none;-webkit-appearance:none;
}
textarea{min-height:96px;line-height:1.5;resize:vertical}
select{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7484' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 15px center;
  padding-right:38px;
}
input:focus,select:focus,textarea:focus{
  outline:none;border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-soft);
}
.hint{display:block;margin-top:6px;font-size:12.5px;font-weight:400;color:var(--muted)}
.money{display:flex;align-items:center;gap:8px;margin-top:7px;border:1.5px solid var(--line);border-radius:12px;padding-left:13px;background:#fff}
.money:focus-within{border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-soft)}
.money span{font-size:14px;font-weight:700;color:var(--muted)}
.money input{margin:0;border:0;box-shadow:none!important;padding-left:2px;background:transparent}
.money input:focus{box-shadow:none!important}

.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{
  display:inline-flex;align-items:center;gap:7px;
  border:1.5px solid var(--line);border-radius:99px;
  padding:9px 13px;font-size:14px;font-weight:500;color:var(--ink-2);
  background:#fff;cursor:pointer;user-select:none;
}
.chip input{width:17px;height:17px;accent-color:var(--brand);margin:0}
.chip:has(input:checked){border-color:var(--brand);background:var(--brand-soft);color:var(--brand-dark);font-weight:600}

.check{
  display:flex;gap:11px;align-items:flex-start;margin:0 0 16px;
  font-size:14.5px;font-weight:500;color:var(--ink-2);line-height:1.45;
}
.check input{flex:0 0 22px;width:22px;height:22px;margin:1px 0 0;accent-color:var(--brand)}
.check.err-line{color:var(--brand)}

/* ---------- wheel ---------- */
.wheel{display:flex;justify-content:center;margin:0 0 8px}
#radar{width:230px;height:230px;max-width:74vw}
#radar .grid line,#radar .spokes line{stroke:#dfe4ea;stroke-width:1}
#radar .grid circle{fill:none;stroke:#e8ecf1;stroke-width:1}
#radar .shape{fill:rgba(190,30,45,.15);stroke:var(--brand);stroke-width:2;stroke-linejoin:round;transition:all .18s ease}
#radar .dots circle{fill:var(--brand)}
#radar .dots text{font-size:9.5px;font-weight:700;fill:var(--brand-dark);text-anchor:middle}

.sliders{margin:8px 0 0}
.sl{margin:0 0 14px}
.sl-top{display:flex;justify-content:space-between;align-items:baseline;gap:8px}
.sl-top b{font-size:14.5px;font-weight:600;color:var(--ink-2)}
.sl-top .val{
  flex:0 0 auto;font-size:13px;font-weight:700;color:#fff;background:var(--brand);
  border-radius:8px;padding:3px 9px;min-width:34px;text-align:center;
}
.sl em{display:block;font-style:normal;font-size:12.5px;color:var(--muted);margin-top:2px}
input[type=range]{
  -webkit-appearance:none;appearance:none;width:100%;height:34px;margin:4px 0 0;background:transparent;
}
input[type=range]::-webkit-slider-runnable-track{height:7px;border-radius:99px;background:#e4e8ee}
input[type=range]::-webkit-slider-thumb{
  -webkit-appearance:none;appearance:none;width:28px;height:28px;margin-top:-10.5px;
  border-radius:50%;background:#fff;border:3px solid var(--brand);box-shadow:0 1px 4px rgba(16,18,23,.25);
}
input[type=range]::-moz-range-track{height:7px;border-radius:99px;background:#e4e8ee}
input[type=range]::-moz-range-thumb{width:24px;height:24px;border-radius:50%;background:#fff;border:3px solid var(--brand)}
.scale{display:flex;justify-content:space-between;font-size:11px;color:var(--muted);margin-top:-2px}

/* ---------- review ---------- */
.review{margin:0 0 8px;padding:0}
.review div{
  display:flex;gap:10px;justify-content:space-between;align-items:flex-start;
  padding:11px 2px;border-bottom:1px solid var(--line);
}
.review dt{flex:0 0 42%;font-size:13px;color:var(--muted);font-weight:500;margin:0}
.review dd{margin:0;flex:1;text-align:right;font-size:14px;font-weight:600;color:var(--ink);word-break:break-word}
.reviewTotal{background:var(--brand-soft);border-radius:12px;padding:12px;border-bottom:0!important;margin-top:8px}
.reviewTotal dt{color:var(--brand-dark);font-weight:700}
.reviewTotal dd{color:var(--brand-dark);font-size:17px}

.err{color:var(--brand);font-size:14px;font-weight:600;margin:10px 0 0;min-height:1px}

/* ---------- buttons ---------- */
.nav{display:flex;gap:10px;margin-top:6px}
.nav .btn{flex:1}
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  font:inherit;font-size:15.5px;font-weight:600;
  min-height:var(--tap);padding:13px 18px;
  border-radius:12px;border:1.5px solid var(--line);background:#fff;color:var(--ink-2);
  cursor:pointer;-webkit-tap-highlight-color:transparent;
}
.btn:active{transform:translateY(1px)}
.btn.primary{background:var(--brand);border-color:var(--brand);color:#fff}
.btn.primary:active{background:var(--brand-dark)}
.btn.big{width:100%;font-size:16.5px;min-height:56px}
.btn[disabled]{opacity:.55;pointer-events:none}

/* ---------- done ---------- */
.done{text-align:center;padding:26px 18px}
.tick{
  width:58px;height:58px;border-radius:50%;background:var(--ok);color:#fff;
  font-size:30px;line-height:58px;margin:0 auto 14px;
}
.done h2{justify-content:center;display:block;font-size:21px}
.done p{color:var(--ink-2);margin:0 0 10px}
.done .ref{font-size:14px;color:var(--muted)}
.done .ref strong{color:var(--ink);letter-spacing:.03em}
.done-actions{display:flex;flex-direction:column;gap:10px;margin:18px 0 12px}
.fine{font-size:12.5px;color:var(--muted);line-height:1.5}

/* ---------- footer ---------- */
.foot{padding:14px 16px 34px;text-align:center;color:var(--muted);font-size:12.5px}
.foot p{margin:0 0 5px}

@media (min-width:560px){
  .card{padding:22px 22px}
  .intro h1{font-size:29px}
  .done-actions{flex-direction:row}
  .done-actions .btn{flex:1}
  #radar{width:270px;height:270px}
}
