/* ==========================================================================
   BDP PLUS s.r.o. – šablona webu
   Cesta odpovídá Winter CMS tématu: themes/<tema>/assets/css/style.css
   Font: Archivo (variabilní, osy wdth 62–125 a wght 100–900),
   hostovaný lokálně – žádné spojení na Google. Licence SIL Open Font License.
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #131516;
  --ink-2: #1b1e20;
  --ink-3: #2b2f32;
  --ink-line: rgba(255, 255, 255, .13);
  --stone: #edeeec;
  --paper: #fff;
  --text: #191b1d;
  --text-2: #3d4246;
  --muted: #62686d;
  --line: #d8dad8;
  --on-ink: #f4f4f2;
  --on-ink-muted: #a3a9ad;
  --yellow: #f2bd1d;
  --yellow-hover: #ffcb2e;

  --font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 72px;
  --section: clamp(64px, 9vw, 120px);
}

/* Tmavý kontext – komponenty uvnitř si přeberou barvy linek a popisků */
.is-dark {
  --line: var(--ink-line);
  --muted: var(--on-ink-muted);
  --text: var(--on-ink);
  --text-2: #c4c9cc;
  background: var(--ink);
  color: var(--on-ink);
}

/* Základ
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

html.nav-open { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  font-stretch: 100%;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }
address { font-style: normal; }
table { width: 100%; border-collapse: collapse; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 800;
  font-stretch: 110%;
  line-height: 1.04;
  letter-spacing: -.01em;
  text-wrap: balance;
}

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

.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;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: min(100% - 2 * var(--gutter), 1240px);
  margin-inline: auto;
}

/* Typografie
   ========================================================================== */

.h2,
.section__title {
  font-size: clamp(2rem, 3.6vw, 3rem);
  margin-bottom: 24px;
}

.h3 {
  font-size: 1.375rem;
  font-stretch: 106%;
  line-height: 1.15;
  margin-bottom: 14px;
}

.lead {
  font-size: 1.1875rem;
  line-height: 1.55;
  color: var(--text-2);
}

.label {
  margin-bottom: 10px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--muted);
}

.note {
  margin-top: 14px;
  font-size: .8125rem;
  line-height: 1.5;
  color: var(--muted);
}

@media (max-width: 600px) {
  .lead,
  .hero__lead,
  .page-head__lead,
  .prose > p:first-child { font-size: 1.0625rem; }
}

/* Tlačítka a odkazy
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 1rem;
  font-weight: 650;
  font-stretch: 105%;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn svg { flex: none; width: 18px; height: 18px; }

.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--yellow:hover { background: var(--yellow-hover); }

.btn--line { border-color: rgba(255, 255, 255, .32); color: var(--on-ink); }
.btn--line:hover { border-color: var(--on-ink); }

.btn--ink { background: var(--ink); color: var(--on-ink); }
.btn--ink:hover { background: var(--ink-3); }

.btn--line-ink { border-color: rgba(19, 21, 22, .4); color: var(--ink); }
.btn--line-ink:hover { border-color: var(--ink); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.more {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--yellow);
  font-weight: 650;
  text-decoration: none;
}
.more svg { flex: none; width: 16px; height: 16px; transition: transform .15s; }
.more:hover svg { transform: translateX(3px); }

/* Hlavička
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  color: var(--on-ink);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--ink-line); }

.site-header__in {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  margin-right: auto;
  font-size: 1.125rem;
  font-weight: 800;
  font-stretch: 125%;
  letter-spacing: .02em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}
.logo__badge {
  padding: 5px 7px 4px;
  margin-right: 6px;
  background: var(--yellow);
  color: var(--ink);
}
.logo__suffix {
  margin-left: 8px;
  font-size: .8125rem;
  font-weight: 500;
  font-stretch: 100%;
  letter-spacing: 0;
  color: var(--on-ink-muted);
}

.nav { display: flex; align-items: center; }

.nav__list {
  display: flex;
  gap: 28px;
  list-style: none;
}
.nav__list a {
  position: relative;
  display: block;
  padding: 8px 0;
  font-size: .9375rem;
  font-weight: 550;
  text-decoration: none;
}
.nav__list a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s;
}
.nav__list a:hover::after,
.nav__list a[aria-current="page"]::after { transform: scaleX(1); }

.nav__contact { display: none; }

.header-call { min-height: 42px; padding: 0 16px; font-size: .9375rem; }

.nav-toggle {
  display: none;
  position: relative;
  flex: none;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--on-ink);
  cursor: pointer;
}
.nav-toggle__icon,
.nav-toggle__icon::before,
.nav-toggle__icon::after {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: transform .2s, top .2s, background-color .2s;
}
.nav-toggle__icon { top: 21px; }
.nav-toggle__icon::before,
.nav-toggle__icon::after { content: ""; left: 0; }
.nav-toggle__icon::before { top: -7px; }
.nav-toggle__icon::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1080px) {
  .site-header__in { gap: 12px; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 0;
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
    padding: 8px var(--gutter) 32px;
    overflow-y: auto;
    background: var(--ink);
    visibility: hidden;
    opacity: 0;
  }
  .nav.is-open { visibility: visible; opacity: 1; transition: opacity .2s; }

  .nav__list { flex-direction: column; gap: 0; }
  .nav__list li { border-bottom: 1px solid var(--ink-line); }
  .nav__list a {
    padding: 16px 0;
    font-size: 1.5rem;
    font-weight: 700;
    font-stretch: 110%;
  }
  .nav__list a::after { display: none; }
  .nav__list a[aria-current="page"] { color: var(--yellow); }

  .nav__contact { display: grid; gap: 12px; margin-top: auto; }

  .header-call { width: 44px; min-height: 44px; padding: 0; }
  .header-call span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .nav-toggle { display: inline-block; }
}

.nav__tel {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--ink-line);
  text-decoration: none;
}
.nav__tel span { display: block; font-size: .8125rem; color: var(--on-ink-muted); }
.nav__tel strong { font-size: 1.25rem; font-weight: 700; font-stretch: 108%; }
.nav__tel--primary { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.nav__tel--primary span { color: rgba(19, 21, 22, .72); }

/* Úvod – hero se třemi obory
   ========================================================================== */

