/* IP SERVIS s.r.o. – štýly webu
   Akcentová farba je karmínová z farebného loga (#C5003E); takmer čierna #141412 / #1E1E1E a sivé tóny sú z pôvodného webu. */

:root {
  --red: #c5003e;          /* karmínová z loga – plochy, tlačidlá, akcenty */
  --red-ink: #c5003e;      /* malý text na bielom (kontrast 6,4 : 1, spĺňa AA) */
  --red-hover: #a30033;
  --ink: #141412;          /* pôvodná najtmavšia */
  --text: #1e1e1e;         /* pôvodná farba textu */
  --g700: #373737;
  --g600: #4d4d4d;
  --g500: #666666;
  --g400: #999999;
  --g300: #cccccc;
  --g200: #d7d7d7;
  --g100: #e7e7e7;
  --g50: #f7f7f7;
  --white: #ffffff;
  --line-dark: #333331;

  --f-head: "Archivo", "Arial Narrow", Arial, sans-serif;
  --f-body: "IBM Plex Sans", "Segoe UI", Roboto, Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;

  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  --logo-tilt: -20deg;     /* sklon elipsy v logu – opakuje sa v celom webe */
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--f-head);
  font-weight: 700;
  font-stretch: 90%;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 5.2vw, 4.1rem); line-height: 1.02; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.75rem); line-height: 1.08; }
h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.15; }
h4 { font-size: 1.1rem; line-height: 1.3; font-stretch: 100%; letter-spacing: 0; }

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

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }

.skip {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 10px 14px; text-decoration: none;
}
.skip:focus { top: 8px; }

/* ---------- drobné prvky ---------- */

.label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 12.5px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--g500);
  margin-bottom: 20px;
}
.label::before { content: ""; width: 14px; height: 7px; border-radius: 50%; background: var(--red); transform: rotate(var(--logo-tilt)); flex: none; }
.on-dark .label { color: var(--g400); }

.bar { display: block; width: 56px; height: 4px; background: var(--red); margin-bottom: 28px; }

.lead { font-size: clamp(1.08rem, 1.4vw, 1.22rem); line-height: 1.55; color: var(--g700); max-width: 38em; }
.muted { color: var(--g500); }

.icon { width: 1em; height: 1em; flex: none; }

/* ---------- tlačidlá a odkazy ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 50px; padding: 13px 22px;
  font-family: var(--f-body); font-size: 16px; font-weight: 600; line-height: 1.2;
  text-decoration: none; border: 2px solid transparent; border-radius: 2px;
  cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
}
.btn .icon { transition: transform .15s; }
.btn:hover .icon { transform: translateX(3px); }
.btn--red { background: var(--red); color: var(--white); }
.btn--red:hover { background: var(--red-hover); }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: var(--white); }
.btn--white { background: var(--white); color: var(--ink); }
.btn--white:hover { background: var(--ink); color: var(--white); }
.btn--line-light { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn--line-light:hover { border-color: var(--white); background: var(--white); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.more {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--ink); text-decoration: none;
  border-bottom: 2px solid var(--red); padding-bottom: 2px;
}
.more:hover { color: var(--red-ink); }
.more .icon { transition: transform .15s; }
.more:hover .icon { transform: translateX(3px); }

/* ---------- hlavička ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--g200);
  backdrop-filter: saturate(140%) blur(6px);
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: block; flex: none; }
.brand img { height: 44px; width: auto; }

.nav { margin-left: auto; }
.nav ul { list-style: none; display: flex; gap: 4px; }
.nav a {
  position: relative; display: block; padding: 10px 12px;
  font-size: 15px; font-weight: 500; color: var(--g700); text-decoration: none; white-space: nowrap;
}
.nav a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .2s;
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--ink); }

.header-cta { display: flex; align-items: center; gap: 18px; flex: none; }
.header-phone {
  font-family: var(--f-mono); font-size: 14px; font-weight: 500; color: var(--ink); text-decoration: none; white-space: nowrap;
}
.header-phone:hover { color: var(--red-ink); }
.header-cta .btn { min-height: 44px; padding: 9px 18px; font-size: 15px; }

.menu-toggle {
  display: none; margin-left: auto; width: 46px; height: 46px; padding: 0;
  background: none; border: 1px solid var(--g200); border-radius: 2px; cursor: pointer;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--ink); margin: 0 auto; position: relative; transition: transform .2s, background-color .2s;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1180px) {
  .header-phone { display: none; }
}
@media (max-width: 1020px) {
  .menu-toggle { display: block; }
  .header-cta { display: none; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: var(--header-h);
    background: var(--white); border-bottom: 1px solid var(--g200);
    padding: 8px var(--gut) 24px; margin: 0;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .menu-open .nav { display: block; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { padding: 15px 0; font-size: 17px; border-bottom: 1px solid var(--g100); }
  .nav a::after { left: 0; right: auto; width: 32px; bottom: -1px; }
  .nav-extra { display: flex; flex-direction: column; gap: 6px; padding-top: 20px; font-family: var(--f-mono); font-size: 15px; }
  .nav-extra a { border: 0; padding: 4px 0; }
}
@media (min-width: 1021px) { .nav-extra, .nav-mobile { display: none; } }

/* ---------- úvod (domovská stránka) ---------- */

