/* =====================================================================
   navrh-b.css — Varianta B „Ceník jako v obchodě“ (návrh na schůzku)
   Načítá se po style.css. Barvy navazují na současný web stavcami.cz
   (cihlová červená + béžová) a na červenou z loga.
   Podpisový prvek: CIHLOVÁ VAZBA — úzký pás cihel (pozadí dnešního webu)
   pod hlavičkou a u nadpisů sekcí.
   ===================================================================== */
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-display: swap; src: url("/fonts/source-sans-3-400-latin-ext.woff2") format("woff2"); unicode-range: U+0100-024F, U+1E00-1EFF; }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-display: swap; src: url("/fonts/source-sans-3-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: "Source Sans 3"; font-weight: 600; font-display: swap; src: url("/fonts/source-sans-3-600-latin-ext.woff2") format("woff2"); unicode-range: U+0100-024F, U+1E00-1EFF; }
@font-face { font-family: "Source Sans 3"; font-weight: 600; font-display: swap; src: url("/fonts/source-sans-3-600-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: "Source Sans 3"; font-weight: 700; font-display: swap; src: url("/fonts/source-sans-3-700-latin-ext.woff2") format("woff2"); unicode-range: U+0100-024F, U+1E00-1EFF; }
@font-face { font-family: "Source Sans 3"; font-weight: 700; font-display: swap; src: url("/fonts/source-sans-3-700-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }

:root {
  --color-brand:       #8e1b12;   /* cihlová ze současného webu */
  --color-brand-dark:  #6e140d;
  --color-accent:      #8e1b12;
  --color-accent-dark: #6e140d;
  --color-red:         #c93f2d;   /* červená loga */
  --color-text:        #2a2420;
  --color-text-muted:  #5e544c;
  --color-bg:          #fffdf8;
  --color-bg-alt:      #f5eddf;   /* béžová ze současného webu, zklidněná */
  --color-bg-dark:     #2a2420;
  --color-border:      #e3d7c3;
  --malta:             #f3e6d3;
  --font-base: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: var(--font-base);
  --radius-sm: 4px; --radius-md: 8px;
  --header-h: 80px;
  --cihly: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='14'%3E%3Crect width='28' height='14' fill='%238e1b12'/%3E%3Cpath d='M0 .5H28M0 7.5H28M.5 0V7M14.5 7V14' stroke='%23f3e6d3' stroke-width='1'/%3E%3C/svg%3E");
}
body { font-size: 1.125rem; background: var(--color-bg); }
h1, h2, h3 { font-weight: 700; hyphens: manual; }
h1 { font-size: clamp(2rem, 4.2vw + 0.4rem, 3.3rem); line-height: 1.08; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; background: #fff; padding: var(--space-2) var(--space-3); z-index: 200; }
.skip-link:focus { left: var(--space-3); }
.placeholder { border: 2px dashed var(--color-border); padding: var(--space-3); color: var(--color-text-muted); border-radius: var(--radius-md); }
[hidden] { display: none !important; }

/* logo — typografické provizorium */
.logo { display: inline-flex; flex-direction: column; text-decoration: none; color: var(--color-text); line-height: 1; }
.logo__znak { font-weight: 700; font-size: 1.7rem; letter-spacing: 0.03em; }
.logo__cami { color: var(--color-red); }
.logo__pod { font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-text-muted); margin-top: 4px; }

/* hlavička: pás cihel pod ní, oba telefony vždy vidět */
.header { background: var(--color-bg); border-bottom: 0; }
.header::after { content: ""; display: block; height: 14px; background: var(--cihly); }
.header__tel { display: flex; flex-direction: column; text-align: right; gap: 2px; }
.header__tel a { text-decoration: none; color: var(--color-text); font-weight: 700; font-size: var(--text-lg); white-space: nowrap; font-variant-numeric: tabular-nums; }
.header__tel small { font-weight: 400; color: var(--color-text-muted); font-size: var(--text-sm); margin-right: 4px; }
.nav__list li:empty { display: none; }
@media (max-width: 899px) {
  .header__tel { order: 3; width: 100%; flex-direction: row; justify-content: space-between; padding-bottom: var(--space-2); }
  .header__tel a { font-size: var(--text-base); }
  .header__inner { flex-wrap: wrap; }
}

/* nadpis sekce: krátký pás cihel nad nadpisem */
.nadpis::before { content: ""; display: block; width: 84px; height: 14px; background: var(--cihly); margin-bottom: var(--space-3); border-radius: 2px; }

/* hero */
.hero { padding-block: var(--space-6); }
.hero__grid { display: grid; gap: var(--space-6); align-items: center; }
.hero__perex { font-size: var(--text-lg); max-width: 34rem; }
.hledat { margin-block: var(--space-5) var(--space-4); max-width: 36rem; }
.hledat label { display: block; font-weight: 700; margin-bottom: var(--space-2); }
.hledat__radek { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.hledat input, .cenik-hledat { flex: 1 1 14rem; min-height: 52px; font: inherit; padding: 0 var(--space-3); border: 2px solid #b8a78f; border-radius: var(--radius-sm); background: #fff; }
.hledat input:focus-visible, .cenik-hledat:focus-visible { outline: 3px solid var(--color-red); outline-offset: 1px; }
.hledat .btn { min-height: 52px; }
.hero__dnes { color: var(--color-text-muted); }
.hero__dnes strong { color: var(--color-text); }
.hero__fotky { display: grid; grid-template-columns: 2fr 1fr; gap: var(--space-3); align-items: end; }
.hero__fotky img { width: 100%; object-fit: cover; border-radius: var(--radius-md); display: block; }
.hero__fotky picture:first-child img { aspect-ratio: 4 / 5; }
.hero__fotky picture:last-child img { aspect-ratio: 3 / 4; }
@media (min-width: 900px) { .hero__grid { grid-template-columns: 1.1fr 1fr; } }

/* dlaždice sortimentu */
.dlazdice-pruh { background: var(--color-bg-alt); padding-block: var(--space-4); }
.dlazdice-mrizka { display: grid; gap: var(--space-2); grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr)); }
.dlazdice { display: flex; flex-direction: column; justify-content: center; min-height: 72px; padding: var(--space-2) var(--space-3); background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); text-decoration: none; color: var(--color-text); font-weight: 700; transition: border-color var(--dur-fast), transform var(--dur-fast) var(--ease-out); }
.dlazdice small { font-weight: 400; color: var(--color-brand); }
.dlazdice:hover { border-color: var(--color-brand); transform: translateY(-1px); }

/* ceník — tabulka */
.cenik-ovladani { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; justify-content: space-between; margin-bottom: var(--space-4); }
.filtry { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.filtr { font: inherit; font-weight: 600; min-height: 44px; padding: 0 var(--space-3); border-radius: var(--radius-full); border: 2px solid var(--color-border); background: #fff; color: var(--color-text); cursor: pointer; }
.filtr[aria-pressed="true"] { background: var(--color-brand); border-color: var(--color-brand); color: #fff; }
.filtr:focus-visible { outline: 3px solid var(--color-red); outline-offset: 2px; }
.cenik-hledat { flex: 0 1 22rem; }
.tabulka-obal { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); max-height: 34rem; overflow: auto; }
.cenik-tabulka { width: 100%; border-collapse: collapse; }
.cenik-tabulka th, .cenik-tabulka td { padding: var(--space-2) var(--space-3); text-align: left; border-bottom: 1px solid var(--color-border); vertical-align: top; }
.cenik-tabulka thead th { position: sticky; top: 0; background: var(--color-bg-alt); font-size: var(--text-sm); text-transform: uppercase; letter-spacing: .06em; }
.cenik-tabulka td:nth-child(2) { color: var(--color-text-muted); font-size: var(--text-sm); }
.cenik-tabulka .cena { text-align: right; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cenik-tabulka tbody tr:hover { background: #fbf6ec; }
.cenik-nic { padding: var(--space-4); }
@media (max-width: 599px) { .cenik-tabulka td:nth-child(2), .cenik-tabulka th:nth-child(2) { display: none; } }

/* kroky na míru */
.kroky { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); counter-reset: krok; }
.kroky li { background: #fff; border-radius: var(--radius-md); padding: var(--space-5) var(--space-4) var(--space-4); border: 1px solid var(--color-border); counter-increment: krok; position: relative; }
.kroky li::before { content: counter(krok); position: absolute; top: calc(-1 * var(--space-3)); left: var(--space-4); width: 2.2rem; height: 2.2rem; display: grid; place-items: center; background: var(--color-brand); color: #fff; font-weight: 700; border-radius: var(--radius-sm); }
.kroky strong { display: block; font-size: var(--text-lg); }
.kroky span { color: var(--color-text-muted); }

/* výkup */
.vykup { display: grid; gap: var(--space-6); }
@media (min-width: 900px) { .vykup { grid-template-columns: 1fr 1fr; } }
.tel-velky { font-weight: 700; font-size: var(--text-xl); white-space: nowrap; color: var(--color-brand); }
.podminky { padding-left: 1.2em; }
.vykup__seznam { background: var(--color-bg-alt); border-radius: var(--radius-md); padding: var(--space-4) var(--space-5); }
.vykup__seznam ul { columns: 2 14rem; column-gap: var(--space-5); padding-left: 1.1em; margin: 0; }
.vykup__seznam li { break-inside: avoid; margin-bottom: var(--space-1); }

/* dvůr */
.dvur { display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.dvur figure { margin: 0; }
.dvur img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-md); display: block; filter: saturate(.95) contrast(1.02); }
.dvur figcaption { font-weight: 600; margin-top: var(--space-2); }

/* návštěva */
.navsteva { display: grid; gap: var(--space-6); }
@media (min-width: 900px) { .navsteva { grid-template-columns: 1fr 1fr; } }
.navsteva__adresa { font-size: var(--text-xl); }
.doba { border-collapse: collapse; }
.doba th, .doba td { text-align: left; padding: var(--space-2) var(--space-5) var(--space-2) 0; border-bottom: 1px solid var(--color-border); font-weight: 400; }
.doba td { font-weight: 700; font-variant-numeric: tabular-nums; }
.doba__svatky { font-size: var(--text-sm); color: var(--color-text-muted); }

.footer { background: var(--cihly) top left / 28px 14px repeat-x, var(--color-bg-dark); padding-top: calc(var(--space-7) + 14px); }