.hero { padding-top: clamp(48px, 8vw, 104px); }

.hero__top {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 32px 64px;
  align-items: end;
  padding-bottom: clamp(40px, 6vw, 72px);
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 5.25rem);
  line-height: .98;
}

/* Desktop: nadpis vždy na tři řádky (každý <span> = jeden řádek).
   Velikost písma se odvíjí od šířky sloupce, nejdelší řádek má cca 9,4em. */
@media (min-width: 901px) {
  @supports (container-type: inline-size) {
    .hero__top { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
    .hero__headline { container-type: inline-size; }
    .hero__title { font-size: min(5.25rem, 10.3cqi); }
    .hero__title span { display: block; white-space: nowrap; }
  }
}

.hero__lead {
  max-width: 46ch;
  margin-bottom: 28px;
  font-size: 1.1875rem;
  line-height: 1.55;
  color: var(--on-ink-muted);
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding-bottom: clamp(48px, 7vw, 88px);
  list-style: none;
}

.service a { display: block; height: 100%; text-decoration: none; }

.service__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-2); }
.service__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.service a:hover .service__img img { transform: scale(1.03); }

.service__body {
  display: grid;
  grid-template-columns: 2.4em minmax(0, 1fr);
  padding-top: 18px;
  border-top: 3px solid var(--ink-3);
  transition: border-color .2s;
}
.service a:hover .service__body { border-top-color: var(--yellow); }

.service__num {
  padding-top: .3em;
  font-size: .875rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--yellow);
}
.service__title {
  margin-bottom: 8px;
  font-size: 1.375rem;
  font-stretch: 106%;
  line-height: 1.15;
}
.service__text { margin: 0; font-size: .96875rem; color: var(--on-ink-muted); }

@media (max-width: 900px) {
  .hero__top { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .services { grid-template-columns: 1fr; gap: 20px; }
  .service a {
    display: grid;
    grid-template-columns: minmax(0, 38%) minmax(0, 1fr);
    gap: 16px;
    align-items: start;
  }
  .service__body { padding-top: 0; border-top: 0; grid-template-columns: 1fr; }
  .service__num { padding: 0 0 4px; }
  .service__title { font-size: 1.1875rem; }
  .service__text { font-size: .9375rem; }
}

/* Technické údaje v pruhu
   ========================================================================== */

.plate { border-top: 1px solid var(--ink-line); }

.plate__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
}

.plate__item { padding: 28px 24px 32px; border-left: 1px solid var(--line); }
.plate__item:first-child { padding-left: 0; border-left: 0; }

