/* ==========================================================================
   Comtek Custom — hlavní styly
   ========================================================================== */

/* ---------- Fonty hostované v šabloně (bez načítání z Google Fonts) ---------- */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('../fonts/inter-latin-ext-wght-normal.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('../fonts/inter-latin-wght-normal.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; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 100 800; font-display: swap; src: url('../fonts/jetbrains-mono-latin-ext-wght-normal.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 100 800; font-display: swap; src: url('../fonts/jetbrains-mono-latin-wght-normal.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 {
	--navy: #135198;
	--navy-dark: #0e3d72;
	--red: #E41E22;
	--red-dark: #b9151a;
	--white: #ffffff;
	--tint: #eef2f8;  /* the one light-blue section background (alternates with white) */
	--ink: #1a2433;
	--grey: #5b6472;
	--border: #e5e7eb;
	--radius: 8px;
	--font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
	--font-mono: 'JetBrains Mono', monospace;
	--container: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h, 92px) + 8px); }
body {
	margin: 0;
	font-family: var(--font-main);
	color: var(--ink);
	background: var(--white);
	line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.btn {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 14px 24px; border-radius: 4px; font-weight: 700; font-size: 14px;
	letter-spacing: .02em; text-transform: uppercase; border: none; cursor: pointer;
	transition: transform .12s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
}
/* Hover: plain, flat colour change (no lift, no glow); a tiny press on click */
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); }
.btn-outline { background: transparent; color: var(--navy); border: 1px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }

/* ---------- Top bar ---------- */
.comtek-topbar {
	background: var(--navy); color: var(--white);
	font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em;
}
.comtek-topbar .container {
	display: flex; align-items: center; justify-content: space-between;
	padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; gap: 8px;
}
.comtek-topbar .badge { color: var(--red); margin-right: 6px; }
.comtek-topbar .lang-switch { display: flex; gap: 10px; align-items: center; }
.comtek-topbar .lang-switch a { opacity: .75; }
.comtek-topbar .lang-switch a.active, .comtek-topbar .lang-switch a:hover { opacity: 1; }

/* ---------- Header / nav ---------- */
/* Only the white part (logo + menu) is sticky; the blue top bar above it scrolls away with the page. */
.comtek-header {
	position: sticky; top: 0; z-index: 100;
	background: var(--white); border-bottom: 3px solid var(--navy);
	padding: 16px 0;
	transition: box-shadow .2s ease;
}
.comtek-header.is-stuck { box-shadow: 0 8px 22px rgba(11,45,85,.12); }
/* Logged-in editors: keep the sticky header below the WordPress admin bar */
body.admin-bar .comtek-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .comtek-header { top: 46px; } }
@media (max-width: 600px) { body.admin-bar .comtek-header { top: 0; } } /* admin bar is not fixed on small phones */
.comtek-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.comtek-logo-wrap { display: flex; flex-direction: column; }
.comtek-logo-wrap img { height: 36px; width: auto; max-width: none; }
.comtek-logo-wrap a { display: block; line-height: 0; }
.comtek-logo-wrap .tagline { font-family: var(--font-mono); font-size: 10px; color: var(--grey); letter-spacing: .08em; margin-top: 4px; }
.comtek-nav { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; }
.comtek-nav a {
	display: inline-block; font-weight: 600; font-size: 14px; letter-spacing: .02em; text-transform: uppercase;
	color: var(--navy); padding: 10px 22px;
	clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
	transition: background .15s ease, color .15s ease;
}
.comtek-nav a:not(.current):hover { background: var(--tint); color: var(--navy); }
.comtek-nav a.current { background: var(--navy); color: var(--white); }
.comtek-header-right { display: flex; align-items: center; gap: 18px; }
.comtek-phone { font-weight: 700; font-family: var(--font-mono); font-size: 14px; }
.comtek-burger { display: none; background: none; border: none; cursor: pointer; }

@media (max-width: 960px) {
	.comtek-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 16px 24px; border-bottom: 1px solid var(--border); gap: 16px; }
	.comtek-nav.open { display: flex; }
	.comtek-nav a { clip-path: none; border-radius: 4px; padding: 10px 14px; }
	.comtek-burger { display: block; order: 3; font-size: 26px; line-height: 1; color: var(--navy); padding: 4px 6px; }
	.comtek-header-right { order: 2; margin-left: auto; }
}
/* Phones: keep the sticky header compact (logo + Poptávka + burger on one row) */
@media (max-width: 640px) {
	.comtek-header { padding: 10px 0; }
	.comtek-header .container { flex-wrap: nowrap; gap: 12px; }
	.comtek-logo-wrap img { height: 28px; }
	.comtek-logo-wrap .tagline { display: none; }
	.comtek-phone { display: none; }
	.comtek-header-right .btn { padding: 10px 14px; font-size: 12px; }
}
/* Phones: top bar shows only the Tyrolit line, language switch lives in the mobile menu */
.nav-lang { display: none; }
@media (max-width: 640px) {
	.comtek-topbar .topbar-extra, .comtek-topbar .lang-switch { display: none; }
	.nav-lang { display: flex; gap: 8px; padding-top: 4px; border-top: 1px solid var(--border); }
	.comtek-nav .nav-lang a { padding: 8px 14px; font-family: var(--font-mono); font-size: 13px; opacity: .7; border: 1px solid var(--border); }
	.comtek-nav .nav-lang a.active { opacity: 1; background: var(--navy); color: var(--white); border-color: var(--navy); }
}

/* ---------- Hero ---------- */
.hero { padding: 72px 0; overflow: hidden; }
.eyebrow-rule::before { content: ""; display: inline-block; width: 18px; height: 1px; background: currentColor; vertical-align: middle; margin-right: 10px; flex: none; }
.catalog-hero .eyebrow-rule::before { margin-right: 0; }
.hero .eyebrow { font-family: var(--font-mono); font-size: 13px; color: var(--red); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
.hero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; line-height: 1.1; max-width: 820px; margin: 0 0 20px; color: var(--navy); }
.hero p.lead { font-size: 17px; color: var(--grey); max-width: 640px; margin-bottom: 32px; }
.hero .hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Hero — inner pages (light-blue band, navy rule, bigger heading) ---------- */
.hero:not(.hero-photo) {
	background: var(--tint);
	border-bottom: 3px solid var(--navy);
	padding: 104px 0 92px;
}
.hero:not(.hero-photo) .eyebrow { color: var(--grey); }
.hero:not(.hero-photo) h1 {
	font-size: clamp(3.2rem, 8vw, 6.4rem);
	font-weight: 900;
	letter-spacing: -0.02em;
	line-height: 1;
	max-width: 960px;
}
.hero:not(.hero-photo) p.lead {
	font-size: 19px;
	max-width: 700px;
}

