/* Návrh 1 – Mapa. Písmo Ubuntu (ako na e-real.sk), farby značky. */
:root { --navy: #15355a; --navy2: #2e4f77; --gold: #cfb279; --gold2: #b39555; --cream: #faf8f2; --line: #e3e0d6; --mute: #6c7787; --hd: 68px; }
* { box-sizing: border-box; }
body { margin: 0; font: 400 16px/1.55 Ubuntu, system-ui, sans-serif; color: var(--navy); background: #fff; }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.15; }
h2 { font-size: clamp(26px, 3vw, 36px); }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.two { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: start; }
.btn { border: 0; background: var(--navy); color: #fff; font: 500 15px Ubuntu, sans-serif; padding: 14px 22px; border-radius: 4px; cursor: pointer; }
.btn:hover { background: var(--navy2); }

.hd { height: var(--hd); display: flex; align-items: center; gap: 32px; padding: 0 24px; border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 50; }
.hd-logo { color: var(--navy); }
.hd-logo .er-logo { height: 30px; }
.hd-nav { display: flex; gap: 24px; margin-left: auto; }
.hd-nav a { text-decoration: none; font-weight: 500; font-size: 15px; }
.hd-nav a:hover { color: var(--gold2); }
.hd-tel { text-decoration: none; font-weight: 700; padding: 9px 14px; border: 1px solid var(--navy); border-radius: 4px; white-space: nowrap; }
.hd-tel:hover { background: var(--navy); color: #fff; }

/* vyhľadávanie s mapou */
.finder { display: grid; grid-template-columns: 460px 1fr; height: calc(100vh - var(--hd) - 33px); min-height: 560px; border-bottom: 1px solid var(--line); position: relative; }
.side { overflow-y: auto; padding: 24px 24px 40px; border-right: 1px solid var(--line); background: var(--cream); }
.side h1 { font-size: 30px; }
.sub { color: var(--mute); margin: 6px 0 18px; }
.sub span { color: var(--navy); font-weight: 700; }
.flt { display: grid; gap: 8px; margin-bottom: 18px; }
.flt-r { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.flt input:not([type]), .flt select, .form input, .form textarea { width: 100%; font: 400 15px Ubuntu, sans-serif; color: var(--navy); padding: 11px 12px; border: 1px solid #d5d1c4; border-radius: 4px; background: #fff; }
.flt input:focus, .flt select:focus, .form input:focus, .form textarea:focus { outline: 2px solid var(--gold); outline-offset: -1px; }
.chk { display: flex; gap: 8px; align-items: center; font-size: 14px; }
.chk input { accent-color: var(--navy); width: 16px; height: 16px; }
.list { display: grid; gap: 10px; }
.row { display: grid; grid-template-columns: 128px 1fr; gap: 14px; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.row:hover { border-color: var(--gold2); }
.row img { width: 128px; height: 100%; min-height: 108px; object-fit: cover; }
.row div { padding: 10px 12px 10px 0; display: grid; gap: 2px; align-content: start; }
.row .pr { font-size: 18px; }
.row .tt { font-weight: 500; font-size: 14px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.row small { color: var(--mute); font-size: 13px; }
.row .fx { color: var(--navy2); }
.more { margin-top: 6px; border: 1px solid var(--navy); background: transparent; color: var(--navy); font: 500 15px Ubuntu, sans-serif; padding: 12px; border-radius: 4px; cursor: pointer; }
.more:hover { background: var(--navy); color: #fff; }
.none { color: var(--mute); }
.map { width: 100%; height: 100%; }
.mob-sw { display: none; }

/* sekcie */
.band { background: var(--navy); color: #fff; padding: 88px 0; }
.band .lead { color: #c9d2de; font-size: 18px; margin-top: 16px; }
.svc { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 28px; }
.svc li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; column-gap: 8px; border-top: 1px solid rgba(255, 255, 255, .18); padding-top: 22px; }
.svc li::before { content: counter(s, decimal-leading-zero); color: var(--gold); font-weight: 700; grid-row: span 2; }
.svc h3 { font-size: 20px; }
.svc p { margin: 6px 0 0; color: #c9d2de; }
.steps-w { padding: 88px 24px; }
.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: k; }
.steps li { counter-increment: k; padding: 0 20px 0 0; border-top: 3px solid var(--gold); padding-top: 16px; display: grid; gap: 6px; }
.steps li::before { content: counter(k) "."; font-weight: 700; color: var(--gold2); }
.steps b { font-size: 18px; }
.steps span { color: var(--mute); font-size: 15px; }
.about { display: grid; grid-template-columns: 1fr 1fr; background: var(--cream); }
.about img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.about div { padding: 72px 56px; max-width: 680px; }
.about p { color: #3f526b; }
.faq { padding: 88px 24px; display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 500; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--gold2); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 10px 0 0; color: #3f526b; }
.contact { background: var(--cream); padding: 88px 0; border-top: 1px solid var(--line); }
.contact .big { font-size: 22px; font-weight: 700; }
.contact .big a { text-decoration: none; }
.form { display: grid; gap: 10px; }

.ft { background: #0f2742; color: #c3ccd8; padding: 56px 0 40px; font-size: 14px; }
.ft-in { max-width: 1240px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.ft .er-logo { color: #fff; height: 30px; margin-bottom: 12px; }
.ft b { color: #fff; }
.ft p { margin: 8px 0 0; }

/* detail */
.det { padding: 20px 0 80px; }
.crumb { font-size: 14px; color: var(--mute); margin: 0 0 14px; }
.crumb a { color: var(--navy); }
.gal { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 230px 230px; gap: 6px; position: relative; border-radius: 4px; overflow: hidden; }
.gal button { border: 0; padding: 0; cursor: zoom-in; background: #ddd; }
.gal button:first-child { grid-row: span 2; }
.gal img { width: 100%; height: 100%; object-fit: cover; }
.gal.few { grid-template-columns: 2fr 1fr; }
.gal-all { position: absolute; right: 12px; bottom: 12px; background: #fff !important; color: var(--navy); font: 500 14px Ubuntu, sans-serif; padding: 9px 14px !important; border-radius: 4px; cursor: pointer; }
.det-g { display: grid; grid-template-columns: 1fr 360px; gap: 48px; margin-top: 28px; align-items: start; }
.det h1 { font-size: clamp(26px, 3vw, 36px); }
.loc { color: var(--mute); margin: 8px 0 20px; }
.kf { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 0; margin: 0 0 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kf div { padding: 14px 12px 14px 0; }
.kf dt { font-size: 13px; color: var(--mute); }
.kf dd { margin: 2px 0 0; font-weight: 700; font-size: 17px; }
.txt h3 { font-size: 20px; margin: 26px 0 8px; }
.txt p, .txt li { color: #2f435c; }
.det h2 { margin: 40px 0 16px; font-size: 26px; }
.pmap { height: 380px; border-radius: 4px; overflow: hidden; }
.secs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.er-sec { break-inside: avoid; margin-bottom: 22px; }
.er-sec h3 { font-size: 16px; padding-bottom: 6px; border-bottom: 2px solid var(--gold); margin-bottom: 4px; }
.er-sec dl { margin: 0; }
.er-sec dl div { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.er-sec dt { color: var(--mute); }
.er-sec dd { margin: 0; text-align: right; font-weight: 500; }
.box { position: sticky; top: calc(var(--hd) + 16px); border: 1px solid var(--line); border-radius: 4px; padding: 22px; display: grid; gap: 10px; }
.box .pr { font-size: 30px; }
.box s { color: var(--mute); }
.box .id { margin: 0; color: var(--mute); font-size: 14px; }
.box .sold { margin: 0; font-weight: 700; color: #a2512f; }
.box .tel { text-align: center; font-weight: 500; padding: 10px; }
.sim { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

@media (max-width: 1000px) {
  .hd-nav { display: none; }
  .hd-tel { margin-left: auto; }
  .finder { grid-template-columns: 1fr; height: auto; min-height: 0; }
  .side { border-right: 0; overflow: visible; padding-bottom: 90px; }
  .map { display: none; position: fixed; inset: var(--hd) 0 0 0; height: auto; z-index: 40; }
  .show-map .map { display: block; }
  .mob-sw { display: block; position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 45; border: 0; background: var(--navy); color: #fff; font: 500 15px Ubuntu, sans-serif; padding: 13px 22px; border-radius: 999px; box-shadow: 0 6px 20px rgba(0, 0, 0, .25); }
  .two, .faq, .about, .det-g { grid-template-columns: 1fr; gap: 28px; }
  .about div { padding: 40px 24px; }
  .about img { min-height: 260px; }
  .steps { grid-template-columns: 1fr; gap: 18px; }
  .ft-in { grid-template-columns: 1fr 1fr; }
  .box { position: static; }
  .gal { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 120px; }
  .gal button:first-child { grid-column: span 2; grid-row: auto; }
  .gal button:nth-child(n+4):not(.gal-all) { display: none; }
  .secs, .sim { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hd { gap: 12px; padding: 0 16px; }
  .hd-logo .er-logo { height: 24px; }
  .hd-tel { font-size: 13px; padding: 8px 10px; }
  .wrap, .steps-w, .faq { padding-left: 16px; padding-right: 16px; }
  .side { padding: 20px 16px 90px; }
  .side h1 { font-size: 25px; }
  .row { grid-template-columns: 104px 1fr; }
  .row img { width: 104px; }
  .band, .steps-w, .faq, .contact { padding-top: 56px; padding-bottom: 56px; }
  .ft-in { grid-template-columns: 1fr; }
}