.plate dt { margin-bottom: 8px; font-size: .8125rem; line-height: 1.35; color: var(--muted); }
.plate dd {
  margin: 0;
  font-size: clamp(1.75rem, 2.6vw, 2.375rem);
  font-weight: 750;
  font-stretch: 115%;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.plate dd small { margin-right: .25em; font-size: .5em; font-weight: 600; color: var(--muted); }

@media (max-width: 900px) {
  .plate__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
  .plate__item,
  .plate__item:first-child { padding: 20px 0 22px; border-left: 0; border-bottom: 1px solid var(--line); }
  .plate__item:last-child { grid-column: 1 / -1; border-bottom: 0; }
}

/* Sekce
   ========================================================================== */

.section { padding-block: var(--section); }
.section--stone { background: var(--stone); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.section--flush-top { padding-top: 0; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 48px clamp(40px, 7vw, 112px);
  align-items: center;
}
.split--top { align-items: start; }
.split--reverse { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.split--reverse .split__media { order: -1; }

@media (max-width: 900px) {
  .split,
  .split--reverse { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
}

.photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--stone); }
.photo figcaption { margin-top: 10px; font-size: .8125rem; line-height: 1.4; color: var(--muted); }
.photo--single { max-width: 520px; }

.pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}
.pair .photo:nth-child(2) { margin-top: 64px; }

.stack { display: grid; gap: 24px; }

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

@media (max-width: 760px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .gallery .photo:first-child { grid-column: 1 / -1; }
}

.checklist {
  margin: 28px 0 32px;
  border-top: 1px solid var(--line);
  list-style: none;
}
.checklist li {
  position: relative;
  padding: 12px 0 12px 26px;
  border-bottom: 1px solid var(--line);
  font-weight: 550;
}
.checklist li::before {
  content: "";
  position: absolute;
  top: calc(12px + .8em - 4px);
  left: 1px;
  width: 9px;
  height: 9px;
  background: var(--yellow);
}

/* Číslovaný výčet služeb */
.rows { border-top: 1px solid var(--line); list-style: none; counter-reset: row; }
.rows li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 12px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  counter-increment: row;
}
.rows li::before {
  content: counter(row, decimal-leading-zero);
  padding-top: .25em;
  font-size: .9375rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}
.rows h3 { font-size: 1.375rem; font-stretch: 106%; line-height: 1.2; }
.rows p { margin-top: 6px; color: var(--text-2); }

/* Uhelné sklady na úvodu
   ========================================================================== */

.coal { padding-block: var(--section); }

.coal__band {
  width: 100%;
  height: clamp(140px, 20vw, 260px);
  margin-bottom: clamp(40px, 6vw, 72px);
  object-fit: cover;
}

.coal__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr);
  gap: 48px;
}

@media (max-width: 1000px) {
  .coal__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .coal__grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .coal__grid { grid-template-columns: 1fr; }
}

/* Ceník
   ========================================================================== */

.prices { font-variant-numeric: tabular-nums; }
.prices th,
.prices td {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 400;
  text-align: left;
  vertical-align: baseline;
}
.prices thead th { padding-top: 0; font-size: .8125rem; font-weight: 500; color: var(--muted); }
.prices tbody th { padding-right: 16px; font-weight: 550; }
.prices .num { text-align: right; white-space: nowrap; }
.prices td.num { font-weight: 700; }
.prices .unit { margin-left: .15em; font-size: .875em; font-weight: 400; color: var(--muted); }

.prices--lg th,
.prices--lg td { padding-block: 16px; font-size: 1.125rem; }
.prices--lg thead th { font-size: .8125rem; }

/* Otevírací doba */
.hours__status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: .9375rem;
  font-weight: 600;
}
.hours__status::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--muted);
}
.hours__status.is-open::before { background: #3fbf6a; }

.hours th,
.hours td {
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: .9375rem;
  text-align: left;
  vertical-align: top;
}
.hours th { padding-right: 16px; font-weight: 500; white-space: nowrap; }
.hours td { color: var(--text-2); font-variant-numeric: tabular-nums; text-align: right; }
.hours tr.is-today th,
.hours tr.is-today td { font-weight: 700; color: var(--text); }
.hours tr.is-today th::after { content: " · dnes"; font-weight: 500; color: var(--muted); }

/* Kontaktní údaje */
.contact-rows { margin: 0; }
.contact-rows div {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.contact-rows dt { padding-top: .1em; font-size: .875rem; color: var(--muted); }
.contact-rows dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.contact-rows a { text-decoration: none; }
.contact-rows a:hover { text-decoration: underline; }

/* Podstránky – záhlaví
   ========================================================================== */

.page-head { padding: clamp(36px, 5vw, 56px) 0 clamp(48px, 7vw, 88px); }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(28px, 4vw, 48px);
  font-size: .8125rem;
  color: var(--on-ink-muted);
}
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--on-ink); text-decoration: underline; }

