/* ==========================================================================
   Štefanec & syn – dizajn systém
   ========================================================================== */

@view-transition { navigation: auto; }

:root {
  /* farby značky */
  --red-50: #FDF2F2;
  --red-100: #FBE3E3;
  --red-500: #E5323B;
  --red-600: #D9232D;
  --red-700: #B71C25;
  --red-800: #8F161D;
  --yellow-300: #FFE066;
  --yellow-400: #FFD21F;
  --yellow-500: #F2BE00;

  /* neutrálne (teplé) */
  --ink-950: #120F0E;
  --ink-900: #1C1917;
  --ink-800: #292524;
  --ink-700: #44403C;
  --ink-600: #57534E;
  --ink-500: #6F6964;
  --ink-300: #D6D0C8;
  --line: #E9E2D8;
  --sand-200: #EFE8DE;
  --sand-100: #F5F0E8;
  --paper: #FBF8F3;
  --white: #FFFFFF;
  --green-600: #15803D;
  --green-50: #EEF8F1;
  --blue-600: #1D6FB8;

  --bg: var(--paper);
  --text: var(--ink-900);
  --muted: var(--ink-600);

  /* typografia */
  --font-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: clamp(1.125rem, 1.07rem + 0.25vw, 1.25rem);
  --fs-xl: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
  --fs-2xl: clamp(1.5rem, 1.28rem + 1vw, 2rem);
  --fs-3xl: clamp(1.875rem, 1.45rem + 1.9vw, 2.875rem);
  --fs-4xl: clamp(2.25rem, 1.55rem + 3.1vw, 3.75rem);
  --fs-5xl: clamp(2.5rem, 1.6rem + 4.2vw, 4.6rem);

  /* priestor */
  --gutter: clamp(1rem, 0.6rem + 1.8vw, 2rem);
  --section: clamp(4rem, 2.8rem + 5vw, 7.5rem);
  --container: 1240px;
  --header-h: 72px;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-sm: 0 1px 2px rgb(28 25 23 / 0.05), 0 1px 3px rgb(28 25 23 / 0.07);
  --shadow: 0 12px 32px -14px rgb(28 25 23 / 0.22);
  --shadow-lg: 0 32px 64px -24px rgb(28 25 23 / 0.32);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
[hidden] { display: none !important; }
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; } }
body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; letter-spacing: -0.02em; font-weight: 700; text-wrap: balance; }
p { text-wrap: pretty; }
ul[class], ol[class] { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--yellow-400); outline-offset: 3px; border-radius: 6px; }
.layout-home :focus-visible, .site-header :focus-visible { outline-color: var(--red-600); }
::selection { background: var(--yellow-300); color: var(--ink-900); }

.i { width: 1.25em; height: 1.25em; flex: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--tint { background: var(--sand-100); }
.section--white { background: var(--white); }
.section--dark { background: var(--ink-900); color: #F3EEE7; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 1000;
  background: var(--ink-900); color: #fff; padding: 10px 16px; border-radius: var(--r-sm);
  text-decoration: none; font-weight: 600; transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- typografické prvky ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--red-600); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: var(--yellow-400); }
.hl { position: relative; white-space: nowrap; z-index: 0; }
.hl::after {
  content: ""; position: absolute; left: -0.08em; right: -0.08em; bottom: 0.06em; height: 0.34em;
  background: var(--yellow-400); z-index: -1; border-radius: 3px; transform: skewX(-8deg);
}
.text-red { color: var(--red-600); }
.lead { font-size: var(--fs-lg); color: var(--ink-700); line-height: 1.6; }

