/* =========================================================
   Striekači.sk – konfigurátor ceny
   ========================================================= */
.cfg-body { background: var(--slate-50); min-height: 100dvh; display: flex; flex-direction: column; }
.cfg-body::before { content: ""; position: fixed; inset: 0 0 auto; height: 520px; z-index: -1; pointer-events: none; background: radial-gradient(50% 70% at 85% 0%, rgba(251,176,112,.22), transparent 70%), radial-gradient(40% 60% at 0% 10%, rgba(251,200,152,.18), transparent 70%); }

/* ---------- hlavička ---------- */
.cfg-header { position: sticky; top: 0; z-index: var(--z-header); background: rgba(255,255,255,.85); -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid var(--c-line); }
.cfg-header__inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; height: 68px; }
.cfg-header .logo__word { font-size: 1.1875rem; }
.cfg-header .logo__mark { width: 34px; height: 34px; }
.cfg-actions { display: flex; align-items: center; gap: 6px; }
.cfg-call { display: none; align-items: center; gap: 8px; padding: 10px 12px; border-radius: var(--r-pill); font: 700 var(--fs-sm)/1 var(--font-head); color: var(--c-ink); text-decoration: none; }
.cfg-call .i { color: var(--c-primary); }
.cfg-call:hover { background: var(--slate-100); }
.cfg-close { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--c-ink-2); text-decoration: none; border: 1px solid var(--c-line); background: #fff; transition: background-color var(--t-fast), color var(--t-fast); }
.cfg-close:hover { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
@media (min-width: 760px) { .cfg-call { display: inline-flex; } }

/* postup */
.progress { justify-self: center; width: 100%; max-width: 560px; }
.progress__phases { display: none; list-style: none; justify-content: space-between; position: relative; }
.progress__phases li { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; font: 700 .75rem/1 var(--font-head); color: var(--c-ink-3); flex: 1; }
.progress__phases li::before { content: ""; position: absolute; top: 13px; left: calc(-50% + 18px); right: calc(50% + 18px); height: 2px; border-radius: 2px; background: var(--c-line); z-index: -1; transition: background-color .4s; }
.progress__phases li:first-child::before { display: none; }
.progress__dot { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--c-line-strong); background: #fff; font-size: .75rem; color: var(--c-ink-3); transition: background-color .3s, border-color .3s, color .3s, transform .4s var(--ease-spring), box-shadow .3s; }
.progress__dot svg { width: 14px; height: 14px; }
.progress__phases li.is-done { color: var(--c-ink-2); }
.progress__phases li.is-done::before, .progress__phases li.is-current::before { background: var(--c-primary); }
.progress__phases li.is-done .progress__dot { background: var(--c-primary); border-color: var(--c-primary); color: var(--c-on-primary); }
.progress__phases li.is-current { color: var(--c-ink); }
.progress__phases li.is-current .progress__dot { border-color: var(--c-primary); color: var(--c-primary-text); box-shadow: 0 0 0 5px var(--peach-100); transform: scale(1.08); }
.progress__mobile { display: grid; gap: 7px; }
.progress__text { display: flex; justify-content: space-between; font: 700 var(--fs-xs)/1 var(--font-head); color: var(--c-ink-3); }
.progress__text b { color: var(--c-ink); }
.progress__bar { height: 6px; border-radius: var(--r-pill); background: var(--slate-200); overflow: hidden; }
.progress__bar span { display: block; height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--orange-600), var(--orange-400)); transform-origin: left; transform: scaleX(var(--p, .1)); transition: transform .6s var(--ease-out); }
@media (min-width: 900px) { .progress__phases { display: flex; } .progress__mobile { display: none; } }
@media (max-width: 480px) { .cfg-header .logo__word { display: none; } }

/* ---------- rozloženie ---------- */
.cfg { flex: 1; width: 100%; max-width: calc(1180px + var(--gutter) * 2); margin-inline: auto; padding: clamp(16px, 3vw, 40px) var(--gutter) 120px; display: grid; gap: 28px; align-items: start; }
@media (min-width: 1024px) { .cfg { grid-template-columns: minmax(0, 1fr) 340px; padding-bottom: 64px; } .cfg.is-result { grid-template-columns: minmax(0, 1fr); max-width: calc(980px + var(--gutter) * 2); } }
.cfg-card { position: relative; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-xl); box-shadow: var(--sh-md); padding: clamp(22px, 4vw, 48px); }
@media (max-width: 599px) { .cfg-card { border-radius: var(--r-lg); padding: 22px 18px 26px; } }

