/* ZH instruments - styles. One file for the whole site. */
@font-face { font-family: "Montserrat"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/montserrat-800.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2212; }
@font-face { font-family: "Montserrat"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/montserrat-800-ext.woff2") format("woff2"); unicode-range: U+0100-024F; }
@font-face { font-family: "Montserrat"; font-weight: 800; font-style: italic; font-display: swap; src: url("../fonts/montserrat-800-italic.woff2") format("woff2"); }
:root {
  --blue: #0069b4;
  --blue-dark: #004f88;
  --blue-light: #eaf3fb;
  --gray: #a8a8a8;
  --text: #1d1d1b;
  --muted: #5b5f66;
  --line: #dde1e6;
  --bg: #f5f7f9;
  --head: "Montserrat", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: var(--text); background: #fff; line-height: 1.6; font-size: 17px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.2; }
h1, h2 { font-family: var(--head); font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); color: var(--blue); }
h2 { font-size: clamp(1.3rem, 2.2vw, 1.65rem); margin-bottom: 14px; }
h3 { font-size: 1.08rem; margin-bottom: 6px; }
p + p { margin-top: 10px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
section { padding: 40px 0; }
section.alt { background: var(--bg); }
.narrow { max-width: 46em; }

/* ===== HEADER (blue bar as on the original site) ===== */
.site-header { background: var(--blue); border-bottom: 4px solid var(--gray); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: baseline; text-decoration: none; font-family: var(--head); font-style: italic; font-weight: 800; line-height: 1; }
.logo .zh { color: #fff; font-size: 1.9rem; letter-spacing: -.04em; }
.logo .ins { color: #cfcfcf; font-size: 1.05rem; margin-left: 2px; letter-spacing: .02em; }
.logo img { display: block; height: 30px; width: auto; } /* 21.11.2026 vektorové logo z letáku */
.logo sup { color: #cfcfcf; font-size: .55rem; font-style: normal; margin-left: 1px; align-self: flex-start; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 20px; list-style: none; font-size: .93rem; }
.nav a { text-decoration: none; color: #fff; padding: 6px 0; display: inline-block; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: #fff; }
.nav a[aria-current="page"] { font-weight: 700; border-bottom-color: #fff; }
.head-cta { display: none; }

/* ===== HERO ===== */
.hero { background: linear-gradient(180deg, var(--blue-light), #fff); padding: 44px 0 24px; }
.hero .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
.hero .lead { font-size: 1.12rem; color: var(--muted); margin-top: 14px; max-width: 34em; }
.hero img { border-radius: 10px; }
.buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 8px; font-weight: 700; text-decoration: none; border: 2px solid var(--blue); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn-outline { color: var(--blue); background: #fff; }
.trust { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 18px; list-style: none; font-size: .92rem; color: var(--muted); }
.trust li::before { content: "\2713\00a0"; color: var(--blue); font-weight: 700; }
#products { padding-top: 28px; }

/* ===== PRODUCT CARDS ===== */
.cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px; display: flex; flex-direction: column; text-decoration: none; color: var(--text); transition: border-color .15s, box-shadow .15s; }
.card:hover { border-color: var(--blue); box-shadow: 0 4px 14px rgba(0, 105, 180, .12); }
.card img { aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: 6px; margin-bottom: 10px; width: 100%; }
.card .type { font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; color: var(--blue); font-weight: 700; }
.card h3 { margin: 2px 0 4px; }
.card p { font-size: .9rem; color: var(--muted); }

/* ===== PRODUCT PAGE ===== */
.product-top { display: grid; grid-template-columns: 1fr 1.1fr; gap: 36px; align-items: start; padding-top: 36px; padding-bottom: 24px; }
.product-top .subtitle { font-weight: 700; margin-top: 8px; font-size: 1.08rem; }
.product-top .lead { margin-top: 14px; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; position: sticky; top: 16px; }
.gallery img { border: 1px solid var(--line); border-radius: 8px; background: #fff; aspect-ratio: 4 / 3; object-fit: contain; width: 100%; }
.gallery img:first-child { grid-column: span 2; aspect-ratio: 1; padding: 20px; }
.gallery img.photo { object-fit: cover; }
.gallery img:nth-child(2):last-child { grid-column: span 2; }
.keyfacts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; list-style: none; }
.keyfacts li { background: var(--blue-light); color: var(--blue-dark); border-radius: 16px; padding: 3px 12px; font-size: .9rem; font-weight: 600; }
.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; list-style: none; }
.features li { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: 8px; padding: 12px 14px; font-size: .95rem; }
.features b { display: block; margin-bottom: 2px; }
.features li:last-child:nth-child(7) { grid-column: span 2; }
.cited { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px 28px; }
.cited li { font-size: .95rem; padding-left: 14px; border-left: 3px solid var(--blue); }
.cited b { display: block; }
#story .two-col { align-items: center; }
.story-img { max-width: 340px; justify-self: center; border-radius: 8px; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; background: #fff; }
th, td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th, .downloads td:first-child { width: 34%; color: var(--muted); font-weight: 600; }
thead th { background: var(--blue); color: #fff; }
.table-scroll { overflow-x: auto; }
figure { margin: 0; }
figure img { border: 1px solid var(--line); border-radius: 8px; width: 100%; }
figcaption { font-size: .88rem; color: var(--muted); margin-top: 6px; }
.figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.figs.single { grid-template-columns: minmax(0, 640px); }
.order { background: var(--blue-light); border: 1px solid #c9dff1; border-radius: 10px; padding: 22px; }
.order ol, .order ul { margin: 8px 0 0 22px; }
.order li + li { margin-top: 4px; }
.service { margin-top: 14px; font-weight: 600; }

/* ===== ABOUT ===== */
.timeline { list-style: none; border-left: 3px solid var(--blue); margin-left: 8px; }
.timeline li { position: relative; padding: 0 0 18px 22px; }
.timeline li::before { content: ""; position: absolute; left: -9px; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); }
.timeline .year { font-weight: 800; color: var(--blue); display: block; font-family: var(--head); }
.two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px; align-items: start; }
.two-col > img, .two-col > figure { width: 100%; }
.side-figs { display: grid; gap: 20px; }

/* ===== FOOTER ===== */
.site-footer { background: #20262e; color: #cfd6de; padding: 34px 0 26px; font-size: .92rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px; }
.site-footer a { color: #fff; }
.site-footer h3 { color: #fff; font-size: 1rem; }
.site-footer ul { list-style: none; }
.site-footer ul a { color: #cfd6de; text-decoration: none; }
.site-footer ul a:hover { color: #fff; text-decoration: underline; }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid #3a434e; padding-top: 14px; font-size: .82rem; color: #9aa5b1; }
.site-footer .legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; }
.site-footer .credit { margin-left: auto; }
.site-footer .credit a { color: #9aa5b1; }

@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 800px) {
  .hero .wrap, .product-top, .two-col { grid-template-columns: 1fr; }
  section { padding: 30px 0; }
  .gallery { position: static; }
  .gallery img:first-child { aspect-ratio: 4 / 3; padding: 8px; }
  .gallery img:not(:first-child) { display: none; }
  .product-top { padding-top: 20px; gap: 18px; }
  .features li:last-child:nth-child(7) { grid-column: auto; }
  .site-header .wrap { padding-top: 10px; padding-bottom: 6px; gap: 6px; }
  .head-cta { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 6px; background: #fff; color: var(--blue); font-weight: 700; font-size: .9rem; text-decoration: none; }
  .site-header nav { width: 100%; position: relative; }
  .site-header nav::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 36px; background: linear-gradient(90deg, rgba(0,105,180,0), var(--blue)); pointer-events: none; }
  .nav { flex-wrap: nowrap; overflow-x: auto; gap: 18px; padding-bottom: 2px; padding-right: 30px; white-space: nowrap; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .cards { grid-template-columns: 1fr; gap: 10px; }
  .card { display: grid; grid-template-columns: 104px 1fr; grid-template-rows: auto auto 1fr; column-gap: 14px; align-items: start; }
  .card img { grid-row: 1 / 4; aspect-ratio: 1; margin: 0; padding: 6px; }
  .site-footer .wrap { grid-template-columns: 1fr; }
  .specs th, .downloads td:first-child { width: 42%; }
}

/* 16.11.2026 (verze 4): dočasně nevyráběný přístroj (SM 400) = šedý obrázek + štítek v rohu */
.card { position: relative; }
.card-na img { filter: grayscale(1); opacity: .55; }
.card-na h3, .card-na p { color: var(--muted); }
.na-badge { position: absolute; top: 8px; left: 8px; z-index: 1; background: #5b5f66; color: #fff; font-size: .72rem; font-weight: 700; border-radius: 4px; padding: 2px 7px; line-height: 1.4; }
.na-note { color: var(--muted); font-size: .9rem; font-weight: 600; margin-top: 6px; }
small.na-note { font-size: .8rem; font-weight: 600; }
.site-footer .ids, #contact-details .ids { font-size: .88rem; }
@media (max-width: 800px) { .na-badge { top: 6px; left: 6px; font-size: .66rem; padding: 1px 5px; max-width: 96px; } }
/* 25.11.2026: časová osa About, zakladatel – tichá tmavá tečka místo modré */
.timeline li.in-memoriam::before { background: #555; border-color: #555; }

/* Tabulky kombinaci frekvence a pole (26.11.2026) */
table.combo { width: auto; min-width: 100%; }
table.combo caption { text-align: left; font-weight: 600; padding: 0 0 8px; }
table.combo td, table.combo thead th { text-align: center; white-space: nowrap; }
table.combo tbody th { white-space: nowrap; color: var(--muted); font-weight: 600; }
table.combo td { color: var(--blue); font-weight: 700; }
table.combo td[aria-label] { color: var(--line); font-weight: 400; }
table.combo th, table.combo td { padding: 8px 10px; }