/* ---------- Catalog hero — compact, so products show up sooner ---------- */
.hero.catalog-hero:not(.hero-photo), .hero.hero-compact:not(.hero-photo) { padding: 44px 0 36px; }
.hero.catalog-hero:not(.hero-photo) .eyebrow, .hero.hero-compact:not(.hero-photo) .eyebrow { margin-bottom: 8px; }
.hero.catalog-hero:not(.hero-photo) h1, .hero.hero-compact:not(.hero-photo) h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); margin-bottom: 12px; }
.hero.catalog-hero:not(.hero-photo) p.lead, .hero.hero-compact:not(.hero-photo) p.lead { font-size: 17px; margin-bottom: 0; }
@media (max-width: 600px) { .hero.catalog-hero:not(.hero-photo), .hero.hero-compact:not(.hero-photo) { padding: 32px 0 28px; } }

/* ---------- About intro grid (O společnosti — text + ÚDAJE card) ---------- */
.about-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: stretch; }
.about-text { display: flex; flex-direction: column; justify-content: center; }
.about-text .about-lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.55; font-weight: 500; letter-spacing: -0.005em; color: var(--ink); margin: 0 0 22px; }
.about-text p:not(.about-lead) { font-size: 1.0625rem; line-height: 1.75; color: #3f4a5c; margin: 0 0 16px; }
.about-text p:last-child { margin-bottom: 0; }
.about-intro-grid .card { display: flex; flex-direction: column; }
.about-intro-grid .card:hover { transform: none; }
.about-intro-grid .data-list { flex: 1; display: flex; flex-direction: column; }
.about-intro-grid .data-list li { flex: 1; align-items: center; padding: 8px 0; }
.about-intro-grid .data-list li:last-child { border-bottom: none; }
@media (max-width: 860px) {
	.about-intro-grid { grid-template-columns: 1fr; }
}

/* ---------- Hero — full-bleed photo (homepage) ---------- */
.hero.hero-photo {
	position: relative;
	/* --chrome-h = top bar + header (+ admin bar when logged in), measured in main.js */
	min-height: calc(100vh - var(--chrome-h, 125px));
	min-height: calc(100svh - var(--chrome-h, 125px));
	display: flex; align-items: center; justify-content: center;
	background-size: cover; background-position: center; background-repeat: no-repeat;
	padding: 48px 0 88px;
	text-align: center;
}
.hero-photo-overlay {
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(8,31,61,.5) 0%, rgba(8,31,61,.68) 55%, rgba(8,31,61,.86) 100%);
	z-index: 1;
}
.hero-photo-content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }

/* Eyebrow: plain mono caps flanked by short red rules */
.hero-eyebrow {
	display: flex; align-items: center; justify-content: center; gap: 16px;
	margin-bottom: 26px;
	font-family: var(--font-mono); font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
	color: rgba(255,255,255,.88);
}
.hero-eyebrow::before, .hero-eyebrow::after { content: ""; flex-shrink: 0; width: 36px; height: 2px; background: var(--red); }

.hero-photo h1 {
	color: var(--white); max-width: 1100px; margin: 0 auto 32px;
	font-size: clamp(2.1rem, min(5.6vw, 9.5vh), 4.6rem);
	font-weight: 900; letter-spacing: -0.025em; line-height: 1.04;
	text-shadow: 0 2px 28px rgba(0,0,0,.4);
}
/* Highlighted phrase */
.hero-photo h1 .hl { color: var(--red); }

.hero-photo p.lead { color: rgba(255,255,255,.84); font-size: clamp(1rem, 1.4vw, 1.2rem); max-width: 640px; margin: 0 auto 34px; text-align: center; }
.hero-photo .hero-actions { justify-content: center; }
.hero-photo .btn { padding: 16px 28px; }
.hero-photo .btn .arrow { display: inline-block; transition: transform .25s ease; }
.hero-photo .btn:hover .arrow { transform: translateX(4px); }

.btn-outline-light { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.75); }
.btn-outline-light:hover { background: var(--white); color: var(--navy); }

/* Facts row under the buttons */
.hero-stats {
	display: flex; justify-content: center; width: 100%; max-width: 780px;
	margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.18);
}
.hero-stats > div { flex: 1; padding: 0 20px; text-align: center; }
.hero-stats > div + div { border-left: 1px solid rgba(255,255,255,.18); }
.hero-stats strong { display: block; font-size: 1.6rem; font-weight: 800; letter-spacing: -0.01em; line-height: 1.1; color: var(--white); }
.hero-stats span { display: block; margin-top: 6px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.66); }

/* Entrance animation (staggered) */
.hero-photo-content > * { animation: hero-rise .8s cubic-bezier(.2,.8,.2,1) both; }
.hero-photo-content > :nth-child(2) { animation-delay: .08s; }
.hero-photo-content > :nth-child(3) { animation-delay: .16s; }
.hero-photo-content > :nth-child(4) { animation-delay: .24s; }
.hero-photo-content > :nth-child(5) { animation-delay: .32s; }
@keyframes hero-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.hero-scroll-cue {
	position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
	z-index: 2; color: var(--white); font-size: 20px; line-height: 1; opacity: .85;
	animation: hero-bounce 2s ease-in-out infinite;
}
@keyframes hero-bounce {
	0%, 100% { transform: translate(-50%, 0); }
	50% { transform: translate(-50%, 10px); }
}

