/* Lokální rozměry: zaoblení tlačítek se nesmí přenášet na fotky a tabulky. */
:root { --radius: 14px; --radius-sm: 10px; }
/* Nabídky: navazuje na stávající Inter / Inter Tight a červenobílý design. */
.offer-projects { background: var(--bg-alt); padding-top: 62px; padding-bottom: 64px; }
.offer-projects h2, .listings h2, .offer-section h2, .offer-cta h2 { font-family: var(--font-display); font-size: clamp(28px,3.2vw,42px); line-height: 1.15; margin: 0 0 14px; }
.offer-projects > .container > p { color: var(--ink-3); margin-bottom: 28px; }
.listing-card .lc-foot { gap:10px; flex-wrap:wrap; }
.offer-projects .lc-price { font-size:16px; }
.offer-toolbar { display:flex; flex-wrap:wrap; gap:12px; align-items:end; margin:20px 0; }
.offer-toolbar label { display:flex; flex-direction:column; gap:6px; font-size:12px; color:var(--ink-3); font-weight:600; }
.offer-toolbar input,.offer-toolbar select { min-height:44px; padding:10px 12px; border:1px solid var(--line); border-radius:var(--radius-sm); background:#fff; color:var(--ink); font:inherit; font-size:14px; min-width:175px; }
.offer-toolbar .offer-search { flex:1 1 240px; }
.offer-toolbar .offer-search input { width:100%; }
.offer-toolbar .btn-outline { min-height:44px; padding:10px 16px; }
.offer-pagination { display:flex; flex-wrap:wrap; gap:8px; justify-content:center; margin-top:28px; }
.offer-pagination button { min-width:42px; min-height:42px; border:1px solid var(--line); border-radius:var(--radius-sm); background:#fff; color:var(--ink); cursor:pointer; font:inherit; }
.offer-pagination button[aria-current="page"] { color:#fff; background:var(--brand); border-color:var(--brand); }
.offer-pagination button:disabled { opacity:.4; cursor:not-allowed; }
.listing-card[hidden] { display:none !important; }
.offers-heading { padding:150px 0 64px; }
.offers-heading h1 { font-size:clamp(36px,6vw,76px); line-height:1.08; letter-spacing:-.045em; margin:0 0 24px; }
.offers-heading p { max-width:680px; font-size:17px; line-height:1.7; color:var(--ink-3); }
.offers-index .offer-projects { padding:24px 0 64px; background:#fff; }
.offers-index h2 { margin-bottom:30px; font-size:clamp(28px,3.5vw,42px); letter-spacing:-.035em; }
.offers-index .listings { padding:56px 0 80px; border-top:1px solid var(--line); scroll-margin-top:85px; }
.listings-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:36px 26px; }
.listing-card { position:relative; display:block; min-width:0; color:var(--ink); border:0; background:transparent; }
.listing-card .lc-media { aspect-ratio:4/3; overflow:hidden; border-radius:12px; background:var(--bg-alt); }
.listing-card .lc-media img { display:block; width:100%; height:100%; object-fit:cover; transition:transform .3s ease; }
.listing-card:hover .lc-media img { transform:scale(1.035); }
.listing-card .lc-body { padding:18px 0 0; }
.listing-card h3 { font-size:21px; line-height:1.35; margin:0 0 6px; letter-spacing:-.025em; }
.listing-card:hover h3 { color:var(--brand); }
.listing-card .lc-loc { font-size:14px; color:var(--ink-3); }
.listing-card .lc-price { position:absolute; left:14px; top:14px; max-width:calc(100% - 28px); background:#fff; color:var(--ink); border-radius:7px; padding:8px 12px; font-size:15px; font-weight:700; box-shadow:0 2px 12px #00000010; }
.listing-card .lc-cat,.listing-card .lc-params,.listing-card .lc-link,.listing-card .lc-badges { display:none; }
.offer-projects .lc-price { font-size:12px; }
.offer-filters { margin-bottom:22px; }
.deal-toggle,.cat-chips { display:flex; flex-wrap:wrap; gap:8px; }
.deal-toggle button,.cat-chips button { border:1px solid var(--line); background:#fff; color:var(--ink); padding:10px 18px; min-height:44px; border-radius:8px; font:inherit; font-size:14px; cursor:pointer; }
.deal-toggle button.active,.cat-chips button.active { background:var(--ink); color:#fff; border-color:var(--ink); }
.deal-toggle button:hover,.cat-chips button:hover { border-color:var(--brand); }
.offer-toolbar { padding:18px 0; margin:0; }
.offer-toolbar label { flex:1 1 150px; }
.offer-toolbar select,.offer-toolbar input { min-width:0; width:100%; font-size:16px; }
.offer-toolbar .offer-search { flex:3 1 260px; }
.listings-count { font-size:13px; color:var(--ink-3); margin-bottom:24px; }
.offer-pagination { position:static; inset:auto; width:auto; height:auto; z-index:auto; background:transparent; backdrop-filter:none; border:0; padding:0; margin-top:40px; }
.offer-pagination:empty { display:none; }
.empty-state { padding:44px 20px; text-align:center; border:1px solid var(--line); border-radius:14px; }
.empty-state p { margin:14px 0 22px; }
.project-cover-section { padding:100px 0 0; }
.project-cover { position:relative; min-height:320px; aspect-ratio:2.35; border-radius:28px; overflow:hidden; background:#222; }
.project-cover img { display:block; position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.project-cover::after { content:''; position:absolute; inset:0; background:linear-gradient(transparent 30%,rgba(0,0,0,.65)); }
.project-cover h1 { position:absolute; z-index:1; bottom:14%; left:6%; right:6%; color:white; text-align:center; font-size:clamp(36px,6vw,76px); line-height:1.05; letter-spacing:-.04em; margin:0; }
.project-intro-grid { display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:start; }
.project-facts { margin-top:48px; padding-top:28px; border-top:1px solid var(--line); }
.project-facts > div { padding:16px 0; }
.project-facts strong { font-size:19px; }
.units-pending { max-width:720px; }
.units-pending .btn-brand { margin-top:10px; }
.offer-table-wrap { border-radius:12px; }
.offer-photo { border-radius:12px; }
.offer-section .grid { gap:20px; }
.offer-section .card { padding:24px; }
.offer-section .card h3 { font-size:18px; }
.offer-hero,.project-cover-section,.offer-section { scroll-margin-top:85px; }
@media(max-width:900px) {
  .listings-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px 20px; }
  .project-intro-grid { grid-template-columns:1fr; gap:20px; }
}
@media(max-width:600px) {
  .offers-heading { padding:112px 0 36px; }
  .offers-heading p { font-size:16px; }
  .offers-index .offer-projects { padding:8px 0 40px; }
  .offers-index .listings { padding:36px 0 48px; }
  .listings-grid { grid-template-columns:1fr; gap:30px; }
  .offers-index h2 { margin-bottom:24px; }
  .offer-toolbar { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:12px; }
  .offer-toolbar .offer-search { grid-column:1/-1; }
  .offer-toolbar .btn-outline { grid-column:1/-1; }
  .cat-chips { flex-wrap:nowrap; overflow-x:auto; padding-bottom:8px; }
  .cat-chips button { flex-shrink:0; }
  .project-cover-section { padding-top:92px; }
  .project-cover { aspect-ratio:4/3; min-height:260px; border-radius:16px; }
  .project-cover h1 { font-size:36px; }
  .project-intro.offer-section { padding-top:32px; }
  .project-facts { margin-top:28px; gap:0; }
  .project-facts > div { border-bottom:1px solid var(--line); padding:14px 0; }
  .offer-gallery { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .offer-actions { width:100%; }
  .offer-actions a { text-align:center; }
  .offer-section .contact-split > *, .form > * { min-width:0; }
  .offer-section input,.offer-section textarea { font-size:16px; }
}
.offer-hero { padding:106px 0 50px; }
.back-link { display:inline-flex; margin-bottom:24px; font-size:14px; color:var(--ink-3); }
.back-link:hover { color:var(--brand); }
.offer-hero-grid { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr); gap:34px; align-items:stretch; }
.hero-image { display:block; overflow:hidden; border-radius:var(--r-lg); background:var(--line-soft); min-height:400px; }
.hero-image img { width:100%; height:100%; object-fit:cover; display:block; }
.offer-hero-info { background:var(--bg-alt); border:1px solid var(--line); border-radius:var(--r-lg); padding:clamp(22px,3vw,40px); display:flex; flex-direction:column; justify-content:center; align-items:flex-start; }
.offer-hero-info h1 { font-family:var(--font-display); font-size:clamp(32px,4vw,52px); line-height:1.08; margin:12px 0 14px; }
.offer-location { color:var(--ink-3); margin-bottom:18px; }
.offer-price { font-family:var(--font-display); font-size:clamp(24px,2.7vw,34px); font-weight:800; color:var(--brand); margin:8px 0; }
.offer-note { font-size:13px; color:var(--ink-4); line-height:1.5; }
.offer-pills { display:flex; flex-wrap:wrap; gap:8px; margin:20px 0 26px; }
.offer-pills span { background:var(--bg); padding:7px 11px; border-radius:100px; font-size:12px; font-weight:600; }
.offer-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:24px; }
.offer-section { padding:72px 0; }
.offer-section .eyebrow { margin-bottom:12px; }
.offer-section p { color:var(--ink-3); line-height:1.7; margin:0 0 15px; }
.offer-narrow { max-width:850px; }
.offer-copy { max-width:780px; margin-bottom:28px; }
.offer-gallery { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin-top:26px; }
.offer-photo { border:0; padding:0; background:var(--line-soft); border-radius:var(--radius); overflow:hidden; aspect-ratio:4/3; cursor:zoom-in; }
.offer-photo img { display:block; width:100%; height:100%; object-fit:cover; transition:transform .25s ease; }
.offer-photo:hover img { transform:scale(1.04); }
.offer-photo:focus-visible,.unit-btn:focus-visible { outline:3px solid var(--brand); outline-offset:2px; }
.offer-params { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-top:22px; }
.offer-param { background:var(--bg-alt); border:1px solid var(--line); border-radius:var(--radius-sm); padding:16px; }
.offer-param dt { font-size:12px; color:var(--ink-4); }
.offer-param dd { font-weight:700; margin:4px 0 0; }
.offer-section video { display:block; width:100%; max-height:650px; background:#111; border-radius:var(--r-lg); margin-top:24px; }
.offer-stats { background:var(--bg-alt); border-block:1px solid var(--line); padding:30px 0; }
.offer-stats-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.offer-stats strong { font-family:var(--font-display); font-size:20px; }
.offer-table-wrap { overflow-x:auto; -webkit-overflow-scrolling:touch; margin-top:24px; border:1px solid var(--line); border-radius:var(--radius); }
.offer-table-wrap table { width:100%; min-width:710px; border-collapse:collapse; background:#fff; }
.offer-table-wrap th,.offer-table-wrap td { text-align:left; white-space:nowrap; padding:15px 12px; border-bottom:1px solid var(--line); font-size:14px; }
.offer-table-wrap th { background:var(--bg); font-size:12px; }
.unit-btn { border:0; background:var(--brand); color:#fff; border-radius:var(--radius-sm); padding:9px 12px; cursor:pointer; font:inherit; }
.offer-steps { display:grid; gap:12px; }
.offer-steps>div { background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:18px; }
.offer-section details { background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:18px; margin:10px 0; }
.offer-section summary { cursor:pointer; font-weight:700; }
.offer-section details p { margin:12px 0 0; }
.offer-section .form-card { scroll-margin-top:100px; }
.offer-section .form-card h2 { font-size:25px; }
.offer-form-message { min-height:1.5em; color:var(--brand-deep) !important; margin-top:10px !important; font-size:14px; }
.offer-cta { background:var(--bg-ink); color:#fff; padding:64px 0; text-align:center; }
.offer-cta p { color:rgba(255,255,255,.72); max-width:550px; margin:0 auto 24px; }
.offer-lightbox { position:fixed; inset:0; z-index:2000; background:rgba(0,0,0,.94); display:grid; grid-template-columns:56px minmax(0,1fr) 56px; place-items:center; padding:60px 15px 36px; }
.offer-lightbox[hidden] { display:none; }
.offer-lightbox img { max-width:100%; max-height:calc(100dvh - 96px); object-fit:contain; }
.offer-lightbox button { color:#fff; border:0; background:rgba(255,255,255,.16); width:44px; height:44px; border-radius:50%; font-size:28px; cursor:pointer; }
.offer-lightbox .lb-close { position:absolute; top:14px; right:18px; }
.offer-lightbox .lb-count { position:absolute; bottom:12px; color:#fff; font-size:13px; }
@media(max-width:860px){.offer-hero-grid{grid-template-columns:1fr}.hero-image{min-height:320px;max-height:520px}.offer-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:580px){.offer-hero{padding:88px 0 32px}.hero-image{min-height:240px;max-height:360px}.offer-hero-info{padding:24px}.offer-hero-info .btn-brand,.offer-actions a{width:100%;justify-content:center}.offer-section{padding:48px 0}.offer-gallery{gap:8px}.offer-params{grid-template-columns:1fr}.offer-stats-grid{grid-template-columns:1fr}.offer-toolbar>*{width:100%}.offer-toolbar label input,.offer-toolbar label select{width:100%}.offer-lightbox{grid-template-columns:36px minmax(0,1fr) 36px;padding-inline:4px}.offer-lightbox button{width:34px;height:34px;font-size:22px}}
