/* ── Predávam ── */


/* Ako predaj prebieha – časová os bez fotiek */
.steps5-lead { max-width: 420px; font-size: 16px; line-height: 1.6; color: var(--muted); }
.steps5 { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.step5 { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 24px 22px; border-radius: 24px; background: var(--mist); transition: transform .4s var(--ease); }
.step5:hover { transform: translateY(-4px); }
.step5--last { background: var(--ink); color: var(--white); }
.step5-top { display: flex; align-items: center; justify-content: space-between; }
.step5-n { font-family: var(--serif); font-style: italic; font-size: 48px; line-height: 1; color: var(--blue); }
.step5--last .step5-n { color: var(--lilac); }
.step5-dot { width: 12px; height: 12px; border-radius: 999px; background: var(--blue); box-shadow: 0 0 0 5px var(--blue-tint); }
.step5--last .step5-dot { background: var(--lilac); box-shadow: 0 0 0 5px rgba(185,180,255,.25); }
/* spojnica medzi kartami */
.step5:not(.step5--last)::after { content: ''; position: absolute; top: 46px; right: -12px; width: 12px; height: 2px; background: var(--blue); opacity: .35; }
.step5-title { font-size: 19px; line-height: 1.2; font-weight: 600; letter-spacing: -0.02em; }
.step5-text { font-size: 14px; line-height: 1.55; color: var(--muted); }
.step5--last .step5-text { color: var(--soft); }
.step5-list { list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; }
.step5-list li { display: flex; gap: 8px; align-items: baseline; }
.step5-list li::before { content: '✓'; color: var(--blue); font-weight: 700; }
.step5--last .step5-list li::before { color: var(--lilac); }
.step5-result { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.step5--last .step5-result { border-color: #2a2a33; }
.step5-result span { display: block; font-size: 12px; font-weight: 500; color: var(--muted); margin-bottom: 2px; }
.step5--last .step5-result span { color: var(--muted-dark); }

@media (max-width: 1100px) {
  .steps5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step5::after { display: none; }
  .step5--last { grid-column: 1 / -1; }
}

/* Pred / po */
.compare { display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; }
.compare-copy { flex: 1 1 360px; display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.compare-copy .h-display { font-size: clamp(40px, 5vw, 64px); }
.compare-copy p { font-size: 17px; line-height: 1.6; color: var(--muted); }
.compare-box { flex: 2 1 560px; border-radius: 28px; background: var(--mist); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.compare-box .ba { min-height: 420px; }

/* Úspešne predané */
.story { display: flex; flex-direction: column; }
.story-img { position: relative; aspect-ratio: 4 / 3; border-radius: 24px; margin-bottom: 16px; }
.story-img .tag { position: absolute; top: 16px; left: 16px; }
.tag--ink { background: var(--ink); color: var(--white); }
.story-text { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.story-quote { margin-top: 12px; font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.35; }
.story-quote span { font-family: 'Inter Tight', sans-serif; font-style: normal; font-size: 14px; color: var(--muted); }

@media (max-width: 860px) {

  .steps5 { grid-template-columns: 1fr; gap: 0; border-left: 2px solid var(--blue-tint); margin-left: 6px; }
  .step5, .step5--last { padding: 0 0 24px 22px; background: none; color: var(--ink); border-radius: 0; gap: 8px; grid-column: auto; }
  .step5:hover { transform: none; }
  .step5-top { position: relative; }
  .step5-dot, .step5--last .step5-dot { position: absolute; left: -30px; top: 50%; margin-top: -7px; width: 14px; height: 14px; background: var(--blue); box-shadow: 0 0 0 4px var(--white); }
  .step5-n, .step5--last .step5-n { font-size: 34px; color: var(--blue); }
  .step5--last .step5-text { color: var(--muted); }
  .step5--last .step5-list li::before { color: var(--blue); }
  .step5--last .step5-result { border-color: var(--line); }
  .step5--last .step5-result span { color: var(--muted); }

  .compare { flex-direction: column; gap: 16px; }
  .compare-copy { flex: none; gap: 8px; }
  .compare-copy .h-display { font-size: 38px; }
  .compare-copy p { font-size: 15px; }
  .compare-box { flex: none; padding: 16px; border-radius: 24px; }
  .compare-box .ba { min-height: 240px; }

  .story-img { border-radius: 22px; }
}

/* Úspešne predané (samostatná stránka) */
.sold-avg { font-size: 17px; color: var(--muted); }
.sold-avg strong { color: var(--ink); }
.filter-n { font-size: 12px; opacity: .6; }
#stories .story[hidden] { display: none; }

/* O čo sa postaráme – 6 kariet (3 + 3) */
.tiles--care { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tiles--care .ftile { min-height: 260px; }
.tiles--care .ftile p { max-width: 34ch; }
@media (max-width: 1100px) { .tiles--care { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .tiles--care { grid-template-columns: 1fr; } .tiles--care .ftile { min-height: 0; } }

/* ── Ocenenie zdarma: 3 kroky ── */
.val { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px; align-items: start; }
.val-copy { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 20px; padding: 24px 8px 0 0; }
.val-copy .h-display { font-size: clamp(44px, 5.4vw, 72px); }
.val-copy p { font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 44ch; }
.val-points { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 15px; font-weight: 600; }
.val-points li { display: flex; gap: 10px; align-items: center; }
.val-points li::before { content: '✓'; display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 999px; background: var(--blue-tint); color: var(--blue); font-size: 13px; flex: none; }

.val-card { position: relative; background: var(--mist); border-radius: 28px; padding: 32px; display: flex; flex-direction: column; gap: 22px; }
.val-progress { display: flex; flex-direction: column; gap: 10px; }
.val-progress-top { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; font-weight: 600; color: var(--muted); }
.val-step-name { color: var(--ink); font-size: 16px; }
.val-step-n strong { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 30px; line-height: 1; color: var(--blue); margin-right: 2px; }
.val-bar { height: 8px; border-radius: 999px; background: rgba(10,10,15,.08); overflow: hidden; }
.val-bar-fill { display: block; height: 100%; width: 33.33%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), #7c74ff); transition: width .7s var(--ease); }
.val-dots { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); font-size: 12px; font-weight: 600; color: var(--muted); }
.val-dots li { display: flex; align-items: center; gap: 6px; transition: color .3s; }
.val-dots li:nth-child(2) { justify-content: center; }
.val-dots li:nth-child(3) { justify-content: flex-end; }
.val-dots li::before { content: ''; width: 8px; height: 8px; border-radius: 999px; background: rgba(10,10,15,.15); transition: background .3s, transform .3s; }
.val-dots li.is-on { color: var(--ink); cursor: pointer; }
.val-dots li.is-cur { cursor: default; }
.val-dots li.is-on::before { background: var(--blue); }
.val-dots li.is-cur::before { transform: scale(1.4); }

.val-step { border: 0; padding: 0; margin: 0; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.val-step[hidden] { display: none; }
.val-step.is-on { animation: valIn .5s var(--ease) both; }
@keyframes valIn { from { opacity: 0; transform: translateX(var(--from, 28px)); } to { opacity: 1; transform: none; } }
.val-card label, .val-label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.val-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.val-wide { grid-column: span 1; }
.val-card textarea.input { height: auto; min-height: 112px; padding: 14px 18px; line-height: 1.5; resize: vertical; font: inherit; font-size: 16px; }
.val-field { display: flex; flex-direction: column; gap: 8px; border-radius: 16px; transition: box-shadow .3s; }
.val-field[hidden] { display: none; }
.val-field.is-invalid { box-shadow: 0 0 0 2px #f04438; padding: 8px; }
.vchips { display: flex; flex-wrap: wrap; gap: 8px; }
.vchip { position: relative; cursor: pointer; }
.vchip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.vchip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); color: var(--ink); font-size: 15px; font-weight: 600; transition: background .2s, border-color .2s, color .2s, transform .2s; }
.vchip:hover span { border-color: var(--ink); }
.vchip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--white); }
.vchip input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.val-consent { font-size: 13px; line-height: 1.5; color: var(--muted); }
.val-error { margin: 0; }
.val-actions { display: flex; justify-content: space-between; gap: 10px; }
.val-actions [data-val="next"] { margin-left: auto; }
.val-actions [hidden] { display: none; }
.val-done { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px 0 8px; font-size: 16px; line-height: 1.5; color: var(--muted); animation: valIn .5s var(--ease) both; }
.val-done[hidden] { display: none; }
.val-done strong { font-size: 24px; letter-spacing: -0.02em; color: var(--ink); }
.val-done-check { width: 64px; height: 64px; border-radius: 999px; display: flex; align-items: center; justify-content: center; background: var(--blue); color: var(--white); margin-bottom: 8px; animation: valPop .6s var(--ease) both; }
@keyframes valPop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.08); opacity: 1; } 100% { transform: scale(1); } }

@media (max-width: 960px) {
  .val { grid-template-columns: 1fr; }
  .val-copy { position: static; padding: 0; gap: 12px; }
}
@media (max-width: 860px) {
  .val-copy .h-display { font-size: 40px; }
  .val-copy p { font-size: 15px; }
  .val-card { padding: 20px; border-radius: 24px; gap: 18px; }
  .val-grid { grid-template-columns: 1fr; gap: 12px; }
  .vchip span { min-height: 40px; padding: 0 14px; font-size: 14px; }
  .val-actions .pill { flex: 1; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .val-step.is-on, .val-done, .val-done-check { animation: none; }
  .val-bar-fill { transition: none; }
}
