/* ============================================================
   Kontroltech – moderný dizajn
   ============================================================ */
:root {
  --navy-900: #003063; /* modrá z loga KT */
  --navy-800: #0a3a70;
  --navy-700: #1d4f86;
  --navy-100: #e3eaf3;
  --red: #ca0000; /* červená z loga KT */
  --red-dark: #a30000;
  --ink: #15202e;
  --muted: #5b6878;
  --line: #dde3eb;
  --bg: #ffffff;
  --bg-soft: #f4f6f9;
  --ok: #1f8a4c;
  --warn: #c76a00;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(0, 48, 99, .06), 0 8px 24px rgba(0, 48, 99, .07);
  --shadow-lg: 0 2px 4px rgba(0, 48, 99, .06), 0 18px 48px rgba(0, 48, 99, .14);
  --font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
.card-img img, .split-img img, .obor img, .brand img, .footer-brand img, .map-card img, .doc img, .slides img, .notice-logo { display: block; }
a { color: var(--navy-700); }
a:hover { color: var(--red); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.015em; color: var(--navy-900); }
h1 { font-size: clamp(2rem, 4.2vw, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--mono); font-size: .78rem; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase; color: var(--red);
  margin-bottom: .8rem;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .8em 1.35em; border-radius: 999px;
  font: 600 .95rem/1 var(--font); text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); color: #fff; }
.btn-dark { background: var(--navy-900); color: #fff; }
.btn-dark:hover { background: var(--navy-700); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--navy-900); background: #fff; }
.btn-ghost:hover { border-color: var(--navy-900); color: var(--navy-900); }
.btn-light { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-light:hover { background: #fff; color: var(--navy-900); }
.btn svg { width: 1.1em; height: 1.1em; }

/* ---------- Header ---------- */
.topbar {
  background: var(--navy-900); color: #c6d2e3; font-size: .85rem;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: #ffb4b4; }
.topbar-items { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-items span { display: inline-flex; gap: 6px; align-items: center; }
.topbar svg { width: 14px; height: 14px; opacity: .7; }
@media (max-width: 760px) { .topbar .hide-sm { display: none; } }
@media (max-width: 520px) { .topbar { display: none; } }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy-900); }
.brand img { width: 66px; height: auto; }
@media (max-width: 600px) {
  .brand img { width: 56px; }
  .brand strong { font-size: 1.15rem; }
  .brand small { font-size: .85rem; }
}
.brand strong { display: block; font-size: 1.375rem; line-height: 1.15; }
.brand small { color: var(--muted); font-size: 1rem; }

.main-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: .55em .9em; border-radius: 999px; text-decoration: none;
  color: var(--ink); font-weight: 500; font-size: .95rem;
}
.main-nav a:hover { background: var(--bg-soft); color: var(--navy-900); }
.main-nav a[aria-current="page"] { color: var(--red); }
.main-nav .btn { margin-left: 8px; }
.main-nav a.btn-dark, .main-nav a.btn-dark:hover { color: #fff; background: var(--navy-900); }
.main-nav a.btn-dark:hover { background: var(--navy-700); }
.nav-toggle {
  display: none; margin-left: auto; background: none; border: 1px solid var(--line);
  border-radius: 10px; width: 44px; height: 44px; cursor: pointer; color: var(--navy-900);
}
.nav-toggle svg { width: 22px; height: 22px; }
@media (max-width: 980px) {
  .nav-toggle { display: inline-grid; place-items: center; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px 16px 18px; box-shadow: var(--shadow);
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: .8em 1em; border-radius: 10px; }
  .main-nav .btn { margin: 8px 0 0; justify-content: center; }
}

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--navy-900); color: #d5deeb; }
.section-dark h2, .section-dark h3 { color: #fff; }
/* syta cervena na tmavom pozadi – na ziadost vyraznejsia, kontrast cca 3,7:1 (cervena z loga ma len cca 2:1) */
.section-dark .eyebrow { color: #ff3b2f; font-weight: 600; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head p { margin: 0; }
@media (max-width: 600px) { .section { padding: 60px 0; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(91,104,120,.10), transparent 60%), /* jemny sedy preliv (farba textu --muted) */
    linear-gradient(180deg, #f7f9fc 0%, #fff 100%);
}
.hero::before { /* jemná mriežka – „milimetrový papier“ */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(0,48,99,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,48,99,.05) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 80px; }
/* hlavny nadpis o jeden stupen typografickej skaly (1,25 – velka tercia) vacsi ako nadpisy sekcii */
.hero h1 { font-size: clamp(2rem, 3.5vw, 2.8rem); line-height: 1.15; }
.hero h1 span { color: var(--red); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 32px; }
.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px; border-radius: 999px; background: #fff;
  border: 1px solid var(--line); font-size: .82rem; color: var(--navy-800);
}
.badge b { font-family: var(--mono); font-weight: 600; }
.badge svg { width: 15px; height: 15px; color: var(--ok); }

.slides {
  position: relative; aspect-ratio: 4 / 3.3; border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow-lg); background: var(--navy-900);
}
.slides img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.04); transition: opacity 1s ease, transform 6s ease;
}
.slides img.active { opacity: 1; transform: scale(1); }
.slides::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,48,99,.75));
}
/* Šípky: 90 % priehľadné, viditeľné pri prejdení myšou nad fotkami */
.slide-nav {
  position: absolute; top: 50%; z-index: 3; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  display: grid; place-items: center;
  background: rgba(255,255,255,.92); color: var(--navy-900); box-shadow: var(--shadow);
  opacity: .1; transition: opacity .25s, background .2s, color .2s;
}
.slide-nav svg { width: 22px; height: 22px; }
.slide-nav.prev { left: 14px; }
.slide-nav.next { right: 14px; }
.slides:hover .slide-nav, .slide-nav:focus-visible { opacity: 1; }
.slide-nav:hover { background: var(--navy-900); color: #fff; }
.slide-nav:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
@media (hover: none) { .slide-nav { opacity: .6; } }
.slide-caption {
  position: absolute; left: 20px; bottom: 18px; right: 20px; z-index: 2;
  display: flex; justify-content: space-between; align-items: end; color: #fff;
}
.slide-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 1.2rem; font-weight: 700; color: #fff; text-decoration: none;
}
.slide-link svg { width: 18px; height: 18px; transition: transform .2s; }
.slide-link:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.slide-link:hover svg { transform: translateX(3px); }
.slide-caption .label { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; opacity: .75; display: block; }
.slide-dots { display: flex; gap: 6px; }
.slide-dots button {
  width: 22px; height: 4px; border-radius: 2px; border: 0; padding: 0;
  background: rgba(255,255,255,.4); cursor: pointer; transition: background .2s, width .2s;
}
.slide-dots button.active { background: #fff; width: 34px; }
.hero-media { position: relative; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; padding-top: 40px; padding-bottom: 56px; }
}