.hero { background: var(--g50); border-bottom: 1px solid var(--g200); overflow: hidden; }
.hero .wrap {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px);
  align-items: center; padding-top: clamp(48px, 8vw, 104px); padding-bottom: clamp(56px, 8vw, 104px);
}
.hero h1 { margin-bottom: 24px; }
.hero .lead { margin-bottom: 36px; }

/* fotka v šikmej elipse – rovnaký tvar a sklon ako elipsa v logu */
.hero-figure { position: relative; margin: 0; padding: 24px 0 140px; }
.hero-oval {
  position: relative; width: 100%; aspect-ratio: 16 / 10; border-radius: 50%; overflow: hidden;
  transform: rotate(var(--logo-tilt)); background: var(--ink);
}
/* Obrázok je len tak veľký, aby presne pokryl otočenú elipsu (16 : 10 pri sklone 20°
   potrebuje cca 97 % šírky a 109 % výšky), takže fotka nie je zbytočne priblížená. */
.hero-oval img {
  position: absolute; left: 0; top: -6%; width: 100%; height: 112%; max-width: none;
  object-fit: cover; object-position: 50% 50%;
  transform: rotate(calc(var(--logo-tilt) * -1)); filter: grayscale(1) contrast(1.08);
}
.hero-figure::before {
  content: ""; position: absolute; left: 4%; right: -4%; top: 36px; aspect-ratio: 16 / 10;
  border: 1.5px solid var(--red); border-radius: 50%; transform: rotate(var(--logo-tilt)); pointer-events: none;
}

/* typový štítok – podpisový prvok */
.plate {
  position: absolute; right: -24px; bottom: 0; width: min(310px, 88%);
  background: var(--ink); color: var(--white);
  padding: 20px 22px 18px; font-family: var(--f-mono); font-size: 13px; line-height: 1.5;
  box-shadow: 0 18px 40px -18px rgba(0,0,0,.45);
}
.plate::before, .plate::after {
  content: ""; position: absolute; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: #3d3d3a;
}
.plate::before { left: 9px; }
.plate::after { right: 9px; }
.plate-title {
  display: flex; justify-content: space-between; align-items: baseline;
  border-bottom: 1px solid var(--line-dark); padding-bottom: 10px; margin-bottom: 8px;
  font-family: var(--f-head); font-stretch: 90%; font-size: 17px; font-weight: 700; letter-spacing: 0.01em;
}
.plate-title span { width: 20px; height: 10px; border-radius: 50%; background: var(--red); transform: rotate(var(--logo-tilt)); }
.plate dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 3px 16px; }
.plate dt { color: var(--g400); text-transform: uppercase; font-size: 11.5px; letter-spacing: .06em; padding-top: 2px; }
.plate dd { margin: 0; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-figure { max-width: 560px; padding: 16px 0 0; }
  .plate { position: relative; right: auto; width: auto; margin: -24px 16px 0; }
}

/* ---------- sekcie ---------- */

.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--grey { background: var(--g50); }
.section--dark { background: var(--ink); color: var(--g300); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }

.section-head {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 72px);
  align-items: end; margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head p { margin: 0; color: var(--g600); }
.section--dark .section-head p { color: var(--g300); }
@media (max-width: 820px) { .section-head { grid-template-columns: 1fr; } }
.section-head--stack { grid-template-columns: minmax(0, 1fr); gap: 14px; max-width: 40em; }