/* Short laptop screens: drop the facts row so the scroll arrow stays above the fold */
@media (max-height: 740px) and (min-width: 721px) {
	.hero-stats { display: none; }
	.hero.hero-photo { padding: 32px 0 72px; }
	.hero-eyebrow { margin-bottom: 18px; }
}
@media (max-width: 720px) {
	.hero.hero-photo { min-height: max(600px, calc(100svh - var(--chrome-h, 140px))); padding: 56px 0 88px; }
	.hero-eyebrow { font-size: 11px; letter-spacing: .1em; gap: 10px; margin-bottom: 20px; }
	.hero-eyebrow::before, .hero-eyebrow::after { width: 22px; }
	.hero-stats { margin-top: 32px; padding-top: 18px; }
	.hero-stats > div { padding: 0 8px; }
	.hero-stats strong { font-size: 1.05rem; }
	.hero-stats span { font-size: 9.5px; letter-spacing: .05em; }
}
@media (prefers-reduced-motion: reduce) {
	.hero-photo-content > * { animation: none; }
	.hero-scroll-cue { animation: none; }
	.btn, .btn:hover, .btn:active { transition: none; transform: none; }
}

/* ---------- Feature strip (Prémiová kvalita atd.) ---------- */
.feature-strip { background: var(--navy); padding: 56px 0; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.feature-grid > div { text-align: center; }
.feature-icon {
	display: flex; align-items: center; justify-content: center;
	width: 52px; height: 52px; border-radius: 12px; margin: 0 auto 18px;
	background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.9);
}
.feature-icon svg { height: 24px; width: auto; fill: var(--white); stroke: none; display: block; }
.feature-grid h3 { font-size: 16px; color: var(--white); margin: 0 0 8px; }
.feature-grid p { font-size: 14px; color: #c7d2e3; margin: 0; }

/* ---------- Partner strip (trusted-by band between sections) ---------- */
.partner-strip { background: var(--tint); padding: 48px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.partner-strip-label { display: block; text-align: center; font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); margin-bottom: 28px; }
.partner-logo-grid { display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; }
.partner-logo-card {
	display: flex; align-items: center; justify-content: center;
	background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
	padding: 18px 36px; height: 78px; box-shadow: 0 6px 16px rgba(11,45,85,.06);
	transition: box-shadow .2s ease, transform .2s ease;
}
.partner-logo-card:hover { box-shadow: 0 10px 26px rgba(11,45,85,.12); transform: translateY(-2px); }
a.partner-logo-card { color: inherit; text-decoration: none; }
.partner-logo-card:focus-visible, .partner-top > a:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.partner-logo-card img { max-height: 30px; max-width: 130px; width: auto; height: auto; display: block; }
.partner-logo-card-lg { padding: 18px 42px; }
.partner-logo-card-lg img { max-height: 36px; max-width: 160px; }
.partner-logo-card-optima { padding: 12px 36px; }
.partner-logo-card-optima img { max-height: 50px; max-width: 150px; }

/* Second row — further partners (smaller, equal-width cards) */
.partner-logo-grid-secondary { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; max-width: 1080px; margin: 20px auto 0; }
.partner-logo-grid-secondary .partner-logo-card { height: 72px; padding: 12px 18px; box-shadow: none; }
.partner-logo-grid-secondary .partner-logo-card:hover { box-shadow: 0 10px 26px rgba(11,45,85,.10); }
.partner-logo-grid-secondary .partner-logo-card img { max-height: 28px; max-width: 100%; }
.partner-logo-grid-secondary .partner-logo-card-tall img { max-height: 46px; }
@media (max-width: 900px) {
	.partner-logo-grid-secondary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.partner-logo-grid { gap: 14px; }
	.partner-logo-card { padding: 12px 22px; height: 58px; }
	.partner-logo-card img { max-height: 22px; }
	.partner-logo-card-lg img { max-height: 26px; }
	.partner-logo-card-optima { padding: 8px 22px; }
	.partner-logo-card-optima img { max-height: 38px; }
	.partner-logo-grid-secondary { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.partner-logo-grid-secondary .partner-logo-card { height: 62px; padding: 10px 14px; }
	.partner-logo-grid-secondary .partner-logo-card img { max-height: 24px; }
	.partner-logo-grid-secondary .partner-logo-card-tall img { max-height: 40px; }
}

/* ---------- Section heading pattern (01 Kategorie / Co za tím stojí.) ---------- */
.section { padding: 80px 0; }
.section-tint { background: var(--tint); }
.section-label { font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--red); letter-spacing: .05em; text-transform: uppercase; margin-bottom: 10px; }
.section h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; color: var(--navy); margin: 0 0 16px; max-width: 700px; }
.section .section-intro { color: var(--grey); max-width: 620px; margin-bottom: 40px; }

/* ---------- Numbered eyebrow variant (01 —— Label) ---------- */
.section-label-split { display: flex; align-items: center; gap: 12px; }
.section-label-split .num { color: var(--red); }
.section-label-split .rule { width: 28px; height: 1px; background: var(--border); flex-shrink: 0; }
.section-label-split .label-text { color: var(--grey); }

/* ---------- Section header with right-aligned intro (heading left, copy right) ---------- */
.section-header-split { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; margin-bottom: 40px; }
.section-header-split .section-header-main { flex: 1; min-width: 280px; }
.section-header-split .section-header-main h2 { margin-bottom: 0; }
.section-header-split .section-intro-side { max-width: 420px; color: var(--grey); text-align: right; margin: 0; }
@media (max-width: 760px) {
	.section-header-split { flex-direction: column; align-items: flex-start; }
	.section-header-split .section-intro-side { text-align: left; }
}

/* ---------- Category / card grid ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.card {
	border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; background: var(--white);
	transition: box-shadow .15s ease, transform .15s ease;
}
.card:hover { box-shadow: 0 8px 24px rgba(11,45,85,.08); transform: translateY(-2px); }
.card h3 { color: var(--navy); margin: 0 0 10px; font-size: 20px; }
.card p { color: var(--grey); font-size: 14px; margin: 0 0 18px; }
.card .card-link { color: var(--red); font-weight: 700; font-size: 13px; letter-spacing: .02em; }

/* ---------- Media card — large photo with blue gradient (Dvě cesty, Zpracování na míru) ---------- */
.media-card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.media-card {
	position: relative; isolation: isolate; overflow: hidden;
	display: flex; flex-direction: column; justify-content: flex-end;
	min-height: 580px; padding: 40px 40px 34px;
	border-radius: 16px; background: #0e2c5e; color: var(--white);
}
.media-card-img {
	position: absolute; inset: 0; z-index: -2;
	width: 100%; height: 100%; object-fit: cover;
	transition: transform .6s ease;
}
.media-card::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(180deg, rgba(14,44,94,.42) 0%, rgba(14,44,94,.72) 50%, rgba(14,44,94,.98) 100%);
}
.media-card:hover .media-card-img { transform: scale(1.05); }
.media-card h3 {
	color: var(--white); font-size: clamp(1.7rem, 2.6vw, 2.5rem); font-weight: 600;
	line-height: 1.12; letter-spacing: -0.01em; margin: 0 0 20px; max-width: 520px;
}
.media-card p { color: rgba(255,255,255,.9); font-size: 16px; line-height: 1.55; margin: 0; max-width: 480px; }
.media-card-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.media-card-list li { position: relative; padding-left: 22px; font-size: 16px; font-weight: 600; }
.media-card-list li::before { content: "+"; position: absolute; left: 0; top: -1px; color: var(--red); font-weight: 800; }
.media-card-link {
	display: flex; align-items: center; gap: 8px;
	margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.35);
	font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
}
.media-card-link .arrow { display: inline-block; transition: transform .2s ease; }
.media-card:hover .media-card-link .arrow { transform: translateX(5px); }
@media (max-width: 860px) {
	.media-card-grid { grid-template-columns: 1fr; }
	.media-card { min-height: 460px; padding: 28px 26px 26px; }
}

