:root { --red: #CA2128; --red-d: #A51A20; --ink: #151514; --paper: #F3EFE7; --gold: #D8C7A8; --muted: #545454; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Poppins, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--red); }
img { max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* hlavička */
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 20; background: rgba(21,21,20,0.96); border-bottom: 1px solid rgba(255,255,255,0.08); }
.top-in { max-width: 1280px; margin: 0 auto; padding: 10px clamp(16px, 4vw, 48px); display: flex; align-items: center; gap: 16px; }
.logo { display: block; line-height: 0; margin-right: auto; }
.logo img { height: 56px; width: auto; display: block; }
.top-nav { display: flex; gap: 22px; }
.top-nav a { font-weight: 600; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(244,239,230,0.78); text-decoration: none; transition: color .2s; }
@media (hover: hover) { .top-nav a:hover { color: #fff; } }
@media (max-width: 760px) { .top-nav { display: none; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: Poppins, sans-serif; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; border: 0; border-radius: 9999px; background: var(--red); color: #fff; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background 200ms cubic-bezier(.2,.8,.2,1); }
@media (hover: hover) { .btn:hover { background: var(--red-d); color: #fff; } }
.btn.pill { font-size: 12px; line-height: 16px; padding: 10px 18px; }
.btn.cta { font-size: 14px; line-height: 20px; padding: 16px 28px; }

.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); }
.eyebrow > span { width: 48px; height: 1.5px; background: currentColor; flex: none; }
.eyebrow.center { justify-content: center; }
.eyebrow.gold { color: var(--gold); }

/* úvod */
.hero { position: relative; overflow: hidden; padding: 148px 20px 56px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.strip { position: absolute; pointer-events: none; }
.strip.s1 { top: 0; left: 0; width: 24vw; height: 60%; clip-path: polygon(0 0, 100% 0, 0 100%); background: linear-gradient(160deg, rgba(202,33,40,0.13), rgba(202,33,40,0.02)); }
.strip.s2 { bottom: 0; right: 0; width: 16vw; height: 45%; clip-path: polygon(100% 0, 100% 100%, 0 100%); background: linear-gradient(340deg, rgba(202,33,40,0.09), rgba(202,33,40,0.01)); }
.hero > * { position: relative; }
.hero h1 { margin: 0; font-weight: 700; font-size: clamp(40px, 6.4vw, 88px); line-height: 1; letter-spacing: -0.01em; text-transform: uppercase; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--red); }
.lead { margin: 0; max-width: 680px; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.5; color: var(--muted); text-wrap: pretty; }
.cue { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--red); background: var(--paper); color: var(--red); display: inline-flex; align-items: center; justify-content: center; margin-top: 8px; animation: bob 1.8s ease-in-out infinite; transition: background .2s, color .2s; }
@media (hover: hover) { .cue:hover { background: var(--red); color: #fff; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .cue { animation: none; } }

/* karty domů */
.houses { max-width: 1280px; margin: 0 auto; padding: 8px clamp(16px, 4vw, 48px) 72px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr)); gap: 28px; }
.house { position: relative; display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; background: linear-gradient(160deg, #2e2e30 0%, #1c1c1b 100%); color: #F4EFE6; box-shadow: 0 28px 48px -16px rgba(21,21,20,0.45); transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; }
@media (hover: hover) { .house:hover { transform: translateY(-4px); box-shadow: 0 36px 56px -16px rgba(21,21,20,0.5); } }
.house-view { position: relative; z-index: 2; display: block; height: clamp(260px, 30vw, 340px); background: linear-gradient(180deg, #F7F4EC 0%, #E9E4D8 100%); overflow: hidden; }
.hv-canvas { position: absolute; inset: 0; }
.hv-canvas canvas { position: relative; }
.hv-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hv-canvas.live .hv-poster { display: none; }
.house-body { display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 3vw, 34px); flex: 1; }
.house-body .eyebrow { color: var(--gold); }
.house-body h2 { margin: 0; font-weight: 700; text-transform: uppercase; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.08; }
.house-link { color: inherit; text-decoration: none; }
.house-link::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* celá karta je klikací */
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; }
.price strong { font-weight: 800; font-size: clamp(28px, 3vw, 38px); line-height: 1; color: #fff; }
.price em { font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.price-note { margin: -6px 0 0; font-size: 13px; line-height: 1.45; color: rgba(244,239,230,0.6); }
.desc { margin: 0; font-size: 16px; line-height: 1.55; color: rgba(244,239,230,0.78); text-wrap: pretty; }
.chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.chips > div { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; padding: 12px; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.chips b { font-weight: 700; font-size: clamp(17px, 1.9vw, 22px); line-height: 1.2; color: var(--red); white-space: nowrap; }
.chips span { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(244,239,230,0.6); line-height: 1.3; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.4; color: rgba(244,239,230,0.82); }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks svg { flex: none; margin-top: 2px; color: var(--red); }
.house .cta { align-self: flex-start; margin-top: auto; position: relative; z-index: 2; }
.house-body .cta { margin-top: 6px; }
@media (max-width: 520px) { .house .cta { align-self: stretch; } .chips b { font-size: 16px; } }

/* bloky */
.block { padding: clamp(40px, 6vw, 80px) clamp(16px, 4vw, 48px); }
.block.alt { background: #151514; color: #F4EFE6; }
.wrap { max-width: 1080px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }
.h2 { margin: 0; font-weight: 700; text-transform: uppercase; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.1; letter-spacing: -0.005em; text-wrap: balance; max-width: 820px; }
.h2.light { color: #fff; }
.offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; margin-top: 12px; }
.offer { background: #fff; border: 1px solid rgba(21,21,20,0.08); border-radius: 12px; padding: 26px 24px; display: flex; flex-direction: column; gap: 10px; }
.offer .ic { width: 44px; height: 44px; border-radius: 50%; background: rgba(202,33,40,0.1); color: var(--red); display: inline-flex; align-items: center; justify-content: center; }
.offer .ic svg { width: 22px; height: 22px; }
.offer h3 { margin: 6px 0 0; font-weight: 700; font-size: 18px; line-height: 1.25; }
.offer p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); }
.tbl-wrap { overflow-x: auto; margin-top: 8px; -webkit-overflow-scrolling: touch; }
.cmp { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.cmp th, .cmp td { text-align: left; padding: 14px 16px; border-top: 1px solid rgba(255,255,255,0.12); vertical-align: top; }
.cmp thead th { border-top: 0; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.cmp tbody th { font-weight: 600; color: rgba(244,239,230,0.6); width: 28%; }
.cmp td { color: #F4EFE6; }
.cmp tbody tr:last-child td { font-weight: 800; font-size: 17px; }
.fine { margin: 0; font-size: 13px; line-height: 1.5; color: rgba(244,239,230,0.5); }
.fine.light { color: rgba(244,239,230,0.55); }

/* kontakt */
.contact-block { padding-top: clamp(32px, 5vw, 72px); }
.contact { position: relative; overflow: hidden; max-width: 1040px; margin: 0 auto; border-radius: 12px; background: #1a1a19; color: #F4EFE6; padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 40px; }
.contact-glow { position: absolute; left: 0; top: 0; bottom: 0; width: 42%; background: linear-gradient(90deg, rgba(202,33,40,0.24) 0%, rgba(202,33,40,0) 100%); clip-path: polygon(0 0, 100% 0, 55% 100%, 0 100%); pointer-events: none; }
.contact-text, .contact form { position: relative; display: flex; flex-direction: column; gap: 16px; }
.contact-text p { margin: 0; font-size: 17px; line-height: 1.55; color: rgba(255,255,255,0.78); max-width: 420px; text-wrap: pretty; }
.contact-text .fine { font-size: 13px; }
.contact form { gap: 12px; }
.field { font: inherit; font-size: 16px; color: #fff; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: 6px; padding: 14px 16px; outline: none; width: 100%; }
.field:focus { border-color: var(--red); }
.field::placeholder { color: rgba(255,255,255,0.45); }
textarea.field { resize: vertical; min-height: 84px; }
select.field { appearance: none; -webkit-appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23F4EFE6' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 9l7 7 7-7'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 42px; }
select.field option { color: #151514; background: #fff; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.45; color: rgba(244,239,230,0.7); cursor: pointer; }
.consent input { margin: 2px 0 0; width: 18px; height: 18px; flex: none; accent-color: var(--red); }
.consent a { color: inherit; text-decoration: underline; }
.contact form .btn { margin-top: 8px; }
#form-status { margin: 0; min-height: 20px; font-size: 14px; line-height: 1.4; color: rgba(244,239,230,0.78); }
.btn:disabled { opacity: .7; cursor: default; }
footer a.btn:hover, footer .soc:hover { color: #fff; }
@media (hover: hover) { .soc:hover { background: var(--red) !important; border-color: var(--red) !important; } }
footer a.btn:hover { background: #A51A20 !important; }
.house-view,.house-view *{-webkit-user-drag:none;user-select:none}
.hv-strip { position: absolute; top: 0; left: 0; width: 34%; height: 70%; clip-path: polygon(0 0, 100% 0, 0 100%); background: linear-gradient(160deg, rgba(202,33,40,0.14), rgba(202,33,40,0.02)); pointer-events: none; }

/* mobil: srovnání jako kompaktní řádky, B100 a B75 vedle sebe pod popiskem parametru */
@media (max-width: 700px) {
  .tbl-wrap { overflow: visible; }
  .cmp, .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; width: 100%; min-width: 0; box-sizing: border-box; }
  .cmp { min-width: 0; }
  .cmp thead { display: none; }
  .cmp tbody tr { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; row-gap: 4px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,0.12); }
  .cmp th, .cmp td { border: 0; padding: 0; }
  .cmp tbody th { grid-column: 1 / -1; width: 100%; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(244,239,230,0.55); }
  .cmp td { font-size: 14px; line-height: 1.35; overflow-wrap: anywhere; }
  .cmp td::before { content: attr(data-label); display: block; margin-bottom: 2px; color: var(--gold); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
  .cmp tbody tr:last-child td { font-size: 15px; }
}