/* ---------- služby: porovnávací technický list ---------- */

.svc-num {
  font-family: var(--f-mono); font-size: 13px; font-weight: 500; color: var(--red-ink); letter-spacing: .06em;
  margin-bottom: 12px; display: block;
}

.spec {
  display: grid; grid-template-columns: minmax(220px, 1.2fr) repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(6, auto); border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink);
}
.spec-corner { grid-column: 1; grid-row: 1; padding: 30px 32px 30px 0; border-bottom: 1px solid var(--g200); }
.spec-corner h2 { font-size: clamp(1.6rem, 2.5vw, 2.25rem); margin-bottom: 14px; }
.spec-corner p { margin: 0; font-size: 15.5px; color: var(--g600); }
.spec-keys { grid-column: 1; grid-row: 2 / span 5; display: grid; grid-template-rows: subgrid; }
.spec-keys > div {
  padding: 20px 24px 20px 0; border-bottom: 1px solid var(--g200);
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--g500);
}
.spec-keys > div:last-child { border-bottom: 0; }
.spec-col {
  grid-row: 1 / span 6; display: grid; grid-template-rows: subgrid;
  border-left: 1px solid var(--g200); transition: background-color .2s;
}
.spec-col:hover { background: var(--g50); }
.spec-cell { padding: 20px 24px; border-bottom: 1px solid var(--g200); font-size: 15.5px; color: var(--g700); }
.spec-cell p { margin: 0; }
.spec-head { padding-top: 30px; }
.spec-head h3 { font-size: clamp(1.3rem, 1.8vw, 1.55rem); }
.spec-head h3 a { text-decoration: none; }
.spec-head h3 a:hover { color: var(--red-ink); }
.spec-head + .spec-cell { font-weight: 600; color: var(--ink); }
.spec-cell .ticks { margin: 0; }
.spec-cell .ticks li { font-size: 15px; padding: 7px 0 7px 22px; }
.spec-cell .ticks li:first-child { border-top: 0; padding-top: 0; }
.spec-cell .ticks li:first-child::before { top: 9px; }
.spec-cell .ticks li::before { top: 16px; }
.spec-tel { font-family: var(--f-mono); font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none; }
.spec-tel:hover { color: var(--red-ink); }
.spec-foot { border-bottom: 0; padding-bottom: 28px; }
.spec-k {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
@media (max-width: 960px) {
  .spec { display: block; border-bottom: 0; }
  .spec-corner { padding: 0 0 28px; }
  .spec-keys { display: none; }
  .spec-col { display: block; border-left: 0; border-top: 2px solid var(--ink); }
  .spec-col:hover { background: none; }
  .spec-cell { padding: 14px 0; }
  .spec-head { padding-top: 24px; }
  .spec-k {
    position: static; width: auto; height: auto; overflow: visible; clip: auto; display: block; margin-bottom: 4px;
    font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--g500); font-weight: 400;
  }
}

.ticks { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin: 22px 0 28px; }
.ticks li { position: relative; padding: 10px 0 10px 22px; border-top: 1px solid var(--g100); font-size: 15.5px; line-height: 1.45; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 19px; width: 10px; height: 2px; background: var(--red); }
.ticks--one { grid-template-columns: 1fr; }
@media (max-width: 820px) { .ticks { grid-template-columns: 1fr; } }

.svc-mini {
  display: grid; grid-template-columns: minmax(220px, 1.2fr) minmax(0, 2.4fr) auto; gap: 24px; align-items: center;
  padding: 26px 0; border-bottom: 1px solid var(--g200);
}
.svc-mini .svc-num { margin: 0; }
.svc-mini h3 { font-size: 1.3rem; margin-bottom: 4px; }
.svc-mini p { margin: 0; color: var(--g600); font-size: 15.5px; }
@media (max-width: 960px) { .svc-mini { grid-template-columns: 1fr; gap: 10px; border-top: 2px solid var(--ink); } }

/* ---------- postup: jednoduchá technická schéma ---------- */