.page-head__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 40px 72px;
  align-items: end;
}
.page-head h1 { font-size: clamp(2.25rem, 5vw, 4rem); }
.page-head__lead {
  max-width: 52ch;
  margin-top: 20px;
  font-size: 1.1875rem;
  line-height: 1.55;
  color: var(--on-ink-muted);
}
.page-head__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

@media (max-width: 900px) {
  .page-head__grid { grid-template-columns: 1fr; }
}

/* Parametry stroje */
.spec { border-top: 2px solid var(--yellow); }
.spec__title { padding: 14px 0 6px; margin: 0; font-size: .8125rem; font-weight: 600; color: var(--muted); }
.spec dl { margin: 0; }
.spec dl div {
  display: grid;
  grid-template-columns: minmax(0, 38%) minmax(0, 1fr);
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: .9375rem;
}
.spec dt { color: var(--muted); }
.spec dd { margin: 0; font-weight: 600; }

/* Článek s obsahem
   ========================================================================== */

.article-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.toc { position: sticky; top: calc(var(--header-h) + 32px); font-size: .9375rem; }
.toc ol { border-left: 1px solid var(--line); list-style: none; }
.toc a {
  display: block;
  margin-left: -1px;
  padding: 7px 0 7px 16px;
  border-left: 2px solid transparent;
  line-height: 1.35;
  color: var(--muted);
  text-decoration: none;
}
.toc a:hover { color: var(--text); }
.toc a.is-active { border-left-color: var(--yellow); color: var(--text); font-weight: 600; }

@media (max-width: 960px) {
  .article-layout { grid-template-columns: 1fr; }
  .toc { display: none; }
}

.prose { max-width: 70ch; color: var(--text-2); }
.prose > * { margin-top: 0; margin-bottom: 0; }
.prose > * + * { margin-top: 1em; }
.prose > p:first-child { font-size: 1.1875rem; line-height: 1.55; color: var(--text); }
.prose h2 {
  margin-top: 2.4em;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.12;
  color: var(--text);
}
.prose h2 + * { margin-top: .75em; }
.prose h3 { margin-top: 1.8em; font-size: 1.1875rem; font-stretch: 105%; line-height: 1.25; color: var(--text); }
.prose h3 + * { margin-top: .5em; }
.prose a { color: var(--text); text-decoration-color: var(--yellow); text-decoration-thickness: 2px; }
.prose ul:not([class]) { padding-left: 1.25em; }
.prose ul:not([class]) li + li { margin-top: .4em; }
.prose li::marker { color: var(--muted); }
.prose strong { font-weight: 650; color: var(--text); }
.prose figure { margin-block: 2.2em; }
.prose .duo { margin-block: 2.2em; }
.prose .duo figure { margin: 0; }
.prose .checklist { margin-block: 1.4em 0; }
.prose code { padding: .1em .4em; font-size: .875em; background: var(--stone); color: var(--text); }

.prose .table-wrap { overflow-x: auto; }
.prose table { min-width: 560px; font-size: .9375rem; }
.prose th,
.prose td { padding: 10px 16px 10px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose thead th { font-weight: 600; color: var(--text); }

/* Výzva ke kontaktu
   ========================================================================== */

.cta { padding-block: clamp(48px, 6vw, 72px); background: var(--yellow); color: var(--ink); }
.cta__in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 48px;
  align-items: center;
}
.cta h2 { font-size: clamp(1.75rem, 3.2vw, 2.625rem); }
.cta p { max-width: 52ch; margin-top: 10px; font-size: 1.125rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 860px) {
  .cta__in { grid-template-columns: 1fr; }
}

/* Paliva – obsah s bočním panelem
   ========================================================================== */

.with-aside {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}

.block + .block { margin-top: clamp(48px, 6vw, 72px); }
.block__sub { margin-top: 40px; }
.block > .h2 { font-size: clamp(1.75rem, 2.8vw, 2.375rem); }

.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

.band {
  width: 100%;
  height: clamp(140px, 18vw, 220px);
  margin-bottom: clamp(32px, 4vw, 48px);
  object-fit: cover;
}

.aside-card {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: 28px;
  background: var(--stone);
}
.aside-card h2 { margin-bottom: 6px; font-size: 1.5rem; }
.aside-card address { margin-bottom: 16px; color: var(--text-2); }
.aside-card .h3 { margin: 28px 0 10px; font-size: 1.0625rem; }
.aside-card .more { margin-top: 24px; }

@media (max-width: 1000px) {
  .with-aside { grid-template-columns: 1fr; }
  .aside-card { position: static; }
}

