@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@400;500;600;700&family=Schibsted+Grotesk:wght@500;600;700&display=swap');

/* ============================================================
   ATRIO — komerční prostory k pronájmu
   Sdílené styly pro hlavní stránku i detail.
   Barevné tokeny vychází z --primary / --secondary, které do
   :root vstřikuje CMS (web/template barvy) po načtení tohoto
   souboru. Ostatní tokeny se z nich odvozují → změna palety
   v editoru se propíše do akcentů, hero i jemných ploch.
   ============================================================ */

:root {
  /* CMS-řízené (přepíše je template_index.html, pokud jsou nastaveny) */
  --primary:   #2b2722;
  --secondary: #efe9e0;

  /* odvozená paleta */
  --bg:        #fbfbf9;
  --surface:   #ffffff;
  --surface-2: #f7f6f3;
  --text:      #2b2722;
  --muted:     #6f6a62;
  --faint:     #9b958c;
  --border:    #e9e6e0;
  --border-2:  #d9d5cd;
  --accent:      var(--primary);
  --accent-h:    color-mix(in oklab, var(--primary) 82%, white);
  --on-accent:   #fafaf8;
  --accent-soft: color-mix(in oklab, var(--secondary) 65%, white);
  --hero:        var(--primary);
  --on-hero:     #f4f2ee;
}

/* ---------- Reset / základ ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 {
  font-family: "Schibsted Grotesk", "Hanken Grotesk", sans-serif;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text);
  text-wrap: balance;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent);
}
.muted { color: var(--muted); }

/* ---------- Tlačítka ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: -0.01em;
  border: 1px solid transparent; transition: all .18s ease; white-space: nowrap;
}
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-h); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-2); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--accent); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.head-inner { display: flex; align-items: center; gap: 32px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: "Schibsted Grotesk", sans-serif;
  font-weight: 700; font-size: 20px; letter-spacing: -0.03em; }
.brand .dot { width: 10px; height: 10px; border-radius: 3px; background: var(--accent);
  transform: rotate(45deg); }
.brand .brand-logo, .brand img { height: 34px; width: auto; max-width: 180px; object-fit: contain; display: block; }
.site-foot .brand img, .site-foot .brand-logo { height: 40px; }
/* Editor: keep the logo image-upload box small in the header (preview default is 220×120). */
.site-head .brand .wb-img-wrap,
.site-head .brand .wb-img-empty { min-width: 0; min-height: 0; }
.site-head .brand .wb-img-empty { width: 150px; height: 40px; border-radius: 8px; }
.site-head .brand .wb-img-overlay { padding: 5px 10px; font-size: 11px; }
.nav { display: flex; gap: 28px; margin-left: 8px; list-style: none; }
.nav a { font-size: 15px; color: var(--muted); font-weight: 500; transition: color .15s; }
.nav a:hover, .nav a.active { color: var(--text); }
.head-cta { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.head-phone { font-size: 15px; font-weight: 600; color: var(--text); }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); }
.mobile-menu { display: none; }

/* ---------- Hero ---------- */
.hero { background: var(--hero); color: var(--on-hero); position: relative; overflow: hidden; }
.hero .wrap { padding-top: 84px; padding-bottom: 96px; position: relative; z-index: 2; }
.hero h1 { color: var(--on-hero); font-size: clamp(38px, 6vw, 68px); max-width: 16ch; }
.hero p.lede { color: color-mix(in oklab, var(--on-hero) 80%, transparent);
  font-size: clamp(17px, 2vw, 20px); max-width: 52ch; margin-top: 22px; }
.hero .eyebrow { color: color-mix(in oklab, var(--on-hero) 70%, transparent); }
.hero-stats { display: flex; gap: 48px; margin-top: 52px; flex-wrap: wrap; }
.hero-stats .stat .n { font-family: "Schibsted Grotesk", sans-serif; font-size: 34px;
  font-weight: 700; letter-spacing: -0.02em; }