/* ---------- Oznamy (Novinky / Akcie) ---------- */
.notices { display: grid; grid-template-columns: 1fr 1.6fr; gap: 28px; }
@media (max-width: 900px) { .notices { grid-template-columns: 1fr; } }
.notice-col h2 { font-size: 1.5rem; display: flex; align-items: center; gap: 10px; }
.notice-col h2 .count {
  font: 600 .78rem/1 var(--mono); background: var(--navy-100); color: var(--navy-800);
  padding: 5px 8px; border-radius: 999px;
}
.notice-list { display: grid; gap: 12px; }
.notice-list.grid-2 { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.notice-meta .valid { white-space: nowrap; }
.soon-flag {
  position: absolute; top: 12px; right: 12px;
  font: 600 .68rem/1 var(--mono); letter-spacing: .04em; text-transform: uppercase;
  padding: 5px 7px; border-radius: 6px; background: #fff3e0; color: var(--warn);
}
/* dlazdica akcie ako dlazdica vyrobcu: dominantne logo v strede, bez nadpisu */
.notice.notice-sale { text-align: center; padding-top: 40px; }
.notice-logo-box { display: flex; align-items: center; justify-content: center; height: 72px; }
.notice-logo-box strong { font-size: 1.375rem; color: var(--navy-900); }
/* rovnaky priestor pre kazde logo: siroke logo obmedzi sirka, kompaktne (Tesa, Mahr) vyska */
.notice-logo { width: 160px; height: 60px; object-fit: contain; object-position: center; }
.notice-sale .notice-meta { justify-content: center; }
.notice-sale p { font-size: .86rem; }
.notice {
  position: relative; display: flex; flex-direction: column; gap: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 18px 16px; text-decoration: none; color: inherit;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
a.notice:hover { border-color: var(--navy-700); box-shadow: var(--shadow); transform: translateY(-2px); color: inherit; }
.notice-tag {
  align-self: flex-start; font: 600 .7rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 8px; border-radius: 6px; background: var(--navy-100); color: var(--navy-800);
}
.notice-tag.sale { background: #fde8e8; color: var(--red-dark); }
.notice h3 { margin: 4px 0 0; font-size: 1.05rem; }
.notice p { margin: 0; color: var(--muted); font-size: .92rem; }
.notice.notice-sale h3 { font-size: 1.15rem; margin: 0; } /* vyrobca – nadpis dlazdice akcie (h3 pod h2 Akcie) */
/* vodoznak PDF so stiahnutim v pravom dolnom rohu karty s letakom */
.pdf-mark {
  position: absolute; right: 14px; bottom: 14px; display: flex; flex-direction: column; align-items: center; gap: 1px;
  color: var(--navy-900); opacity: .15; pointer-events: none; transition: opacity .2s, color .2s;
}
.pdf-mark svg { width: 20px; height: 20px; }
.pdf-mark b { font: 700 .55rem/1 var(--mono); letter-spacing: .06em; }
a.notice:hover .pdf-mark { opacity: .6; color: var(--red); }
.notice-meta {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line);
  font-size: .82rem; color: var(--muted);
}
.notice-meta .valid { font-family: var(--mono); }
.notice-empty { padding: 22px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); background: #fff; }

.notice-feature { background: var(--navy-900); border-color: var(--navy-900); color: #d5deeb; }
.notice-feature h3 { color: #fff; }
.notice-feature p { color: #b7c4d8; }
.notice-feature .notice-tag { background: rgba(255,255,255,.12); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chips a {
  font-size: .85rem; text-decoration: none; padding: 6px 11px; border-radius: 999px;
  background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.18);
}
.chips a:hover { background: #fff; color: var(--navy-900); }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .cards, .cards.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards, .cards.cols-4 { grid-template-columns: 1fr; } }
.card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: inherit; transition: box-shadow .25s, transform .25s, border-color .25s;
}
a.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: transparent; color: inherit; }
.card-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
a.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-body h3 { margin: 0; }
.card-body p { margin: 0; font-size: .92rem; color: var(--muted); }
.card-num { font: 500 .75rem/1 var(--mono); color: var(--red); letter-spacing: .06em; }
.card-arrow {
  margin-top: auto; padding-top: 12px; font-weight: 600; font-size: .9rem; color: var(--navy-700);
  display: inline-flex; align-items: center; gap: 6px;
}
a.card:hover .card-arrow { color: var(--red); }
.card-arrow svg { width: 16px; height: 16px; transition: transform .2s; }
a.card:hover .card-arrow svg { transform: translateX(3px); }

.callout {
  display: flex; gap: 16px; align-items: center; margin-top: 28px;
  padding: 18px 22px; border-radius: var(--radius); background: var(--navy-100); color: var(--navy-800);
}
.callout svg { flex: none; width: 28px; height: 28px; color: var(--navy-700); }
.callout p { margin: 0; }

/* ---------- Split / feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.split-img { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; }
.split-img img { width: 100%; height: 100%; object-fit: cover; }

.checklist { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 8px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 4px; border-radius: 50%;
  background: var(--navy-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23003063' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/11px no-repeat;
}
.section-dark .checklist li::before { background-color: rgba(255,255,255,.12); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"); }

/* ---------- Brands ---------- */
.brands { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; }
.brand-tile {
  display: grid; place-items: center; height: 88px; padding: 16px; border-radius: var(--radius-sm);
  background: #fff; border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s;
}
.brand-tile:hover { border-color: var(--navy-700); box-shadow: var(--shadow); }
.brand-tile img { max-height: 44px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .25s, opacity .25s; }
.brand-tile:hover img { filter: none; opacity: 1; }

/* ---------- Accreditation band ---------- */
.accred { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .accred { grid-template-columns: 1fr; } }
.accred-logos { display: flex; gap: 16px; flex-wrap: wrap; text-decoration: none; }
.accred-text { font-size: 1.08rem; color: #d5deeb; margin: 0; }
.accred-text a { color: #fff; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; }
.accred-text a:hover { color: #ff3b2f; } /* rovnaka syta cervena ako nadpis sekcie */
.accred-logos .tile { background: #fff; border-radius: var(--radius); padding: 14px 18px; display: grid; place-items: center; }
.accred-logos img { height: 64px; width: auto; }
.accred-num { font-family: var(--mono); color: #fff; }
.kv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
@media (max-width: 600px) { .kv { grid-template-columns: 1fr; } }
.kv div { border-left: 2px solid var(--red); padding-left: 14px; }
.kv b { display: block; font: 600 1.05rem/1.3 var(--mono); color: #fff; }
.kv span { font-size: .85rem; color: #9fb0c8; }

/* ---------- CTA ---------- */
.cta {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: center;
  padding: 44px; border-radius: 24px; color: #fff;
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700));
  position: relative; overflow: hidden;
}
.cta::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%;
  border: 40px solid rgba(202,0,0,.25);
}
.cta h2 { color: #fff; margin-bottom: .3em; }
.cta p { color: #c6d2e3; margin: 0; }
.cta-actions { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; position: relative; z-index: 1; }
.cta-actions a.phone { color: #fff; font: 600 1.35rem/1.2 var(--mono); text-decoration: none; }
.cta-actions a.phone:hover { color: #ffb4b4; }
@media (max-width: 800px) { .cta { grid-template-columns: 1fr; padding: 32px 24px; } }

/* ---------- Page header (subpages) ---------- */
.page-head { background: var(--navy-900); color: #c6d2e3; padding: 56px 0 52px; position: relative; overflow: hidden; }
.page-head::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(90deg, transparent, #000 70%);
}
.page-head .wrap { position: relative; }
.page-head h1 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
.page-head .lead { color: #b7c4d8; }
.crumbs { font-size: .85rem; margin-bottom: 14px; }
.crumbs a { color: #9fb0c8; text-decoration: none; }
.crumbs a:hover { color: #fff; }

/* ---------- Kalibrácia – obory ---------- */
.layout-side { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .layout-side { grid-template-columns: 1fr; } }
.side-nav { position: sticky; top: 100px; display: grid; gap: 2px; }
.side-nav a {
  display: flex; justify-content: space-between; padding: 9px 12px; border-radius: 8px;
  text-decoration: none; color: var(--ink); font-size: .95rem;
}
.side-nav a span { font: .75rem var(--mono); color: var(--muted); }
.side-nav a:hover, .side-nav a.active { background: var(--bg-soft); color: var(--red); }
@media (max-width: 900px) {
  .side-nav { position: static; display: flex; overflow-x: auto; gap: 6px; padding-bottom: 6px; }
  .side-nav a { white-space: nowrap; border: 1px solid var(--line); border-radius: 999px; }
  .side-nav a span { display: none; }
}
.obor {
  display: grid; grid-template-columns: 260px 1fr; gap: 28px; padding: 28px;
  border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 20px; background: #fff;
}
.obor img { border-radius: 10px; aspect-ratio: 1; object-fit: cover; width: 100%; }
.obor ul { columns: 2; column-gap: 28px; margin: 0; padding-left: 1.1em; color: var(--ink); }
.obor li { margin-bottom: 4px; break-inside: avoid; }
.obor li::marker { color: var(--red); }
@media (max-width: 700px) { .obor { grid-template-columns: 1fr; padding: 20px; } .obor img { aspect-ratio: 16/9; } .obor ul { columns: 1; } }

/* ---------- Documents ---------- */
.docs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 760px) { .docs { grid-template-columns: 1fr; } }
.doc {
  display: grid; grid-template-columns: 150px 1fr; gap: 24px; padding: 24px;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff; align-items: center;
}
.doc img { border-radius: 6px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.doc .size { font: .8rem var(--mono); color: var(--muted); display: block; margin-bottom: 14px; }
@media (max-width: 480px) { .doc { grid-template-columns: 1fr; } .doc img { max-width: 160px; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.info-cards { display: grid; gap: 14px; }
.info-card { display: flex; gap: 16px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.info-card .ico { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--navy-100); color: var(--navy-700); }
.info-card .ico svg { width: 22px; height: 22px; }
.info-card h3 { margin: 0 0 4px; font-size: 1rem; }
.info-card p { margin: 0; }
.info-card a { text-decoration: none; font-weight: 500; }
.info-card .phone-row { display: flex; justify-content: space-between; gap: 12px; font-family: var(--mono); }
.info-card .phone-row small { font-family: var(--font); color: var(--muted); }

.form { padding: 32px; border-radius: 20px; background: var(--bg-soft); border: 1px solid var(--line); }
.form h2 { font-size: 1.5rem; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } .form { padding: 22px; } }
.field label { font-weight: 600; font-size: .88rem; color: var(--navy-900); }
.field input, .field textarea, .field select {
  font: inherit; padding: 12px 14px; border-radius: 10px; border: 1px solid #c9d2de; background: #fff; color: var(--ink);
}
.field input:focus, .field textarea:focus { outline: 3px solid rgba(0,48,99,.18); border-color: var(--navy-700); }
.field textarea { min-height: 140px; resize: vertical; }
.field input[type=file] { padding: 10px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.route { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .route { grid-template-columns: 1fr; gap: 28px; } }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.steps li { counter-increment: step; position: relative; padding-left: 40px; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; background: var(--navy-900); color: #fff;
  font: 600 .8rem/1 var(--mono);
}
.map-card {
  position: relative; display: block; border-radius: 20px; overflow: hidden;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.map-card img { width: 100%; height: auto; transition: transform .5s ease; }
.map-card:hover img { transform: scale(1.02); }
.map-hint {
  position: absolute; right: 14px; bottom: 14px;
  padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: .88rem;
  background: var(--navy-900); color: #fff; box-shadow: var(--shadow);
  transition: background .2s;
}
.map-card:hover .map-hint { background: var(--red); }

.biz { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 0; font-size: .92rem; }
.biz dt { color: var(--muted); white-space: nowrap; }
.biz dd { margin: 0; font-family: var(--mono); }

/* ---------- Footer ---------- */
.site-footer { background: #00234a; color: #9fb0c8; padding: 64px 0 28px; font-size: .92rem; }
.site-footer a { color: #d5deeb; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; font-family: var(--mono); font-weight: 500; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { width: 46px; background: #fff; border-radius: 10px; padding: 4px; }
.footer-brand strong { color: #fff; font-size: 1.05rem; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; }
.mono { font-family: var(--mono); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .slides img { transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Kontaktný formulár – hlásenia z kontakt-odoslanie.php ---------- */
.alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 18px; font-weight: 500; }
.alert-success { background: #e6f4ec; color: #17633a; border: 1px solid #b9e0c8; }
.alert-danger { background: #fde8e8; color: var(--red-dark); border: 1px solid #f5c2c2; }
.field input.is-invalid, .field textarea.is-invalid { border-color: var(--red); }
.invalid-feedback { color: var(--red-dark); font-size: .86rem; }

/* ---------- Predaj meradiel – katalógy ---------- */
.card-img.catalog-img { aspect-ratio: auto; padding: 20px; display: grid; place-items: center; }
.card-img.catalog-img img { width: auto; height: 180px; object-fit: contain; }
.card-img.catalog-logo { aspect-ratio: auto; height: 220px; display: grid; place-items: center; }
.card-img.catalog-logo img { width: auto; height: 56px; object-fit: contain; }
.card-body a.card-arrow { text-decoration: none; }
.page-head .lead a { color: #fff; }

/* ---------- reCAPTCHA „Nie som robot“ ---------- */
.field.recaptcha { min-height: 78px; }
@media (max-width: 380px) { .g-recaptcha { transform: scale(.9); transform-origin: 0 0; } }