/* ---------- CTA banner (Hledáte konkrétní produkt?) ---------- */
.cta-banner {
	background-color: #0b3468;
	background-image: url('../img/pattern-stripes.svg'), linear-gradient(100deg, #0b3468 0%, #144a8a 100%);
	color: var(--white); padding: 64px 0; border-bottom: 3px solid var(--red);
}
.cta-banner .container { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-banner h2 {
	font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; line-height: 1.08; letter-spacing: -0.015em;
	color: var(--white); margin: 0; max-width: 760px;
}
.cta-banner h2 em {
	color: inherit; font-style: normal;
	text-decoration: underline; text-decoration-color: var(--red);
	text-decoration-thickness: 3px; text-underline-offset: 7px;
}
.cta-banner .cta-sub { color: rgba(255,255,255,.72); font-size: 14px; font-weight: 500; max-width: 320px; margin: 0; text-align: right; }
.cta-banner-right { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }
@media (max-width: 760px) {
	.cta-banner { padding: 48px 0; }
	.cta-banner-right { align-items: flex-start; }
	.cta-banner .cta-sub { text-align: left; }
}

/* ---------- Stats/values (P/01, V/01 pattern) ---------- */
.value-grid, .partner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
@media (max-width: 860px) {
	.value-grid, .partner-grid { grid-template-columns: 1fr; }
}

/* Flexible (non-bordered) variant — for grids whose item count isn't fixed at 3, e.g. the 4-step Postup grid */
.value-grid.value-grid-flex { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
@media (max-width: 860px) {
	.value-grid.value-grid-flex { grid-template-columns: 1fr; }
}

/* Bordered, edge-to-edge card grid (Hodnoty / Hlavní partneři) */
.bordered-grid { border: 1px solid var(--border); background: var(--white); }
.bordered-grid > div { padding: 40px 36px; border-left: 1px solid var(--border); }
.bordered-grid > div:first-child { border-left: none; }
@media (max-width: 860px) {
	.bordered-grid > div { border-left: none; border-top: 1px solid var(--border); }
	.bordered-grid > div:first-child { border-top: none; }
}

/* ---------- Spec bar (full-width technical parameters strip) ---------- */
.spec-bar { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--border); background: var(--white); }
.spec-bar > div { padding: 26px 24px; border-left: 1px solid var(--border); display: flex; flex-direction: column; gap: 8px; }
.spec-bar > div:first-child { border-left: none; }
.spec-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--grey); }
.spec-value { font-size: 15px; font-weight: 700; color: var(--navy); line-height: 1.3; }
@media (max-width: 760px) {
	.spec-bar { grid-template-columns: repeat(2, 1fr); }
	.spec-bar > div { border-left: none; border-top: 1px solid var(--border); }
	.spec-bar > div:nth-child(-n+2) { border-top: none; }
}

.value-item .tag { font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--red); letter-spacing: .05em; display: block; margin-bottom: 22px; }
.value-item h4 { font-size: 19px; font-weight: 800; color: var(--ink); margin: 0 0 10px; }
.value-item p { color: var(--grey); font-size: 14px; line-height: 1.55; margin: 0; }

.partner-item { border-top: 3px solid var(--navy); }
.partner-item .tag { font-family: var(--font-mono); font-size: 12px; color: var(--grey); letter-spacing: .05em; display: block; text-align: right; margin-bottom: 20px; }
.partner-item .pct { font-size: 2.8rem; font-weight: 800; line-height: 1; color: var(--navy); margin-bottom: 10px; }
.partner-item h4 { font-size: 19px; font-weight: 800; color: var(--ink); margin: 0 0 10px; }
.partner-item p { color: var(--grey); font-size: 14px; line-height: 1.55; margin: 0; }
.partner-item-optima { border-top-color: var(--red); }
.partner-item-optima .pct { color: var(--red); }
.partner-item-starcke { border-top-color: var(--ink); }
.partner-item-starcke .pct { color: var(--ink); }
.partner-item .pct { font-size: clamp(3.8rem, 6vw, 5.5rem); font-weight: 900; letter-spacing: -0.04em; margin-bottom: 14px; }
.partner-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 46px; margin-bottom: 24px; }
.partner-top .tag { margin: 0; }
.partner-top > a { display: inline-flex; max-width: 70%; border-radius: 4px; }
.partner-top > a .partner-logo { max-width: 100%; }
.partner-logo { height: 32px; width: auto; max-width: 70%; display: block; }
.partner-item-starcke .partner-logo { height: 20px; }
.partner-item-optima .partner-logo { height: 46px; }