.hero-stats .stat .l { font-size: 14px; color: color-mix(in oklab, var(--on-hero) 65%, transparent); }
.hero-deco { position: absolute; inset: 0; z-index: 1; opacity: .5;
  background-image: linear-gradient(color-mix(in oklab, var(--on-hero) 8%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in oklab, var(--on-hero) 8%, transparent) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: linear-gradient(120deg, transparent 30%, black 120%); }

/* ---------- Filtr ---------- */
.filterbar { position: relative; z-index: 3; margin-top: -38px; }
.filter-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 18px; box-shadow: 0 18px 50px -28px oklch(0 0 0 / 0.4);
  padding: 14px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr auto; gap: 8px;
}
.field { display: flex; flex-direction: column; gap: 3px; padding: 8px 14px; border-radius: 12px;
  transition: background .15s; }
.field:hover { background: var(--surface-2); }
.field label { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--faint); }
.field .val, .field select { font-size: 15px; font-weight: 500; color: var(--text);
  border: 0; background: transparent; outline: none; cursor: pointer; width: 100%;
  appearance: none; -webkit-appearance: none; padding: 0; font-family: inherit; }
.field + .field { border-left: 1px solid var(--border); border-radius: 0; }
.filter-go { display: flex; align-items: center; }

/* ---------- Sekce ---------- */
.section { padding: 88px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  margin-bottom: 38px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 40px); }
.section-head p { color: var(--muted); margin-top: 8px; max-width: 46ch; }
.chiprow { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.chip { height: 36px; padding: 0 16px; display: inline-flex; align-items: center; border-radius: 999px;
  border: 1px solid var(--border-2); font-size: 14px; font-weight: 500; color: var(--muted);
  background: var(--surface); transition: all .15s; }
.chip:hover { border-color: var(--accent); color: var(--text); }
.chip.active { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }

/* ---------- Karty nabídek ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, border-color .2s; display: flex;
  flex-direction: column; }
.card.is-hidden { display: none; }
.card:hover { transform: translateY(-4px); box-shadow: 0 22px 48px -30px oklch(0 0 0 / 0.45);
  border-color: var(--border-2); }
.card .media { position: relative; aspect-ratio: 4/3; }
.card .media img { width: 100%; height: 100%; object-fit: cover; }
.card .badge { position: absolute; top: 12px; left: 12px; background: color-mix(in oklab, var(--surface) 88%, transparent);
  backdrop-filter: blur(6px); color: var(--text); font-size: 12px; font-weight: 600; letter-spacing: 0.02em;
  padding: 5px 11px; border-radius: 999px; border: 1px solid var(--border); }
.status-chip { position: absolute; bottom: 12px; left: 12px; font-size: 12px; font-weight: 600;
  letter-spacing: 0.02em; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--border);
  backdrop-filter: blur(6px); }
.status-chip.is-free { background: #e7f6ec; color: #1c7a3e; border-color: #bfe6cd; }
.status-chip.is-busy { background: #f3f0ee; color: var(--muted); }
.card .fav { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; background: color-mix(in oklab, var(--surface) 88%, transparent);
  backdrop-filter: blur(6px); border: 1px solid var(--border); color: var(--muted); }
.card .body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card .loc { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.card h3 { font-size: 19px; }
.card .specs { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13.5px; color: var(--muted);
  margin-top: 2px; }
.card .specs span { display: inline-flex; align-items: center; gap: 5px; }
.card .foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border);
  display: flex; align-items: baseline; justify-content: space-between; }
.price { font-family: "Schibsted Grotesk", sans-serif; font-weight: 700; font-size: 20px;
  letter-spacing: -0.02em; color: var(--text); }
.price small { font-size: 13px; font-weight: 500; color: var(--faint); letter-spacing: 0; }
.grid-empty { grid-column: 1 / -1; color: var(--muted); font-style: italic; padding: 24px 0; }

/* ---------- Mapa (schéma) ---------- */
.map-wrap { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: stretch; }
.map-canvas { position: relative; min-height: 440px; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--border); background: var(--surface-2);
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px),
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px;
  background-position: 0 0, 0 0, 0 0, 0 0; }
.map-canvas::before { content: ""; position: absolute; left: -10%; top: 30%; width: 130%; height: 64px;
  background: color-mix(in oklab, var(--accent) 14%, transparent); transform: rotate(-9deg);
  border-top: 1px solid var(--border-2); border-bottom: 1px solid var(--border-2); }
