@charset "utf-8";

/* ═══════════════════════════════════════════════════════
   VYKUP-NEMOVITOSTI-OSTRAVA.CSS
   Rozšiřuje style.css webu vykupyostrava.cz
   Pouze nové komponenty specifické pro tuto podstránku
   ═══════════════════════════════════════════════════════ */


/* ─────────────────────────────────────────────────────
   KEY FACTS — statistiky nahoře
   ───────────────────────────────────────────────────── */
.vno-keyfacts { padding-bottom: calc(var(--spy) * .6); }

.vno-facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-radius: var(--rx);
  overflow: hidden;
  box-shadow: var(--sh), 0 8px 32px rgba(9,13,26,.05);
  margin-bottom: 2.5rem;
}

.vno-fact {
  padding: 2rem 1.5rem;
  background: var(--white);
  text-align: center;
}

.vno-fact__val {
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.04em;
  line-height: 1;
  margin-bottom: .25rem;
}
.vno-fact__val span {
  font-size: .5em;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0;
}

.vno-fact__lbl {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent);
  margin-bottom: .65rem;
}

.vno-fact p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}

@media (max-width: 991px) {
  .vno-facts-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .vno-facts-grid { grid-template-columns: 1fr 1fr; gap: 1px; }
  .vno-fact { padding: 1.25rem 1rem; }
  .vno-fact__val { font-size: 28px; }
  .vno-fact p { font-size: 13.5px; line-height: 1.6; }
}


/* ─────────────────────────────────────────────────────
   DEFINITION BOX — co je výkup
   ───────────────────────────────────────────────────── */
.vno-def-box {
  position: relative;
  display: flex;
  border-radius: var(--rl);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--sh), 0 6px 24px rgba(9,13,26,.05);
  overflow: hidden;
}

.vno-def-box__accent {
  width: 5px;
  flex-shrink: 0;
  background: linear-gradient(180deg, var(--accent), var(--accent-glow));
}

.vno-def-box__body {
  padding: 2rem 2.25rem;
}

.vno-def-box__body h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 .85rem;
}

.vno-def-box__body p {
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--muted);
  margin: 0 0 .75rem;
}
.vno-def-box__body p:last-child { margin-bottom: 0; }
.vno-def-box__body p:first-of-type {
  font-size: 17px;
  color: var(--text);
  font-weight: 500;
}

@media (max-width: 575px) {
  .vno-def-box__body { padding: 1.25rem 1.15rem; }
  .vno-def-box__body h3 { font-size: 17px; }
  .vno-def-box__body p { font-size: 14.5px; }
  .vno-def-box__body p:first-of-type { font-size: 15px; }
}


/* ─────────────────────────────────────────────────────
   SITUAČNÍ KARTY — pro koho je výkup vhodný
   ───────────────────────────────────────────────────── */
.vno-sit-card {
  position: relative;
  padding: 2rem 1.75rem 1.5rem;
  border-radius: var(--rl);
  background: var(--white);
  border: 1px solid var(--line);
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition:
    box-shadow var(--trans),
    border-color var(--trans),
    transform var(--trans);
}

.vno-sit-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(16,185,129,.04) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--trans);
  pointer-events: none;
}

.vno-sit-card:hover {
  box-shadow: var(--sh-lift);
  border-color: rgba(16,185,129,.18);
  transform: translateY(-3px);
}
.vno-sit-card:hover::after { opacity: 1; }

.vno-sit-card__ic {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--accent-s);
  color: var(--accent);
  margin-bottom: 1.25rem;
  transition: background var(--trans), color var(--trans);
  position: relative;
  z-index: 1;
}
.vno-sit-card:hover .vno-sit-card__ic {
  background: var(--accent);
  color: #fff;
}

.vno-sit-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 .5rem;
  position: relative;
  z-index: 1;
}

.vno-sit-card p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 1rem;
  flex: 1;
  position: relative;
  z-index: 1;
}

