*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Web 2.0 – farby bez zmeny, typografia Inter Tight (zvýraznenie len farbou, bez kurzívy) */
:root {
  --ink: #0a0a0f;
  --white: #ffffff;
  --mist: #f5f5f7;
  --line: #e4e4ea;
  --muted: #55555f;
  --muted-dark: #a0a0ab;
  --soft: #d0d0d6;
  --blue: #1d11ea;
  --blue-tint: #e8e7fd;
  --lilac: #b9b4ff;
  --lilac-mid: #8c85ff;
  --ph: linear-gradient(135deg, #d9d9e0, #ededf2);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter Tight', sans-serif;
  background: var(--white);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--ink); }
a:hover { color: var(--blue); }
img { display: block; max-width: 100%; }
button, input { font-family: inherit; }
/* Skryté prvky (napr. karty mimo filtra) – musí platiť aj pre prvky s vlastným display (flex, grid) */
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { max-width: 1320px; margin: 0 auto; padding: 0 32px; }
.section { padding-top: 104px; }
.section--first { padding-top: 88px; }
.block-title { margin-bottom: 32px; }
.text-link { font-size: 15px; font-weight: 600; }

/* Zvýraznené slová v nadpisoch – len farbou */
.serif { font-family: inherit; font-style: normal; font-weight: inherit; } /* zvýraznené slovo: len farba (accent / accent-light) */
.accent { color: var(--blue); }
.accent-light { color: var(--lilac); }

.h-display { font-size: clamp(36px, 4.2vw, 60px); line-height: 1; font-weight: 600; letter-spacing: -0.045em; }
.h-section { font-size: 34px; line-height: 1; font-weight: 600; letter-spacing: -0.035em; margin-bottom: 20px; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
}

/* ── Tlačidlá (pilulky) ── */
.pill {
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s, background .25s, color .25s;
}
.pill:hover { transform: translateY(-2px); }
.pill--sm { height: 44px; padding: 0 20px; font-size: 15px; }
.pill--blue { background: var(--blue); color: var(--white); }
.pill--blue:hover { color: var(--white); }
.pill--white { background: var(--white); color: var(--ink); }
.pill--white:hover { color: var(--ink); }
.pill--ink { background: var(--ink); color: var(--white); }
.pill--ink:hover { color: var(--white); }
.pill--ghost { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.5); }
.pill--ghost:hover { color: var(--white); }
.pill--outline { background: var(--white); color: var(--ink); border: 1.5px solid var(--ink); }

.glass {
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.glass-dark {
  background: rgba(10,10,15,.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.round-btn {
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.round-btn[aria-pressed="true"] { background: var(--blue); }

.tag {
  display: inline-block;
  background: var(--white);
  color: var(--ink);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
}

/* Zástupné médiá (kým nie sú fotky / video) */
.ph {
  background: var(--ph);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  padding: 16px;
}
.ph-dark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-dark);
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  padding: 24px;
}
.ken { position: absolute; inset: -4%; animation: ken 14s ease-in-out infinite alternate; }

/* ── Hlavička (plávajúca nad hero) ── */
.site-header {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
}
.logo-pill { display: flex; padding: 9px 18px; border-radius: 999px; }
.logo-pill img { height: 34px; width: auto; }
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
}
.nav a { color: var(--white); text-decoration: none; padding: 0 16px; height: 40px; display: flex; align-items: center; border-radius: 999px; }
.nav a:hover { background: rgba(255,255,255,.12); color: var(--white); }
.nav a[aria-current="page"] { background: rgba(255,255,255,.18); }
.nav .nav-cta { background: var(--white); color: var(--ink); padding: 0 22px; font-weight: 600; }
.nav .nav-phone { gap: 8px; font-weight: 600; white-space: nowrap; }
.call-btn { display: none; width: 48px; height: 48px; border-radius: 999px; background: var(--blue); color: var(--white); align-items: center; justify-content: center; margin-left: auto; }
.call-btn:hover { color: var(--white); }
.site-header.is-fixed .call-btn { box-shadow: 0 4px 18px rgba(10,10,15,.18); }
.nav .nav-cta:hover { background: var(--white); color: var(--ink); }
/* Lepkavé menu: po odscrollovaní sa hlavička pripne hore a ukáže sa pri posune nahor */
.site-header.is-fixed { position: fixed; top: 12px; left: 20px; right: 20px; transform: translateY(-140%); transition: transform .35s var(--ease); }
.site-header.is-fixed.is-shown { transform: none; }
.site-header.is-fixed .logo-pill,
.site-header.is-fixed .nav { background: rgba(10,10,15,.82); }
.site-header.is-fixed .menu-btn { box-shadow: 0 4px 18px rgba(10,10,15,.18); }
.site-header.is-fixed .logo-pill img { height: 28px; }
.site-header.is-fixed .logo-pill { padding: 8px 16px; }
@media (prefers-reduced-motion: reduce) { .site-header.is-fixed { transition: none; } }

.menu-btn {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ── Hero karta ── */
.hero-wrap { padding: 12px; }
.hero {
  position: relative;
  height: min(760px, 92vh);
  min-height: 600px;
  border-radius: 32px;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}
.hero-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(10,10,15,.35) 0%, rgba(10,10,15,0) 35%, rgba(10,10,15,.75) 100%); }