.map-canvas::after { content: ""; position: absolute; left: 38%; top: -10%; width: 70px; height: 130%;
  background: color-mix(in oklab, var(--accent) 10%, transparent); transform: rotate(7deg); }
/* skryté datové body pro Leaflet (čte je script.js) */
.map-point { display: none; }
/* jakmile se nasadí Leaflet, schéma na pozadí pryč */
.map-canvas.leaflet-container { background: #e8e5df; }
.map-canvas.leaflet-container::before,
.map-canvas.leaflet-container::after { display: none; }
.pin { position: absolute; transform: translate(-50%, -100%); z-index: 3; }
.pin .dot { width: 16px; height: 16px; border-radius: 50% 50% 50% 0; background: var(--accent);
  transform: rotate(-45deg); border: 2px solid var(--on-accent);
  box-shadow: 0 4px 10px -2px oklch(0 0 0 / 0.4); margin: 0 auto; }
.pin .tag { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  background: var(--surface); border: 1px solid var(--border); white-space: nowrap; font-size: 12px;
  font-weight: 600; padding: 4px 9px; border-radius: 8px; box-shadow: 0 6px 16px -8px oklch(0 0 0 / 0.4); }
.map-list { display: flex; flex-direction: column; gap: 10px; }
.map-item { display: flex; gap: 14px; align-items: center; padding: 14px; border: 1px solid var(--border);
  border-radius: 14px; background: var(--surface); transition: border-color .15s, background .15s; }
.map-item:hover { border-color: var(--accent); background: var(--surface-2); }
.map-item .mi-num { width: 28px; height: 28px; flex: none; border-radius: 8px; background: var(--accent-soft);
  color: var(--accent); font-weight: 700; font-size: 13px; display: grid; place-items: center; }
.map-item .mi-meta { font-size: 13px; color: var(--muted); }
.map-item .price { font-size: 15px; margin-left: auto; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--accent-soft); border-radius: 22px; padding: 54px; text-align: center;
  border: 1px solid var(--border); }
.cta-band h2 { font-size: clamp(26px, 3.6vw, 40px); max-width: 20ch; margin: 0 auto; }
.cta-band p { color: var(--muted); margin: 14px auto 28px; max-width: 50ch; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-foot { border-top: 1px solid var(--border); background: var(--surface-2); margin-top: 40px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding: 64px 0 40px; }
.foot-grid h4 { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint);
  font-family: "Hanken Grotesk", sans-serif; font-weight: 700; margin-bottom: 16px; }
.foot-grid ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.foot-grid a { font-size: 15px; color: var(--muted); }
.foot-grid a:hover { color: var(--text); }
.foot-about p { color: var(--muted); font-size: 15px; margin-top: 14px; max-width: 36ch; }
.foot-bottom { border-top: 1px solid var(--border); padding: 22px 0; display: flex; justify-content: space-between;
  font-size: 13px; color: var(--faint); flex-wrap: wrap; gap: 10px; }

/* ---------- Placeholder fotky ---------- */
.ph { position: relative; width: 100%; height: 100%; background: var(--surface-2);
  background-image: repeating-linear-gradient(135deg,
    color-mix(in oklab, var(--text) 5%, transparent) 0 1px,
    transparent 1px 11px);
  display: grid; place-items: center; overflow: hidden; }
.ph::after { content: attr(data-label); font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px; letter-spacing: 0.04em; color: var(--faint); text-transform: lowercase;
  background: color-mix(in oklab, var(--surface) 80%, transparent); padding: 5px 10px; border-radius: 6px;
  border: 1px solid var(--border); }

/* ============================================================
   DETAIL
   ============================================================ */
.crumb { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted);
  padding: 24px 0 0; flex-wrap: wrap; }
.crumb a:hover { color: var(--text); }
.crumb .sep { color: var(--faint); }

.detail-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px;
  padding: 22px 0 26px; flex-wrap: wrap; }
.detail-head h1 { font-size: clamp(28px, 4vw, 44px); }
.detail-head .addr { color: var(--muted); margin-top: 10px; display: flex; align-items: center; gap: 8px;
  font-size: 16px; }