/* ---------- prechody krokov ---------- */
.stage { transition: opacity .34s var(--ease-out), transform .42s var(--ease-out); }
.stage.is-leaving-fwd { opacity: 0; transform: translateX(-28px); transition-duration: .16s; transition-timing-function: ease-in; }
.stage.is-leaving-back { opacity: 0; transform: translateX(28px); transition-duration: .16s; transition-timing-function: ease-in; }
.stage.is-entering-fwd { opacity: 0; transform: translateX(28px); transition: none; }
.stage.is-entering-back { opacity: 0; transform: translateX(-28px); transition: none; }
.anim-in { animation: rise .5s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 45ms + 60ms); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

/* ---------- hlavička kroku ---------- */
.step-head { display: grid; gap: 10px; margin-bottom: clamp(22px, 3vw, 32px); }
.step-head__kicker { display: inline-flex; align-items: center; gap: 8px; font: 700 var(--fs-xs)/1 var(--font-head); color: var(--c-primary-text); letter-spacing: .1em; text-transform: uppercase; }
.step-head h1 { font-size: clamp(1.625rem, 1.2rem + 1.7vw, 2.375rem); letter-spacing: -.035em; outline: none; }
.step-head p { color: var(--c-ink-3); font-size: var(--fs-md); max-width: 620px; }

/* ---------- skupiny ---------- */
.group { border: 0; margin: 0 0 26px; padding: 0; min-width: 0; }
.group:last-child { margin-bottom: 0; }
.group__label { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; width: 100%; padding: 0; margin-bottom: 12px; font: 800 var(--fs-md)/1.3 var(--font-head); color: var(--c-ink); letter-spacing: -.01em; }
.group__label small { font: 500 var(--fs-xs)/1.2 var(--font-body); color: var(--c-ink-3); letter-spacing: 0; }
.group__help { margin-top: 8px; font-size: var(--fs-xs); color: var(--c-ink-3); display: flex; gap: 6px; align-items: flex-start; }
.group__help .i { width: 14px; height: 14px; margin-top: 2px; color: var(--orange-500); }
.row { display: grid; gap: 22px; }
@media (min-width: 640px) { .row { grid-template-columns: 1fr 1fr; } .row > .group { margin-bottom: 0; } .row { margin-bottom: 26px; } }
[hidden] { display: none !important; }