/* ── Karta ponuky ── */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px 20px; }
.card { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 16px; }
.card:hover { color: var(--ink); }
.card-media { position: relative; aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden; background: var(--line); }
.card-media .ph { position: absolute; inset: 0; transition: transform .8s var(--ease); }
.card:hover .card-media .ph { transform: scale(1.07); }
.card-media .tag { position: absolute; top: 16px; left: 16px; }
.card-play {
  position: absolute; top: 16px; right: 16px;
  background: var(--ink); color: var(--white);
  border-radius: 999px; padding: 7px 14px;
  font-size: 13px; font-weight: 500;
  opacity: 0; transition: opacity .3s;
}
.card:hover .card-play { opacity: 1; }
.card-body { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.card-place { font-size: 14px; color: var(--muted); }
.card-title { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin-top: 4px; }
.card-price { font-size: 18px; margin-top: 6px; }
.card-arrow {
  width: 48px; height: 48px; flex: none;
  border-radius: 999px; background: var(--mist);
  display: flex; align-items: center; justify-content: center;
  transition: background .3s, transform .3s, color .3s;
}
.card:hover .card-arrow { background: var(--blue); color: var(--white); transform: rotate(-45deg); }

/* ── Recenzie ── */
.reviews { overflow: hidden; }
.reviews-head { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.reviews-label { font-size: 14px; font-weight: 500; color: var(--muted); }
.reviews-title { flex: 1 1 100%; margin-bottom: 4px; }
.reviews-all { margin-left: auto; }
.reviews-score { display: flex; align-items: center; gap: 14px; }
.reviews-score-num { font-size: 48px; line-height: 1; font-weight: 600; letter-spacing: -0.04em; }
.reviews-score > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.reviews-score-note { font-size: 14px; color: var(--muted); }
.review-who a { color: inherit; }
.reviews-track { display: flex; gap: 20px; width: max-content; animation: marquee 40s linear infinite; }
.reviews-track:hover { animation-play-state: paused; }
.review { width: 420px; flex: none; border-radius: 24px; padding: 32px; background: var(--mist); }
.review-stars { color: var(--blue); font-size: 18px; }
.review-text { margin-top: 16px; font-size: 20px; line-height: 1.4; font-weight: 500; }
.review-who { margin-top: 16px; font-size: 14px; color: var(--muted); }
.review--dark { background: var(--ink); color: var(--white); }
.review--dark .review-stars { color: var(--lilac); }
.review--dark .review-who { color: var(--muted-dark); }
.review--blue { background: var(--blue); color: var(--white); }
.review--blue .review-stars, .review--blue .review-who { color: var(--white); }

/* ── Pätička ── */
.footer-wrap { padding: 96px 12px 12px; }
.footer {
  border-radius: 32px;
  background: var(--ink);
  color: var(--white);
  padding: 64px 48px 32px;
  display: flex;
  flex-direction: column;
  gap: 36px;
  overflow: hidden;
}
.footer--plain { padding-top: 48px; gap: 28px; }
.footer-title { font-size: clamp(36px, 4.6vw, 68px); line-height: .95; font-weight: 600; letter-spacing: -0.05em; max-width: 1200px; }
.valuation {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 760px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
}
.valuation input {
  flex: 1 1 280px;
  font-size: 17px;
  height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--white);
}
.valuation input::placeholder { color: var(--muted-dark); }
.valuation input:focus-visible { outline: 2px solid var(--lilac); outline-offset: 2px; }
.valuation-note { margin-top: 16px; font-size: 14px; color: var(--soft); min-height: 1.5em; }
.footer-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 64px;
  justify-content: space-between;
  border-top: 1px solid #2a2a33;
  padding-top: 32px;
  font-size: 14px;
  line-height: 1.9;
}
.footer--plain .footer-cols { border-top: 0; padding-top: 0; }
.footer-head { color: var(--muted-dark); }
.footer-cols a, .footer-cols span { display: block; color: var(--white); text-decoration: none; }
.footer-cols a:hover { color: var(--lilac); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; border-top: 1px solid #2a2a33; padding-top: 24px; font-size: 13px; color: var(--muted-dark); }
.footer-logo { width: auto; height: 32px; opacity: .95; }

/* ── Mobilné menu ── */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: var(--ink);
  color: var(--white);
  padding: 20px;
  display: none;
  flex-direction: column;
  gap: 8px;
}
.mobile-nav.is-open { display: flex; }
.mobile-nav-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.mobile-nav-top img { height: 28px; width: auto; }
.mobile-nav a:not(.pill) { color: var(--white); text-decoration: none; font-size: 40px; font-weight: 600; letter-spacing: -0.04em; padding: 6px 0; }
.mobile-nav .pill { margin-top: auto; }
.mobile-nav a.mobile-nav-sub { font-size: 20px; font-weight: 500; color: var(--muted-dark); margin-top: 12px; }