.section-head { max-width: 760px; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem); }
.section-head h2 { font-size: var(--fs-3xl); }
.section-head p:not(.eyebrow) { margin-top: 14px; color: var(--muted); font-size: var(--fs-lg); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--split { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 40px; }
.section-head--split > div { max-width: 680px; }
.section--dark .section-head p:not(.eyebrow) { color: #C9C1B6; }

/* ---------- tlačidlá ---------- */
.btn {
  --btn-bg: var(--ink-900); --btn-fg: #fff; --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 22px; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg); border: 1.5px solid var(--btn-bd);
  font-weight: 600; font-size: var(--fs-sm); text-decoration: none; line-height: 1.1; text-align: center;
  transition: transform .25s var(--ease), background-color .2s, box-shadow .25s, border-color .2s, color .2s;
  white-space: nowrap;
}
.btn .i { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn:hover .i:last-child:not(:first-child) { transform: translateX(3px); }
.btn:active { transform: translateY(0); }
.btn--primary { --btn-bg: var(--red-600); box-shadow: 0 8px 20px -8px rgb(217 35 45 / .55); }
.btn--primary:hover { --btn-bg: var(--red-700); box-shadow: 0 12px 26px -10px rgb(217 35 45 / .6); }
.btn--accent { --btn-bg: var(--yellow-400); --btn-fg: var(--ink-900); }
.btn--accent:hover { --btn-bg: var(--yellow-300); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink-900); --btn-bd: var(--ink-300); }
.btn--ghost:hover { --btn-bd: var(--ink-900); --btn-bg: var(--white); }
.btn--light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgb(255 255 255 / .35); }
.btn--light:hover { --btn-bd: #fff; --btn-bg: rgb(255 255 255 / .08); }
.btn--sm { min-height: 42px; padding: 0 18px; }
.btn--lg { min-height: 58px; padding: 0 28px; font-size: var(--fs-base); }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--red-600); text-decoration: none; }
.link-arrow .i { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover .i { transform: translateX(4px); }

/* ==========================================================================
   Hlavička
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
/* Rozmazané pozadie je na pseudo-elemente: backdrop-filter priamo na hlavičke
   by z nej urobil „containing block“ a orezal fixné mobilné menu. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgb(251 248 243 / .86);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  transition: background-color .25s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgb(28 25 23 / .35); }
.site-header.is-scrolled::before { background: rgb(251 248 243 / .94); }
.header-inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand-mark {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  background: var(--red-600); color: var(--yellow-400);
  box-shadow: inset 0 -3px 0 rgb(0 0 0 / .15);
}
.brand-mark .i { width: 24px; height: 24px; fill: var(--yellow-400); stroke: var(--yellow-400); }
.brand-text { display: flex; flex-direction: column; gap: 5px; }
.brand-text img { width: 168px; height: auto; }
.brand-text span { font-size: 10.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-500); line-height: 1; }

.main-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px; height: 42px; padding: 0 12px; border-radius: 10px;
  font-size: var(--fs-sm); font-weight: 600; color: var(--ink-800); text-decoration: none; white-space: nowrap;
  transition: background-color .2s, color .2s;
}
.nav-link:hover, .nav-item.is-open > .nav-link { background: var(--sand-200); }
.nav-link.is-active { color: var(--red-600); }
.i-chev { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.nav-item.is-open .i-chev { transform: rotate(180deg); }
.nav-item { position: relative; }

.mega {
  position: absolute; top: calc(100% + 10px); left: 50%; z-index: 20;
  width: max-content; max-width: min(92vw, 1000px);
  translate: -50% 0;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.mega::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.nav-item.is-open > .mega { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-inner {
  display: flex; gap: 8px; padding: 14px; background: var(--white); border-radius: var(--r-lg);
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.mega-col { min-width: 250px; padding: 6px; }
.mega-title { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-500); padding: 6px 10px 8px; }
.mega-col ul { display: grid; gap: 2px; list-style: none; padding: 0; }
.mega-col a {
  display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 12px; text-decoration: none;
  transition: background-color .15s;
}
.mega-col a strong { display: block; font-size: var(--fs-sm); font-weight: 600; line-height: 1.3; }
.mega-col a small { display: block; font-size: 13px; color: var(--ink-500); line-height: 1.35; margin-top: 2px; }
.mega-col a:hover, .mega-col a[aria-current="page"] { background: var(--sand-100); }
.mega-col a[aria-current="page"] strong { color: var(--red-600); }
.mega-ic {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; flex: none;
  background: var(--red-50); color: var(--red-600);
}
.mega-ic .i { width: 19px; height: 19px; }
.mega-promo {
  width: 260px; padding: 20px; border-radius: 18px; background: var(--ink-900); color: #EDE7DE;
  display: flex; flex-direction: column; gap: 12px; font-size: var(--fs-sm); line-height: 1.5;
}
.mega-promo .mega-title { padding: 0; color: var(--yellow-400); }
.mega-promo strong { color: #fff; }
.mega-promo .btn { align-self: flex-start; margin-top: auto; }
.mega-all { display: inline-flex; gap: 6px; align-items: center; color: #fff; font-weight: 600; text-decoration: none; }
.mega-all .i { width: 16px; height: 16px; }

.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none;
  font-size: var(--fs-sm); padding: 0 6px; color: var(--ink-900); white-space: nowrap;
}
.header-phone .i { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--red-50); color: var(--red-600); }
.header-phone:hover span { color: var(--red-600); }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; background: var(--ink-900); color: #fff; place-items: center; }
.menu-toggle-box { position: relative; width: 20px; height: 14px; display: block; }
.menu-toggle-box span { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .2s, top .3s var(--ease); }
.menu-toggle-box span:nth-child(1) { top: 0; }
.menu-toggle-box span:nth-child(2) { top: 6px; }
.menu-toggle-box span:nth-child(3) { top: 12px; }
.menu-open .menu-toggle-box span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.menu-open .menu-toggle-box span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle-box span:nth-child(3) { top: 6px; transform: rotate(-45deg); }
.nav-mobile-cta { display: none; }

@media (max-width: 1240px) {
  .header-phone span { display: none; }
  .header-phone { padding: 0; }
}
@media (max-width: 1080px) {
  .nav-link { padding: 0 9px; }
}
@media (max-width: 1020px) {
  :root { --header-h: 66px; }
  .menu-toggle { display: grid; }
  .header-cta { display: none; }
  .header-actions { margin-left: auto; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 90;
    background: var(--paper); overflow-y: auto; overscroll-behavior: contain;
    padding: 12px var(--gutter) 120px;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .3s var(--ease), visibility .25s;
  }
  .menu-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item { border-bottom: 1px solid var(--line); }
  .nav-link { width: 100%; justify-content: space-between; height: 58px; padding: 0 4px; font-size: 1.125rem; border-radius: 0; }
  .nav-link:hover, .nav-item.is-open > .nav-link { background: transparent; }
  .mega { position: static; translate: none; transform: none; width: auto; max-width: none; opacity: 1; visibility: visible; display: none; }
  .mega::before { display: none; }
  .nav-item.is-open > .mega { display: block; }
  .mega-inner { flex-direction: column; padding: 0 0 12px; border: 0; box-shadow: none; background: transparent; gap: 4px; }
  .mega-col { min-width: 0; padding: 0; }
  .mega-promo { display: none; }
  .nav-mobile-cta { display: grid; gap: 10px; margin-top: 24px; }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 420px) {
  .brand-text img { width: 140px; }
  .brand-mark { width: 38px; height: 38px; }
  .header-phone .i { width: 42px; height: 42px; padding: 11px; }
}

/* ==========================================================================
   Úvod – hero
   ========================================================================== */
.hero {
  position: relative; overflow: hidden;
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 5.5rem) clamp(3.5rem, 2rem + 5vw, 6.5rem);
  background:
    radial-gradient(900px 500px at 92% -10%, rgb(255 210 31 / .28), transparent 60%),
    radial-gradient(700px 520px at 70% 110%, rgb(217 35 45 / .14), transparent 60%),
    var(--paper);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.hero h1 { font-size: var(--fs-5xl); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; }
.hero h1 .text-red { display: block; }
.hero-lead { margin-top: 22px; font-size: var(--fs-lg); color: var(--ink-700); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; padding: 0; list-style: none; }
.hero-trust li { display: flex; align-items: center; gap: 8px; font-size: var(--fs-sm); font-weight: 600; color: var(--ink-700); }
.hero-trust .i { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--green-600); color: #fff; stroke-width: 3; }

.hero-visual { position: relative; }
.hero-photo {
  position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 5 / 4;
  box-shadow: var(--shadow-lg); background: var(--sand-200);
  transform: rotate(1.2deg);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 50%; }
.hero-badge {
  position: absolute; display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; border-radius: 18px; background: var(--white); box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.hero-badge strong { display: block; font-family: var(--font-display); font-size: 1.65rem; line-height: 1; letter-spacing: -0.02em; }
.hero-badge div > span { font-size: 13px; display: block; color: var(--ink-600); line-height: 1.3; }
.hero-badge .ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; flex: none; }
.hero-badge--a { left: -28px; bottom: 28px; }
.hero-badge--a .ic { background: var(--yellow-400); color: var(--ink-900); }
.hero-badge--b { right: -18px; top: 26px; }
.hero-badge--b .ic { background: var(--red-600); color: #fff; }
.hero-badge .ic .i { width: 22px; height: 22px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 620px; margin-inline: auto; width: 100%; }
  .hero-badge--a { left: 10px; bottom: -22px; }
  .hero-badge--b { right: 10px; top: -18px; }
}
@media (max-width: 520px) {
  .hero-actions .btn { width: 100%; }
  .hero-badge { padding: 10px 12px; gap: 10px; }
  .hero-badge strong { font-size: 1.25rem; }
  .hero-badge .ic { width: 36px; height: 36px; }
  .hero-photo { transform: none; }
}

/* ---------- štatistiky ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-radius: var(--r-lg); background: var(--ink-900); color: #fff; overflow: hidden; }
.stat { padding: clamp(1.25rem, 1rem + 1.2vw, 2.25rem); border-left: 1px solid rgb(255 255 255 / .09); }
.stat:first-child { border-left: 0; }
.stat-num { font-family: var(--font-display); font-size: var(--fs-4xl); font-weight: 800; line-height: 1; letter-spacing: -0.03em; color: var(--yellow-400); font-variant-numeric: tabular-nums; }
.stat-num small { font-size: .5em; margin-left: 2px; }
.stat-label { margin-top: 10px; font-size: var(--fs-sm); color: #D6CFC5; line-height: 1.45; }
.stats-wrap { margin-top: calc(var(--section) * -0.5); position: relative; z-index: 2; }
@media (max-width: 860px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgb(255 255 255 / .09); }
}

/* ==========================================================================
   Karty služieb
   ========================================================================== */
.service-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.service {
  grid-column: span 4; position: relative; display: flex; flex-direction: column;
  background: var(--white); border-radius: var(--r-lg); overflow: hidden; text-decoration: none;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .2s;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand-200); }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.service:hover .service-media img { transform: scale(1.05); }