.vno-sit-card__tag {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent);
  padding-top: .85rem;
  border-top: 1px solid var(--line);
  margin-top: auto;
  position: relative;
  z-index: 1;
}

@media (max-width: 575px) {
  .vno-sit-card { padding: 1.25rem 1.1rem 1.15rem; }
  .vno-sit-card__ic { width: 42px; height: 42px; margin-bottom: 1rem; }
  .vno-sit-card h3 { font-size: 16px; }
  .vno-sit-card p { font-size: 13.5px; }
}


/* ─────────────────────────────────────────────────────
   SROVNÁVACÍ TABULKA
   ───────────────────────────────────────────────────── */
.vno-cmp-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--rl);
  border: 1px solid rgba(255,255,255,.16);
}

.vno-cmp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  color: rgba(255,255,255,.92);
  min-width: 640px;
}

.vno-cmp-table th,
.vno-cmp-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,.12);
  vertical-align: top;
}

.vno-cmp-table thead th {
  font-size: 16px;
  font-weight: 700;
  color: rgba(255,255,255,.95);
  padding: 1.25rem 1.25rem;
  background: rgba(255,255,255,.06);
}

.vno-cmp-table__hl {
  background: rgba(16,185,129,.10) !important;
  border-left: 3px solid var(--accent-glow) !important;
  color: #fff !important;
}

.vno-cmp-table thead th.vno-cmp-table__hl {
  background: rgba(16,185,129,.15) !important;
  color: var(--accent-glow) !important;
}

.vno-cmp-table tbody tr:hover td {
  background: rgba(255,255,255,.02);
}

.vno-cmp-table td strong {
  color: rgba(255,255,255,.95);
  font-weight: 600;
}

.vno-cmp-table tbody tr:last-child td {
  border-bottom: none;
}

.vno-cmp-note {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--r);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
}

.vno-cmp-note svg {
  flex-shrink: 0;
  color: var(--accent-glow);
  margin-top: .15rem;
}

.vno-cmp-note p {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255,255,255,.88);
  margin: 0;
}

@media (max-width: 575px) {
  .vno-cmp-table { font-size: 13.5px; min-width: 560px; }
  .vno-cmp-table th,
  .vno-cmp-table td { padding: .75rem .85rem; }
  .vno-cmp-note { padding: 1rem; }
  .vno-cmp-note p { font-size: 13.5px; }
}


/* ─────────────────────────────────────────────────────
   PROCESS — krok za krokem (vylepšený)
   ───────────────────────────────────────────────────── */
.vno-proc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.125rem;
  margin-top: 2.5rem;
  counter-reset: proc-counter;
}

.vno-proc {
  position: relative;
  padding: 2rem 1.75rem;
  border-radius: 20px;
  background: var(--bg);
  border: 1px solid var(--line);
  transition: all .35s cubic-bezier(.4,0,.2,1);
  overflow: hidden;
}

.vno-proc::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse at 30% 0%, rgba(16,185,129,.06), transparent 65%);
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
}

.vno-proc:hover {
  border-color: rgba(16,185,129,.18);
  box-shadow: var(--sh-lift);
  transform: translateY(-2px);
}
.vno-proc:hover::before { opacity: 1; }

.vno-proc__n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--accent);
  background: var(--accent-s);
  border: 1px solid rgba(16,185,129,.12);
  margin-bottom: 1rem;
  transition: all .35s;
}

.vno-proc:hover .vno-proc__n {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(16,185,129,.2);
}

.vno-proc h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 .4rem;
  line-height: 1.25;
}

.vno-proc p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

.vno-proc-disc {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 14.5px;
  color: var(--light);
}

@media (max-width: 991px) {
  .vno-proc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .vno-proc-grid { grid-template-columns: 1fr; }
  .vno-proc { padding: 1.25rem 1.15rem; }
  .vno-proc__n { width: 36px; height: 36px; font-size: .75rem; margin-bottom: .75rem; }
  .vno-proc h3 { font-size: 15px; }
  .vno-proc p { font-size: 13px; }
}


