/* OBG Smart Sales Quotation Calculator: styles */
:root {
  --bg: #F4F6F6;
  --surface: #FFFFFF;
  --ink: #0F1B24;
  --ink-2: #3E4C56;
  --muted: #6B7880;
  --line: #E2E7E8;
  --line-2: #CDD6D8;
  --brand: #3D7F80;
  --brand-600: #336C6D;
  --deep: #1E4A55;
  --deep-900: #133844;
  --tint: #EFF5F4;
  --tint-2: #E2EEEC;
  --amber: #8F6420;
  --amber-bg: #FBF5EA;
  --amber-line: #EED9B4;
  --danger: #B0413A;
  --danger-bg: #FCF0EF;
  --ok: #2F7A57;
  --ok-bg: #EDF7F1;
  --r-lg: 18px;
  --r: 12px;
  --r-sm: 8px;
  --shadow: 0 1px 2px rgba(15, 27, 36, .04), 0 12px 32px -16px rgba(15, 27, 36, .14);
  --shadow-sm: 0 1px 2px rgba(15, 27, 36, .05);
  --focus: 0 0 0 3px rgba(61, 127, 128, .30);
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font: 400 15px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
a { color: var(--brand); }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.ic { width: 18px; height: 18px; flex: none; }

/* ---------- Top bar ---------- */
.topbar { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.topbar-inner { max-width: 1200px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand img { height: 38px; width: auto; display: block; }
.topbar-right { display: flex; align-items: center; gap: 12px; }
.topbar-label { font-size: 13px; color: var(--muted); }
.currency { display: inline-flex; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 3px; gap: 2px; }
.currency button {
  border: 0; background: none; padding: 7px 12px; border-radius: 7px; font-weight: 600; font-size: 13px; color: var(--ink-2); cursor: pointer;
  transition: background .2s, color .2s;
}
.currency button span { color: var(--muted); font-weight: 500; margin-left: 2px; }
.currency button[aria-checked="true"] { background: var(--surface); color: var(--deep); box-shadow: var(--shadow-sm), 0 0 0 1px var(--line); }
.currency button[aria-checked="true"] span { color: var(--brand); }
.currency button:focus-visible { outline: none; box-shadow: var(--focus); }

.progress-mobile { display: none; padding: 0 20px 12px; }
.pm-bar { height: 4px; background: var(--line); border-radius: 4px; overflow: hidden; }
.pm-bar span { display: block; height: 100%; background: var(--brand); border-radius: 4px; transition: width .4s var(--ease); }
.pm-label { margin-top: 8px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }

/* ---------- Layout ---------- */
.layout { max-width: 1200px; margin: 0 auto; padding: 40px 24px 72px; display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start; }
.main { outline: none; min-width: 0; }
.rail { position: sticky; top: 108px; }
.steps { list-style: none; margin: 0; padding: 0; position: relative; }
.steps::before { content: ""; position: absolute; left: 15px; top: 18px; bottom: 18px; width: 1px; background: var(--line-2); }
.steps li { position: relative; }
.steps button {
  display: flex; align-items: center; gap: 14px; width: 100%; padding: 8px 0; border: 0; background: none; cursor: pointer; text-align: left;
  font-size: 14px; font-weight: 500; color: var(--muted);
}
.steps button:disabled { cursor: default; }
.steps button:not(:disabled):hover .lbl { color: var(--ink); }
.steps button:focus-visible { outline: none; }
.steps button:focus-visible .num { box-shadow: var(--focus); }
.steps .num {
  width: 31px; height: 31px; border-radius: 50%; display: grid; place-items: center; flex: none; position: relative; z-index: 1;
  background: var(--bg); border: 1px solid var(--line-2); font-size: 13px; font-weight: 600; color: var(--muted); transition: all .25s;
}
.steps .num .ic { width: 15px; height: 15px; stroke-width: 2.4; }
.steps .done .num { background: var(--tint-2); border-color: var(--tint-2); color: var(--deep); }
.steps .done .lbl { color: var(--ink-2); }
.steps .current .num { background: var(--deep); border-color: var(--deep); color: #fff; box-shadow: 0 0 0 4px var(--tint-2); }
.steps .current .lbl { color: var(--ink); font-weight: 600; }

.rail-note { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.rail-title { margin: 0 0 12px; font: 600 11.5px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.rail-note ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.rail-note li { display: flex; gap: 10px; font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.rail-note li .ic { width: 16px; height: 16px; color: var(--brand); margin-top: 2px; stroke-width: 2.2; }

/* ---------- Panel ---------- */
.panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow);
  padding: 44px 48px 36px; animation: enter .45s var(--ease) both;
}
@keyframes enter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.loading-panel { display: grid; place-items: center; gap: 12px; min-height: 280px; color: var(--muted); }

.step-head { margin-bottom: 32px; }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; margin: 0 0 10px; font: 600 12px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.eyebrow .ic { width: 15px; height: 15px; }
h1 { margin: 0; font: 600 clamp(28px, 3.3vw, 38px)/1.15 var(--serif); letter-spacing: -.012em; color: var(--ink); outline: none; }
.lede { margin: 12px 0 0; font-size: 16.5px; line-height: 1.6; color: var(--ink-2); max-width: 60ch; }
h2 { font: 600 21px/1.3 var(--serif); margin: 40px 0 16px; letter-spacing: -.005em; }
h3 { font: 600 16px/1.35 var(--sans); margin: 0; }

/* ---------- Fields ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 20px; }
.field { display: flex; flex-direction: column; margin-bottom: 4px; }
.field.wide { grid-column: 1 / -1; }
.panel > .field { margin-top: 28px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.optional { font-weight: 500; font-size: 12px; color: var(--muted); background: var(--bg); border-radius: 5px; padding: 2px 7px; margin-left: 6px; letter-spacing: .01em; }
.multi-hint { font-weight: 500; font-size: 12.5px; color: var(--muted); margin-left: 8px; }
.field input, .field textarea {
  width: 100%; border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface); padding: 13px 14px;
  font: 400 15px/1.4 var(--sans); color: var(--ink); transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input::placeholder, .field textarea::placeholder { color: #9AA6AC; }
.field input:hover, .field textarea:hover { border-color: #B7C2C5; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: var(--focus); }
.help { margin: 6px 0 0; font-size: 12.5px; color: var(--muted); }
.err { margin: 0; font-size: 13px; font-weight: 500; color: var(--danger); min-height: 0; }
.err:not(:empty) { margin-top: 8px; }
.err.block:not(:empty) { margin: 0 0 16px; padding: 12px 14px; background: var(--danger-bg); border-radius: 10px; }
.has-error input, .has-error textarea { border-color: var(--danger); }
.has-error input:focus { box-shadow: 0 0 0 3px rgba(176, 65, 58, .18); }
.has-error .opt-ui { border-color: rgba(176, 65, 58, .45); }

/* ---------- Questions and options ---------- */
.q { border: 0; margin: 0 0 32px; padding: 0; min-width: 0; }
.q legend { padding: 0; margin-bottom: 14px; font-size: 15.5px; font-weight: 600; color: var(--ink); line-height: 1.45; }
.q-hint { margin: -8px 0 14px; font-size: 13.5px; color: var(--muted); }
.opts { display: grid; gap: 10px; }
.opts.cols-1 { grid-template-columns: 1fr; }
.opts.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.opts.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.opt-ui {
  display: flex; align-items: center; gap: 12px; height: 100%; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: var(--r);
  background: var(--surface); transition: border-color .18s, background .18s, box-shadow .18s, transform .12s;
}
.opt:hover .opt-ui { border-color: #AEBBBE; }
.opt:active .opt-ui { transform: scale(.995); }
.opt input:focus-visible + .opt-ui { box-shadow: var(--focus); border-color: var(--brand); }
.opt input:checked + .opt-ui { border-color: var(--brand); background: var(--tint); box-shadow: inset 0 0 0 1px var(--brand); }
.ind {
  width: 18px; height: 18px; flex: none; border: 1.5px solid #A9B5B9; border-radius: 50%; background: var(--surface) center/12px no-repeat;
  transition: all .18s;
}
.opt input[type=checkbox] + .opt-ui .ind { border-radius: 5px; }
.opt input:checked + .opt-ui .ind {
  border-color: var(--brand); background-color: var(--brand);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.opt input[type=radio]:checked + .opt-ui .ind { background-image: none; box-shadow: inset 0 0 0 3.5px #fff; }
.opt-text { display: flex; flex-direction: column; min-width: 0; }
.opt-label { font-size: 14.5px; font-weight: 500; line-height: 1.4; color: var(--ink); }
.opt-sub { font-size: 12.5px; color: var(--muted); margin-top: 2px; }

/* Chips */
.opts.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips .opt-ui { padding: 9px 15px; border-radius: 999px; gap: 8px; }
.chips .ind { display: none; }
.chips .opt-label { font-size: 14px; }
.chips .opt input:checked + .opt-ui { background: var(--deep); border-color: var(--deep); box-shadow: none; }
.chips .opt input:checked + .opt-ui .opt-label { color: #fff; }
.chips .opt input:checked + .opt-ui::before {
  content: ""; width: 14px; height: 14px; margin-left: -3px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
}
.chips .opt input:focus-visible + .opt-ui { box-shadow: var(--focus); }

/* Segmented (SDR team size) */
.opts.seg { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.seg .opt-ui { flex-direction: column; align-items: flex-start; justify-content: space-between; padding: 12px 12px; gap: 6px; }
.seg .ind { display: none; }
.seg .opt-label { font-weight: 600; font-size: 14.5px; }
.seg .opt-sub { font-size: 12px; line-height: 1.3; }
.seg .opt input:checked + .opt-ui .opt-sub { color: var(--deep); font-weight: 600; }

/* Conditional blocks */
.cond.reveal { animation: reveal .32s var(--ease) both; }
@keyframes reveal { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* Switch */
.switch { display: flex; align-items: flex-start; gap: 14px; cursor: pointer; padding: 4px 0 20px; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.track { width: 44px; height: 26px; border-radius: 13px; background: #CBD5D8; position: relative; flex: none; transition: background .2s; margin-top: 1px; }
.track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .18); transition: transform .25s var(--ease); }
.switch input:checked + .track { background: var(--brand); }
.switch input:checked + .track::after { transform: translateX(18px); }
.switch input:focus-visible + .track { box-shadow: var(--focus); }
.switch-text { display: flex; flex-direction: column; }
.switch-label { font-weight: 600; font-size: 15px; }
.switch-sub { font-size: 13.5px; color: var(--muted); margin-top: 2px; }

/* Notes */
.note { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 0; padding: 12px 14px; border-radius: 10px; background: var(--tint); color: var(--ink-2); font-size: 13.5px; }
.note .ic { color: var(--brand); width: 17px; height: 17px; margin-top: 1px; }
.note.subtle { background: var(--bg); margin: 0 0 18px; }

/* Navigation */
.nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 12px 22px; border-radius: 11px;
  font: 600 15px var(--sans); cursor: pointer; border: 1px solid transparent; text-decoration: none; transition: background .2s, border-color .2s, box-shadow .2s, transform .1s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: none; box-shadow: var(--focus); }
.btn.primary { background: var(--deep); color: #fff; box-shadow: 0 1px 2px rgba(19, 56, 68, .2), 0 6px 16px -8px rgba(19, 56, 68, .5); }
.btn.primary:hover { background: var(--deep-900); }
.btn.secondary { background: var(--surface); color: var(--deep); border-color: var(--line-2); }
.btn.secondary:hover { border-color: var(--brand); background: var(--tint); }
.btn.ghost { background: none; color: var(--ink-2); padding-left: 14px; padding-right: 14px; }
.btn.ghost:hover { background: var(--bg); color: var(--ink); }
.btn:disabled { opacity: .75; cursor: progress; }
.btn .ic { width: 18px; height: 18px; }
.link-btn { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 4px 0; font-size: 13.5px; font-weight: 600; color: var(--brand); cursor: pointer; }
.link-btn .ic { width: 15px; height: 15px; }
.link-btn:hover { color: var(--deep); text-decoration: underline; }

.trust { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 22px 0 0; font-size: 13px; color: var(--muted); text-align: center; }
.trust .ic { width: 16px; height: 16px; color: var(--brand); }

.spinner { width: 26px; height: 26px; border: 2.5px solid var(--line-2); border-top-color: var(--brand); border-radius: 50%; animation: spin .8s linear infinite; }
.spinner.sm { width: 16px; height: 16px; border-width: 2px; border-color: rgba(255, 255, 255, .35); border-top-color: #fff; }
.btn.secondary .spinner.sm, .btn.ghost .spinner.sm { border-color: var(--line-2); border-top-color: var(--brand); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Solution step ---------- */
.rec { background: linear-gradient(180deg, var(--tint), #F6FAF9); border: 1px solid var(--tint-2); border-radius: var(--r-lg); padding: 22px 24px; margin-bottom: 28px; }
.rec-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.rec .eyebrow { margin-bottom: 8px; }
.rec-headline { margin: 0; font: 500 18px/1.5 var(--serif); color: var(--ink); }
.rec-reasons { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.rec-reasons li { position: relative; padding-left: 18px; font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.rec-reasons li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.rec-reasons strong { color: var(--ink); font-weight: 600; }
.rec.compact { padding: 20px 22px; }

.svc-list { display: grid; gap: 16px; }
.svc { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); transition: border-color .25s, box-shadow .25s; }
.svc.is-active { border-color: rgba(61, 127, 128, .55); box-shadow: 0 0 0 3px rgba(61, 127, 128, .07); }
.svc-head { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: start; padding: 22px 24px 18px; }
.svc-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--tint); color: var(--deep); }
.svc-icon .ic { width: 22px; height: 22px; }
.svc.is-active .svc-icon { background: var(--deep); color: #fff; }
.svc-titles h3 { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 17px; }
.svc-titles p { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; background: var(--amber-bg); border: 1px solid var(--amber-line); color: var(--amber); font-size: 11.5px; font-weight: 600; letter-spacing: .02em; }
.badge .ic { width: 12px; height: 12px; }
.svc-price { text-align: right; display: flex; flex-direction: column; align-items: flex-end; min-width: 120px; }
.svc-price strong { font: 600 20px/1.2 var(--serif); color: var(--ink); }
.svc-price strong.sm { font-size: 15px; margin-top: 6px; }
.svc-price span { font-size: 12px; color: var(--muted); }
.pill { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--bg); font-size: 12px !important; font-weight: 600; color: var(--muted) !important; }
.pill.ok { background: var(--tint); color: var(--deep) !important; }
.pill.warn { background: var(--amber-bg); color: var(--amber) !important; }
.svc-body { padding: 0 24px 20px 84px; }
.svc-body .q { margin-bottom: 22px; }
.svc-body .q legend { font-size: 14.5px; }
.svc-body .opt-ui { padding: 12px 14px; }
.svc-body .opt-label { font-size: 14px; }

details.incl { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 4px; }
details.incl summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--brand); }
details.incl summary::-webkit-details-marker { display: none; }
details.incl summary::after { content: ""; width: 7px; height: 7px; border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; margin-left: 4px; }
details.incl[open] summary::after { transform: rotate(-135deg) translateY(-1px); }
details.incl ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 7px 18px; }
details.incl li { display: flex; gap: 8px; font-size: 13.5px; color: var(--ink-2); }
details.incl li .ic { width: 15px; height: 15px; color: var(--brand); margin-top: 3px; stroke-width: 2.4; }
.incl-note { margin: 12px 0 0; font-size: 13px; color: var(--deep); font-weight: 500; }

.consent { margin-top: 28px; padding: 20px 22px; border-radius: var(--r); background: var(--bg); display: grid; gap: 12px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; line-height: 1.55; color: var(--ink-2); cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check .box { width: 19px; height: 19px; border-radius: 5px; border: 1.5px solid #A9B5B9; background: #fff center/13px no-repeat; flex: none; margin-top: 1px; transition: all .18s; }
.check input:checked + .box { background-color: var(--brand); border-color: var(--brand); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.check input:focus-visible + .box { box-shadow: var(--focus); }
.consent.has-error .check:first-child .box { border-color: var(--danger); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.estimate {
  position: sticky; bottom: 16px; z-index: 5; margin: 28px -12px 0; padding: 16px 18px 16px 24px; border-radius: 16px;
  background: var(--deep-900); color: #fff; display: flex; align-items: center; gap: 12px 28px;
  box-shadow: 0 18px 40px -18px rgba(19, 56, 68, .65);
}
.est-figs { display: flex; gap: 28px; }
.est-fig { display: flex; flex-direction: column; }
.est-label { font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: #9FC0C2; font-weight: 600; }
.est-fig strong { font: 600 24px/1.2 var(--serif); }
.est-fig strong sup, .kpi-value sup { font-size: .55em; margin-left: 2px; color: #E7C27F; }
.est-note { margin: 0; flex: 1 1 160px; min-width: 0; font-size: 12.5px; line-height: 1.45; color: #B5CBCD; }
.est-fig strong.tbc { font: 600 15px/1.6 var(--sans); color: #E7C27F; white-space: nowrap; }
.est-actions { display: flex; gap: 8px; }
.estimate .btn.primary { background: #fff; color: var(--deep-900); box-shadow: none; }
.estimate .btn.primary:hover { background: var(--tint); }
.estimate .btn.ghost { color: #CFE0E1; }
.estimate .btn.ghost:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.estimate .spinner.sm { border-color: rgba(19, 56, 68, .25); border-top-color: var(--deep); }

/* ---------- Quotation ---------- */
.quote { transition: opacity .25s; }
.quote.is-updating { opacity: .5; pointer-events: none; }
.q-head { display: flex; justify-content: space-between; gap: 32px; align-items: flex-start; padding-bottom: 28px; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.prepared { margin: 12px 0 0; color: var(--ink-2); font-size: 15px; }
.q-meta { margin: 0; display: grid; gap: 10px; min-width: 260px; flex: none; padding: 16px 18px; border-radius: var(--r); background: var(--bg); }
.q-meta div { display: flex; justify-content: space-between; gap: 16px; }
.q-meta dt { font-size: 12.5px; color: var(--muted); }
.q-meta dd { margin: 0; font-size: 13px; font-weight: 600; color: var(--ink); text-align: right; white-space: nowrap; }
.kpi-value.tbc { font: 600 17px/1.6 var(--sans); color: var(--amber); }

.banner { display: flex; gap: 12px; padding: 16px 18px; border-radius: var(--r); margin-bottom: 22px; }
.banner .ic { width: 20px; height: 20px; margin-top: 1px; }
.banner p { margin: 4px 0 0; font-size: 14px; color: var(--ink-2); line-height: 1.55; }
.banner.warn { background: var(--amber-bg); border: 1px solid var(--amber-line); }
.banner.warn .ic, .banner.warn strong { color: var(--amber); }

.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 24px 0 20px; }
.kpi { border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; background: var(--surface); }
.kpi.strong { background: var(--deep-900); border-color: var(--deep-900); color: #fff; }
.kpi-label { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.kpi.strong .kpi-label { color: #9FC0C2; }
.kpi-value { font: 600 clamp(24px, 2.6vw, 30px)/1.15 var(--serif); letter-spacing: -.01em; }
.kpi-sub { font-size: 12.5px; color: var(--muted); }
.kpi.strong .kpi-sub { color: #B5CBCD; }

.actions { display: flex; flex-wrap: wrap; gap: 10px; padding: 18px 0 4px; }
.status:not(:empty) { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; padding: 14px 16px; border-radius: var(--r); font-size: 14px; line-height: 1.55; }
.status .ic { width: 18px; height: 18px; margin-top: 2px; }
.status.ok { background: var(--ok-bg); color: #1F5B40; }
.status.info { background: var(--tint); color: var(--deep); }
.status.error { background: var(--danger-bg); color: #7E2D27; }
.inline-cta { font-weight: 600; margin-left: 4px; }
.consult { margin-top: 14px; padding: 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); animation: reveal .3s var(--ease) both; }
.consult h3 { font: 600 17px var(--serif); }
.consult > p { margin: 6px 0 18px; font-size: 14px; color: var(--ink-2); }
.consult-actions { display: flex; gap: 8px; margin-top: 18px; }

.lines { border-top: 1px solid var(--line); }
.line { display: grid; grid-template-columns: 1fr auto; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.line-name { margin: 0; font-weight: 600; font-size: 15.5px; color: var(--ink); }
.line-detail { margin: 3px 0 0; font-size: 14px; color: var(--ink-2); }
.line-unit { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.line-scope { margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.line-scope span { font-size: 12.5px; padding: 3px 10px; border-radius: 999px; background: var(--bg); color: var(--ink-2); }
.line details.incl { grid-column: 1 / -1; border: 0; padding-top: 0; margin: -14px 0 0; }
.line-amt { text-align: right; display: flex; flex-direction: column; align-items: flex-end; }
.amt { font: 600 18px/1.3 var(--serif); color: var(--ink); white-space: nowrap; }
.amt.included { font: 600 13px var(--sans); color: var(--deep); background: var(--tint); padding: 4px 10px; border-radius: 999px; }
.amt.tbc { font: 600 13px var(--sans); color: var(--amber); background: var(--amber-bg); padding: 4px 10px; border-radius: 999px; }
.per { font-size: 12px; color: var(--muted); }
.line.is-included .line-name { font-weight: 500; color: var(--ink-2); }

.totals { margin: 18px 0 0 auto; max-width: 440px; display: grid; gap: 2px; }
.trow { display: flex; justify-content: space-between; gap: 24px; padding: 8px 0; font-size: 14.5px; color: var(--ink-2); }
.trow span:last-child { font-weight: 600; color: var(--ink); white-space: nowrap; }
.trow.disc span:last-child { color: var(--ok); }
.trow.grand { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 6px; font-weight: 600; color: var(--ink); }
.trow.grand span:last-child { font: 600 19px var(--serif); }
.trow.grand small { font: 400 13px var(--sans); color: var(--muted); }
.trow.subtle span:last-child { font-size: 16px; }

.perspective { display: flex; gap: 12px; margin-top: 28px; padding: 16px 18px; border-radius: var(--r); background: var(--tint); }
.perspective .ic { color: var(--brand); margin-top: 2px; }
.perspective p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.q-notes { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.q-notes li { display: flex; gap: 10px; font-size: 14px; color: var(--ink-2); }
.q-notes .ic { color: var(--brand); margin-top: 2px; width: 16px; height: 16px; }
.why h2 { margin-top: 40px; }
.terms { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.terms h3 { font: 600 15px var(--serif); margin-bottom: 10px; }
.terms ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 13.5px; color: var(--ink-2); line-height: 1.55; }
.disclaimer { margin: 28px 0 0; padding: 14px 16px; border-radius: 10px; background: var(--bg); font-size: 12.5px; line-height: 1.6; color: var(--muted); }
.q-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 24px; }
.q-foot .trust { margin: 0; justify-content: flex-start; }

/* ---------- Footer ---------- */
.site-foot { max-width: 1200px; margin: 0 auto; padding: 0 24px 40px; display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; font-size: 12.5px; color: var(--muted); }
.site-foot a { color: var(--muted); text-decoration: none; }
.site-foot a:hover { color: var(--brand); text-decoration: underline; }

/* ---------- Embedded mode ---------- */
.is-embed body { background: transparent; }
.is-embed .topbar { position: static; background: transparent; border-bottom: 0; }
.is-embed .layout { padding-top: 12px; padding-bottom: 32px; }
.is-embed .rail { top: 24px; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .layout { grid-template-columns: 1fr; gap: 0; padding-top: 20px; }
  .rail { display: none; }
  .progress-mobile { display: block; max-width: 1200px; margin: 0 auto; padding: 0 24px 14px; }
}
@media (max-width: 720px) {
  .topbar-inner { padding: 12px 16px; }
  .brand img { height: 32px; }
  .topbar-label { display: none; }
  .progress-mobile { padding: 0 16px 12px; }
  .layout { padding: 16px 12px 48px; }
  .panel { padding: 28px 20px 24px; border-radius: 16px; }
  .step-head { margin-bottom: 24px; }
  .lede { font-size: 15.5px; }
  .grid-2 { grid-template-columns: 1fr; gap: 16px; }
  .opts.cols-2, .opts.cols-3 { grid-template-columns: 1fr; }
  .opts.seg { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .svc-head { grid-template-columns: auto 1fr; padding: 18px 16px 14px; gap: 12px; }
  .svc-icon { width: 38px; height: 38px; }
  .svc-price { grid-column: 1 / -1; flex-direction: row; align-items: baseline; gap: 6px; text-align: left; min-width: 0; flex-wrap: wrap; }
  .svc-price strong.sm { margin: 0 0 0 10px; }
  .svc-body { padding: 0 16px 16px; }
  details.incl ul { grid-template-columns: 1fr; }
  .rec { padding: 18px; }
  .rec-headline { font-size: 16.5px; }
  .estimate { flex-direction: column; align-items: stretch; margin: 24px -8px 0; padding: 14px 16px; bottom: 10px; gap: 10px; }
  .est-note { display: none; }
  .est-fig strong { font-size: 21px; }
  .est-actions { width: 100%; }
  .est-actions .btn.primary { flex: 1; }
  .hide-sm { display: none; }
  .nav { margin-top: 28px; padding-top: 20px; }
  .nav .btn.primary { flex: 1; max-width: 260px; margin-left: auto; }
  .q-head { flex-direction: column; gap: 18px; }
  .q-meta { width: 100%; }
  .kpis { grid-template-columns: 1fr; }
  .actions .btn { flex: 1 1 auto; }
  .line { grid-template-columns: 1fr; gap: 8px; }
  .line details.incl { margin-top: 0; }
  .line-amt { align-items: flex-start; text-align: left; flex-direction: row; gap: 8px; align-items: baseline; }
  .totals { max-width: none; }
  .terms { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- Print / PDF ---------- */
@media print {
  @page { margin: 14mm; }
  body { background: #fff; font-size: 12px; }
  .topbar, .rail, .progress-mobile, .actions, .status, .consult, .site-foot, .q-foot .link-btn, .estimate { display: none !important; }
  .layout { display: block; padding: 0; max-width: none; }
  .panel { border: 0; box-shadow: none; padding: 0; animation: none; }
  .panel::before { content: ""; display: block; height: 34px; margin-bottom: 18px; background: url("logo.png") left center/contain no-repeat; }
  .kpi.strong { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .line, .kpis, .terms, .totals, .rec { break-inside: avoid; }
  details.incl > *:not(summary) { display: block; }
  details.incl summary { display: none; }
  details.incl ul { display: grid !important; }
  a { color: inherit; text-decoration: none; }
}