/* Value cards (O společnosti > Co za tím stojí) */
.value-grid.value-cards { gap: 24px; border: 0; background: transparent; }
.value-grid.value-cards > .value-item { background: var(--white); border: 1px solid #d9e0ea; border-top: 4px solid var(--navy); border-radius: 12px; padding: 36px 32px 38px; box-shadow: 0 14px 34px rgba(11,45,85,.10); transition: transform .2s ease, box-shadow .2s ease, border-top-color .2s ease; }
.value-grid.value-cards > .value-item:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(11,45,85,.16); border-top-color: var(--red); }
.value-cards .value-item .tag { margin-bottom: 26px; }
.value-cards .value-item h4 { font-size: 22px; margin-bottom: 12px; }
.value-cards .value-item p { font-size: 15.5px; line-height: 1.65; color: #4a5568; }
@media (prefers-reduced-motion: reduce) { .value-grid.value-cards > .value-item { transition: none; } .value-grid.value-cards > .value-item:hover { transform: none; } }

/* ---------- Split row (image + text, alternating) ---------- */
.split-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-row h2 { margin-top: 0; }
.split-media { border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 44px rgba(11,45,85,.14); min-height: 340px; }
.split-media img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 340px; }
@media (max-width: 900px) {
	.split-row { grid-template-columns: 1fr; gap: 28px; }
	.split-row.reverse .split-media { order: 0; }
	.split-media, .split-media img { min-height: 240px; }
}

/* ---------- Spotlight row (product photo + text, for clean studio shots) ---------- */
.spotlight-row { display: flex; gap: 40px; align-items: center; flex-wrap: wrap; }
.spotlight-media {
	width: 260px; height: 260px; flex-shrink: 0; padding: 20px;
	background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
	box-shadow: 0 20px 44px rgba(11,45,85,.1);
	display: flex; align-items: center; justify-content: center;
}
.spotlight-media img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.spotlight-body { flex: 1; min-width: 280px; }
@media (max-width: 640px) {
	.spotlight-media { width: 180px; height: 180px; }
}