.steps {
  --node-bg: var(--g50);
  position: relative; list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); counter-reset: step;
}
/* hlavné vedenie a šípka na konci */
.steps::before { content: ""; position: absolute; left: 24px; right: 12px; top: 19px; height: 2px; background: var(--ink); }
.steps::after {
  content: ""; position: absolute; right: 0; top: 14px;
  border-left: 12px solid var(--ink); border-top: 6px solid transparent; border-bottom: 6px solid transparent;
}
.steps li { position: relative; padding: 62px 24px 0 0; counter-increment: step; }
/* uzol = elipsa so sklonom loga, číslo zostáva vodorovné */
.steps li::after {
  content: ""; position: absolute; left: 0; top: 8px; width: 48px; height: 24px; border-radius: 50%;
  background: var(--node-bg); border: 2px solid var(--ink); transform: rotate(var(--logo-tilt));
}
.steps li::before {
  content: "0" counter(step); position: absolute; left: 0; top: 8px; width: 48px; height: 24px; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-mono); font-size: 12px; font-weight: 500; color: var(--ink);
}
.steps li:first-child::after { background: var(--red); border-color: var(--red); }
.steps li:first-child::before { color: var(--white); }
.steps h4 { margin-bottom: 8px; }
.steps p { font-size: 15.5px; color: var(--g600); margin: 0; }
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr; }
  .steps::before { left: 23px; right: auto; top: 20px; bottom: 12px; width: 2px; height: auto; }
  .steps::after { right: auto; left: 18px; top: auto; bottom: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 12px solid var(--ink); border-bottom: 0; }
  .steps li { padding: 6px 0 30px 74px; }
  .steps li::after, .steps li::before { top: 6px; }
}

/* ---------- VKDP ---------- */

.vkdp { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.vkdp h2 { margin-bottom: 24px; }
.vkdp p { max-width: 34em; }
.vkdp .btn-row { margin-top: 32px; }

.card-sheet { border: 1px solid var(--line-dark); font-size: 15px; }
.card-sheet-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; border-bottom: 1px solid var(--line-dark);
  font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--g400);
}
.card-sheet-head strong { color: var(--white); font-weight: 500; }
.card-sheet dl { margin: 0; }
.card-sheet .row { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 14px 22px; border-bottom: 1px solid var(--line-dark); }
.card-sheet .row:last-child { border-bottom: 0; }
.card-sheet dt { font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--g400); padding-top: 3px; }
.card-sheet dd { margin: 0; color: var(--white); }
.card-sheet dd a { color: var(--white); text-decoration-color: var(--red); text-underline-offset: 3px; }
.card-sheet ul { list-style: none; }
.card-sheet li + li { margin-top: 2px; }
@media (max-width: 900px) { .vkdp { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .card-sheet .row { grid-template-columns: 1fr; gap: 4px; } }

/* VKDP – kompaktný pás na podstránkach */
.vkdp-strip { border-top: 1px solid var(--g200); background: var(--white); }
.vkdp-strip .wrap { display: flex; align-items: center; gap: 20px 32px; flex-wrap: wrap; padding-top: 26px; padding-bottom: 26px; }
.vkdp-strip p { margin: 0; flex: 1 1 420px; color: var(--g700); font-size: 15.5px; }
.vkdp-strip strong { color: var(--ink); }
.vkdp-tag {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  border: 1px solid var(--ink); padding: 6px 10px; color: var(--ink); white-space: nowrap;
}

/* ---------- referencie ---------- */

.logos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--g200); border-left: 1px solid var(--g200); }
.logos li {
  list-style: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  min-height: 168px; padding: 28px 20px 18px; border-right: 1px solid var(--g200); border-bottom: 1px solid var(--g200); background: var(--white);
}
.logos img { max-height: 58px; max-width: 78%; width: auto; filter: grayscale(1); opacity: .78; transition: filter .25s, opacity .25s; }
.logos img.tall { max-height: 84px; }
.logos li:hover img, .logo-link:focus-visible img { filter: grayscale(0); opacity: 1; }