/* ---------- dlaždice ---------- */
.tiles { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .tiles--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .tiles--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.tiles--big .tile__box { min-height: 150px; padding: 20px; }
.tiles--big .tile__ico { width: 52px; height: 52px; border-radius: 16px; }
.tiles--big .tile__ico .i { width: 26px; height: 26px; }
.tiles--big .tile__title { font-size: 1.0625rem; }
.tile { position: relative; display: block; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.tile__input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.tile__box {
  position: relative; height: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  min-height: 112px; padding: 16px; border-radius: var(--r-md);
  background: #fff; border: 1.5px solid var(--c-line); color: var(--c-ink);
  transition: border-color var(--t-fast), background-color var(--t-fast), box-shadow var(--t-med) var(--ease-out), transform var(--t-med) var(--ease-out);
}
.tile:hover .tile__box { border-color: var(--orange-300); transform: translateY(-2px); box-shadow: 0 10px 24px -16px rgba(242,135,58,.6); }
.tile:active .tile__box { transform: scale(.98); }
.tile__ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--slate-100); color: var(--navy-700); transition: background-color var(--t-med), color var(--t-med), transform .45s var(--ease-spring); }
.tile__title { font: 800 var(--fs-md)/1.2 var(--font-head); letter-spacing: -.015em; }
.tile__desc { font-size: var(--fs-xs); color: var(--c-ink-3); line-height: 1.4; }
.tile__badge { align-self: flex-start; margin-top: auto; padding: 4px 8px; border-radius: var(--r-pill); background: #ECFDF3; color: var(--green-700); font: 700 .6875rem/1 var(--font-head); }
.tile__check { position: absolute; right: 12px; top: 12px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--c-line-strong); background: #fff; color: #fff; transition: background-color var(--t-fast), border-color var(--t-fast), transform .35s var(--ease-spring); }
.tile__check svg { width: 14px; height: 14px; opacity: 0; transform: scale(.4); transition: opacity var(--t-fast), transform .35s var(--ease-spring); }
.tile__input[type="radio"] + .tile__box .tile__check { border-radius: 50%; }
.tile__input:checked + .tile__box { border-color: var(--c-primary); background: var(--peach-50); box-shadow: 0 0 0 3px rgba(242,135,58,.14); }
.tile__input:checked + .tile__box .tile__ico { background: var(--c-primary); color: var(--c-on-primary); transform: rotate(-6deg) scale(1.05); }
.tile__input:checked + .tile__box .tile__check { background: var(--c-primary); border-color: var(--c-primary); color: var(--c-on-primary); transform: scale(1.05); }
.tile__input:checked + .tile__box .tile__check svg { opacity: 1; transform: none; }
.tile__input:focus-visible + .tile__box { outline: 3px solid var(--orange-400); outline-offset: 3px; }
.tile__swatch { width: 44px; height: 44px; border-radius: 13px; border: 1px solid var(--c-line); overflow: hidden; flex: none; }
.tile__swatch--white { background: linear-gradient(140deg, #fff, #EEF1F5); }
.tile__swatch--color { background: conic-gradient(from 200deg, #2563EB, #22C55E, #F59E0B, #EF4444, #A855F7, #F2873A); }
.tile__swatch--mix { background: linear-gradient(180deg, #fff 0 36%, var(--c-line) 36% calc(36% + 1px), transparent calc(36% + 1px)), conic-gradient(from 200deg, #2563EB, #22C55E, #F59E0B, #EF4444, #A855F7, #F2873A); }
.tile__price { margin-top: auto; }
#step-title:focus { outline: none; } /* nadpis dostáva fokus programovo kvôli čítačkám */
@media (max-width: 639px) {
  .tiles--svc { grid-template-columns: 1fr; }
  .tiles--svc .tile__box { min-height: 0; display: grid; grid-template-columns: 52px 1fr; column-gap: 14px; row-gap: 2px; align-items: center; padding: 16px 48px 16px 16px; }
  .tiles--svc .tile__ico { grid-row: span 2; }
}
.tile__price { font: 700 var(--fs-xs)/1 var(--font-head); color: var(--c-primary-text); }

/* čipy (viac možností) */
.chips-pick { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .chips-pick { grid-template-columns: 1fr 1fr; } }
.chip-opt { position: relative; display: block; cursor: pointer; }
.chip-opt__box { display: grid; grid-template-columns: 40px 1fr 24px; align-items: center; gap: 12px; padding: 14px; border-radius: var(--r-md); border: 1.5px solid var(--c-line); background: #fff; transition: border-color var(--t-fast), background-color var(--t-fast), transform var(--t-med) var(--ease-out); }
.chip-opt:hover .chip-opt__box { border-color: var(--orange-300); }
.chip-opt__ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--slate-100); color: var(--navy-700); transition: background-color var(--t-med), color var(--t-med); }
.chip-opt__ico .i { width: 20px; height: 20px; }
.chip-opt__title { display: block; font: 800 var(--fs-sm)/1.25 var(--font-head); color: var(--c-ink); }
.chip-opt__desc { display: block; font-size: var(--fs-xs); color: var(--c-ink-3); margin-top: 2px; }
.chip-opt .tile__check { position: static; border-radius: 7px; }
.tile__input:checked + .chip-opt__box { border-color: var(--c-primary); background: var(--peach-50); }
.tile__input:checked + .chip-opt__box .chip-opt__ico { background: var(--c-primary); color: var(--c-on-primary); }
.tile__input:checked + .chip-opt__box .tile__check { background: var(--c-primary); border-color: var(--c-primary); color: var(--c-on-primary); }
.tile__input:checked + .chip-opt__box .tile__check svg { opacity: 1; transform: none; }
.tile__input:focus-visible + .chip-opt__box { outline: 3px solid var(--orange-400); outline-offset: 3px; }

/* segmentové prepínače */
.seg { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; border-radius: 16px; background: var(--slate-100); width: 100%; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; padding: 10px 12px; border-radius: 12px; font: 700 var(--fs-sm)/1.2 var(--font-head); color: var(--c-ink-3); text-align: center; transition: background-color var(--t-fast), color var(--t-fast), box-shadow var(--t-fast); }
.seg label:hover span { color: var(--c-ink); }
.seg input:checked + span { background: #fff; color: var(--c-ink); box-shadow: var(--sh-sm); }
.seg input:checked + span .i { color: var(--c-primary); }
.seg input:focus-visible + span { outline: 3px solid var(--orange-400); outline-offset: 1px; }

/* počítadlo +/- */
.stepper { display: inline-grid; grid-template-columns: 48px minmax(84px, auto) 48px; align-items: center; border-radius: 16px; border: 1.5px solid var(--c-line); background: #fff; overflow: hidden; width: 100%; max-width: 280px; }
.stepper button { height: 50px; border: 0; background: transparent; color: var(--c-ink); display: grid; place-items: center; transition: background-color var(--t-fast), color var(--t-fast); }
.stepper button:hover { background: var(--peach-50); color: var(--c-primary); }
.stepper button:active { background: var(--peach-100); }
.stepper button:disabled { opacity: .35; pointer-events: none; }
.stepper output { text-align: center; font: 800 1.125rem/1 var(--font-head); color: var(--c-ink); font-variant-numeric: tabular-nums; }
.stepper output small { font: 600 var(--fs-xs)/1 var(--font-body); color: var(--c-ink-3); margin-left: 3px; }

/* posuvník + číslo */
.range-num { display: grid; gap: 14px; }
.range-num__top { display: flex; align-items: center; gap: 12px; }
.num-field { display: inline-flex; align-items: center; gap: 6px; padding: 0 16px; height: 56px; border-radius: 16px; border: 1.5px solid var(--c-line); background: #fff; transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.num-field:focus-within { border-color: var(--c-primary); box-shadow: 0 0 0 4px rgba(242,135,58,.14); }
.num-field input { width: 5.5ch; border: 0; outline: 0; background: transparent; font: 800 1.5rem/1 var(--font-head); color: var(--c-ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield; }
.num-field input::-webkit-outer-spin-button, .num-field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.num-field span { font: 700 var(--fs-md)/1 var(--font-head); color: var(--c-ink-3); }
.num-field--sm { height: 50px; }
.num-field--sm input { font-size: 1.125rem; width: 4ch; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; --p: 30%; }
.range:focus { outline: none; }
.range::-webkit-slider-runnable-track { height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--orange-600) 0 var(--p), var(--slate-200) var(--p) 100%); }
.range::-moz-range-track { height: 8px; border-radius: 8px; background: var(--slate-200); }
.range::-moz-range-progress { height: 8px; border-radius: 8px; background: var(--orange-600); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -10px; border-radius: 50%; background: #fff; border: 2px solid var(--c-primary); box-shadow: 0 4px 12px rgba(242,135,58,.35); transition: transform var(--t-fast); }
.range::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid var(--c-primary); box-shadow: 0 4px 12px rgba(242,135,58,.35); }
.range:active::-webkit-slider-thumb { transform: scale(1.15); }
.range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 6px rgba(251,176,112,.35); }
.range-num__scale { display: flex; justify-content: space-between; font-size: .75rem; color: var(--c-ink-3); margin-top: -6px; }

/* výsledok odhadu plochy */
.calc { position: relative; display: grid; gap: 12px; padding: 18px 20px; border-radius: var(--r-md); background: linear-gradient(120deg, var(--peach-50), #fff); border: 1px solid var(--peach-100); overflow: hidden; }
.calc::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, rgba(251,176,112,.25), transparent 70%); pointer-events: none; }
.calc__main { display: flex; align-items: center; gap: 14px; }
.calc__ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: #fff; color: var(--c-primary); box-shadow: var(--sh-xs); flex: none; }
.calc__val { font: 800 1.375rem/1.1 var(--font-head); color: var(--c-ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.calc__sub { font-size: var(--fs-xs); color: var(--c-ink-3); }
.calc__manual { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.text-btn { border: 0; background: none; padding: 6px 0; font: 700 var(--fs-sm)/1.2 var(--font-head); color: var(--c-primary-text); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.text-btn:hover { color: var(--c-primary-hover); }

/* poznámky */
.note { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; padding: 16px; border-radius: var(--r-md); background: var(--peach-50); border: 1px solid var(--peach-100); font-size: var(--fs-sm); color: var(--c-ink-2); margin-top: 22px; }
.note__ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #fff; color: var(--c-primary); }
.note b { color: var(--c-ink); font-family: var(--font-head); }
.note a { color: var(--c-primary-text); font-weight: 700; }
.note--b2b { background: var(--navy-800); border-color: var(--navy-800); color: var(--c-on-dark-2); }
.note--b2b b { color: #fff; }
.note--b2b .note__ico { background: rgba(255,255,255,.1); color: var(--orange-300); }
.note--b2b a { color: var(--orange-300); }

/* lokalita */
.text-field { position: relative; }
.text-field input, .text-field textarea { width: 100%; height: 56px; padding: 0 18px 0 48px; border-radius: 16px; border: 1.5px solid var(--c-line); background: #fff; font-size: 1.0625rem; color: var(--c-ink); transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.text-field textarea { height: auto; min-height: 96px; padding: 14px 18px; resize: vertical; line-height: 1.5; }
.text-field .i { position: absolute; left: 16px; top: 18px; width: 20px; height: 20px; color: var(--c-ink-3); pointer-events: none; }
.text-field input:focus, .text-field textarea:focus { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 4px rgba(242,135,58,.14); }
.loc-result { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 8px 12px; border-radius: var(--r-pill); font: 700 var(--fs-xs)/1.2 var(--font-head); background: var(--slate-100); color: var(--c-ink-2); }
.loc-result.is-ok { background: #ECFDF3; color: var(--green-700); }
.loc-result.is-far { background: #FFF7E6; color: #9A5B00; }
.loc-result:empty { display: none; }

/* ---------- formulár ---------- */
.form-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .field--full { grid-column: 1 / -1; } }
.field { display: grid; gap: 7px; }
.field label { font: 700 var(--fs-sm)/1.2 var(--font-head); color: var(--c-ink); }
.field label .req { color: var(--c-primary-text); }
.field input, .field textarea { width: 100%; height: 54px; padding: 0 16px; border-radius: 14px; border: 1.5px solid var(--c-line); background: #fff; font-size: 1.0625rem; color: var(--c-ink); transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.field textarea { height: auto; min-height: 96px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #94A3B8; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 4px rgba(242,135,58,.14); }
.field.is-invalid input { border-color: var(--c-err); box-shadow: 0 0 0 4px rgba(220,38,38,.1); }
.field.is-valid input { border-color: #86EFAC; }
.field__err { display: none; align-items: center; gap: 6px; font-size: var(--fs-xs); color: var(--c-err); font-weight: 500; }
.field.is-invalid .field__err { display: flex; }
.field__hint { font-size: var(--fs-xs); color: var(--c-ink-3); }
.check { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; cursor: pointer; font-size: var(--fs-sm); color: var(--c-ink-2); line-height: 1.5; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check__box { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; border: 1.5px solid var(--c-line-strong); background: #fff; color: #fff; transition: background-color var(--t-fast), border-color var(--t-fast); }
.check__box svg { width: 16px; height: 16px; opacity: 0; transform: scale(.5); transition: opacity var(--t-fast), transform .3s var(--ease-spring); }
.check input:checked + .check__box { background: var(--c-primary); border-color: var(--c-primary); color: var(--c-on-primary); }
.check input:checked + .check__box svg { opacity: 1; transform: none; }
.check input:focus-visible + .check__box { outline: 3px solid var(--orange-400); outline-offset: 2px; }
.check a { color: var(--c-primary-text); font-weight: 600; }
.check.is-invalid .check__box { border-color: var(--c-err); }

/* teaser ceny pred kontaktom */
.teaser { position: relative; display: grid; gap: 14px; padding: 22px; margin-bottom: 26px; border-radius: var(--r-lg); overflow: hidden; isolation: isolate; color: var(--c-on-dark-2); background: linear-gradient(130deg, var(--navy-800), var(--navy-700) 60%, #2B3E6B); }
.teaser::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; z-index: -1; background: radial-gradient(circle, rgba(248,155,84,.55), transparent 65%); filter: blur(10px); }
.teaser__top { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.teaser__ready { display: inline-flex; align-items: center; gap: 8px; font: 700 var(--fs-sm)/1.2 var(--font-head); color: #fff; }
.teaser__ready .dot { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #22C55E; color: #fff; }
.teaser__ready .dot svg { width: 13px; height: 13px; }
.teaser__price { display: flex; align-items: center; gap: 12px; font: 800 clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem)/1 var(--font-head); color: #fff; letter-spacing: -.03em; }
.teaser__price span { filter: blur(9px); user-select: none; }
.teaser__price .lock { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.12); color: var(--orange-300); filter: none; }
.teaser__chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.teaser__chips li { padding: 6px 10px; border-radius: var(--r-pill); background: rgba(255,255,255,.1); font-size: .75rem; color: #fff; }

/* ---------- navigácia krokov ---------- */
.cfg-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: clamp(28px, 4vw, 40px); padding-top: 24px; border-top: 1px solid var(--c-line); }
.cfg-nav__hint { display: none; font-size: var(--fs-xs); color: var(--c-ink-3); margin-left: auto; margin-right: 8px; }
.cfg-nav__hint kbd { font: 600 .75rem/1 var(--font-body); padding: 4px 6px; border-radius: 6px; border: 1px solid var(--c-line-strong); background: var(--slate-50); }
@media (min-width: 900px) { .cfg-nav__hint { display: inline-block; } }
.btn-back { --btn-bg: transparent; --btn-bd: transparent; color: var(--c-ink-2); padding-inline: 14px; }
.btn-back:hover { background: var(--slate-100); }
.btn-back[hidden] { display: none; }
.btn.is-soft { opacity: .55; box-shadow: none; }
.btn.is-loading { pointer-events: none; }
.btn.is-loading .btn__label, .btn.is-loading .i { opacity: 0; }
.btn.is-loading::before { content: ""; position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.35); border-top-color: #fff; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.cfg-error { display: flex; align-items: center; gap: 8px; margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: #FEF2F2; color: #B91C1C; font-size: var(--fs-sm); font-weight: 500; }
.cfg-error:empty { display: none; }
.shake { animation: shake .4s var(--ease-out); }
@keyframes shake { 20% { transform: translateX(-6px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(3px); } }
@media (max-width: 899px) {
  .cfg-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-mobilebar); margin: 0; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.92); -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px); border-top: 1px solid var(--c-line); }
  .cfg-nav .btn--primary { flex: 1; }
}

/* ---------- súhrn (bočný panel) ---------- */
.summary { position: sticky; top: 92px; display: none; gap: 16px; }
@media (min-width: 1024px) { .summary { display: grid; } .cfg.is-result .summary { display: none; } }
.summary__card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--sh-sm); }
.summary__title { display: flex; align-items: center; justify-content: space-between; font: 800 var(--fs-md)/1 var(--font-head); color: var(--c-ink); margin-bottom: 14px; }
.summary__count { font: 700 var(--fs-xs)/1 var(--font-head); color: var(--c-ink-3); }
.summary dl { margin: 0; display: grid; gap: 2px; }
.summary__row { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 10px 0; border-bottom: 1px dashed var(--c-line); animation: rise .4s var(--ease-out) both; }
.summary__row:last-child { border-bottom: 0; }
.summary__row dt { font-size: .75rem; color: var(--c-ink-3); grid-column: 1; }
.summary__row dd { margin: 0; font: 700 var(--fs-sm)/1.35 var(--font-head); color: var(--c-ink); grid-column: 1; }
.summary__row button { grid-column: 2; grid-row: 1 / span 2; align-self: center; border: 0; background: none; padding: 6px 8px; border-radius: 8px; font: 700 .75rem/1 var(--font-head); color: var(--c-primary-text); }
.summary__row button:hover { background: var(--peach-50); }
.summary__empty { font-size: var(--fs-sm); color: var(--c-ink-3); }
.summary__price { margin-top: 14px; padding: 16px; border-radius: var(--r-md); background: var(--slate-50); display: grid; gap: 6px; }
.summary__price small { font-size: .75rem; color: var(--c-ink-3); }
.summary__price b { display: flex; align-items: center; gap: 10px; font: 800 1.375rem/1 var(--font-head); color: var(--c-ink); letter-spacing: -.02em; }
.summary__price b span { filter: blur(7px); user-select: none; transition: filter .4s; }
.summary__price b .i { color: var(--c-ink-3); width: 18px; height: 18px; }
.summary__trust { list-style: none; display: grid; gap: 10px; padding: 18px 22px; border-radius: var(--r-lg); background: var(--navy-800); color: var(--c-on-dark-2); font-size: var(--fs-sm); }
.summary__trust li { display: flex; align-items: center; gap: 10px; }
.summary__trust .i { color: var(--orange-300); width: 18px; height: 18px; }

/* ---------- výsledok ---------- */
.result { display: grid; gap: 24px; }
.result__hero { position: relative; overflow: hidden; isolation: isolate; text-align: center; display: grid; justify-items: center; gap: 14px; padding: clamp(32px, 5vw, 56px) clamp(20px, 4vw, 48px); border-radius: var(--r-xl); color: var(--c-on-dark-2); background: linear-gradient(140deg, var(--navy-900), var(--navy-700) 65%, #2B3E6B); box-shadow: var(--sh-lg); }
.result__hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255,255,255,.1) 1px, transparent 1.2px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 0%, #000, transparent 70%); mask-image: radial-gradient(ellipse 60% 70% at 50% 0%, #000, transparent 70%); }
.result__hero::after { content: ""; position: absolute; left: 50%; bottom: -60%; width: 90%; height: 100%; transform: translateX(-50%); z-index: -1; background: radial-gradient(circle, rgba(248,155,84,.55), transparent 60%); filter: blur(30px); }
.result__hero h1 { color: #fff; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); }
.result__hero .eyebrow { color: var(--orange-300); }
.checkmark { position: relative; width: 72px; height: 72px; }
.checkmark svg { width: 100%; height: 100%; }
.checkmark circle { fill: none; stroke: #22C55E; stroke-width: 3; stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw .7s var(--ease-out) forwards; }
.checkmark path { fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .45s .55s var(--ease-out) forwards; }
.checkmark::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: rgba(34,197,94,.18); animation: burst 1.2s .5s var(--ease-out) both; }
@keyframes burst { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.9); opacity: 0; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.result__price { font: 800 clamp(2.5rem, 1.6rem + 4.4vw, 4.5rem)/1 var(--font-head); color: #fff; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.result__price small { font-size: .5em; color: var(--orange-300); letter-spacing: -.02em; }
.result__note { max-width: 520px; font-size: var(--fs-sm); }
.result__sent { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 6px; padding: 10px 16px; border-radius: var(--r-pill); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); font-size: var(--fs-xs); color: #fff; }
.result__sent .i { color: var(--orange-300); width: 16px; height: 16px; }
.result__grid { display: grid; gap: 24px; }
@media (min-width: 820px) { .result__grid { grid-template-columns: 1fr 1fr; } }
.result__box h2 { font-size: var(--fs-h3); margin-bottom: 16px; }
.result__lines { list-style: none; display: grid; }
.result__lines li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px dashed var(--c-line); font-size: var(--fs-sm); }
.result__lines li:last-child { border-bottom: 0; }
.result__lines span:first-child { color: var(--c-ink); font-weight: 600; }
.result__lines span:first-child small { display: block; margin-top: 2px; font-size: .8125rem; font-weight: 400; color: var(--c-ink-3); }
.result__lines span:last-child { white-space: nowrap; }
.result__notes { list-style: none; display: grid; gap: 8px; margin-top: 14px; padding: 14px; border-radius: var(--r-sm); background: var(--slate-50); font-size: .8125rem; color: var(--c-ink-2); }
.result__notes li { display: flex; gap: 8px; align-items: flex-start; }
.result__notes .i { flex: none; margin-top: 2px; color: var(--orange-500); }
.breakdown { margin-top: 16px; border-top: 1px solid var(--c-line); padding-top: 14px; }
.breakdown summary { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; font: 700 var(--fs-sm)/1.2 var(--font-head); color: var(--c-primary-text); }
.breakdown summary::-webkit-details-marker { display: none; }
.breakdown summary::after { content: "▾"; font-size: .8em; transition: transform var(--t-fast); }
.breakdown[open] summary::after { transform: rotate(180deg); }
.breakdown h3 { margin: 18px 0 4px; font: 800 var(--fs-sm)/1.25 var(--font-head); color: var(--c-ink); letter-spacing: -.01em; }
.breakdown table { width: 100%; border-collapse: collapse; font-size: .8125rem; }
.breakdown td { padding: 7px 0; border-bottom: 1px dashed var(--c-line); vertical-align: top; color: var(--c-ink-2); }
.breakdown td small { display: block; color: var(--c-ink-3); font-variant-numeric: tabular-nums; }
.breakdown td:last-child { padding-left: 12px; text-align: right; white-space: nowrap; font-weight: 600; color: var(--c-ink); font-variant-numeric: tabular-nums; }
.breakdown__sum td { border-bottom: 0; font-weight: 700; color: var(--c-ink); }
.result__lines span:last-child { font-weight: 600; color: var(--c-ink); text-align: right; }
.timeline { list-style: none; display: grid; gap: 4px; counter-reset: t; }
.timeline li { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding-bottom: 18px; }
.timeline li:not(:last-child)::before { content: ""; position: absolute; left: 19px; top: 40px; bottom: 0; width: 2px; background: var(--c-line); }
.timeline__n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--peach-50); color: var(--c-primary-text); font: 800 var(--fs-sm)/1 var(--font-head); }
.timeline li:first-child .timeline__n { background: var(--c-primary); color: var(--c-on-primary); box-shadow: 0 0 0 5px var(--peach-100); }
.timeline b { display: block; font: 800 var(--fs-md)/1.3 var(--font-head); color: var(--c-ink); }
.timeline span { font-size: var(--fs-sm); color: var(--c-ink-3); }

.upload h2 { font-size: var(--fs-h3); }
.upload__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-bottom: 16px; }
.upload__head p { font-size: var(--fs-sm); color: var(--c-ink-3); }
.dropzone { position: relative; display: grid; justify-items: center; gap: 8px; padding: 30px 20px; border-radius: var(--r-lg); border: 2px dashed var(--c-line-strong); background: var(--slate-50); text-align: center; cursor: pointer; transition: border-color var(--t-fast), background-color var(--t-fast); }
.dropzone:hover, .dropzone.is-over { border-color: var(--c-primary); background: var(--peach-50); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone__ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: #fff; color: var(--c-primary); box-shadow: var(--sh-sm); }
.dropzone b { font: 800 var(--fs-md)/1.2 var(--font-head); color: var(--c-ink); }
.dropzone span { font-size: var(--fs-xs); color: var(--c-ink-3); }
.dropzone:focus-within { outline: 3px solid var(--orange-400); outline-offset: 3px; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; margin-top: 14px; }
.thumbs:empty { display: none; }
.thumb { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--slate-100); animation: rise .35s var(--ease-out) both; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb button { position: absolute; right: 6px; top: 6px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(15,23,42,.7); color: #fff; }
.thumb button svg { width: 14px; height: 14px; }
.upload__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 16px; }
.upload__ok { display: inline-flex; align-items: center; gap: 8px; color: var(--green-700); font-weight: 600; font-size: var(--fs-sm); }

/* toast */
.toast { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); z-index: var(--z-toast); display: flex; align-items: center; gap: 12px; max-width: calc(100% - 32px); padding: 12px 12px 12px 16px; border-radius: 16px; background: var(--navy-900); color: #fff; font-size: var(--fs-sm); box-shadow: var(--sh-lg); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity .3s, transform .4s var(--ease-out); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast button { border: 0; background: rgba(255,255,255,.12); color: #fff; padding: 8px 12px; border-radius: 10px; font: 700 var(--fs-xs)/1 var(--font-head); white-space: nowrap; }
.toast button:hover { background: rgba(255,255,255,.2); }
@media (min-width: 900px) { .toast { bottom: 32px; } }

@media (prefers-reduced-motion: reduce) {
  .stage, .stage[class*="is-"] { transition: none !important; transform: none !important; opacity: 1 !important; }
}

/* ---------- doladenie po teste ---------- */
.field { align-content: start; }
.field .text-btn { justify-self: start; }
.field .check { font: 400 var(--fs-sm)/1.5 var(--font-body); color: var(--c-ink-2); }
.teaser__price .lock .i { width: 20px; height: 20px; }
.dropzone__ico .i { width: 24px; height: 24px; }
.cfg.is-result > .cfg-card { background: transparent; border: 0; box-shadow: none; padding: 0; }
.result__sent { border-radius: 16px; }
/* rytmus: jednotné medzery medzi blokmi kroku */
.stage { display: flex; flex-direction: column; gap: 26px; }
.stage > *, .stage .group, .stage .row, .stage .row > .group, .stage .note { margin: 0; }
.stage .step-head { margin-bottom: 2px; }
.stage .group + .group { margin-top: 0; }
@media (min-width: 640px) { .stage .row { gap: 24px; } }
.cfg-header .logo__img { height: 48px; }
@media (max-width: 480px) { .cfg-header .logo__img { height: 36px; } }

/* plochy opráv pri maľovaní */
.area-list { display: grid; gap: 10px; }
.area-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px 10px 16px; border-radius: var(--r-md); background: var(--peach-50); border: 1px solid var(--peach-100); animation: rise .35s var(--ease-out) both; }
.area-row__label { font: 700 var(--fs-sm)/1.25 var(--font-head); color: var(--c-ink); cursor: pointer; }
.area-row__label small { display: block; margin-top: 2px; font: 400 .75rem/1.3 var(--font-body); color: var(--c-ink-3); }
.area-row .num-field { flex: none; width: 128px; background: #fff; }

/* ---------- DOČASNE: testovací režim – priebežná cena bez rozmazania (LIVE_PRICE v configurator.js) ---------- */
.cfg-live { display: none; }
.cfg-live-price .summary__price b span,
.cfg-live-price .teaser__price span { filter: none; user-select: auto; }
.cfg-live-price .summary__price b .i,
.cfg-live-price .teaser__price .lock { display: none; }
.cfg-live-price .summary__price b span { font-variant-numeric: tabular-nums; }
@media (max-width: 1023px) {
  .cfg-live-price .cfg-nav { flex-wrap: wrap; row-gap: 10px; }
  .cfg-live-price .cfg-live { order: -1; flex-basis: 100%; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: .75rem; color: var(--c-ink-3); }
  .cfg-live-price .cfg-live b { font: 800 1.0625rem/1 var(--font-head); color: var(--c-ink); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
}
@media (max-width: 899px) { .cfg-live-price .cfg { padding-bottom: 160px; } }