/* ─────────────────────────────────────────────────────
   CO VYKUPUJEME — svc-grid override 4-column
   ───────────────────────────────────────────────────── */
.sec--warm .svc-grid {
  grid-template-columns: repeat(4, 1fr);
}
.sec--warm .svc-card,
.sec--warm .svc-card:nth-child(n+4) {
  grid-column: auto;
}

@media (max-width: 991px) {
  .sec--warm .svc-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 575px) {
  .sec--warm .svc-grid { grid-template-columns: 1fr; }
}


/* ─────────────────────────────────────────────────────
   CENOVÝ GAUGE — tmavý blok
   ───────────────────────────────────────────────────── */
.vno-gauge {
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: var(--rx);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  text-align: center;
}

.vno-gauge__val {
  display: block;
  font-size: clamp(42px, 5vw, 58px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -.05em;
  line-height: 1;
}
.vno-gauge__sep { color: var(--accent-glow); }
.vno-gauge__pct {
  font-size: .45em;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--accent-glow);
}

.vno-gauge__lbl {
  display: block;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.65);
  margin: .5rem 0 1.5rem;
}

.vno-gauge__bar-track {
  height: 10px;
  border-radius: 5px;
  background: rgba(255,255,255,.14);
  position: relative;
  overflow: hidden;
}

.vno-gauge__bar-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 85%;
  border-radius: 5px;
  background: linear-gradient(90deg, var(--accent), var(--accent-glow));
  box-shadow: 0 0 20px rgba(52,211,153,.3);
}

.vno-gauge__bar-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,.5);
  margin-top: .5rem;
}
.vno-gauge__bar-labels span:nth-child(2) {
  color: var(--accent-glow);
  font-weight: 600;
}

.vno-gauge__notes {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.vno-gauge__note {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .85rem 1rem;
  border-radius: 10px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
  text-align: left;
}

.vno-gauge__note-ic {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 8px;
  background: rgba(16,185,129,.18);
  display: grid;
  place-items: center;
  color: var(--accent-glow);
}

.vno-gauge__note span:not(.vno-gauge__note-ic) {
  font-size: 14px;
  color: rgba(255,255,255,.9);
  line-height: 1.5;
}

@media (max-width: 575px) {
  .vno-gauge { padding: 1.5rem 1.15rem; }
  .vno-gauge__val { font-size: 48px; }
}


/* ─────────────────────────────────────────────────────
   FACTOR GRID — co cenu zvyšuje / snižuje
   ───────────────────────────────────────────────────── */
.vno-factor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.vno-factor-col {
  padding: 1.5rem;
  border-radius: var(--r);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
}

.vno-factor-h {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 0 0 .85rem;
}

.vno-factor-h--up { color: var(--accent-glow); }
.vno-factor-h--dn { color: #f87171; }

.vno-factor-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.vno-factor-list li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,.88);
}

.vno-factor-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
}

.vno-factor-list--up li::before { background: var(--accent-glow); }
.vno-factor-list--dn li::before { background: #f87171; }

@media (max-width: 575px) {
  .vno-factor-grid { grid-template-columns: 1fr; }
  .vno-factor-col { padding: 1.15rem; }
  .vno-factor-list li { font-size: 13px; }
}


/* ─────────────────────────────────────────────────────
   SCROLL REVEAL — zjednodušeno: sekce, ne každá karta
   ───────────────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .vno-facts-grid,
  .vno-def-box,
  .vno-cmp-wrap,
  .vno-cmp-cards,
  .vno-cmp-note,
  .vno-proc-grid,
  .vno-gauge,
  .vno-factor-grid {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .55s cubic-bezier(.16,1,.3,1),
                transform .55s cubic-bezier(.16,1,.3,1);
  }

  .sec.is-vis .vno-facts-grid,
  .sec.is-vis .vno-def-box,
  .sec.is-vis .vno-cmp-wrap,
  .sec.is-vis .vno-cmp-cards,
  .sec.is-vis .vno-cmp-note,
  .sec.is-vis .vno-proc-grid,
  .sec.is-vis .vno-gauge,
  .sec.is-vis .vno-factor-grid {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ─────────────────────────────────────────────────────
   MOBILNÍ SROVNÁVACÍ KARTY — náhrada tabulky
   ───────────────────────────────────────────────────── */
.vno-cmp-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.vno-cmp-card {
  padding: 1.5rem 1.25rem;
  border-radius: var(--rl);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
}

.vno-cmp-card--hl {
  background: rgba(16,185,129,.08);
  border-color: rgba(52,211,153,.22);
}

.vno-cmp-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 .25rem;
}