/* celé políčko loga je odkaz na web partnera */
.logos li:has(> .logo-link) { padding: 0; }
.logo-link {
  position: relative; flex: 1; align-self: stretch;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  padding: 28px 20px 18px; color: inherit; text-decoration: none; transition: background-color .2s;
}
.logo-link:hover { background: var(--g50); }
.logo-link:focus-visible { outline: 2px solid var(--red); outline-offset: -2px; }
.logo-link::after {
  content: "↗"; position: absolute; top: 10px; right: 12px;
  font-family: var(--f-mono); font-size: 14px; color: var(--red-ink); opacity: 0; transition: opacity .2s;
}
.logo-link:hover::after, .logo-link:focus-visible::after { opacity: 1; }
@media (hover: none) { .logo-link::after { opacity: .55; color: var(--g500); } }
.logos span { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--g500); text-align: center; }
.logos li.logos-note { align-items: flex-start; justify-content: flex-end; background: var(--g50); }
.logos-note p { margin: 0; font-size: 15px; color: var(--g600); }
@media (max-width: 900px) { .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .logos li { min-height: 132px; } }

/* ---------- červený kontaktný pás ---------- */

.cta-band { background: var(--red); color: var(--white); }
.cta-band .wrap {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px);
  padding-top: clamp(56px, 7vw, 88px); padding-bottom: clamp(56px, 7vw, 88px); align-items: start;
}
.cta-band h2 { color: var(--white); margin-bottom: 18px; }
.cta-band p { color: rgba(255,255,255,.92); }
.cta-band .label { color: rgba(255,255,255,.85); }
.cta-band .label::before { background: var(--white); }
.contacts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,.45); }
.contact { padding: 22px 24px 24px 0; border-bottom: 1px solid rgba(255,255,255,.45); }
.contact + .contact { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.45); }
.contact-topic { font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.85); margin-bottom: 10px; }
.contact a { display: block; color: var(--white); text-decoration: none; }
.contact .tel { font-family: var(--f-head); font-stretch: 90%; font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 700; line-height: 1.1; margin-bottom: 4px; }
.contact a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contacts-foot { grid-column: 1 / -1; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
.contacts-foot a:not(.btn) { color: var(--white); font-weight: 600; }
.contacts-foot .btn { margin-left: auto; }
@media (max-width: 560px) { .contacts-foot .btn { margin-left: 0; } }
@media (max-width: 900px) { .cta-band .wrap { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .contacts { grid-template-columns: 1fr; }
  .contact + .contact { padding-left: 0; border-left: 0; }
}

/* ---------- hlavička podstránok ---------- */

.page-hero { position: relative; background: var(--ink); color: var(--g300); overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); opacity: .32; }
.page-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0%, rgba(20,20,18,.86) 45%, rgba(20,20,18,.35) 100%); }
.page-hero .wrap { position: relative; padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(48px, 7vw, 88px); }
.page-hero h1 { color: var(--white); max-width: 16em; margin-bottom: 22px; }
.page-hero .lead { color: var(--g300); }
.page-hero--plain { background: var(--g50); color: var(--text); border-bottom: 1px solid var(--g200); }
.page-hero--plain h1 { color: var(--ink); }
.page-hero--plain .lead { color: var(--g700); }

.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 32px; font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .04em; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--g500); }
.crumbs a { color: inherit; text-decoration: none; opacity: .8; }
.crumbs a:hover { opacity: 1; text-decoration: underline; }

/* ---------- obsah podstránok ---------- */

.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); }
.split + .split { margin-top: clamp(56px, 7vw, 96px); }
.split h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.split .prose { max-width: 40em; }
.prose p { color: var(--g700); }
.prose h3 { margin: 36px 0 10px; font-size: 1.3rem; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 20px; } }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 0; }
.chips li { border: 1px solid var(--g300); padding: 6px 12px; font-size: 15px; }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); }
.cards > article { padding: 32px 28px 36px 0; }
.cards > article + article { padding-left: 28px; border-left: 1px solid var(--g200); }
.cards h3 { font-size: 1.4rem; margin-bottom: 12px; }
.cards p { color: var(--g700); font-size: 16px; }
.cards .examples { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--g100); }
.cards .examples-title { font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--g500); margin-bottom: 8px; }
@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; }
  .cards > article, .cards > article + article { padding: 28px 0; border-left: 0; }
  .cards > article + article { border-top: 1px solid var(--g200); }
}

.figure-strip { margin: 0; }
.figure-strip img { width: 100%; aspect-ratio: 3 / 1; object-fit: cover; filter: grayscale(1) contrast(1.05); }

/* ---------- kontakt ---------- */

