@charset "utf-8";

/* ═══════════════════════════════════════════════════════
   PRODEJ-NEMOVITOSTI-S-HYPOTEKOU.CSS
   Rozšiřuje style.css. Komponenty specifické pro
   podstránku „Prodej nemovitosti s hypotékou".
   ═══════════════════════════════════════════════════════ */


/* ─────────────────────────────────────────────────────
   LOCAL TOKENS
   ───────────────────────────────────────────────────── */
:root {
  --hyp-sh-lift:  0 2px 8px rgba(12,18,37,.04), 0 8px 32px rgba(12,18,37,.07);
  --hyp-sh-float: 0 4px 16px rgba(12,18,37,.06), 0 16px 48px rgba(12,18,37,.10);
  --hyp-trans: .28s cubic-bezier(.4,0,.2,1);
  --hyp-green: #15803d;
  --hyp-amber: #b45309;
  --hyp-blue:  #1e40af;
}


/* ─────────────────────────────────────────────────────
   QUICK-ANSWER BOX (úvodní odpověď)
   ───────────────────────────────────────────────────── */
.hyp-quick {
  padding: 2rem 2rem 1.75rem;
  border-radius: var(--r-xl);
  background: var(--c-white);
  border: 1px solid var(--c-line);
  box-shadow: var(--sh-card);
}
.hyp-quick__head {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-bottom: 1.25rem;
}
.hyp-quick__ic {
  width: 44px; height: 44px;
  flex: 0 0 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--c-accent-soft);
  color: var(--c-accent);
}
.hyp-quick__head h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--c-ink);
  margin: 0;
  letter-spacing: -.02em;
}
.hyp-quick p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-muted);
  margin: 0 0 .6rem;
}
.hyp-quick p:last-child { margin-bottom: 0; }


/* ─────────────────────────────────────────────────────
   VARIANT CARDS (3 cesty)
   ───────────────────────────────────────────────────── */
.hyp-variant {
  padding: 2rem 1.75rem 1.75rem;
  border-radius: var(--r-lg);
  background: var(--c-white);
  border: 1px solid var(--c-line);
  box-shadow: var(--sh-card);
  height: 100%;
  transition: box-shadow .3s;
}
.hyp-variant:hover { box-shadow: var(--sh-h); }

.hyp-variant--hl {
  background: var(--c-ink);
  border-color: var(--c-ink);
  color: rgba(255,255,255,.8);
}
.hyp-variant--hl h3 { color: #fff; }
.hyp-variant--hl .hyp-variant__badge { background: var(--c-accent); color: #fff; }
.hyp-variant--hl .hyp-sub-t { color: rgba(255,255,255,.5); }
.hyp-variant--hl .hyp-check__item { color: rgba(255,255,255,.7); }
.hyp-variant--hl .hyp-check__item::before { color: var(--c-accent); }
.hyp-variant--hl .hyp-risk__item { color: rgba(255,255,255,.7); }
.hyp-variant--hl .hyp-risk__item::before { color: #fbbf24; }

.hyp-variant__badge {
  display: inline-block;
  padding: .3rem .75rem;
  border-radius: 50px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: var(--c-accent-soft);
  color: var(--c-accent);
  margin-bottom: 1rem;
}
.hyp-variant h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 .75rem;
  color: var(--c-ink);
}
.hyp-variant > p {
  font-size: 15.5px;
  line-height: 1.65;
  color: inherit;
  margin: 0 0 1.25rem;
}

.hyp-sub-t {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-light);
  margin: 1.25rem 0 .65rem;
}

.hyp-risk__item,
.hyp-check__item {
  position: relative;
  padding: .4rem 0 .4rem 1.5rem;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--c-muted);
}
.hyp-risk__item::before,
.hyp-check__item::before {
  position: absolute;
  left: 0;
  top: .45rem;
  font-size: 13px;
  font-weight: 700;
}
.hyp-risk__item::before {
  content: '⚠';
  color: var(--hyp-amber);
}
.hyp-check__item::before {
  content: '✓';
  color: var(--hyp-green);
}


/* ─────────────────────────────────────────────────────
   COMPARISON TABLE
   ───────────────────────────────────────────────────── */
.hyp-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--r-lg);
  border: 1px solid var(--c-line);
  background: var(--c-white);
}
.hyp-table {
  width: 100%;
  min-width: 660px;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.55;
}
.hyp-table thead {
  background: var(--c-ink);
  color: #fff;
}
.hyp-table th {
  padding: 1rem 1.15rem;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  white-space: nowrap;
}
.hyp-table td {
  padding: .9rem 1.15rem;
  color: var(--c-muted);
  border-bottom: 1px solid var(--c-line);
  vertical-align: top;
}
.hyp-table tbody tr:last-child td { border-bottom: none; }
.hyp-table tbody tr:hover { background: var(--c-accent-light); }
.hyp-table td:first-child {
  font-weight: 700;
  color: var(--c-ink);
  white-space: nowrap;
}


/* ─────────────────────────────────────────────────────
   CHECKLIST FLOW (krokový seznam)
   ───────────────────────────────────────────────────── */