.detail-head .tags { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.tag-pill { font-size: 13px; font-weight: 500; color: var(--muted); background: var(--surface-2);
  border: 1px solid var(--border); padding: 5px 12px; border-radius: 999px; }
.tag-pill.is-free { background: #e7f6ec; color: #1c7a3e; border-color: #bfe6cd; font-weight: 600; }
.tag-pill.is-busy { background: #f3f0ee; color: var(--muted); font-weight: 600; }
.detail-price { text-align: right; }
.detail-price .p { font-family: "Schibsted Grotesk", sans-serif; font-weight: 700;
  font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -0.02em; }
.detail-price .pu { color: var(--muted); font-size: 14px; }

/* galerie — velký náhled + pruh miniatur */
.gallery2 { margin-bottom: 28px; }
.g-stage { position: relative; border-radius: 16px; overflow: hidden; background: var(--surface-2);
  aspect-ratio: 16 / 10; }
.g-stage .g-current { width: 100%; height: 100%; object-fit: cover; display: block; }
.g-stage .ph.g-current { position: absolute; inset: 0; }
.g-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px;
  border-radius: 50%; border: none; background: color-mix(in oklab, var(--surface) 86%, transparent);
  backdrop-filter: blur(6px); color: var(--text); font-size: 24px; line-height: 1; cursor: pointer;
  display: grid; place-items: center; box-shadow: 0 4px 14px -6px oklch(0 0 0 / 0.5); transition: background .15s; }
.g-nav:hover { background: var(--surface); }
.g-prev { left: 14px; }
.g-next { right: 14px; }
.g-count { position: absolute; bottom: 14px; right: 14px; font-size: 12px; font-weight: 600;
  color: #fff; background: oklch(0 0 0 / 0.5); padding: 4px 10px; border-radius: 999px; backdrop-filter: blur(4px); }
.g-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.g-thumb { flex: 0 0 96px; height: 70px; border-radius: 10px; overflow: hidden; padding: 0; cursor: pointer;
  border: 2px solid transparent; background: var(--surface-2); transition: border-color .15s, opacity .15s; opacity: .72; }
.g-thumb:hover { opacity: 1; }
.g-thumb.active { border-color: var(--accent); opacity: 1; }
.g-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.g-thumb .ph { width: 100%; height: 100%; }

/* lightbox */
.g-lightbox { display: none; position: fixed; inset: 0; z-index: 1000; background: oklch(0 0 0 / 0.86);
  align-items: center; justify-content: center; padding: 4vw; }
.g-lightbox .lb-img { max-width: 92vw; max-height: 88vh; object-fit: contain; border-radius: 8px; }
.g-lightbox .lb-close { position: absolute; top: 18px; right: 22px; width: 44px; height: 44px; border: none;
  background: rgba(255,255,255,0.12); color: #fff; font-size: 28px; line-height: 1; border-radius: 50%; cursor: pointer; }
.g-lightbox .lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 54px; height: 54px;
  border: none; background: rgba(255,255,255,0.12); color: #fff; font-size: 32px; line-height: 1; border-radius: 50%;
  cursor: pointer; display: grid; place-items: center; }
.g-lightbox .lb-nav:hover, .g-lightbox .lb-close:hover { background: rgba(255,255,255,0.24); }
.g-lightbox .lb-prev { left: 3vw; }
.g-lightbox .lb-next { right: 3vw; }

/* layout detailu */
.detail-body { display: grid; grid-template-columns: 1fr 384px; gap: 48px; align-items: start;
  padding-bottom: 40px; }
.prose h2 { font-size: 24px; margin: 8px 0 14px; }
.prose h3 { font-size: 18px; margin: 30px 0 12px; }
.prose p { color: var(--muted); margin-bottom: 14px; max-width: 64ch; }
.divider { height: 1px; background: var(--border); margin: 34px 0; }

.param-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.param { background: var(--surface); padding: 16px 18px; display: flex; flex-direction: column; gap: 3px; }
.param .k { font-size: 12.5px; color: var(--faint); letter-spacing: 0.04em; text-transform: uppercase;
  font-weight: 600; }
.param .v { font-size: 17px; font-weight: 600; color: var(--text); }

.feature-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 24px; }
.feature-list li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--text); }
.feature-list li svg { color: var(--accent); flex: none; }