.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.product { padding-top: 20px; border-top: 3px solid var(--ink); }
.product ul { margin: 12px 0 16px; border-top: 1px solid var(--line); list-style: none; }
.product li { padding: 9px 0; border-bottom: 1px solid var(--line); font-weight: 550; }
.product p { font-size: .96875rem; color: var(--text-2); }

@media (max-width: 640px) {
  .products { grid-template-columns: 1fr; }
}

.docs { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; }
.docs a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  font-size: .9375rem;
  font-weight: 550;
  text-decoration: none;
  transition: border-color .15s;
}
.docs a:hover { border-color: var(--text); }
.docs svg { flex: none; width: 18px; height: 18px; }
.docs .ext { font-size: .75rem; font-weight: 700; color: var(--muted); }

/* Kontakty
   ========================================================================== */

.locations {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px clamp(40px, 6vw, 88px);
}
.location h2 { margin-bottom: 12px; font-size: clamp(1.75rem, 2.8vw, 2.25rem); }
.location address { margin-bottom: 20px; font-size: 1.125rem; color: var(--text-2); }
.location .h3 { margin: 32px 0 10px; font-size: 1.0625rem; }
.location .more { margin-top: 28px; }

@media (max-width: 800px) {
  .locations { grid-template-columns: 1fr; }
}

.company { margin-top: var(--section); padding: clamp(24px, 4vw, 40px); background: var(--stone); }
.company h2 { margin-bottom: 20px; font-size: 1.5rem; }
.company dl {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px 32px;
  margin: 0;
}
.company dt { margin-bottom: 4px; font-size: .8125rem; color: var(--muted); }
.company dd { margin: 0; font-weight: 600; }
.company .wide { grid-column: 1 / -1; }

@media (max-width: 800px) {
  .company dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Patička
   ========================================================================== */

.site-footer {
  padding: clamp(56px, 7vw, 88px) 0 32px;
  background: #0d0e0f;
  color: var(--on-ink);
  font-size: .9375rem;
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 3fr));
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--ink-line);
}

.footer__brand p { max-width: 30ch; margin-top: 18px; color: var(--on-ink-muted); }

.footer__col h2 {
  margin-bottom: 14px;
  font-size: .8125rem;
  font-weight: 600;
  font-stretch: 100%;
  letter-spacing: 0;
  color: var(--on-ink-muted);
}
.footer__col address,
.footer__col p { margin-bottom: 12px; color: #d9dcde; }
.footer__col a { text-decoration: none; }
.footer__col a:hover { color: var(--yellow); }
.footer__col ul { list-style: none; }
.footer__col li + li { margin-top: 6px; }
.footer__hours { font-size: .875rem; color: var(--on-ink-muted) !important; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 32px;
  padding-top: 24px;
  font-size: .8125rem;
  color: var(--on-ink-muted);
}
.footer__bottom p { margin: 0; }
.footer__bottom a { text-decoration: none; }
.footer__bottom a:hover { color: var(--on-ink); text-decoration: underline; }

@media (max-width: 1000px) {
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer__top { grid-template-columns: 1fr; }
}

/* Ceník z administrace (FAQ plugin, položka č. 1)
   Tabulku píše klient v editoru – styl musí snést libovolné HTML.
   ========================================================================== */

.cms-prices { font-variant-numeric: tabular-nums; }
.cms-prices table { width: 100%; border-collapse: collapse; }
.cms-prices th,
.cms-prices td {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: baseline;
}
.cms-prices th { font-size: .8125rem; font-weight: 500; color: var(--muted); }
.cms-prices td:first-child { padding-right: 16px; font-weight: 550; }
.cms-prices td:last-child:not(:first-child) { font-weight: 700; text-align: right; white-space: nowrap; }
.cms-prices td br,
.cms-prices th br { display: none; }
.cms-prices p { margin: 0; }
.cms-prices--lg td { padding-block: 16px; font-size: 1.125rem; }

/* Provozní oznámení (partial site/notice)
   ========================================================================== */

.notice { padding-block: 14px; background: var(--yellow); color: var(--ink); }
.notice__in { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: baseline; }
.notice__date { font-weight: 700; font-stretch: 106%; }
.notice p { margin: 0; }

.notice-box { margin-bottom: 32px; padding: 20px 24px; border-left: 4px solid var(--yellow); background: var(--stone); }
.notice-box h2 { margin-bottom: 10px; font-size: 1.125rem; font-stretch: 105%; }
.notice-box ul { padding-left: 1.2em; }
.notice-box p { margin-top: 10px; font-weight: 650; }

/* Stránka 404
   ========================================================================== */

.error-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; list-style: none; }