/* ---------- Certs ---------- */
.cert-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.cert-card {
	position: relative; display: flex; flex-direction: column;
	background: var(--white); border: 1px solid #c8c9cc; border-radius: var(--radius); padding: 28px 24px;
	transition: transform .2s, box-shadow .2s, border-color .2s;
}
.cert-card:hover { transform: translateY(-4px); border-color: #135198; box-shadow: 0 8px 24px rgba(19,81,152,.12); }
.cert-card .tag { font-family: var(--font-mono); font-size: 11px; color: var(--grey); }
.cert-card h4 { margin: 8px 0; color: var(--navy); font-size: 16px; }
.cert-card p { font-size: 13px; color: var(--grey); margin: 0 0 12px; }
.cert-card a { font-size: 13px; font-weight: 700; color: var(--red); }

/* ---------- Data table (Údaje / Kontaktní osoby) ---------- */
.data-list { list-style: none; margin: 0; padding: 0; }
.data-list li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.data-list li span:first-child { color: var(--grey); }
.data-list li span:last-child { font-weight: 600; color: var(--navy); }

/* ---------- Contact page ---------- */
.contact-cards-section { padding: 56px 0 64px; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact-card { background: var(--white); border: 1px solid #d9e0ea; border-top: 4px solid var(--navy); border-radius: 12px; padding: 28px 28px 26px; box-shadow: 0 14px 34px rgba(11,45,85,.08); display: flex; flex-direction: column; }
.contact-card-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--tint); color: var(--navy); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.contact-card h3 { font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--red); margin: 0 0 10px; }
.contact-card-main { font-size: 17px; line-height: 1.6; color: var(--ink); margin: 0; }
.contact-card-main a { display: block; color: var(--navy); font-weight: 600; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: color .15s ease, text-decoration-color .15s ease; }
.contact-card-main a:hover { color: var(--red); text-decoration-color: currentColor; }
.contact-card-main .contact-card-big { font-size: 22px; font-weight: 800; letter-spacing: -.01em; margin-bottom: 4px; }
.contact-card-meta { margin: auto 0 0; padding-top: 14px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .02em; color: var(--grey); }
.contact-card .data-list { margin-top: 2px; }
.contact-card .data-list li { padding: 8px 0; font-size: 15px; }
.contact-card .data-list li:first-child { padding-top: 0; }
.contact-card .data-list li:last-child { border-bottom: none; padding-bottom: 0; }

.contact-main-section { padding: 72px 0; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; align-items: stretch; }
.contact-form-card { background: var(--white); border: 1px solid #d9e0ea; border-radius: 12px; padding: 40px; box-shadow: 0 14px 34px rgba(11,45,85,.08); }
.contact-form-card h2 { font-size: clamp(1.6rem, 2.4vw, 2rem); margin: 4px 0 8px; color: var(--navy); }
.contact-form-lead { color: var(--grey); margin: 0 0 26px; max-width: 56ch; }
.contact-side { display: flex; flex-direction: column; gap: 24px; }
.map-frame { flex: 1; min-height: 340px; border-radius: 12px; overflow: hidden; border: 1px solid #d9e0ea; box-shadow: 0 14px 34px rgba(11,45,85,.08); background: var(--white); }
.map-frame iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }
.map-consent { height: 100%; min-height: 340px; padding: 32px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: var(--tint); }
.map-consent h3 { font-size: 18px; margin: 0 0 8px; color: var(--navy); }
.map-consent p { font-size: 13.5px; color: var(--grey); max-width: 38ch; margin: 0 0 18px; }
.map-consent p a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.map-consent .btn { margin-bottom: 14px; }
.map-consent-link { font-size: 13px; font-weight: 600; color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.map-consent-link:hover, .map-consent p a:hover { color: var(--red); }
.contact-note { background: var(--navy); color: var(--white); border-radius: 12px; padding: 28px; }
.contact-note h3 { font-size: 18px; margin: 0 0 8px; }
.contact-note p { font-size: 14px; color: #c7d2e3; margin: 0 0 16px; }
.contact-note-link { display: block; width: fit-content; color: var(--white); font-weight: 700; font-size: 16px; text-decoration: underline; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 4px; transition: text-decoration-color .15s ease; }
.contact-note-link + .contact-note-link { margin-top: 6px; }
.contact-note-link:hover { text-decoration-color: var(--red); }

.contact-people-section { padding: 72px 0 80px; }
.contact-people-title { font-size: clamp(1.6rem, 2.4vw, 2rem); margin: 4px 0 28px; color: var(--navy); }
.people-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.person-card { border: 1px solid var(--border); border-radius: 12px; padding: 24px; background: var(--white); display: flex; flex-direction: column; transition: border-color .18s ease, box-shadow .18s ease; }
.person-card:hover { border-color: #c5d3e6; box-shadow: 0 10px 26px rgba(11,45,85,.10); }
.person-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: var(--white); font-weight: 800; font-size: 15px; letter-spacing: .02em; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.person-card h3 { font-size: 17px; margin: 0 0 4px; color: var(--navy); }
.person-role { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--grey); margin: 0 0 16px; }
.person-card a { font-size: 14.5px; font-weight: 600; color: var(--ink); word-break: break-word; transition: color .15s ease; }
.person-card a:first-of-type { font-size: 17px; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.person-card a:hover { color: var(--red); }

@media (max-width: 1100px) {
	.people-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
	.contact-cards { grid-template-columns: 1fr; }
	.contact-card-meta { margin-top: 0; }
	.contact-grid { grid-template-columns: 1fr; }
	.map-frame, .map-frame iframe { min-height: 320px; }
}
@media (max-width: 600px) {
	.contact-cards-section { padding: 36px 0 44px; }
	.contact-main-section, .contact-people-section { padding: 48px 0; }
	.contact-form-card { padding: 24px 20px; }
	.people-grid { grid-template-columns: 1fr; }
}

/* ---------- Form ---------- */
form.comtek-form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.comtek-form label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.comtek-form input, .comtek-form select, .comtek-form textarea {
	width: 100%; padding: 12px 14px; border: 1px solid #cdd6e3; border-radius: 6px; background: var(--white); color: var(--ink);
	font-family: var(--font-main); font-size: 15px; transition: border-color .15s ease, box-shadow .15s ease;
}
.comtek-form input:hover, .comtek-form select:hover, .comtek-form textarea:hover { border-color: #aebbd0; }
.comtek-form input:focus, .comtek-form select:focus, .comtek-form textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(19,81,152,.14); }
.comtek-form select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23135198' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.comtek-form textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
#poptavka { scroll-margin-top: 110px; }
.inquiry-product { display: flex; align-items: center; gap: 14px; padding: 12px 14px; margin-bottom: 20px; background: var(--tint); border: 1px solid #c5d3e6; border-left: 4px solid var(--red); border-radius: var(--radius); }
.inquiry-product img { width: 56px; height: 56px; flex-shrink: 0; object-fit: contain; background: var(--white); border-radius: 6px; padding: 4px; }
.inquiry-product > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.inquiry-product strong { font-size: 14px; line-height: 1.3; color: var(--navy); }
.inquiry-label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); }
.inquiry-sku { font-family: var(--font-mono); font-size: 12px; color: var(--grey); }
.inquiry-product > a { flex-shrink: 0; font-size: 13px; font-weight: 600; color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.inquiry-product > a:hover { color: var(--red); }
.comtek-form .gdpr-row { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; font-weight: 400; color: var(--grey); margin: 0; cursor: pointer; }
.comtek-form .gdpr-row a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.comtek-form .gdpr-row a:hover { color: var(--red); }
.comtek-form .gdpr-row input { width: 18px; height: 18px; margin: 1px 0 0; flex-shrink: 0; padding: 0; accent-color: var(--navy); }
.comtek-form .btn { width: 100%; justify-content: center; padding: 16px 24px; }
.form-notice { padding: 14px 16px; border-radius: 6px; font-size: 14.5px; margin-bottom: 20px; border-left: 4px solid; }
.form-notice.ok { background: #e7f6ec; color: #1a7a3b; border-left-color: #1a7a3b; }
.form-notice.err { background: #fdeaea; color: var(--red-dark); border-left-color: var(--red); }
.honeypot-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Product catalog (Nabídka) ---------- */
.catalog-hero { padding-bottom: 32px; }
.catalog-hero .eyebrow { display: flex; align-items: center; gap: 8px; }

/* Catalog search bar + live suggestions */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.catalog-search { position: relative; display: flex; gap: 12px; margin-bottom: 32px; }
.catalog-search-field { position: relative; flex: 1; min-width: 0; display: flex; align-items: center; background: var(--white); border: 1.5px solid #cfd8e6; border-radius: 12px; box-shadow: 0 6px 18px rgba(11,45,85,.06); transition: border-color .15s ease, box-shadow .15s ease; }
.catalog-search-field:focus-within { border-color: var(--navy); box-shadow: 0 0 0 4px rgba(19,81,152,.14), 0 10px 26px rgba(11,45,85,.10); }
.catalog-search-icon { position: absolute; left: 18px; color: var(--navy); pointer-events: none; }
.catalog-search input[type="search"] { flex: 1; min-width: 0; width: 100%; height: 56px; border: none; background: transparent; padding: 0 84px 0 52px; font-size: 16px; font-family: var(--font-main); color: var(--ink); -webkit-appearance: none; appearance: none; }
.catalog-search input[type="search"]:focus { outline: none; }
.catalog-search input[type="search"]::placeholder { color: #7a8494; }
.catalog-search input[type="search"]::-webkit-search-cancel-button,
.catalog-search input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; display: none; }
.catalog-search-clear { position: absolute; right: 12px; width: 32px; height: 32px; border: none; border-radius: 50%; background: var(--tint); color: var(--navy); font-size: 20px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0 0 2px; transition: background .15s ease, color .15s ease; }
.catalog-search-clear:hover { background: var(--navy); color: var(--white); }
.catalog-search-clear[hidden] { display: none; }
.catalog-search-spinner { position: absolute; right: 52px; width: 18px; height: 18px; border: 2px solid #cfd8e6; border-top-color: var(--navy); border-radius: 50%; opacity: 0; pointer-events: none; }
.catalog-search.is-busy .catalog-search-spinner { opacity: 1; animation: comtek-spin .7s linear infinite; }
@keyframes comtek-spin { to { transform: rotate(360deg); } }
.catalog-search-submit { height: 56px; padding: 0 30px; border-radius: 12px; }

.catalog-suggest { position: absolute; z-index: 60; left: 0; right: 0; top: calc(100% + 8px); background: var(--white); border: 1px solid #cfd8e6; border-radius: 14px; box-shadow: 0 24px 54px rgba(11,45,85,.20); overflow: hidden; }
.catalog-suggest[hidden], .catalog-suggest-foot[hidden] { display: none; }
.catalog-suggest-list { max-height: min(70vh, 640px); overflow-y: auto; padding: 8px; }
.catalog-suggest-item { display: flex; align-items: center; gap: 14px; padding: 8px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; }
.catalog-suggest-item.is-active { background: var(--tint); }
.catalog-suggest-thumb { flex: none; width: 48px; height: 48px; border: 1px solid var(--border); border-radius: 8px; background: var(--white); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.catalog-suggest-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.catalog-suggest-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.catalog-suggest-title { font-size: 14.5px; font-weight: 600; line-height: 1.35; color: var(--navy); }
.catalog-suggest-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; font-size: 12px; color: var(--grey); }
.catalog-suggest-sku { font-family: var(--font-mono); letter-spacing: .02em; }
.catalog-suggest-cat { font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--red-dark); }
.catalog-suggest-arrow { flex: none; color: var(--navy); font-weight: 700; opacity: 0; transform: translateX(-4px); transition: opacity .15s ease, transform .15s ease; }
.catalog-suggest-item.is-active .catalog-suggest-arrow { opacity: 1; transform: none; }
.catalog-suggest mark { background: rgba(228,30,34,.14); color: inherit; border-radius: 3px; padding: 0 1px; }
.catalog-suggest-foot { border-top: 1px solid var(--border); background: var(--tint); }
.catalog-suggest-all { display: block; width: 100%; padding: 14px 20px; border: none; background: transparent; font: inherit; font-size: 13.5px; font-weight: 700; color: var(--navy); text-align: left; cursor: pointer; }
.catalog-suggest-all:hover, .catalog-suggest-all:focus-visible { background: var(--navy); color: var(--white); outline: none; }
.catalog-suggest-empty { padding: 22px 20px; font-size: 14px; line-height: 1.6; color: var(--grey); }
.catalog-suggest-empty a { color: var(--red-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.catalog-result-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; align-items: center; margin: -12px 0 28px; padding: 14px 18px; background: var(--tint); border-radius: 10px; font-size: 14px; color: var(--ink); }
.catalog-result-bar a { font-weight: 700; color: var(--navy); }
.catalog-result-bar a:hover { color: var(--red); }
@media (max-width: 560px) {
	.catalog-search { gap: 8px; }
	.catalog-search-submit { padding: 0 18px; }
	.catalog-search input[type="search"] { font-size: 16px; padding-left: 46px; }
	.catalog-search-icon { left: 15px; }
	.catalog-suggest-thumb { width: 44px; height: 44px; }
	.catalog-suggest-arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) { .catalog-search.is-busy .catalog-search-spinner { animation-duration: 1.6s; } .catalog-suggest-arrow { transition: none; } }

.catalog-layout { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: start; }
@media (max-width: 900px) { .catalog-layout { grid-template-columns: 1fr; } }

/* The sidebar column is as tall as the product grid; the promo box scrolls away with the page and only the
   category list sticks, right below the sticky header (--header-h is measured in main.js, incl. the admin bar).
   If the list were ever taller than the visible area it scrolls inside itself, so nothing hides under the header. */
.catalog-sidebar { align-self: stretch; }
.cat-nav {
	position: sticky; top: calc(var(--header-h, 92px) + 20px);
	max-height: calc(100vh - var(--header-h, 92px) - 40px);
	max-height: calc(100svh - var(--header-h, 92px) - 40px);
	overflow-y: auto; overscroll-behavior: contain;
	scrollbar-width: thin; scrollbar-color: rgba(11,45,85,.25) transparent;
}
@media (max-width: 900px) { .cat-nav { position: static; max-height: none; overflow: visible; } }
.promo-box { background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 24px; margin-bottom: 24px; }
.promo-box .tag { font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,.72); letter-spacing: .08em; }
.promo-box h3 { font-size: 17px; margin: 8px 0 10px; }
.promo-box p { font-size: 13px; color: #c7d2e3; margin: 0 0 18px; }
.promo-box .btn { width: 100%; justify-content: center; font-size: 12px; }
.promo-box .promo-meta { display: block; margin-top: 10px; text-align: center; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.6); }

.cat-nav-group { margin-bottom: 4px; }
.cat-nav-heading { background: var(--navy); color: var(--white); font-family: var(--font-mono); font-size: 11px; letter-spacing: .05em; padding: 10px 14px; }
.cat-nav-list { list-style: none; margin: 0 0 4px; padding: 0; border: 1px solid var(--border); border-top: none; }
.cat-nav-list li a { display: flex; justify-content: space-between; padding: 10px 14px; font-size: 14px; color: var(--ink); border-bottom: 1px solid var(--border); }
.cat-nav-list li:last-child a { border-bottom: none; }
.cat-nav-list li a:hover, .cat-nav-list li a.active { color: var(--red); }
.cat-nav-list .count { color: var(--grey); font-size: 13px; }

.product-filters { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.product-filters a { padding: 8px 16px; border: 1px solid var(--border); border-radius: 999px; font-size: 13px; font-weight: 600; }
.product-filters a.active, .product-filters a:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.product-card { position: relative; display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--white); transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease; }
.product-card:hover, .product-card:focus-within { box-shadow: 0 10px 26px rgba(11,45,85,.12); transform: translateY(-2px); border-color: #c5d3e6; }
.product-card .thumb { aspect-ratio: 4 / 3; background: var(--tint); display: flex; align-items: center; justify-content: center; padding: 14px; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .25s ease; }
.product-card:hover .thumb img { transform: scale(1.04); }
.product-card .thumb-empty { color: var(--grey); font-size: 12px; }
.product-card .body { display: flex; flex-direction: column; flex: 1; padding: 16px; }
.product-card h4 { font-size: 14.5px; line-height: 1.35; margin: 0 0 10px; color: var(--navy); min-height: 2.7em; }
.product-card .product-card-link { color: inherit; text-decoration: none; }
.product-card .product-card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.product-card .product-card-link:focus-visible { outline: none; }
.product-card:has(.product-card-link:focus-visible) { outline: 2px solid var(--navy); outline-offset: 2px; }
.product-card .code-row { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; margin-bottom: 12px; }
.product-card .sku { font-size: 11.5px; color: var(--grey); font-family: var(--font-mono); background: var(--tint); padding: 3px 8px; border-radius: 4px; letter-spacing: .01em; }
.product-card .brand { font-family: var(--font-mono); font-size: 10.5px; color: var(--grey); text-transform: uppercase; letter-spacing: .06em; }
.product-card .meta { border-top: 1px solid var(--border); padding-top: 10px; margin-bottom: 14px; }
.product-card .meta-row { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; margin-bottom: 5px; }
.product-card .meta-row:last-child { margin-bottom: 0; }
.product-card .meta-row span { color: var(--grey); }
.product-card .meta-row strong { color: var(--ink); text-align: right; font-weight: 600; }
.product-card .product-card-cta { position: relative; z-index: 2; margin-top: auto; align-self: stretch; justify-content: center; text-align: center; padding: 10px 16px; font-size: 13px; }
.product-card .product-card-cta .arrow { display: inline-block; transition: transform .2s ease; }
.product-card .product-card-cta:hover .arrow { transform: translateX(3px); }
.product-card .tag-badge { display: inline-block; margin-top: 8px; font-size: 11px; font-weight: 700; letter-spacing: .03em; padding: 4px 10px; border: 1px solid var(--navy); color: var(--navy); border-radius: 3px; background: var(--tint); }
.product-empty { padding: 60px 24px; text-align: center; color: var(--grey); border: 1px dashed var(--border); border-radius: var(--radius); grid-column: 1 / -1; }

/* ---------- Catalogues of other brands (Nabídka) ---------- */
.promo-box .promo-more { display: block; margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.18); text-align: center; font-size: 13px; font-weight: 600; color: var(--white); text-decoration: none; }
.promo-box .promo-more:hover { text-decoration: underline; text-underline-offset: 3px; }
.promo-box .promo-more + .promo-more { margin-top: 10px; padding-top: 0; border-top: 0; }
.promo-box .promo-more:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }

.dl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.dl-card { background: var(--white); border: 1px solid var(--border); border-top: 3px solid var(--navy); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.dl-logo { height: 44px; display: flex; align-items: center; }
.dl-logo img { max-height: 36px; max-width: 150px; width: auto; height: auto; }
.dl-desc { margin: 0; font-size: 14px; color: var(--grey); min-height: 4.5em; }
.dl-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.dl-link { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius); color: var(--ink); text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.dl-link:hover { border-color: var(--navy); box-shadow: 0 8px 20px rgba(11,45,85,.10); transform: translateY(-1px); }
.dl-link:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.dl-icon { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; background: var(--tint); color: var(--navy); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; line-height: 1; transition: background .2s ease, color .2s ease; }
.dl-link.is-pdf .dl-icon { background: var(--red); color: var(--white); }
.dl-link:hover .dl-icon { background: var(--navy); color: var(--white); }
.dl-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dl-title { font-size: 14px; font-weight: 600; color: var(--navy); line-height: 1.35; }
.dl-meta { font-family: var(--font-mono); font-size: 11px; letter-spacing: .02em; color: var(--grey); }
.dl-note { margin: 28px 0 0; font-size: 13px; color: var(--grey); max-width: 820px; }
.dl-note a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1100px) { .dl-grid { grid-template-columns: repeat(2, 1fr); } .dl-desc { min-height: 0; } }
@media (max-width: 640px) { .dl-grid { grid-template-columns: 1fr; } .dl-card { padding: 20px; } }
@media (prefers-reduced-motion: reduce) { .dl-link, .dl-link:hover { transition: none; transform: none; } }

/* ---------- Single product ---------- */
.single-product-layout { display: grid; grid-template-columns: 420px 1fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .single-product-layout { grid-template-columns: 1fr; } }
.single-product-layout .thumb { background: var(--tint); border-radius: var(--radius); overflow: hidden; position: sticky; top: calc(var(--header-h, 92px) + 20px); }
.single-product-layout .thumb img { width: 100%; height: auto; display: block; }
@media (max-width: 860px) { .single-product-layout .thumb { position: static; } }

/* ---------- Footer ---------- */
.comtek-footer { background: linear-gradient(180deg, #0e3d72 0%, #0a2d58 100%); color: rgba(255,255,255,.78); padding: 64px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: #fff; margin: 0 0 18px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 9px; font-size: 14px; }
.footer-grid li a { color: rgba(255,255,255,.78); transition: color .15s ease; }
.footer-grid li a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.footer-about img { height: 34px; width: auto; margin-bottom: 16px; }
.footer-about p { font-size: 13px; color: rgba(255,255,255,.7); max-width: 320px; }
.footer-legal { display: inline-flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a { color: rgba(255,255,255,.78); text-decoration: underline; text-decoration-color: rgba(255,255,255,.3); text-underline-offset: 3px; transition: color .15s ease, text-decoration-color .15s ease; }
.footer-legal a:hover { color: var(--white); text-decoration-color: var(--red); }
.footer-about p + p { margin-top: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.16); padding-top: 20px; display: flex; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,.6); flex-wrap: wrap; gap: 8px; font-family: var(--font-mono); }


/* ---------- Právní stránky (Ochrana osobních údajů, Právní informace) ---------- */
.legal-section { padding: 56px 0 88px; }
.legal-content { max-width: 800px; }
.legal-meta { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--grey); margin: 0 0 20px; }
.legal-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.legal-toc a { font-size: 13px; font-weight: 600; color: var(--navy); background: var(--tint); border: 1px solid #c5d3e6; border-radius: 999px; padding: 7px 14px; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.legal-toc a:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.legal-content h2 { font-size: clamp(1.3rem, 2vw, 1.6rem); color: var(--navy); margin: 44px 0 14px; scroll-margin-top: 110px; }
.legal-content p, .legal-content li { font-size: 16px; line-height: 1.75; color: #3f4a5c; }
.legal-content p { margin: 0 0 14px; }
.legal-content ul { margin: 0 0 16px; padding-left: 1.2em; }
.legal-content li { margin-bottom: 8px; }
.legal-content a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.legal-content a:hover { color: var(--red); }
.legal-card { background: var(--white); border: 1px solid #d9e0ea; border-left: 4px solid var(--navy); border-radius: 10px; padding: 22px 26px; margin: 0 0 20px; box-shadow: 0 10px 26px rgba(11,45,85,.06); }
.legal-card h3 { font-size: 17px; color: var(--navy); margin: 0 0 14px; }
.legal-card dl { display: grid; grid-template-columns: 150px 1fr; gap: 10px 20px; margin: 0; }
.legal-card dt { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--grey); padding-top: 4px; }
.legal-card dd { margin: 0; font-size: 15px; line-height: 1.65; color: var(--ink); }
@media (max-width: 600px) {
	.legal-section { padding: 36px 0 56px; }
	.legal-card { padding: 18px 18px; }
	.legal-card dl { grid-template-columns: 1fr; gap: 2px 0; }
	.legal-card dt { padding-top: 10px; }
}