/* sticky boční karta */
.aside-card { position: sticky; top: 96px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 18px; padding: 24px; box-shadow: 0 20px 50px -34px oklch(0 0 0 / 0.4); }
.aside-card .price-row { display: flex; align-items: baseline; justify-content: space-between;
  padding-bottom: 18px; border-bottom: 1px solid var(--border); margin-bottom: 18px; }
.aside-card .price-row .p { font-family: "Schibsted Grotesk", sans-serif; font-weight: 700; font-size: 30px;
  letter-spacing: -0.02em; }
.terms { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-bottom: 20px; }
.terms li { display: flex; justify-content: space-between; font-size: 14.5px; }
.terms li span:first-child { color: var(--muted); }
.terms li span:last-child { font-weight: 600; }

/* poptávkový formulář (render_form) */
.rsvp-form { margin-top: 4px; }
.form-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-rows-wrap { display: flex; gap: 12px; }
.form-lbl { font-size: 13px; font-weight: 600; color: var(--muted); }
.form-inp, .form-ta, .form-sel { font-family: inherit; font-size: 15px; color: var(--text);
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; padding: 11px 13px;
  outline: none; transition: border-color .15s, background .15s; width: 100%; }
.form-inp:focus, .form-ta:focus, .form-sel:focus { border-color: var(--accent); background: var(--surface); }
.form-ta { resize: vertical; min-height: 84px; }
.form-note { font-size: 12px; color: var(--faint); margin-top: 12px; text-align: center; }
.gdpr-row { display: flex; align-items: flex-start; gap: 9px; margin: 14px 0 4px; font-size: 13px;
  color: var(--muted); line-height: 1.45; }
.gdpr-row .gdpr-check { margin-top: 2px; width: 16px; height: 16px; flex: none; accent-color: var(--accent); cursor: pointer; }
.gdpr-row .gdpr-link { color: var(--accent); text-decoration: underline; font-weight: 600; }

/* GDPR blok — karta s textem */
.gdpr-card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
  padding: 40px 44px; max-width: 820px; margin: 0 auto; box-shadow: 0 18px 50px -34px oklch(0 0 0 / 0.4); }
.gdpr-card h2 { font-size: clamp(24px, 3vw, 34px); margin: 8px 0 18px; }
.gdpr-body { color: var(--muted); }
.gdpr-body p { margin-bottom: 14px; }
.gdpr-body a { color: var(--accent); text-decoration: underline; }
.aside-agent { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding-top: 18px;
  border-top: 1px solid var(--border); }
.aside-agent .av { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; flex: none; }
.aside-agent .nm { font-weight: 600; font-size: 15px; }
.aside-agent .rl { font-size: 13px; color: var(--muted); }

/* mapa v detailu */
.detail-map { height: 360px; border-radius: 16px; }

/* prázdný detail (žádný vybraný prostor) */
.detail-empty { padding: 96px 0; text-align: center; color: var(--muted); }

/* responsivita */
@media (max-width: 980px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .detail-body { grid-template-columns: 1fr; }
  .aside-card { position: static; }
  .map-wrap { grid-template-columns: 1fr; }
  .filter-card { grid-template-columns: 1fr 1fr; }
  .field + .field { border-left: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .g-stage { aspect-ratio: 4 / 3; }
}
@media (max-width: 680px) {
  .wrap { padding: 0 20px; }
  .nav, .head-phone { display: none; }
  /* CTA is duplicated in #navMobileMenu — hide the header copy so brand+toggle fit. */
  .head-cta .btn-primary { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-menu.open { display: flex; flex-direction: column; gap: 10px; padding: 16px 20px 24px; }
  .grid { grid-template-columns: 1fr; }
  .filter-card { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .param-grid, .feature-list { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .detail-head { flex-direction: column; }
  .detail-price { text-align: left; }
  .cta-band { padding: 36px 24px; }
}