/* ── Animácie ── */
@keyframes up { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: none; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.55); } 100% { box-shadow: 0 0 0 20px rgba(255,255,255,0); } }
@keyframes ken { from { transform: scale(1) translate(0,0); } to { transform: scale(1.14) translate(-2%,-1%); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes scroll-hint { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(10px); opacity: 0; } }
.up { animation: up 1s var(--ease) both; }
.up-1 { animation-delay: .15s; }
.up-2 { animation-delay: .3s; }

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

/* ── Mobil ── */
@media (max-width: 860px) {
  .container { padding: 0 16px; }
  .section { padding-top: 72px; }
  .section--first { padding-top: 64px; }
  .block-title { margin-bottom: 20px; }
  .section-head { margin-bottom: 20px; }
  .h-display { font-size: 38px; }
  .h-section { font-size: 32px; }

  .site-header { top: 12px; left: 12px; right: 12px; flex-wrap: nowrap; }
  .logo-pill { padding: 10px 14px; }
  .logo-pill img { height: 28px; }
  .nav { display: none; }
  .call-btn { display: flex; }
  .menu-btn { display: flex; }

  .hero-wrap { padding: 8px; }
  .hero { border-radius: 28px; }


  .cards--scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    margin: 0 -16px;
    padding: 0 16px 8px;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 16px; /* prichytenie karty s odstupom od okraja, nie natesno (karta nebola odrezaná) */
  }
  .cards--scroll .card { flex: 0 0 300px; scroll-snap-align: start; gap: 12px; }
  .cards--scroll .card-media { aspect-ratio: auto; height: 340px; border-radius: 22px; }
  .cards--scroll .card-arrow, .card-play { display: none; }
  .cards { grid-template-columns: 1fr; }
  .card-title { font-size: 20px; }
  .card-price { font-size: 16px; }

  .review { width: 280px; padding: 24px; border-radius: 22px; }
  .review-text { font-size: 17px; margin-top: 12px; }
  .review-who { font-size: 13px; margin-top: 10px; }
  .reviews-head { margin-bottom: 20px; }
  .reviews-all { margin-left: 0; }
  .reviews-score-num { font-size: 36px; }

  .footer-wrap { padding: 72px 8px 8px; }
  .footer { border-radius: 28px; padding: 40px 20px 24px; gap: 24px; }
  .footer-title { font-size: 36px; }
  .footer-logo { height: 26px; }
  .valuation { margin-top: 28px; flex-direction: column; border-radius: 0; background: transparent; padding: 0; }
  .valuation input { flex: none; background: rgba(255,255,255,.1); padding: 0 22px; font-size: 16px; }
  .footer-cols { gap: 20px 40px; padding-top: 24px; font-size: 14px; line-height: 1.9; }
}

/* ════════ Spoločné komponenty podstránok ════════ */

/* Hero podstránky */
.page-hero { position: relative; min-height: 560px; border-radius: 32px; overflow: hidden; background: var(--ink); color: var(--white); display: flex; flex-direction: column; justify-content: flex-end; }
.page-hero-note { position: absolute; top: 44%; right: 56px; font-size: 13px; font-weight: 500; color: var(--muted-dark); }
.page-hero-body { position: relative; padding: 150px 48px 48px; max-width: 1100px; }
.page-hero-body--wide { max-width: none; }
.crumbs { font-size: 14px; color: var(--soft); }
.crumbs a { color: var(--soft); }
.crumbs a:hover { color: var(--white); }
.page-title { margin-top: 18px; max-width: 1000px; font-size: clamp(44px, 5.8vw, 88px); line-height: .94; font-weight: 600; letter-spacing: -0.05em; }
.page-title .serif { letter-spacing: -0.02em; }
.page-lead { margin-top: 22px; max-width: 600px; font-size: 18px; line-height: 1.55; color: var(--soft); }
.page-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* Prepínač (segmenty) */
.segmented { display: flex; gap: 4px; padding: 6px; border-radius: 999px; background: var(--mist); }
.segmented button { border: 0; cursor: pointer; height: 48px; padding: 0 24px; border-radius: 999px; font-size: 15px; font-weight: 600; background: transparent; color: var(--ink); transition: background .3s, color .3s; }
.segmented button[aria-selected="true"] { background: var(--ink); color: var(--white); }