.service-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.service-ic {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  background: var(--red-600); color: #fff; margin-top: -48px; position: relative; box-shadow: 0 8px 18px -8px rgb(217 35 45 / .6);
  border: 3px solid var(--white); box-sizing: content-box;
}
.service-ic .i { width: 22px; height: 22px; }
.service h3 { font-size: var(--fs-xl); }
.service p { color: var(--muted); font-size: var(--fs-sm); line-height: 1.55; }
.service ul { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.service li { font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--sand-100); color: var(--ink-700); }
.service .card-more { margin-top: auto; padding-top: 8px; }
.service--wide { grid-column: span 6; }
.service--feature { grid-column: span 6; flex-direction: row; }
.service--feature .service-media { aspect-ratio: auto; flex: 1 1 46%; }
.service--feature .service-body { flex: 1 1 54%; justify-content: center; }
.service--feature .service-ic { margin-top: 0; }
@media (max-width: 1020px) {
  .service { grid-column: span 6; }
  .service--feature { flex-direction: column; }
  .service--feature .service-media { aspect-ratio: 16/10; }
  .service--feature .service-ic { margin-top: -48px; }
}
@media (max-width: 640px) {
  .service, .service--wide, .service--feature { grid-column: 1 / -1; }
}

.card-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: var(--fs-sm); color: var(--red-600); }
.card-more .i { width: 18px; height: 18px; transition: transform .25s var(--ease); }
a:hover .card-more .i { transform: translateX(4px); }

/* všeobecné karty (súvisiace) */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 18px; }
.card {
  display: flex; flex-direction: column; background: var(--white); border-radius: var(--r-lg); overflow: hidden;
  text-decoration: none; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand-200); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { font-size: var(--fs-xl); }