.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); }
.contact-card { padding: 32px 32px 36px 0; }
.contact-card + .contact-card { padding-left: 32px; border-left: 1px solid var(--g200); }
.contact-card .tel { display: inline-block; font-family: var(--f-head); font-stretch: 90%; font-weight: 700; font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--ink); text-decoration: none; margin: 6px 0 4px; }
.contact-card .tel:hover { color: var(--red-ink); }
.contact-card .mail { color: var(--ink); font-weight: 600; text-decoration-color: var(--red); text-underline-offset: 4px; }
.contact-card p { color: var(--g600); font-size: 15.5px; margin: 14px 0 0; }
@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-card, .contact-card + .contact-card { padding: 28px 0; border-left: 0; }
  .contact-card + .contact-card { border-top: 1px solid var(--g200); }
}

.facts { margin: 0; display: grid; grid-template-columns: 180px 1fr; border-top: 1px solid var(--g200); }
.facts dt, .facts dd { padding: 14px 0; border-bottom: 1px solid var(--g200); margin: 0; }
.facts dt { font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--g500); padding-top: 17px; }
@media (max-width: 560px) {
  .facts { grid-template-columns: 1fr; }
  .facts dt { border-bottom: 0; padding-bottom: 0; }
  .facts dd { padding-top: 4px; }
}

/* ---------- pätička ---------- */

.site-footer { background: var(--ink); color: var(--g400); font-size: 15px; }
.site-footer .wrap { padding-top: 64px; padding-bottom: 28px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 3fr)); gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.footer-grid img { height: 46px; width: auto; margin-bottom: 18px; }
.footer-grid h2 { font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--g400); margin-bottom: 14px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: var(--g200); text-decoration: none; }
.footer-grid a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.footer-grid p { margin: 0 0 6px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: 13.5px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- ilustračné fotky ---------- */

.spec-head img, .card-img {
  display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 20px;
  background: var(--g100); filter: grayscale(1) contrast(1.05); transition: filter .35s;
}
.spec-col:hover .spec-head img, .cards > article:hover .card-img { filter: grayscale(0); }
.card-sheet-img {
  display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 42%;
  filter: grayscale(1) contrast(1.1); border-bottom: 1px solid var(--line-dark);
}
.footer-bottom a { color: inherit; }

/* ---------- logo VKDP: biele / farebné ---------- */
/* Na tmavom podklade je logo biele. Pri prejdení myšou, fokuse z klávesnice alebo
   po ťuknutí (trieda .is-on z main.js) sa vyfarbí priamo na tmavom podklade. */

.logo-swap { position: relative; display: block; }
.logo-swap img { display: block; width: 100%; height: auto; transition: opacity .35s ease; }
.logo-swap .logo-color { position: absolute; inset: 0; opacity: 0; }
.js-logo-swap:hover .logo-color, .js-logo-swap:focus-visible .logo-color, .js-logo-swap.is-on .logo-color { opacity: 1; }
.js-logo-swap:hover .logo-white, .js-logo-swap:focus-visible .logo-white, .js-logo-swap.is-on .logo-white { opacity: 0; }

.card-sheet-logo {
  display: block; padding: 30px 32px; border-bottom: 1px solid var(--line-dark);
}
.card-sheet-logo .logo-swap { max-width: 320px; }

.footer-vkdp-label { margin: 22px 0 4px !important; font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--g400); }
.footer-vkdp {
  display: inline-block; padding: 6px 0;
}
.footer-vkdp .logo-swap { width: 180px; }

/* pás na podstránkach: svetlý podklad, logo sivé a pri prejdení farebné */
.vkdp-strip-logo { display: block; flex: none; }
.vkdp-strip-logo img { height: 44px; width: auto; filter: grayscale(1) contrast(1.1); opacity: .8; transition: filter .35s ease, opacity .35s ease; }
.vkdp-strip-logo:hover img, .vkdp-strip-logo:focus-visible img, .vkdp-strip-logo.is-on img { filter: none; opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .logo-swap img, .vkdp-strip-logo img { transition: none; }
}

/* VKDP v referenciách je farebné stále, aby spolupráca vynikla */
.logos img.in-color { filter: none; opacity: 1; }

/* pomocné triedy namiesto vložených štýlov (kvôli Content-Security-Policy) */
.spec-col--2 { grid-column: 2; }
.spec-col--3 { grid-column: 3; }
.spec-col--4 { grid-column: 4; }
.lead--gap { margin-top: 16px; }
.btn-row--gap { margin-top: 28px; }