/* Filtre (pilulky s rámikom) */
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filters button { cursor: pointer; height: 44px; padding: 0 20px; border-radius: 999px; font-size: 14px; font-weight: 600; border: 1.5px solid var(--ink); background: var(--white); color: var(--ink); display: flex; align-items: center; gap: 10px; transition: background .25s, color .25s; }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.filters .dot { width: 12px; height: 12px; border-radius: 999px; border: 2px solid var(--white); box-shadow: 0 0 0 1px var(--ink); }
.result-count { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.offer-bar { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; margin: -12px 0 20px; }
.empty { padding: 48px; border-radius: 24px; background: var(--mist); text-align: center; color: var(--muted); grid-column: 1 / -1; }

/* Panel so zoznamom krokov (S čím vám pomôžeme / Pre koho pracujeme) */
.intent { display: flex; flex-wrap: wrap; gap: 20px; }
.intent-card { flex: 1 1 440px; background: var(--mist); border-radius: 28px; padding: 48px; display: flex; flex-direction: column; gap: 28px; }
.intent-title { font-size: 40px; line-height: 1.08; font-weight: 600; letter-spacing: -0.035em; }
.intent-text { font-size: 17px; line-height: 1.6; color: var(--muted); }
.intent-steps { list-style: none; }
.intent-steps li { display: flex; gap: 20px; align-items: center; padding: 18px 0; border-top: 1px solid var(--line); font-size: 18px; font-weight: 600; }
.intent-steps .n { font-weight: 600; font-size: 26px; letter-spacing: -0.02em; color: var(--blue); width: 36px; flex: none; }
.intent-cta { align-self: flex-start; margin-top: auto; }
.intent-video { flex: 1.3 1 520px; min-height: 560px; border-radius: 28px; overflow: hidden; position: relative; background: var(--ink); }

/* Dlaždice */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.ftile { min-height: 280px; border-radius: 28px; padding: 32px; display: flex; flex-direction: column; justify-content: space-between; background: var(--mist); color: var(--ink); text-decoration: none; transition: transform .4s var(--ease); }
.ftile:hover { transform: translateY(-6px); }
.ftile--ink { background: var(--ink); color: var(--white); }
.ftile--blue, .ftile--blue:hover { background: var(--blue); color: var(--white); }
.ftile--line { background: var(--white); border: 1.5px solid var(--line); min-height: 0; justify-content: flex-start; gap: 12px; }
.ftile-num { font-size: 14px; color: var(--muted); }
.ftile--ink .ftile-num { color: var(--muted-dark); }
.ftile--blue .ftile-num { color: var(--white); }
.ftile-serif { font-weight: 600; font-size: 36px; letter-spacing: -0.03em; line-height: 1; color: var(--blue); }
.ftile--ink .ftile-serif { color: var(--lilac); }
.ftile--blue .ftile-serif { color: var(--white); }
.ftile-title { font-size: 28px; line-height: 1.15; font-weight: 600; letter-spacing: -0.03em; }
.ftile--line .ftile-title { font-size: 22px; letter-spacing: -0.02em; }
.ftile p { margin-top: 10px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.ftile--line p { margin-top: 0; }
.ftile--ink p { color: var(--soft); }
.ftile--blue p { color: var(--white); }

/* Homestaging pred / po */
.ba { position: relative; flex-grow: 1; min-height: 280px; border-radius: 20px; overflow: hidden; background: #bdbdc6; }
.ba-before { position: absolute; inset: 0; display: flex; align-items: center; justify-content: flex-end; padding: 0 24px; font-size: 13px; font-weight: 600; }
.ba-after { position: absolute; top: 0; bottom: 0; left: 0; width: 55%; background: var(--blue-tint); overflow: hidden; display: flex; align-items: center; padding-left: 24px; color: var(--blue); font-size: 13px; font-weight: 600; white-space: nowrap; }
.ba-line { position: absolute; top: 0; bottom: 0; left: 55%; width: 3px; margin-left: -1.5px; background: var(--white); }
.ba-tag { position: absolute; bottom: 16px; border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 600; }
.ba-tag--after { left: 16px; background: var(--blue); color: var(--white); }
.ba-tag--before { right: 16px; background: var(--white); }
.ba-label { display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 500; color: var(--muted); }
.ba-label input { width: 100%; height: 28px; accent-color: var(--blue); }

/* Mapa (zástupná, kým nie je Google Maps) */
.map-intro { max-width: 640px; margin: 0 0 32px; font-size: 17px; line-height: 1.6; color: var(--muted); }
.map-head { margin-bottom: 16px; }
.mapw { display: flex; flex-wrap: wrap; gap: 20px; }
.mapw-list { flex: 1 1 320px; max-height: 600px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding-right: 4px; }
.mapw-count { font-size: 14px; color: var(--muted); padding: 0 4px 8px; }
.mapw-row { text-align: left; cursor: pointer; min-height: 72px; padding: 14px 18px; border-radius: 18px; border: 1.5px solid var(--line); background: var(--white); color: var(--ink); display: flex; align-items: center; gap: 14px; transition: background .25s, border-color .25s; }
.mapw-row[aria-pressed="true"] { background: var(--mist); border-color: var(--ink); }
.mapw-row strong { font-size: 16px; font-weight: 600; }
.mapw-row-text { display: flex; flex-direction: column; gap: 2px; flex-grow: 1; min-width: 0; }
.mapw-row-place { font-size: 14px; color: var(--muted); }
.mapw-row-status { font-size: 12px; font-weight: 600; color: var(--muted); text-align: right; }
.mapw-dot { width: 16px; height: 16px; border-radius: 999px; border: 3px solid var(--white); box-shadow: 0 0 0 1px #c8c8d0; flex: none; }
.dot--now { background: var(--blue); }
.dot--done { background: #9d97ff; }
.dot--all { background: var(--ink); }
.mapw-map { flex: 2 1 560px; height: 600px; border-radius: 28px; overflow: hidden; position: relative; background: #ededf2; }
.mapw-layer { position: absolute; inset: 0; transition: transform .6s var(--ease); }
.mapw-grid { position: absolute; inset: -20%; background-color: #ededf2; background-image: linear-gradient(#e0e0e8 1px, transparent 1px), linear-gradient(90deg, #e0e0e8 1px, transparent 1px); background-size: 48px 48px; }
.mapw-road { position: absolute; border-radius: 999px; background: var(--white); }
.mapw-road--1 { left: -10%; top: 74%; width: 75%; height: 22px; background: #d3d6e4; transform: rotate(-14deg); }
.mapw-road--2 { left: 20%; top: 8%; width: 6px; height: 90%; transform: rotate(18deg); }
.mapw-road--3 { left: 0; top: 48%; width: 100%; height: 6px; transform: rotate(-6deg); }
.mapw-pin { position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; padding: 0; border: 0; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: transform .6s; }
.mapw-pin span { width: 18px; height: 18px; border-radius: 999px; border: 3px solid var(--white); box-shadow: 0 2px 10px rgba(10,10,15,.3); transition: width .25s, height .25s; }
.mapw-pin[aria-pressed="true"] span { width: 28px; height: 28px; }
.mapw-note { position: absolute; left: 16px; top: 16px; background: rgba(255,255,255,.9); border-radius: 999px; padding: 8px 14px; font-size: 12px; font-weight: 600; color: var(--muted); }
.mapw-zoom { position: absolute; right: 16px; top: 16px; display: flex; flex-direction: column; gap: 6px; }
.mapw-zoom button { width: 44px; height: 44px; border-radius: 14px; border: 0; background: var(--white); cursor: pointer; font-size: 22px; color: var(--ink); box-shadow: 0 2px 8px rgba(10,10,15,.12); }
.mapw-legend { position: absolute; right: 16px; bottom: 16px; background: var(--white); border-radius: 16px; padding: 12px 16px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; box-shadow: 0 2px 8px rgba(10,10,15,.12); }
.mapw-legend span { display: flex; align-items: center; gap: 8px; }
.mapw-legend i { width: 12px; height: 12px; border-radius: 999px; }
.mapw-pop { position: absolute; left: 16px; bottom: 16px; width: 300px; max-width: calc(100% - 32px); background: var(--white); border-radius: 20px; padding: 16px; display: flex; gap: 14px; box-shadow: 0 8px 28px rgba(10,10,15,.18); color: var(--ink); }
.mapw-pop[hidden] { display: none; }
.mapw-pop-img { width: 72px; height: 72px; border-radius: 14px; background: var(--ph); flex: none; }
.mapw-pop-text { display: flex; flex-direction: column; gap: 3px; flex-grow: 1; min-width: 0; font-size: 14px; }
.mapw-pop-status { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--muted); }
.mapw-pop-status i { width: 10px; height: 10px; border-radius: 999px; }
.mapw-pop strong { font-size: 16px; font-weight: 600; }
.mapw-pop-place { color: var(--muted); }
.mapw-pop a { font-weight: 600; color: var(--blue); }
.mapw-pop-close { width: 32px; height: 32px; border-radius: 999px; border: 0; background: var(--mist); cursor: pointer; font-size: 14px; flex: none; }

/* Časté otázky */
.faq-wrap { max-width: 1000px; }
.faq-wrap .h-display { margin-bottom: 32px; }
.faq-item { border-top: 1px solid var(--line); }
.faq-q { width: 100%; min-height: 72px; padding: 20px 0; border: 0; background: transparent; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; text-align: left; font-size: 20px; font-weight: 600; color: var(--ink); }
.faq-sign { width: 40px; height: 40px; border-radius: 999px; background: var(--mist); display: flex; align-items: center; justify-content: center; flex: none; font-size: 20px; }
.faq-a { padding: 0 64px 24px 0; font-size: 16px; line-height: 1.6; color: var(--muted); }
.faq-a[hidden] { display: none; }

/* Hypotekárna kalkulačka na stránke */
.calc { display: flex; flex-wrap: wrap; gap: 20px; }
.calc-inputs { flex: 1.4 1 520px; border-radius: 28px; background: var(--mist); padding: 40px; display: flex; flex-direction: column; gap: 28px; }
.calc-inputs label { display: flex; flex-direction: column; gap: 10px; font-size: 14px; font-weight: 600; color: var(--muted); }
.calc-inputs label > span { display: flex; justify-content: space-between; gap: 16px; }
.calc-inputs strong { color: var(--ink); font-size: 18px; }
.calc-inputs input { width: 100%; height: 28px; accent-color: var(--blue); }
.calc-result { flex: 1 1 360px; border-radius: 28px; background: var(--ink); color: var(--white); padding: 40px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.calc-label { font-size: 14px; color: var(--muted-dark); }
.calc-pay { font-size: clamp(56px, 6vw, 88px); line-height: 1; font-weight: 600; letter-spacing: -0.05em; margin-top: 12px; }
.calc-loan { font-size: 15px; color: var(--soft); margin-top: 16px; }
.calc-note { margin-bottom: 20px; font-size: 13px; line-height: 1.6; color: var(--muted-dark); }

/* Formulár na svetlej karte */
.form-card { background: var(--white); color: var(--ink); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.form-card-title { font-size: 24px; font-weight: 600; letter-spacing: -0.03em; }
.form-card label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.form-row { display: flex; flex-wrap: wrap; gap: 12px; }
.form-row > label { flex: 1 1 140px; }
.input { font-size: 16px; height: 52px; padding: 0 18px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--white); color: var(--ink); width: 100%; }
select.input { padding: 0 14px; }
.input:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.form-card .pill { margin-top: 8px; }
.form-done { font-size: 16px; line-height: 1.6; color: var(--muted); }
.form-done strong { display: block; font-size: 22px; color: var(--ink); margin-bottom: 4px; }

/* Pätičkový formulár s dvoma poľami */
.valuation--wide { max-width: 900px; border-radius: 32px; }
.valuation .input-alt { flex: 1 1 180px; background: rgba(255,255,255,.06); }

@media (max-width: 860px) {
  .page-hero { min-height: 600px; border-radius: 28px; }
  .page-hero-note { top: 22%; left: 20px; right: 20px; font-size: 12px; }
  .page-hero-body { padding: 140px 20px 24px; }
  .page-title { font-size: 46px; }
  .page-lead { margin-top: 18px; font-size: 16px; }
  .page-ctas { flex-direction: column; margin-top: 24px; }
  .page-ctas .pill { width: 100%; }

  .segmented { width: 100%; padding: 5px; }
  .segmented button { flex: 1 1 0; height: 44px; padding: 0 8px; font-size: 14px; }
  .offer-bar { margin-top: -8px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; max-width: calc(100% + 32px); margin: 0 -16px; padding: 2px 16px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filters button { flex: none; }

  .intent { flex-direction: column; gap: 0; background: var(--mist); border-radius: 24px; overflow: hidden; }
  .intent-video { order: -1; flex: none; min-height: 220px; height: 220px; border-radius: 0; }
  .intent-card { flex: none; padding: 24px; gap: 14px; border-radius: 0; }
  .intent-title { font-size: 26px; line-height: 1.1; }
  .intent-text { font-size: 15px; }
  .intent-steps li { padding: 12px 0; font-size: 16px; gap: 14px; }
  .intent-steps .n { font-size: 22px; width: 28px; }
  .intent-cta { align-self: stretch; height: 52px; font-size: 15px; }

  .tiles { grid-template-columns: 1fr; gap: 12px; }
  .ftile { min-height: 0; gap: 32px; border-radius: 24px; padding: 24px; }
  .ftile-title { font-size: 24px; }

  .ba { min-height: 220px; border-radius: 16px; }

  .map-intro { font-size: 15px; margin-bottom: 20px; }
  .mapw { flex-direction: column; gap: 12px; }
  .mapw-map { order: -1; flex: none; height: 380px; border-radius: 24px; }
  .mapw-list { flex: none; max-height: 320px; }
  .mapw-legend { display: none; }

  .faq-wrap .h-display { margin-bottom: 16px; }
  .faq-q { font-size: 17px; min-height: 64px; gap: 16px; }
  .faq-a { padding-right: 0; font-size: 15px; }

  .calc-inputs, .calc-result { padding: 24px; border-radius: 24px; }
  .calc-pay { font-size: 52px; }
  .calc-result .pill { width: 100%; }

  .form-card { padding: 20px; }
  .valuation .input-alt { flex: none; background: rgba(255,255,255,.1); }
}

/* ════════ WordPress: skutočné fotky, vložené médiá, články ════════ */
img.ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; padding: 0; }
.story-img { overflow: hidden; }

/* Karta úspešného predaja (Predávam, Úspešne predané, profil makléra) – celá je odkaz */
a.story { color: inherit; text-decoration: none; }
a.story .story-img img { transition: transform .8s var(--ease); }
a.story:hover .story-img img { transform: scale(1.04); }
.story-more { display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--blue); }
img.agent-photo { object-fit: cover; }

.form-error { color: #ffb4b4; font-weight: 600; }
.form-card .form-error, .visit-form .form-error { color: #b42318; }
.is-sending { opacity: .6; pointer-events: none; }

.prose { max-width: 760px; font-size: 17px; line-height: 1.7; color: #2a2a33; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: 32px; line-height: 1.15; font-weight: 600; letter-spacing: -0.03em; margin-top: 1.6em; color: var(--ink); }
.prose h3 { font-size: 22px; font-weight: 600; margin-top: 1.4em; color: var(--ink); }
.prose a { color: var(--blue); }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose img { border-radius: 20px; height: auto; }

.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers { min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line); display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 600; }
.pagination .page-numbers.current { background: var(--ink); border-color: var(--ink); color: var(--white); }

/* ════════ Vzhľad webu: vlastné pozadia, videá a fotky zo správy ════════ */
.media-fill { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media-dim { position: absolute; inset: 0; pointer-events: none; }
.ba-before, .ba-after { overflow: hidden; }
.ba-after { width: 100%; clip-path: inset(0 calc(100% - var(--ba, 55%)) 0 0); }
.ba-line { left: var(--ba, 55%); }
.ba .media-fill { z-index: 0; }

/* ════════ Mapy (MapLibre + OpenFreeMap) ════════ */
.mapw-map .mapw-gl { position: absolute; inset: 0; } /* vyššia priorita ako .maplibregl-map { position: relative } */
.mapw-gl ~ .mapw-zoom, .mapw-gl ~ .mapw-legend, .mapw-gl ~ .mapw-pop { z-index: 2; }
.mapw-gl ~ .mapw-legend { top: 16px; left: 16px; right: auto; bottom: auto; }
.gl-pin { width: 22px; height: 22px; padding: 0; border-radius: 999px; border: 3px solid var(--white); box-shadow: 0 2px 10px rgba(10,10,15,.35); cursor: pointer; transition: width .2s, height .2s; }
.gl-pin[aria-pressed="true"] { width: 32px; height: 32px; }
.gl-pin:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.maplibregl-ctrl-attrib { font-family: 'Inter Tight', sans-serif; font-size: 11px; }
.maplibregl-ctrl-group { border-radius: 14px !important; overflow: hidden; }

/* Náhľad ponuky pre klienta (pred zverejnením) */
.preview-bar { position: sticky; top: 0; z-index: 20; padding: 10px 16px; background: var(--blue); color: var(--white); font-size: 14px; font-weight: 600; text-align: center; }
@media print { .preview-bar { display: none; } }

.footer-bottom a { color: inherit; }
.footer-bottom a:hover { color: var(--white); }

/* ════════ Hero podstránok z dát webu (bez videa) ════════ */
.hero-art { position: absolute; inset: 0; overflow: hidden; }
.page-hero--art .hero-shade { background: linear-gradient(90deg, rgba(10,10,15,.94) 0%, rgba(10,10,15,.82) 34%, rgba(10,10,15,.25) 62%, rgba(10,10,15,.35) 100%), linear-gradient(180deg, rgba(10,10,15,.55) 0%, rgba(10,10,15,0) 28%); }
.page-hero-aside { position: absolute; right: 48px; bottom: 48px; width: 340px; z-index: 2; }
.hero-card { padding: 22px; border-radius: 24px; background: rgba(14,14,22,.82); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); color: var(--white); }
.hero-card-kicker { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--lilac); }
.hero-card-text { margin-top: 8px; font-size: 14px; line-height: 1.5; color: var(--soft); }
.hero-card-form { display: grid; gap: 8px; margin-top: 14px; }
.hero-card-form input { height: 48px; padding: 0 18px; border: 0; border-radius: 999px; background: rgba(255,255,255,.12); color: var(--white); font: inherit; font-size: 15px; }
.hero-card-form input::placeholder { color: var(--muted-dark); }
.hero-card-form input:focus { outline: 2px solid var(--lilac); outline-offset: 1px; }
.hero-card-form .pill { width: 100%; justify-content: center; }
.hero-card .form-done { font-size: 14px; line-height: 1.5; color: var(--soft); margin-top: 10px; }
.hero-card .form-done strong { display: block; color: var(--white); }
.hero-card .form-error { font-size: 13px; color: #ffb4b4; }

/* Ponuky: živá mapa */
.hero-map.maplibregl-map { position: absolute; } /* MapLibre dáva kontajneru position: relative → nulová výška */
.hero-map .maplibregl-canvas { filter: invert(1) hue-rotate(195deg) saturate(.45) brightness(.82) contrast(1.05); }
.hero-map .maplibregl-ctrl-bottom-right { z-index: 3; opacity: .55; }
.page-hero--map .hero-shade { background: linear-gradient(90deg, rgba(10,10,15,.9) 0%, rgba(10,10,15,.7) 36%, rgba(10,10,15,0) 62%), linear-gradient(180deg, rgba(10,10,15,.55) 0%, rgba(10,10,15,0) 26%, rgba(10,10,15,0) 70%, rgba(10,10,15,.6) 100%); pointer-events: none; }
.hero-pin { display: block; width: 12px; height: 12px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 3px rgba(29,17,234,.28); }
.hero-pin--done { width: 8px; height: 8px; background: var(--lilac); box-shadow: none; opacity: .75; }
.hero-pin--now::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--blue); opacity: 0; animation: heroPulse 2.8s ease-out infinite; }
.hero-pin.is-active { width: 18px; height: 18px; background: var(--white); box-shadow: 0 0 0 6px rgba(29,17,234,.55); }
@keyframes heroPulse { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(2.4); opacity: 0; } }
.hero-map-chip { position: absolute; z-index: 3; left: calc(75% - 30px); top: calc(50% + 22px); transform: translate(-50%, 6px); display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border-radius: 14px; background: rgba(10,10,15,.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--white); font-size: 13px; white-space: nowrap; opacity: 0; transition: opacity .6s var(--ease), transform .6s var(--ease); pointer-events: none; }
.hero-map-chip strong { font-size: 14px; font-weight: 600; }
.hero-map-chip span { color: var(--soft); }
.hero-map-chip.is-on { opacity: 1; transform: translate(-50%, 0); }

/* Predať: stena predaných */
.sold-wall-grid { position: absolute; top: -10%; bottom: -10%; right: -4%; width: 66%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; transform: rotate(-6deg); }
.sold-col { overflow: hidden; }
.sold-col-track { display: flex; flex-direction: column; gap: 12px; animation: soldUp 60s linear infinite; }
.sold-col--down .sold-col-track { animation-direction: reverse; animation-duration: 75s; }
@keyframes soldUp { from { transform: translateY(0); } to { transform: translateY(calc(-50% - 6px)); } }
.sold-tile { position: relative; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: #1c1c26; flex: none; }
.sold-tile img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8) brightness(.62); }
.page-hero--sold .hero-shade { background: linear-gradient(90deg, rgba(10,10,15,.95) 0%, rgba(10,10,15,.86) 34%, rgba(10,10,15,.3) 60%, rgba(10,10,15,.45) 100%), linear-gradient(180deg, rgba(10,10,15,.6) 0%, rgba(10,10,15,0) 22%); }
.sold-stamp { position: absolute; left: 12px; top: 14px; padding: 4px 10px; border: 2px solid var(--lilac); border-radius: 8px; color: var(--lilac); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; transform: rotate(-8deg); background: rgba(10,10,15,.45); }
.sold-stamp--free { border-color: #fff; color: #fff; background: rgba(29,17,234,.55); }

@media (prefers-reduced-motion: reduce) {
  .sold-col-track, .hero-pin--now::after { animation: none; }
}
@media (max-width: 1100px) {
  .page-hero-aside { width: 300px; right: 32px; bottom: 32px; }
  .page-hero--sold .page-hero-body { padding-right: 360px; }
}
@media (max-width: 860px) {
  .page-hero--art .hero-shade, .page-hero--map .hero-shade { background: linear-gradient(180deg, rgba(10,10,15,.55) 0%, rgba(10,10,15,.2) 30%, rgba(10,10,15,.85) 58%, rgba(10,10,15,.96) 100%); }
  .page-hero--art { min-height: 0; }
  .page-hero--sold .page-hero-body { padding-right: 20px; padding-top: 260px; }
  .page-hero-aside { position: relative; right: auto; bottom: auto; width: auto; margin: 0 20px 20px; }
  .sold-wall-grid { width: 130%; right: -15%; top: -20%; bottom: auto; height: 120%; grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .sold-tile { border-radius: 12px; }
  .hero-map-chip { display: none; }
}

/* Mapa ponúk: prepínač Všetko / Aktívne / Predané dole na mape (zároveň legenda) */
.map-switch { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 3; display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--white); box-shadow: 0 6px 24px rgba(10,10,15,.18); white-space: nowrap; }
.map-switch button { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font: 600 14px/1 'Inter Tight', sans-serif; cursor: pointer; transition: background .25s, color .25s; }
.map-switch button:hover { background: var(--mist); }
.map-switch button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.map-switch i { width: 10px; height: 10px; border-radius: 999px; box-shadow: 0 0 0 2px var(--white); }
.map-n { font-size: 12px; font-weight: 500; opacity: .6; }
.map-n:empty { display: none; }
.mapw-pop { bottom: 76px; width: 340px; }
.mapw-pop-img { background-size: cover; background-position: center; }
.mapw-pop-img[hidden] { display: none; }
.mapw-pop-desc { margin-top: 4px; font-size: 13px; line-height: 1.5; color: #4a4a55; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.mapw-pop-price { font-weight: 600; }
.mapw-pop--done .mapw-pop-status { color: #6f68e6; }
@media (max-width: 860px) {
  .map-switch { bottom: 12px; padding: 4px; }
  .map-switch button { min-height: 36px; padding: 0 12px; font-size: 13px; gap: 6px; }
  .map-n { display: none; }
  .mapw-pop { left: 12px; bottom: 64px; width: auto; right: 12px; max-width: none; }
}

/* Šípka späť hore */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 30; width: 52px; height: 52px; border-radius: 999px; display: flex; align-items: center; justify-content: center; background: var(--ink); color: var(--white); box-shadow: 0 8px 24px rgba(10,10,15,.28); opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; transition: opacity .3s, transform .35s var(--ease), background .2s; }
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--blue); color: var(--white); }
.to-top:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
@media (max-width: 860px) { .to-top { right: 14px; bottom: 14px; width: 46px; height: 46px; } }
@media print { .to-top { display: none; } }

/* ── Cookie lišta ── */
.cookies { position: fixed; z-index: 200; left: 16px; right: 16px; bottom: 16px; display: flex; justify-content: flex-start; pointer-events: none; }
.cookies[hidden] { display: none; }
.cookies-box { pointer-events: auto; width: 100%; max-width: 460px; background: var(--white); color: var(--ink); border: 1.5px solid var(--line); border-radius: 24px; padding: 22px; box-shadow: 0 20px 60px rgba(10, 10, 15, .18); display: flex; flex-direction: column; gap: 12px; }
.cookies-title { font-size: 18px; font-weight: 600; }
.cookies-text { margin: 0; font-size: 14px; line-height: 1.55; color: var(--muted); }
.cookies-text a { color: var(--ink); }
.cookies-choices { display: flex; flex-direction: column; gap: 8px; }
.cookies-choices[hidden] { display: none; }
.cookies-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; color: var(--muted); }
.cookies-check strong { color: var(--ink); font-weight: 600; }
.cookies-check input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--blue); flex: none; }
.cookies-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookies-btn { background: var(--white); color: var(--ink); border: 1.5px solid var(--ink); }
@media (max-width: 560px) {
  .cookies { left: 8px; right: 8px; bottom: 8px; }
  .cookies-box { max-width: none; padding: 18px; }
  .cookies-actions .pill { flex: 1 1 auto; }
}