.card-body p { color: var(--muted); font-size: var(--fs-sm); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-body .card-more { margin-top: auto; padding-top: 6px; }

/* ==========================================================================
   OZE (tmavá sekcia)
   ========================================================================== */
.oze-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.oze-card {
  position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 380px; display: flex; flex-direction: column; justify-content: flex-end;
  text-decoration: none; color: #fff; isolation: isolate;
}
.oze-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s var(--ease); }
.oze-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(18 15 14 / 0) 20%, rgb(18 15 14 / .55) 50%, rgb(18 15 14 / .92) 100%); }
.oze-card:hover img { transform: scale(1.06); }
.oze-card-body { padding: 26px; display: grid; gap: 10px; }
.oze-card .tag { justify-self: start; font-size: 12.5px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--yellow-400); color: var(--ink-900); }
.oze-card h3 { font-size: var(--fs-2xl); }
.oze-card p { color: #DDD5CA; font-size: var(--fs-sm); }
.oze-card .card-more { color: var(--yellow-400); }
@media (max-width: 900px) { .oze-grid { grid-template-columns: 1fr; } .oze-card { min-height: 300px; } }

.oze-bottom { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; margin-top: 18px; }
@media (max-width: 900px) { .oze-bottom { grid-template-columns: 1fr; } }
.panel-dark { background: var(--ink-800); border: 1px solid rgb(255 255 255 / .08); border-radius: var(--r-lg); padding: clamp(1.25rem, 1rem + 1.5vw, 2.25rem); }
.panel-dark h3 { font-size: var(--fs-xl); color: #fff; }
.panel-dark p { color: #CFC7BC; font-size: var(--fs-sm); }

/* porovnávací graf */
.bars { display: grid; gap: 16px; margin-top: 22px; }
.bar-row { display: grid; grid-template-columns: minmax(120px, 190px) 1fr; gap: 14px; align-items: center; }
.bar-label { font-size: var(--fs-sm); font-weight: 600; line-height: 1.3; }
.bar-track { position: relative; height: 38px; border-radius: 10px; background: rgb(127 127 127 / .14); overflow: hidden; }
.bar-fill {
  position: absolute; inset: 0 auto 0 0; width: calc(var(--v) * 1%); border-radius: 10px;
  background: linear-gradient(90deg, var(--red-700), var(--red-500));
  display: flex; align-items: center; justify-content: flex-end; padding-right: 12px;
  font-weight: 700; font-size: var(--fs-sm); color: #fff; white-space: nowrap; min-width: max-content;
  transform-origin: left; transition: transform 1.1s var(--ease);
}
.bar-fill--best { background: linear-gradient(90deg, #E2B100, var(--yellow-400)); color: var(--ink-900); }
.bar-fill--mid { background: linear-gradient(90deg, #6F6964, #918A83); }
.bars-note { margin-top: 14px; font-size: 13px; color: var(--muted); }
.section--dark .bars-note, .panel-dark .bars-note { color: #A9A197; }
[data-reveal]:not(.is-visible) .bar-fill { transform: scaleX(0); }
@media (max-width: 520px) { .bar-row { grid-template-columns: 1fr; gap: 6px; } }

.subsidy { display: flex; flex-direction: column; gap: 14px; justify-content: center; background: linear-gradient(135deg, var(--red-600), var(--red-800)); border: 0; }
.subsidy .i-big { width: 52px; height: 52px; padding: 12px; border-radius: 14px; background: rgb(255 255 255 / .14); color: var(--yellow-400); }
.subsidy p { color: #FBE3E3; }
.subsidy .btn { align-self: flex-start; }

/* ==========================================================================
   Postup práce
   ========================================================================== */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: step; position: relative; }
.process-step {
  position: relative; padding: 26px 22px 24px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line);
  counter-increment: step;
}
.process-step::before {
  content: counter(step, decimal-leading-zero); position: absolute; top: 18px; right: 20px;
  font-family: var(--font-display); font-weight: 800; font-size: 2.1rem; color: var(--sand-200); line-height: 1;
}
.process-step .ic { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--red-50); color: var(--red-600); margin-bottom: 18px; }
.process-step .ic .i { width: 24px; height: 24px; }
.process-step h3 { font-size: var(--fs-lg); margin-bottom: 8px; }
.process-step p { font-size: var(--fs-sm); color: var(--muted); line-height: 1.55; }
.process-step--free { background: var(--yellow-400); border-color: var(--yellow-400); }
.process-step--free::before { color: rgb(28 25 23 / .14); }
.process-step--free .ic { background: var(--ink-900); color: var(--yellow-400); }
.process-step--free p { color: var(--ink-800); }
@media (max-width: 1080px) { .process { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .process { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .process { grid-template-columns: 1fr; } }

/* ==========================================================================
   Pre koho
   ========================================================================== */
.audience { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.audience-item { padding: 26px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.audience-item .ic { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--ink-900); color: var(--yellow-400); margin-bottom: 6px; }
.audience-item .ic .i { width: 24px; height: 24px; }
.audience-item h3 { font-size: var(--fs-lg); }
.audience-item p { font-size: var(--fs-sm); color: var(--muted); }
.audience-item .ref-mini { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 13px; color: var(--ink-600); }
.audience-item .ref-mini strong { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-500); margin-bottom: 4px; }
@media (max-width: 1020px) { .audience { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .audience { grid-template-columns: 1fr; } }

/* ==========================================================================
   O nás – príbeh
   ========================================================================== */
.story { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.story-media { position: relative; }
.story-media .photo { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4/3.2; box-shadow: var(--shadow); }
.story-media .photo img { width: 100%; height: 100%; object-fit: cover; }
.story-seal { position: absolute; right: -18px; bottom: -26px; width: 132px; filter: drop-shadow(0 14px 18px rgb(0 0 0 / .22)); }
.story h2 { font-size: var(--fs-3xl); }
.story p { color: var(--ink-700); margin-top: 16px; }
.quote-block {
  margin-top: 26px; padding: 22px 24px; border-radius: var(--r); background: var(--white); border-left: 4px solid var(--red-600);
  font-family: var(--font-display); font-size: var(--fs-xl); font-weight: 600; line-height: 1.35; letter-spacing: -0.01em;
}
.people { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.person { display: flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); }
.person img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.person strong { display: block; font-size: var(--fs-sm); line-height: 1.2; }
.person span { font-size: 13px; color: var(--muted); }
@media (max-width: 900px) { .story { grid-template-columns: 1fr; } .story-seal { width: 104px; right: 8px; } }

.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 3rem; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 13px; height: 2px; background: repeating-linear-gradient(90deg, var(--ink-300) 0 8px, transparent 8px 14px); }
.tl-item { position: relative; padding-top: 42px; }
.tl-item::before { content: ""; position: absolute; top: 4px; left: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--paper); border: 4px solid var(--red-600); }
.tl-year { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-2xl); color: var(--red-600); line-height: 1; }
.tl-item p { margin-top: 8px; font-size: var(--fs-sm); color: var(--ink-700); }
@media (max-width: 820px) {
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline::before { left: 9px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--ink-300) 0 8px, transparent 8px 14px); }
  .tl-item { padding: 0 0 26px 44px; }
  .tl-item::before { top: 2px; }
}

/* ==========================================================================
   Referencie
   ========================================================================== */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee + .marquee .marquee-track { animation-direction: reverse; animation-duration: 70s; }
.marquee + .marquee { margin-top: 12px; }
.ref-pill { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-weight: 600; font-size: var(--fs-sm); white-space: nowrap; }
.ref-pill .i { width: 18px; height: 18px; color: var(--red-600); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { mask-image: none; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
  .marquee-track [aria-hidden="true"] { display: none; }
}

.ref-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.ref-tab {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--white); font-weight: 600; font-size: var(--fs-sm); transition: all .2s;
}
.ref-tab .count { font-size: 12px; padding: 2px 8px; border-radius: 999px; background: var(--sand-100); }
.ref-tab:hover { border-color: var(--ink-900); }
.ref-tab[aria-pressed="true"] { background: var(--ink-900); color: #fff; border-color: var(--ink-900); }
.ref-tab[aria-pressed="true"] .count { background: rgb(255 255 255 / .16); }
.ref-group { margin-bottom: 40px; }
.ref-group[hidden] { display: none; }
.ref-group h2 { font-size: var(--fs-2xl); display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.ref-group h2 .ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--red-600); color: #fff; }
.ref-group h2 .ic .i { width: 22px; height: 22px; }
.ref-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 12px; }
.ref-item { padding: 18px 20px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); }
.ref-item strong { display: block; font-size: var(--fs-sm); line-height: 1.35; }
.ref-item span { display: block; margin-top: 6px; font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.ref-item .ref-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.ref-item .ref-tags em { font-style: normal; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--red-50); color: var(--red-700); }

/* ==========================================================================
   Podstránky – hero
   ========================================================================== */
.page-hero {
  position: relative; overflow: hidden;
  padding-block: clamp(1.5rem, 1rem + 2vw, 2.5rem) clamp(2.5rem, 1.8rem + 3vw, 4.5rem);
  background:
    radial-gradient(700px 380px at 100% 0%, rgb(255 210 31 / .22), transparent 60%),
    radial-gradient(600px 400px at 0% 120%, rgb(217 35 45 / .08), transparent 60%),
    var(--sand-100);
  border-bottom: 1px solid var(--line);
}
.page-hero-grid { display: grid; gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: center; }
.page-hero.has-media .page-hero-grid { grid-template-columns: 1.15fr 1fr; }
.page-hero h1 { font-size: var(--fs-4xl); font-weight: 800; letter-spacing: -0.03em; max-width: 18ch; }
.page-hero:not(.has-media) h1 { max-width: 24ch; }
.page-hero-lead { margin-top: 18px; font-size: var(--fs-lg); color: var(--ink-700); max-width: 62ch; }
.page-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.page-hero-media { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; background: var(--white); }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-media.is-contain img { object-fit: contain; padding: 6%; }
@media (max-width: 900px) {
  .page-hero.has-media .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-media { aspect-ratio: 16 / 10; }
}
@media (max-width: 520px) { .page-hero-actions .btn { width: 100%; } }

.breadcrumbs { margin-bottom: clamp(1.25rem, 1rem + 1.5vw, 2.25rem); font-size: 13.5px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; list-style: none; padding: 0; }
.breadcrumbs li { display: flex; align-items: center; color: var(--ink-600); }
.breadcrumbs li + li::before { content: ""; width: 6px; height: 6px; margin: 0 10px; border-right: 1.5px solid var(--ink-300); border-top: 1.5px solid var(--ink-300); transform: rotate(45deg); }
.breadcrumbs a { color: var(--ink-700); text-decoration: none; }
.breadcrumbs a:hover { color: var(--red-600); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--ink-900); font-weight: 600; }

/* ---------- rozloženie obsahu ---------- */
.page-body { padding-block: clamp(2.5rem, 2rem + 3vw, 5rem); }
.page-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(2rem, 1rem + 3vw, 4.5rem); align-items: start; }
.page-aside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 16px; }
@media (max-width: 1020px) {
  .page-layout { grid-template-columns: 1fr; }
  .page-aside { position: static; grid-template-columns: 1fr 1fr; align-items: start; }
}
@media (max-width: 680px) { .page-aside { grid-template-columns: 1fr; } }

.side-card { border-radius: var(--r-lg); padding: 22px; background: var(--white); border: 1px solid var(--line); }
.side-title { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-500); margin-bottom: 12px; }
.side-nav ul { list-style: none; padding: 0; display: grid; gap: 2px; }
.side-nav a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; text-decoration: none; font-size: var(--fs-sm); font-weight: 500; color: var(--ink-700); transition: background-color .15s, color .15s; }
.side-nav a .i { width: 18px; height: 18px; color: var(--ink-500); }
.side-nav a:hover { background: var(--sand-100); color: var(--ink-900); }
.side-nav a[aria-current="page"] { background: var(--red-50); color: var(--red-700); font-weight: 600; }
.side-nav a[aria-current="page"] .i { color: var(--red-600); }
.side-cta { background: var(--ink-900); color: #E9E2D8; border-color: var(--ink-900); display: grid; gap: 12px; }
.side-cta .side-title { color: var(--yellow-400); margin: 0; }
.side-cta .side-cta-h { font-family: var(--font-display); font-size: var(--fs-xl); font-weight: 700; color: #fff; line-height: 1.2; }
.side-cta .hl::after { opacity: .9; height: .3em; }
.side-cta .hl { color: #fff; }
.side-cta p:not(.side-cta-h):not(.side-title) { font-size: var(--fs-sm); color: #CFC7BC; }
.side-phone { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: #fff; text-decoration: none; padding: 4px 0; }
.side-phone .i { width: 22px; height: 22px; color: var(--yellow-400); }
.side-phone:hover { color: var(--yellow-400); }

/* ==========================================================================
   Prose – textový obsah podstránok
   ========================================================================== */
.prose { font-size: var(--fs-base); color: var(--ink-800); min-width: 0; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: var(--fs-2xl); margin-top: 2.2em; color: var(--ink-900); scroll-margin-top: calc(var(--header-h) + 20px); }
.prose h3 { font-size: var(--fs-xl); margin-top: 1.8em; color: var(--ink-900); }
.prose h2 + *, .prose h3 + * { margin-top: .7em; }
.prose .card-body h3 { margin-top: 0; }
.prose > :first-child { margin-top: 0; }
.prose .lead { font-size: var(--fs-lg); color: var(--ink-700); }
.prose a:not([class]) { color: var(--red-700); font-weight: 500; }
.prose a:not([class]):hover { color: var(--red-600); }
.prose strong { color: var(--ink-900); font-weight: 650; }
.prose :where(ul:not([class]), ol:not([class])) { padding-left: 0; list-style: none; display: grid; gap: .55em; }
.prose :where(ul:not([class]) > li) { position: relative; padding-left: 1.75em; }
.prose :where(ul:not([class]) > li)::before {
  content: ""; position: absolute; left: 2px; top: .55em; width: .7em; height: .7em; border-radius: 3px;
  background: var(--red-600); transform: rotate(45deg) scale(.75);
}
.prose :where(ol:not([class])) { counter-reset: li; }
.prose :where(ol:not([class]) > li) { position: relative; padding-left: 2.4em; counter-increment: li; }
.prose :where(ol:not([class]) > li)::before {
  content: counter(li); position: absolute; left: 0; top: .05em; width: 1.65em; height: 1.65em; border-radius: 50%;
  display: grid; place-items: center; font-size: .82em; font-weight: 700; background: var(--ink-900); color: var(--yellow-400);
}
.prose figure { margin-block: 2em; }
.prose figure img { width: 100%; border-radius: var(--r-lg); background: var(--white); }
.prose figure.is-contain img { object-fit: contain; border: 1px solid var(--line); padding: 4%; }
.prose figcaption { margin-top: 10px; font-size: 13.5px; color: var(--muted); text-align: center; }
.prose hr { border: 0; height: 1px; background: var(--line); margin-block: 2.5em; }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.prose th { font-weight: 700; background: var(--sand-100); }
.table-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); background: var(--white); }

/* zvýraznené odseky */
.callout {
  display: flex; gap: 16px; padding: 20px 22px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line);
  border-left: 4px solid var(--blue-600);
}
.callout > .i { width: 24px; height: 24px; color: var(--blue-600); margin-top: 2px; }
.callout > div > * + * { margin-top: .5em; }
.callout p { margin: 0; }
.callout-title { font-weight: 700; color: var(--ink-900); }
.callout--warn { border-left-color: var(--red-600); background: var(--red-50); border-color: var(--red-100); }
.callout--warn > .i { color: var(--red-600); }
.callout--tip { border-left-color: var(--yellow-500); background: #FFFBEA; border-color: #F7EBB5; }
.callout--tip > .i { color: #B88A00; }
.callout--ok { border-left-color: var(--green-600); background: var(--green-50); border-color: #D3EBDB; }
.callout--ok > .i { color: var(--green-600); }

/* výhody / nevýhody */
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 1.6em; }
.pros-cons > div { padding: 22px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.pros-cons h3 { display: flex; align-items: center; gap: 10px; font-size: var(--fs-lg); margin: 0 0 14px !important; }
.pros-cons h3::before { content: ""; width: 28px; height: 28px; border-radius: 50%; flex: none; background-repeat: no-repeat; background-position: center; background-size: 16px; }
.pros h3::before { background-color: var(--green-600); 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.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.cons h3::before { background-color: var(--ink-700); 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.5' stroke-linecap='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E"); }
.pros-cons ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.pros-cons li { position: relative; padding-left: 28px; font-size: var(--fs-sm); line-height: 1.5; }
.pros-cons li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; background-repeat: no-repeat; background-size: contain; }
.pros li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315803D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.cons li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2357534E' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 12h12'/%3E%3C/svg%3E"); }
@media (max-width: 640px) { .pros-cons { grid-template-columns: 1fr; } }

/* mriežka vlastností */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 14px; margin-top: 1.6em; }
.feature { padding: 22px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.feature .ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--red-50); color: var(--red-600); margin-bottom: 14px; }
.feature .ic .i { width: 22px; height: 22px; }
.prose .feature h3 { font-size: var(--fs-lg); margin: 0 0 6px; }
.feature p { font-size: var(--fs-sm); color: var(--muted); line-height: 1.55; margin: 0; }

/* kroky */
.steps { display: grid; gap: 12px; counter-reset: s; margin-top: 1.6em; }
.steps > li { position: relative; counter-increment: s; padding: 20px 22px 20px 76px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.steps > li::before {
  content: counter(s); position: absolute; left: 20px; top: 18px; width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; background: var(--red-600); color: #fff;
}
.prose .steps h3 { font-size: var(--fs-lg); margin: 0 0 4px; }
.steps p { font-size: var(--fs-sm); color: var(--muted); margin: 0; }

/* zoznam s fajkami */
.checklist { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 10px; margin-top: 1.4em; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); font-size: var(--fs-sm); font-weight: 500; line-height: 1.45; }
.checklist li::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; margin-top: -1px; background: var(--green-600) 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.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.checklist--warn li::before { background: var(--red-600) 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.5' stroke-linecap='round'%3E%3Cpath d='M12 7v6M12 17h.01'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* zvýraznené čísla */
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 12px; margin-top: 1.6em; }
.stat-box { padding: 20px; border-radius: var(--r-lg); background: var(--ink-900); color: #fff; }
.stat-box strong { display: block; font-family: var(--font-display); font-size: var(--fs-3xl); font-weight: 800; color: var(--yellow-400); line-height: 1; letter-spacing: -0.02em; }
.stat-box span { display: block; margin-top: 8px; font-size: 13.5px; color: #D6CFC5; line-height: 1.4; }

/* mriežka produktov (typy kotlov a pod.) */
.split { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: start; padding: 22px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); margin-top: 1.6em; }
.split img { width: 100%; border-radius: var(--r); background: var(--white); }
.prose .split h2, .prose .split h3 { margin-top: 0; }
@media (max-width: 640px) { .split { grid-template-columns: 1fr; } .split img { max-width: 220px; } }

/* inline CTA */
.inline-cta, .rehau-cta {
  display: flex; align-items: center; gap: 18px; padding: 22px 24px; border-radius: var(--r-lg); margin-block: 2em;
  background: var(--yellow-400); color: var(--ink-900);
}
.inline-cta-ic, .rehau-cta-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--ink-900); color: var(--yellow-400); flex: none; }
.inline-cta-ic .i, .rehau-cta-ic .i { width: 24px; height: 24px; }
.inline-cta > div:nth-child(2), .rehau-cta > div:nth-child(2) { flex: 1; }
.inline-cta-h, .rehau-cta-h { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-lg); line-height: 1.25; }
.inline-cta p:not(.inline-cta-h), .rehau-cta p:not(.rehau-cta-h) { font-size: var(--fs-sm); margin-top: 4px; color: var(--ink-800); }
.prose .inline-cta p, .prose .rehau-cta p { margin-top: 4px; }
.rehau-cta { background: var(--ink-900); color: #fff; }
.rehau-cta-ic { background: #2AA1EF; color: #fff; }
.rehau-cta p:not(.rehau-cta-h) { color: #CFC7BC; }
@media (max-width: 720px) {
  .inline-cta, .rehau-cta { flex-direction: column; align-items: flex-start; }
  .inline-cta .btn, .rehau-cta .btn { width: 100%; }
}

/* YouTube */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 14px; margin-top: 1.4em; }
.yt { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: var(--ink-900); }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: opacity .25s, transform .5s var(--ease); }
.yt:hover img { opacity: .95; transform: scale(1.03); }
.yt-play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; }
.yt-play .i { width: 68px; height: 68px; padding: 20px 18px 20px 22px; border-radius: 50%; background: var(--red-600); box-shadow: 0 10px 30px rgb(0 0 0 / .35); transition: transform .25s var(--ease); }
.yt-play:hover .i, .yt-play:focus-visible .i { transform: scale(1.08); }
.yt-title { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 12px; font-size: 13.5px; font-weight: 600; color: #fff; background: linear-gradient(transparent, rgb(0 0 0 / .7)); pointer-events: none; margin: 0 !important; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ==========================================================================
   Formulár
   ========================================================================== */
.contact-section { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(2rem, 1rem + 3vw, 4.5rem); align-items: start; }
@media (max-width: 960px) { .contact-section { grid-template-columns: 1fr; } }
.contact-info h2 { font-size: var(--fs-3xl); }
.contact-info > p { margin-top: 14px; color: var(--muted); font-size: var(--fs-lg); }
.contact-list { list-style: none; padding: 0; display: grid; gap: 12px; margin-top: 28px; }
.contact-list a, .contact-list .row {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line);
  text-decoration: none; transition: border-color .2s, transform .25s var(--ease);
}
.contact-list a:hover { border-color: var(--ink-900); transform: translateX(3px); }
.contact-list .ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--red-600); color: #fff; flex: none; }
.contact-list .ic .i { width: 22px; height: 22px; }
.contact-list small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-500); }
.contact-list strong { display: block; font-size: var(--fs-lg); line-height: 1.3; }