.hyp-flow {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  max-width: 740px;
  margin-inline: auto;
}
.hyp-flow::before {
  content: '';
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 18px;
  width: 2px;
  background: var(--c-line);
  border-radius: 2px;
}
.hyp-flow__step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1rem 0;
  position: relative;
}
.hyp-flow__num {
  width: 38px; height: 38px;
  flex: 0 0 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: .78rem;
  font-weight: 800;
  color: #FFF;
  background: rgb(212, 96, 44);
  position: relative;
  z-index: 1;
}
.hyp-flow__content h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 .3rem;
  color: var(--c-ink);
}
.hyp-flow__content p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--c-muted);
  margin: 0;
}
.hyp-flow__tag {
  display: inline-block;
  margin-top: .45rem;
  padding: .2rem .6rem;
  border-radius: 50px;
  font-size: .72rem;
  font-weight: 600;
  background: var(--c-accent-soft);
  color: var(--c-accent);
}


/* ─────────────────────────────────────────────────────
   DOC-CHECK (seznam dokumentů)
   ───────────────────────────────────────────────────── */
.doc-check {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.doc-check__item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .85rem 1rem;
  border-radius: var(--r);
  transition: background .2s;
}
.doc-check__item:hover { background: var(--c-accent-light); }
.doc-check__ic {
  width: 36px; height: 36px;
  flex: 0 0 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--c-accent-soft);
  color: var(--c-accent);
}
.doc-check__item strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--c-ink);
  margin-bottom: 1px;
}
.doc-check__item span {
  font-size: 14px;
  color: var(--c-muted);
  line-height: 1.45;
}


/* ─────────────────────────────────────────────────────
   CASE CARDS (mini příklady z praxe)
   ───────────────────────────────────────────────────── */
.hyp-cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.125rem;
}
.hyp-case {
  padding: 2rem 1.75rem 1.75rem;
  border-radius: var(--r-lg);
  background: var(--c-white);
  border: 1px solid var(--c-line);
  box-shadow: var(--sh-card);
  transition: box-shadow .3s;
}
.hyp-case:hover { box-shadow: var(--sh-h); }
.hyp-case__tag {
  display: inline-block;
  padding: .25rem .65rem;
  border-radius: 50px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: var(--c-accent-soft);
  color: var(--c-accent);
  margin-bottom: .85rem;
}
.hyp-case h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 .6rem;
  color: var(--c-ink);
}
.hyp-case p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--c-muted);
  margin: 0 0 .65rem;
}
.hyp-case p:last-child { margin-bottom: 0; }
.hyp-case__tip {
  margin-top: 1rem;
  padding-top: .85rem;
  border-top: 1px solid var(--c-line);
  font-size: 14px;
  line-height: 1.55;
  color: var(--c-muted);
}
.hyp-case__tip strong { color: var(--c-ink); }

@media(max-width:991.98px) { .hyp-cases { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }


/* ─────────────────────────────────────────────────────
   WARNING SIGNALS (varovné signály)
   ───────────────────────────────────────────────────── */
.hyp-signal-list {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.hyp-signal {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  padding: .85rem 1rem;
  border-radius: var(--r);
  transition: background .2s;
}
.hyp-signal:hover { background: var(--c-accent-light); }
.hyp-signal__dot {
  width: 10px; height: 10px;
  flex: 0 0 10px;
  border-radius: 50%;
  margin-top: .35rem;
}
.hyp-signal--warn .hyp-signal__dot { background: var(--hyp-amber); }
.hyp-signal > div {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--c-muted);
}
.hyp-signal > div strong { color: var(--c-ink); }


/* ─────────────────────────────────────────────────────
   SAFETY BOX (kupní cena v úschově)
   ───────────────────────────────────────────────────── */
.hyp-safety {
  padding: 2.25rem 2rem 2rem;
  border-radius: var(--r-xl);
  background: var(--c-ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hyp-safety::before {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,96,44,.16) 0%, transparent 65%);
  pointer-events: none;
}
.hyp-safety__head {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-bottom: 1.25rem;
  position: relative;
}
.hyp-safety__head h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  letter-spacing: -.02em;
}
.hyp-safety__ic {
  width: 44px; height: 44px;
  flex: 0 0 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--c-accent);
  color: #fff;
}
.hyp-safety p {
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(255,255,255,.7);
  margin: 0 0 .6rem;
  position: relative;
}
.hyp-safety p:last-child { margin-bottom: 0; }
.hyp-safety strong { color: #fff; }


/* ─────────────────────────────────────────────────────
   INLINE HELPERS
   ───────────────────────────────────────────────────── */
.link-accent {
  color: var(--c-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(212,96,44,.3);
  transition: text-decoration-color .2s;
}
.link-accent:hover {
  color: var(--c-accent);
  text-decoration-color: var(--c-accent);
}

.btn-main--ghost {
  background: transparent;
  border: 2px solid rgba(255,255,255,.3);
  color: #fff;
}
.btn-main--ghost:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.5);
  color: #fff;
  box-shadow: none;
}


/* ─────────────────────────────────────────────────────
   DISCLAIMER
   ───────────────────────────────────────────────────── */
.disclaimer {
  padding: 1.25rem 1.5rem;
  border-radius: var(--r);
  background: var(--c-warm);
  border-left: 4px solid var(--c-line);
  font-size: 14px;
  line-height: 1.65;
  color: var(--c-light);
}
.disclaimer p { margin: 0; }
.disclaimer a { color: var(--c-accent); }
.sec--sm { padding: clamp(2rem,3vw,3rem) 0; }


/* ─────────────────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────────────────── */
@media(max-width:767.98px) {
  .hyp-variant { padding: 1.5rem 1.25rem; }
  .hyp-quick { padding: 1.5rem 1.25rem; }
  .hyp-safety { padding: 1.75rem 1.25rem; }
  .hyp-flow::before { left: 18px; }
}