.vno-cmp-card--hl h3 {
  color: var(--accent-glow);
}

.vno-cmp-card__tag {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: rgba(255,255,255,.5);
  margin-bottom: 1rem;
}

.vno-cmp-card--hl .vno-cmp-card__tag {
  color: rgba(52,211,153,.7);
}

.vno-cmp-dl {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.vno-cmp-dl > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: .6rem 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.vno-cmp-dl > div:last-child {
  border-bottom: none;
}

.vno-cmp-dl dt {
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255,255,255,.6);
  flex-shrink: 0;
  margin: 0;
}

.vno-cmp-dl dd {
  font-size: 14px;
  color: rgba(255,255,255,.92);
  text-align: right;
  margin: 0;
}

.vno-cmp-card--hl .vno-cmp-dl dd {
  color: #fff;
  font-weight: 500;
}

.vno-cmp-card__when {
  font-size: 13.5px;
  color: rgba(255,255,255,.5);
  margin: 1rem 0 0;
  padding-top: .85rem;
  border-top: 1px solid rgba(255,255,255,.1);
  font-style: italic;
}


/* ─────────────────────────────────────────────────────
   GAUGE — disclaimerový podtext
   ───────────────────────────────────────────────────── */
.vno-gauge__disc {
  font-size: 12.5px;
  color: rgba(255,255,255,.4);
  margin-top: .35rem;
  line-height: 1.5;
}

@media (max-width: 575px) {
  .vno-gauge__val { font-size: 40px; }
}


/* ─────────────────────────────────────────────────────
   PROCESS — mobilní seskupení po dvou
   ───────────────────────────────────────────────────── */
@media (max-width: 575px) {
  .vno-proc-grid {
    grid-template-columns: 1fr;
    gap: .625rem;
  }
  .vno-proc {
    padding: 1.15rem 1.1rem;
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 0 .85rem;
    align-items: start;
  }
  .vno-proc__n {
    width: 36px; height: 36px;
    font-size: .75rem;
    margin-bottom: 0;
    grid-row: 1 / 3;
  }
  .vno-proc h3 {
    font-size: 15px;
    margin-bottom: .2rem;
  }
  .vno-proc p {
    font-size: 13px;
    grid-column: 2;
  }
}


/* ─────────────────────────────────────────────────────
   FORM IDENTITY BLOCK — tvrdá důvěra u formuláře
   ───────────────────────────────────────────────────── */
.form-id {
  margin-top: 1.5rem;
  padding: 1rem 1.15rem;
  border-radius: var(--r);
  background: var(--accent-s);
  border: 1px solid rgba(16,185,129,.1);
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.form-id strong {
  color: var(--ink);
  font-weight: 700;
}

.form-id__contact {
  display: block;
  margin-top: .35rem;
  font-size: 13px;
  color: var(--light);
}

.form-id__contact a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.form-id__contact a:hover {
  text-decoration: underline;
}

@media (max-width: 575px) {
  .form-id { font-size: 13px; padding: .85rem 1rem; }
  .form-id__contact { font-size: 12.5px; }
}