.form-card { padding: clamp(1.25rem, 1rem + 1.5vw, 2.5rem); border-radius: var(--r-xl); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-card h3 { font-size: var(--fs-2xl); }
.form-card > p { color: var(--muted); margin-top: 8px; margin-bottom: 24px; font-size: var(--fs-sm); }
.lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.field { display: grid; gap: 7px; min-width: 0; border: 0; padding: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: var(--fs-sm); font-weight: 600; color: var(--ink-800); padding: 0; }
.field legend { margin-bottom: 10px; }
.req { color: var(--red-600); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--ink-300); background: var(--paper);
  font-size: 16px; transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #A39C94; }
.field input:hover, .field textarea:hover { border-color: var(--ink-500); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--red-600); background: #fff; box-shadow: 0 0 0 4px rgb(217 35 45 / .14); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--red-600); background: var(--red-50); }
.field-error { font-size: 13.5px; color: var(--red-700); font-weight: 500; display: flex; gap: 6px; align-items: center; }
.field-error::before { content: "!"; display: grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: var(--red-600); color: #fff; font-size: 11px; font-weight: 800; flex: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 0 16px; border-radius: 999px;
  border: 1.5px solid var(--ink-300); background: var(--paper); font-size: var(--fs-sm); font-weight: 500; transition: all .15s; user-select: none;
}
.chip span::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--ink-300); background: #fff; transition: all .15s; }
.chip input:hover + span { border-color: var(--ink-600); }
.chip input:checked + span { background: var(--ink-900); border-color: var(--ink-900); color: #fff; }
.chip input:checked + span::before { border-color: var(--yellow-400); background: var(--yellow-400) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231C1917' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat; }
.chip input:focus-visible + span { outline: 3px solid var(--red-600); outline-offset: 2px; }
.field--check { margin-top: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: var(--fs-sm); font-weight: 400 !important; color: var(--ink-700) !important; cursor: pointer; }
.check input { width: 22px; height: 22px; margin-top: 1px; accent-color: var(--red-600); flex: none; cursor: pointer; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.form-note { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); }
.form-note .i { width: 18px; height: 18px; color: var(--green-600); }
.form-status { grid-column: 1 / -1; padding: 16px 18px; border-radius: var(--r); font-weight: 500; }
.form-status.is-ok { background: var(--green-50); color: #14532D; border: 1px solid #C9E7D3; }
.form-status.is-error { background: var(--red-50); color: var(--red-800); border: 1px solid var(--red-100); }
.lead-form.is-sending [data-submit] { opacity: .7; pointer-events: none; }
@media (max-width: 600px) {
  .lead-form { grid-template-columns: 1fr; }
  .form-actions .btn { width: 100%; }
}

/* mapa */
.map { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--sand-100); aspect-ratio: 16 / 9; min-height: 300px; position: relative; }
.map iframe { width: 100%; height: 100%; border: 0; }
.map-placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 24px;
  background:
    linear-gradient(rgb(245 240 232 / .9), rgb(245 240 232 / .9)),
    repeating-linear-gradient(0deg, transparent 0 39px, var(--ink-300) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, var(--ink-300) 39px 40px);
}
.map-placeholder > .i { width: 44px; height: 44px; color: var(--red-600); }
.map-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.map-note { font-size: 12.5px; color: var(--muted); }

/* ==========================================================================
   CTA pás + pätička
   ========================================================================== */
.cta-band { background: var(--red-600); color: #fff; position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; right: -120px; top: -140px; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgb(255 210 31 / .35), transparent 65%);
}
.cta-band::after {
  content: ""; position: absolute; left: -10%; bottom: -60%; width: 60%; height: 120%;
  background: radial-gradient(circle, rgb(0 0 0 / .18), transparent 60%);
}
.cta-band-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px 48px; align-items: center; padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }
.cta-band h2 { font-size: var(--fs-3xl); color: #fff; }
.cta-band p:not(.eyebrow) { margin-top: 14px; color: #FDE3E4; font-size: var(--fs-lg); max-width: 56ch; }
.cta-band-actions { display: grid; gap: 18px; justify-items: start; }
.cta-band-phone { display: flex; align-items: center; gap: 14px; text-decoration: none; color: #fff; }
.cta-band-phone .i { width: 52px; height: 52px; padding: 14px; border-radius: 50%; background: rgb(255 255 255 / .14); }
.cta-band-phone small { display: block; font-size: 13px; color: #FDE3E4; }
.cta-band-phone span { font-family: var(--font-display); font-size: var(--fs-2xl); font-weight: 700; line-height: 1.1; }
.cta-band-phone:hover span { color: var(--yellow-400); }
@media (max-width: 860px) { .cta-band-inner { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .cta-band .btn { width: 100%; } .cta-band-actions { justify-items: stretch; } }

.site-footer { background: var(--ink-950); color: #BDB5AA; padding-top: clamp(3rem, 2rem + 3vw, 5rem); font-size: var(--fs-sm); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 48px; }
.footer-brand img { width: 220px; }
.footer-brand p { margin-top: 18px; max-width: 34ch; line-height: 1.6; }
.footer-social { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; color: #fff; text-decoration: none; font-weight: 600; }
.footer-social .i { width: 38px; height: 38px; padding: 9px; border-radius: 50%; background: rgb(255 255 255 / .08); }
.footer-social:hover .i { background: #1877F2; }
.footer-title { color: #fff; font-weight: 700; margin-bottom: 16px; font-family: var(--font-display); font-size: var(--fs-lg); }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.footer-col a { text-decoration: none; transition: color .15s; }
.footer-col a:hover { color: var(--yellow-400); }
.footer-contact a { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .i { width: 18px; height: 18px; margin-top: 3px; color: var(--yellow-400); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-block: 22px; border-top: 1px solid rgb(255 255 255 / .08); font-size: 13px; color: #8F877D; }
.footer-bottom a { color: inherit; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* mobilná lišta */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar {
    position: fixed; z-index: 80; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom));
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; padding: 8px; border-radius: 20px;
    background: rgb(28 25 23 / .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: var(--shadow-lg);
    transition: transform .35s var(--ease), opacity .3s;
  }
  .mobile-bar.is-hidden { transform: translateY(140%); opacity: 0; }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 14px; font-weight: 700; font-size: var(--fs-sm); text-decoration: none; }
  .mobile-bar .i { width: 19px; height: 19px; }
  .mobile-bar-call { background: rgb(255 255 255 / .1); color: #fff; }
  .mobile-bar-cta { background: var(--yellow-400); color: var(--ink-900); }
  .site-footer { padding-bottom: 96px; }
  .menu-open .mobile-bar { display: none; }
}

/* ==========================================================================
   Modálne okná
   ========================================================================== */
.modal { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; color: inherit; }
.modal::backdrop { background: rgb(18 15 14 / .72); backdrop-filter: blur(4px); }
.modal[open] { animation: modal-in .3s var(--ease); }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.modal--rehau { width: min(1100px, 100vw - 24px); height: min(860px, 100dvh - 24px); margin: auto; border-radius: var(--r-lg); overflow: hidden; background: #fff; display: none; flex-direction: column; }
.modal--rehau[open] { display: flex; }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 20px; border-bottom: 1px solid var(--line); font-size: var(--fs-sm); }
.modal-body { flex: 1; position: relative; background: var(--sand-100); }
.modal-body iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.modal-close { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--sand-100); flex: none; }
.modal-close:hover { background: var(--sand-200); }
.modal-close .i { width: 20px; height: 20px; }
.modal--lightbox { margin: auto; width: min(1000px, 100vw - 24px); }
.modal--lightbox img { max-height: calc(100dvh - 120px); width: auto; margin-inline: auto; border-radius: var(--r); background: #fff; }
.modal--lightbox .modal-close { position: fixed; top: 16px; right: 16px; background: #fff; }
.lightbox-caption { text-align: center; color: #fff; margin-top: 12px; font-size: var(--fs-sm); }
.loader { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: var(--fs-sm); }

/* ==========================================================================
   Certifikáty / galéria
   ========================================================================== */
.cert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 16px; }
.cert {
  display: flex; flex-direction: column; text-align: left; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line);
  overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.cert:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cert-img { position: relative; aspect-ratio: 3 / 4; background: var(--sand-100); padding: 14px; }
.cert-img img { width: 100%; height: 100%; object-fit: contain; box-shadow: var(--shadow-sm); background: #fff; }
.cert-img .i { position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px; padding: 9px; border-radius: 50%; background: var(--ink-900); color: #fff; opacity: 0; transform: scale(.8); transition: all .25s var(--ease); }
.cert:hover .cert-img .i, .cert:focus-visible .cert-img .i { opacity: 1; transform: none; }
.cert-cap { padding: 14px 16px 16px; font-size: 13.5px; font-weight: 600; line-height: 1.4; }
.cert-cap small { display: block; font-weight: 500; color: var(--muted); margin-top: 3px; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery button { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery button:hover img { transform: scale(1.05); }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; } }

/* ==========================================================================
   Kariéra, servis
   ========================================================================== */
.job { padding: clamp(1.25rem, 1rem + 1vw, 2rem); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.job + .job { margin-top: 16px; }
.job-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.prose .job h2 { margin: 0; font-size: var(--fs-2xl); }
.job-badge { font-size: 12.5px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--green-50); color: var(--green-600); }
.job-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 14px !important; padding: 14px 0; border-block: 1px dashed var(--line); list-style: none; }
.prose .job-meta li { padding: 0; display: flex; gap: 8px; align-items: center; font-size: var(--fs-sm); }
.prose .job-meta li::before { display: none; }
.job-meta .i { width: 18px; height: 18px; color: var(--red-600); }
.job-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

.tech-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 14px; margin-top: 1.6em; }
.tech { padding: 22px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.tech-loc { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red-600); }
.tech-loc .i { width: 15px; height: 15px; }
.prose .tech h3 { margin: 0; font-size: var(--fs-xl); }
.tech-brands { display: flex; flex-wrap: wrap; gap: 6px; }
.tech-brands span { font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--sand-100); }
.tech .btn { margin-top: auto; align-self: flex-start; }

/* ==========================================================================
   Animácie pri scrollovaní
   ========================================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* 404 */
.notfound { text-align: center; padding-block: var(--section); }
.notfound-code { font-family: var(--font-display); font-size: clamp(6rem, 4rem + 10vw, 12rem); font-weight: 800; line-height: .9; color: var(--red-600); letter-spacing: -0.05em; }
.notfound h1 { font-size: var(--fs-3xl); margin-top: 12px; }
.notfound p { color: var(--muted); margin-top: 12px; }
.notfound .btn { margin-top: 26px; }

/* tlač */
@media print {
  .site-header, .mobile-bar, .cta-band, .site-footer, .page-aside, .related { display: none !important; }
  body { background: #fff; }
  .page-hero { background: none; }
}

/* ==========================================================================
   Kontakt – info karty, mapa
   ========================================================================== */
.info-card { margin-top: 20px; padding: 22px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.info-list { display: grid; gap: 0; }
.info-list > div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.info-list > div:first-child { border-top: 0; padding-top: 0; }
.info-list dt { font-size: var(--fs-sm); font-weight: 600; color: var(--ink-600); }
.info-list dd { margin: 0; display: grid; gap: 4px; font-size: var(--fs-sm); }
.info-list dd a { color: var(--ink-900); font-weight: 600; text-decoration: none; word-break: break-word; }
.info-list dd a:hover { color: var(--red-600); text-decoration: underline; }
.info-list--compact > div { grid-template-columns: 80px 1fr; padding: 9px 0; }
.info-card--company { margin-top: 0; }
.company-name { font-family: var(--font-display); font-size: var(--fs-xl); font-weight: 700; margin-bottom: 4px; }
.info-card--company > p:not(.side-title):not(.company-name) { color: var(--ink-700); margin-bottom: 16px; }
.map-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 18px; align-items: stretch; }
.map-grid .map { height: 100%; }
@media (max-width: 860px) { .map-grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .info-list > div { grid-template-columns: 1fr; gap: 4px; } }

/* O nás – hodnoty, ľudia */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.value { padding: 26px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.value .ic { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--red-600); color: #fff; margin-bottom: 16px; }
.value .ic .i { width: 24px; height: 24px; }
.value h3 { font-size: var(--fs-lg); margin-bottom: 8px; }
.value p { font-size: var(--fs-sm); color: var(--muted); }
@media (max-width: 1020px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }
.founders { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.founder { display: flex; gap: 20px; align-items: center; padding: 24px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.founder img { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 4px var(--white), 0 0 0 6px var(--yellow-400); }
.founder h3 { font-size: var(--fs-xl); }
.founder .role { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red-600); margin-top: 4px; }
.founder p:not(.role) { font-size: var(--fs-sm); color: var(--muted); margin-top: 8px; }
@media (max-width: 760px) { .founders { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .founder { flex-direction: column; align-items: flex-start; } }

/* Referencie – obce */
.village-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.village-list span { font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--sand-100); }
.ref-item--wide { grid-column: 1 / -1; }

/* Oprávnenia – rozsah */
.scope-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.scope { padding: 24px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.scope h3 { font-size: var(--fs-lg); margin-bottom: 12px; }
.scope p { font-size: var(--fs-sm); color: var(--ink-700); }
.scope p + p { margin-top: 8px; }
.scope code { font-family: var(--font-body); font-size: 13px; background: var(--sand-100); padding: 2px 7px; border-radius: 6px; white-space: nowrap; }
@media (max-width: 860px) { .scope-grid { grid-template-columns: 1fr; } }

/* Služby – prehľad */
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.svc { display: grid; grid-template-columns: 200px 1fr; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); overflow: hidden; scroll-margin-top: calc(var(--header-h) + 20px); }
.svc-media { background: var(--sand-200); }
.svc-media img { width: 100%; height: 100%; object-fit: cover; }
.svc-body { padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.svc h2 { display: flex; align-items: center; gap: 12px; font-size: var(--fs-xl); }
.svc h2 .ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--red-600); color: #fff; flex: none; }
.svc h2 .ic .i { width: 20px; height: 20px; }
.svc .link-arrow { margin-top: auto; }
.ticks { list-style: none; padding: 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 26px; font-size: var(--fs-sm); line-height: 1.5; color: var(--ink-700); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315803D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; }
@media (max-width: 1080px) { .svc-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .svc { grid-template-columns: 1fr; } .svc-media { aspect-ratio: 16 / 9; } }

/* široké menu (Služby) ukotvené na stred hlavičky */
@media (min-width: 1021px) {
  .header-inner { position: relative; }
  .nav-item.is-wide { position: static; }
  .nav-item.is-wide > .mega { top: calc(100% - 2px); }
}
