/* Lumacol — web 2026. Podľa Lumacol Design System (brand 1.0, variant B). */
@font-face { font-family: 'DM Sans'; src: url("../fonts/DMSans-Regular.woff2") format('woff2'), url("../fonts/DMSans-Regular.ttf") format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url("../fonts/DMSans-Medium.woff2") format('woff2'), url("../fonts/DMSans-Medium.ttf") format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url("../fonts/DMSans-Bold.woff2") format('woff2'), url("../fonts/DMSans-Bold.ttf") format('truetype'); font-weight: 700; font-display: swap; }

:root {
  --blue-primary: #0D1BD4;
  --blue-hover: #0A16B0;
  --blue-pressed: #080F88;
  --blue-light: #E7EDFF;
  --gray-light: #F2F4FB;
  --blue-dark: #0F172A;
  --gray: #6B7280;
  --white: #FFFFFF;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-xs: 0 1px 2px rgba(15,23,42,0.04);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --font: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.55; color: var(--blue-dark); background: var(--white); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
h1, h2, h3 { letter-spacing: -0.01em; text-wrap: balance; font-weight: 700; }
h1 { font-size: clamp(36px, 4.6vw, 56px); line-height: 1.08; }
h2 { font-size: clamp(28px, 3vw, 36px); line-height: 1.18; }
h3 { font-size: 22px; line-height: 1.3; }
h4, h3.h4 { font-size: 18px; line-height: 1.35; font-weight: 700; letter-spacing: 0; }
p { text-wrap: pretty; }
.container { width: min(1280px, 100% - 48px); margin-inline: auto; }
.eyebrow { font-size: 14px; font-weight: 700; color: var(--blue-primary); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.lead { font-size: 20px; color: var(--gray); max-width: 60ch; }
.section { padding: 96px 0; }
.section.muted { background: var(--gray-light); }
.section-head { margin-bottom: 48px; max-width: 760px; }
.section-head h2 + p { margin-top: 16px; }
.prose { max-width: 760px; }
.prose h2 { margin: 48px 0 16px; font-size: 28px; }
.prose h3 { margin: 32px 0 8px; }
.prose p, .prose li { color: #3B4354; font-size: 17px; }
.prose p + p { margin-top: 16px; }
.prose ul { padding-left: 20px; margin-top: 8px; }
:focus-visible { outline: 2px solid var(--blue-primary); outline-offset: 2px; border-radius: var(--radius-sm); }

/* Dot grid — podpisový motív */
.dots { position: absolute; width: 168px; height: 120px; background-image: radial-gradient(circle, var(--dot, #E7EDFF) 2.5px, transparent 3px); background-size: 24px 24px; opacity: .55; pointer-events: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: var(--radius-md); font: 700 16px/1.2 var(--font); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.btn-primary { background: var(--blue-primary); color: var(--white); }
.btn-primary:hover { background: var(--blue-hover); }
.btn-primary:active { background: var(--blue-pressed); }
.btn-secondary { background: var(--white); color: var(--blue-primary); border-color: var(--blue-primary); }
.btn-secondary:hover { background: var(--blue-light); }
.btn-inverse { background: var(--white); color: var(--blue-primary); }
.btn-inverse:hover { background: var(--blue-light); }
.btn-outline-inverse { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn-outline-inverse:hover { background: rgba(255,255,255,.12); }
.link { font-weight: 700; color: var(--blue-primary); text-decoration: none; }
.link:hover, a.card:hover .link { text-decoration: underline; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--gray-light); }
.header .inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 2px; text-decoration: none; font-weight: 700; font-size: 26px; letter-spacing: -0.03em; color: var(--blue-primary); line-height: 1; }
.brand img { height: 34px; width: auto; }
.footer .brand img { height: 30px; }
.nav { display: flex; gap: 4px; margin-left: 40px; align-items: center; }
.nav > a, .nav summary { padding: 10px 12px; border-radius: var(--radius-sm); text-decoration: none; font-weight: 500; font-size: 16px; cursor: pointer; list-style: none; display: flex; align-items: center; gap: 6px; }
.nav summary::-webkit-details-marker { display: none; }
.nav > a:hover, .nav summary:hover, .nav > a.active { color: var(--blue-primary); }
.nav > a.active { font-weight: 700; }
.nav details { position: relative; }
.nav summary::after { content: ""; width: 7px; height: 7px; border-right: 1.75px solid currentColor; border-bottom: 1.75px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.submenu { position: absolute; top: calc(100% + 12px); left: 0; min-width: 260px; background: var(--white); border: 1px solid var(--blue-light); border-radius: var(--radius-lg); padding: 8px; display: grid; }
.submenu a { padding: 12px; border-radius: var(--radius-sm); text-decoration: none; font-weight: 500; }
.submenu a:hover { background: var(--gray-light); color: var(--blue-primary); }
.header-right { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.head-contact { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; color: var(--blue-primary); white-space: nowrap; }
.head-contact svg, .lang-dd summary svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.lang-dd { position: relative; }
.lang-dd summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1px solid var(--blue-light); border-radius: 999px; font-size: 14px; font-weight: 700; }
.lang-dd summary::-webkit-details-marker { display: none; }
.lang-dd summary::after { content: ""; width: 6px; height: 6px; border-right: 1.75px solid currentColor; border-bottom: 1.75px solid currentColor; transform: rotate(45deg) translateY(-2px); margin-left: 2px; }
.lang-dd .submenu { left: auto; right: 0; min-width: 160px; }
.lang-dd .submenu span { padding: 10px 12px; font-weight: 500; font-size: 15px; }
.lang-dd .cur { color: var(--blue-primary); font-weight: 700; }
.lang-dd .off { color: var(--gray); opacity: .55; }
.nav-contact { display: none; }
.menu-toggle { display: none; background: var(--white); border: 1px solid var(--blue-light); border-radius: var(--radius-md); padding: 10px 14px; font: 700 14px var(--font); color: var(--blue-dark); cursor: pointer; }

/* Hero (home) */
.hero { background: var(--blue-primary); color: var(--white); position: relative; overflow: hidden; padding: 88px 0 96px; }
.hero .dots.a { top: 28px; right: 32px; }
.hero .dots.b { bottom: 28px; left: 32px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; position: relative; }
.hero .eyebrow { color: var(--blue-light); }
.hero .lead { color: #DCE3FF; margin: 24px 0 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-phone { font-weight: 700; text-decoration: none; padding: 0 12px; line-height: 1.3; }
.hero-phone small { display: block; font-weight: 400; color: #DCE3FF; font-size: 14px; }
.hero-phone:hover { text-decoration: underline; }

.panel { background: var(--white); color: var(--blue-dark); border-radius: var(--radius-xl); padding: 24px; }
.panel-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.panel-head span { font-size: 13px; color: var(--gray); }
.row { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 14px; border-radius: var(--radius-md); background: var(--gray-light); }
.row + .row { margin-top: 8px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #0E9F6E; }
.row.warn .dot { background: #C27803; }
.row.err .dot { background: #D92D20; }
.row b { display: block; font-size: 15px; }
.row small { color: var(--gray); font-size: 13px; }
.tag { font-size: 13px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--white); color: var(--blue-dark); white-space: nowrap; }
.panel-foot { margin-top: 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kpi { border: 1px solid var(--blue-light); border-radius: var(--radius-md); padding: 12px; }
.kpi b { font-size: 22px; display: block; line-height: 1.1; font-variant-numeric: tabular-nums; }
.kpi small { color: var(--gray); font-size: 13px; }
.note { font-size: 13px; color: #DCE3FF; margin-top: 12px; text-align: right; }

/* Page hero (podstránky) */
.page-hero { background: var(--gray-light); padding: 72px 0; position: relative; overflow: hidden; }
.page-hero .dots { --dot: #C9D5FF; top: 24px; right: 32px; opacity: .8; }
.page-hero .lead { margin-top: 20px; }
.page-hero .hero-cta { margin-top: 32px; }
.page-hero .hero-phone small { color: var(--gray); }

/* Fotky */
figure { margin: 0; }
figcaption { font-size: 14px; color: var(--gray); margin-top: 8px; }
.shot { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); }
.shot.tall { aspect-ratio: 4 / 5; object-position: center 35%; }
.page-hero .with-img { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.hero-img { width: 100%; max-width: 480px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); justify-self: end; position: relative; }

.hero-photo { width: 100%; max-width: 460px; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 30%; border-radius: var(--radius-xl); margin-left: auto; }
.hero-photo + .note { max-width: 460px; margin-left: auto; }
.hero-home .hero-photo { max-width: 520px; aspect-ratio: 1 / 1; object-position: 58% center; }

.card.img-card { padding: 0; overflow: hidden; gap: 0; }
.img-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.img-card .body { padding: 24px 28px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }

/* Domov v2 */
.pill { display: inline-block; border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.12); border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 20px; }
.checks { gap: 12px; }
.checks li { font-weight: 500; }
.hero .checks { margin-bottom: 32px; }
.hero .lead { margin-bottom: 24px; }
.hero .bullets li::before { background-color: var(--white); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.9' fill='none' stroke='%230D1BD4' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.clients-strip { background: var(--gray-light); padding: 28px 0; }
.clients-strip .container { display: flex; align-items: center; gap: 20px 48px; }
.strip-logos { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; }
.clients-strip img { height: 46px; width: auto; max-width: 150px; object-fit: contain; border-radius: var(--radius-sm); }
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.head-row .lead { max-width: 44ch; font-size: 18px; }
.offer { background: var(--gray-light); border-radius: var(--radius-xl); padding: 32px; }
.muted .offer { background: var(--white); }
.tabs { display: flex; margin-bottom: 28px; border: 1px solid var(--blue-primary); border-radius: var(--radius-md); overflow: hidden; background: var(--white); }
.tab { flex: 1; padding: 13px 12px; font: 700 15px var(--font); color: var(--blue-primary); background: var(--white); border: 0; border-left: 1px solid var(--blue-primary); cursor: pointer; transition: background .2s var(--ease); }
.tab:first-child { border-left: 0; }
.tab:hover { background: var(--blue-light); }
.tab.active { background: var(--blue-primary); color: var(--white); }
.tab-panel { display: none; grid-template-columns: 1fr 1fr; gap: 32px; align-items: stretch; }
.tab-panel.active { display: grid; }
.tab-panel .shot { height: 100%; }
.offer-body { background: var(--white); border-radius: var(--radius-lg); padding: 36px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.offer-body h3 { font-size: 28px; }
.offer-body p { color: var(--gray); }
.offer-body .btn { margin-top: 8px; }
.entry-row { margin-top: 24px; }
.card.row-card { flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; }
.row-card .link { margin: 0; padding: 0; white-space: nowrap; }
.ref-card { background: var(--gray-light); border: 0; box-shadow: none; }
.ref-card .ph { background: var(--white); margin-bottom: 8px; }
.big-quote { margin: 56px auto 0; max-width: 820px; text-align: center; }
.big-quote img { height: 56px; width: auto; margin: 0 auto 24px; border-radius: var(--radius-sm); }
.big-quote p { font-size: 26px; line-height: 1.35; }
.big-quote footer { margin-top: 20px; font-size: 14px; color: var(--gray); }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tile { background: var(--white); border-radius: var(--radius-lg); padding: 24px; }
.tile b { display: block; font-size: 30px; line-height: 1.1; letter-spacing: -0.02em; }
.tile span { color: var(--gray); font-size: 15px; display: block; margin-top: 6px; }
.logos { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }

.case-study h3 { font-size: 28px; margin-bottom: 16px; }
.case-study .lead { font-size: 18px; margin-bottom: 24px; }
.case-stats { display: flex; gap: 48px; margin-top: 32px; flex-wrap: wrap; }
.case-stats b { display: block; font-size: 48px; line-height: 1; color: var(--blue-primary); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.case-stats span { display: block; color: var(--gray); margin-top: 8px; }

/* Stats */
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-block: 48px; }
.stat b { font-size: 44px; line-height: 1; color: var(--blue-primary); display: block; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat span { color: var(--gray); display: block; margin-top: 8px; }

/* Grid + cards */
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--white); border: 1px solid var(--blue-light); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow-xs); }
.card p { color: var(--gray); }
.card .link { margin-top: auto; padding-top: 12px; }
a.card { text-decoration: none; transition: transform .2s var(--ease), border-color .2s var(--ease); }
a.card:hover { transform: translateY(-2px); border-color: rgba(13,27,212,.2); }
.card.brand-card { background: var(--blue-primary); color: var(--white); border: 0; }
.card.brand-card p { color: #DCE3FF; }
.icon { width: 48px; height: 48px; border-radius: var(--radius-md); background: var(--blue-light); color: var(--blue-primary); display: grid; place-items: center; margin-bottom: 8px; }
.icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.who { font-size: 14px; font-weight: 700; color: var(--blue-primary); }

/* Node bullets */
.bullets { list-style: none; padding: 0; display: grid; gap: 14px; }
.bullets li { display: grid; grid-template-columns: 16px 1fr; gap: 12px; align-items: start; }
.bullets li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--blue-primary); margin-top: 4px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.9' fill='none' stroke='white' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.bullets b { display: block; }
.bullets span { color: var(--gray); }
.band .bullets li::before { background-color: var(--white); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.9' fill='none' stroke='%230D1BD4' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.band .bullets span { color: #DCE3FF; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.top { align-items: start; }

/* Lifecycle map */
.map { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.map::before { content: ""; position: absolute; left: 28px; right: 25%; top: 27px; height: 2px; background-image: radial-gradient(circle, var(--blue-primary) 1.5px, transparent 2px); background-size: 12px 2px; }
.step { position: relative; padding-right: 32px; text-decoration: none; display: block; }
.step .num { width: 56px; height: 56px; border-radius: 50%; background: var(--blue-primary); color: var(--white); display: grid; place-items: center; font-weight: 700; font-size: 20px; margin-bottom: 24px; position: relative; box-shadow: 0 0 0 10px var(--gray-light); }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--gray); }
.step .link { display: inline-block; margin-top: 12px; }
.step:hover .link { text-decoration: underline; }

/* Problem cards */
.problem { padding: 0; overflow: hidden; gap: 0; }
.problem .q { padding: 28px 28px 20px; }
.problem .a { background: var(--gray-light); padding: 20px 28px 24px; flex: 1; }
.problem small { font-size: 14px; font-weight: 700; color: var(--gray); }
.problem .a small { color: var(--blue-primary); }
.problem h3 { margin-top: 4px; }
.problem .a p { color: var(--blue-dark); margin-top: 4px; }

/* Brand band */
.band { background: var(--blue-primary); color: var(--white); position: relative; overflow: hidden; }
.band .eyebrow { color: var(--blue-light); }
.band .lead { color: #DCE3FF; }
.band .dots { top: 28px; right: 32px; }

/* Why */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.why div { border-top: 2px solid var(--blue-primary); padding-top: 20px; }
.why p { color: var(--gray); margin-top: 8px; }

/* Placeholders */
.ph { border: 1px dashed #AEB9E8; background: var(--gray-light); border-radius: var(--radius-lg); color: var(--gray); display: grid; place-items: center; text-align: center; font-size: 14px; padding: 16px; }
.muted .ph { background: var(--white); }
.ph.photo { aspect-ratio: 4 / 3; }
.ph.wide { aspect-ratio: 16 / 10; }
.ph.logo { height: 72px; font-weight: 700; border-radius: var(--radius-md); }
.logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.logo-tile { background: var(--white); border: 1px solid var(--blue-light); border-radius: var(--radius-md); height: 96px; display: grid; place-items: center; padding: 14px; }
.logo-tile img { max-height: 60px; max-width: 82%; width: auto; object-fit: contain; }
.logo-tile.name { font-weight: 700; font-size: 18px; color: var(--blue-dark); text-align: center; line-height: 1.2; }
.logo-tile.name small { display: block; font-weight: 400; font-size: 12px; color: var(--gray); margin-top: 4px; }
.quote { margin: 0; }
.quote p { font-size: 18px; color: var(--blue-dark); }
.quote footer { margin-top: 16px; font-size: 14px; color: var(--gray); }
.case { display: grid; gap: 12px; }
.case span { color: var(--gray); }

/* Process */
.process { counter-reset: p; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 0; }
.process li { list-style: none; background: var(--white); border: 1px solid var(--blue-light); border-radius: var(--radius-lg); padding: 28px; }
.process li::before { counter-increment: p; content: "0" counter(p); font-weight: 700; color: var(--blue-primary); display: block; margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.process p { color: var(--gray); margin-top: 8px; }
.callout { margin-top: 24px; background: var(--blue-light); border-radius: var(--radius-lg); padding: 20px 24px; }

/* FAQ */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--blue-light); }
.faq summary { cursor: pointer; padding: 24px 48px 24px 0; font-weight: 700; font-size: 18px; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 2px; background: var(--blue-primary); transition: transform .2s var(--ease); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq details p { color: var(--gray); padding: 0 48px 24px 0; }

/* CTA block */
.cta { background: var(--blue-primary); color: var(--white); border-radius: var(--radius-xl); padding: 56px; position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.cta .dots { top: 20px; right: 24px; z-index: 0; }
.cta .hero-cta { position: relative; z-index: 1; }
.cta .btn-outline-inverse { background: var(--blue-primary); }
.cta p { color: #DCE3FF; margin-top: 12px; font-size: 18px; max-width: 52ch; }
.cta .hero-cta { position: relative; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; grid-template-areas: "intro form" "extra form"; grid-template-rows: auto 1fr; gap: 0 64px; align-items: start; }
.c-intro { grid-area: intro; }
.c-extra { grid-area: extra; }
.c-extra .contact-list { margin-top: 20px; }
.contact-grid .form { grid-area: form; }
.contact-list { margin-top: 32px; display: grid; gap: 20px; }
.contact-list small { display: block; color: var(--gray); font-size: 14px; }
.contact-list a, .contact-list span { font-weight: 700; font-size: 20px; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.page-hero:has(.contact-grid) .dots { display: none; }
.contact-list .ids { font-size: 16px; font-weight: 500; line-height: 1.6; }
.form { background: var(--white); border: 1px solid var(--blue-light); border-radius: var(--radius-lg); padding: 32px; display: grid; gap: 16px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { font-size: 14px; font-weight: 500; display: grid; gap: 6px; }
.form input, .form select, .form textarea { font: 400 16px var(--font); padding: 12px 14px; border: 1px solid #D5DBEE; border-radius: var(--radius-sm); background: var(--white); color: var(--blue-dark); width: 100%; }
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue-primary); }
.form .consent { font-weight: 400; color: var(--gray); display: flex; gap: 10px; align-items: flex-start; }
.form .consent input { width: 18px; height: 18px; margin-top: 2px; flex: none; }
.form-msg { padding: 12px 14px; border-radius: var(--radius-sm); background: var(--blue-light); display: none; }
.form-msg.ok { background: #DCFCE7; color: #166534; }
.form-msg.err { background: #FEE2E2; color: #991B1B; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-msg.show { display: block; }

/* Footer */
.footer { background: var(--gray-light); padding: 64px 0 32px; font-size: 15px; color: var(--gray); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer h4, .footer .f-title { color: var(--blue-dark); font-size: 16px; line-height: 1.35; letter-spacing: 0; margin-bottom: 12px; }
.footer-grid a:not(.brand) { color: var(--gray); text-decoration: none; display: block; padding: 4px 0; }
.footer-grid a:not(.brand):hover { color: var(--blue-primary); text-decoration: underline; }
.footer .brand { margin-bottom: 16px; }
.footer-logos { border-top: 1px solid #DDE3F5; margin-top: 40px; padding-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; font-weight: 700; color: #8B93A6; font-size: 14px; }
.footer-logos .lbl { font-weight: 400; color: #5B6472; }
.footer-logos img { height: 36px; width: auto; max-width: 120px; object-fit: contain; border-radius: var(--radius-sm); }
.footer-logos .name { font-weight: 700; color: var(--gray); }
.footer-bottom { margin-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 14px; }
.footer-bottom a { color: var(--gray); }

/* Preview router */
body[data-preview] .page { display: none; }
body[data-preview] .page.current { display: block; }

/* Responsive */
@media (max-width: 1340px) { .header .inner { gap: 16px; } }
@media (max-width: 1080px) {
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--blue-light); padding: 12px 24px 24px; flex-direction: column; align-items: stretch; margin: 0; }
  .nav.open { display: flex; }
  .submenu { position: static; border: 0; padding: 0 0 0 12px; }
  .menu-toggle { display: block; }
  .nav-contact { display: grid; gap: 4px; margin-top: 12px; padding-top: 16px; border-top: 1px solid var(--gray-light); }
  .nav-contact a:not(.btn) { display: flex; align-items: center; gap: 10px; padding: 10px 12px; font-weight: 700; color: var(--blue-primary); text-decoration: none; }
  .nav-contact svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
  .nav-contact .btn { margin-top: 12px; justify-content: center; }
  .nav { max-height: calc(100vh - 72px); overflow-y: auto; }
  .head-contact.tel { font-size: 0; gap: 0; width: 44px; height: 44px; justify-content: center; border: 1px solid var(--blue-light); border-radius: var(--radius-md); text-decoration: none; }
  .head-contact.tel svg { width: 20px; height: 20px; }
  .hero-home { padding: 96px 0 88px; }
  .hero-home .hero-grid { position: static; }
  .hero-home .hero-grid > div:first-child { position: relative; z-index: 1; max-width: 640px; }
  .hero-home .hero-media { position: absolute; inset: 0; }
  .hero-home .hero-media::after { content: ""; position: absolute; inset: 0; background: rgba(13, 27, 212, .82); }
  .hero-home .hero-photo { max-width: none; width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; object-position: 72% center; }
  .hero-home .hero-media .note { display: none; }
  .hero-home .dots { z-index: 1; }
  .header-right { margin-left: auto; }
  .hero-grid, .cta { grid-template-columns: 1fr; gap: 40px; }
  .split { gap: 32px; }
  .contact-grid { column-gap: 32px; }
  .tab-panel { gap: 20px; }
  .offer { padding: 24px; }
  .offer-body { padding: 28px; }
  .page-hero .with-img { gap: 32px; }
  .form .two { grid-template-columns: 1fr; }
  .form { padding: 24px; }
  .clients-strip .container { flex-direction: column; align-items: stretch; gap: 16px; }
  .clients-strip strong { font-size: 14px; color: var(--gray); font-weight: 500; }
  .footer-logos .lbl { flex: 0 0 100%; }
  .cta .dots { display: none; }
  .case-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .case-stats b { font-size: 40px; }
  .footer-logos { gap: 12px 24px; }
  .footer-logos img { height: 32px; max-width: 104px; }
  .footer-grid a:not(.brand) { padding: 10px 0; }
  .footer-bottom a { display: inline-block; padding: 12px 0; }
  .card .link, .step .link { padding: 10px 0; margin-top: 0; }
  .g3.swipe { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .g4.swipe { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .swipe .img-card .body { padding: 18px 20px 14px; gap: 6px; }
  .swipe .img-card h3 { font-size: 19px; }
  .swipe .img-card p { font-size: 15px; }
  .hero-photo, .hero-photo + .note { margin-left: 0; }
  .g4, .why, .process, .g3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 24px; }
}
@media (max-width: 700px) {
  .section { padding: 52px 0; }
  .split, .tab-panel.active, .page-hero .with-img { grid-template-columns: 1fr; gap: 28px; }
  /* Na mobile je obrázok vždy nad textom, aby sa bloky nestriedali */
  .split > figure, .split > div:has(> figure) { order: -1; }
  .hero-img { justify-self: start; }
  .contact-grid { grid-template-columns: 1fr; grid-template-areas: "intro" "form" "extra"; row-gap: 28px; }
  .c-extra .contact-list { margin-top: 0; grid-template-columns: 1fr 1fr; }
  .c-extra .contact-list span { font-size: 15px; font-weight: 500; line-height: 1.6; }
  .contact-list { margin-top: 24px; gap: 14px; }
  .strip-logos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 16px; justify-items: start; }
  .g3.swipe, .g4.swipe { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -24px; padding: 0 24px 12px; scroll-padding: 0 24px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .g3.swipe::-webkit-scrollbar, .g4.swipe::-webkit-scrollbar { display: none; }
  .swipe > .card { flex: 0 0 78%; scroll-snap-align: start; }
  .case-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
  .case-stats b { font-size: 36px; }
  .case-stats span { font-size: 14px; }
  .footer { padding: 48px 0 24px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .head-row { margin-bottom: 24px; gap: 8px; }
  .hero { padding: 56px 0 64px; }
  .page-hero { padding: 48px 0; }
  .lead { font-size: 18px; }
  .stats .container { grid-template-columns: 1fr 1fr; }
  .stat b { font-size: 34px; }
  .g2, .g3, .g4, .why, .process { grid-template-columns: 1fr; }
  .map { grid-template-columns: 1fr; gap: 32px; }
  .map::before { display: none; }
  .step { padding: 0 0 0 76px; min-height: 56px; }
  .step .num { position: absolute; left: 0; top: 0; margin: 0; box-shadow: none; }
  .tabs { flex-wrap: wrap; }
  .tab { flex: 1 1 50%; border-top: 1px solid var(--blue-primary); margin-top: -1px; }
  .offer { padding: 16px; }
  .offer-body { padding: 24px; }
  .card.row-card { flex-direction: column; align-items: flex-start; }
  .clients-strip img { height: 36px; }
  .big-quote p { font-size: 20px; }
  .form .two { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .header-right > .btn, .lang-dd { display: none; }
  .hero-home { padding: 72px 0 64px; }
  .hero-home h1 { font-size: 36px; }
  .hero-home .hero-cta .btn { flex: 1 1 100%; justify-content: center; }
  .cta { padding: 32px; }
  .dots { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* Naša ponuka: štyri karty */
.offer-cards .img-card { text-decoration: none; color: inherit; }
.offer-cards .img-card .body { padding: 22px 22px 24px; gap: 10px; }
.offer-cards h3 { font-size: 20px; }
.offer-cards p { color: var(--gray); font-size: 15px; }
.offer-cards .checks { margin: 6px 0 10px; gap: 8px; }
.offer-cards .checks li { font-size: 14.5px; }
.offer-cards .link { margin-top: auto; }
.entry-row { margin-top: 24px; }
.process.three { grid-template-columns: repeat(3, 1fr); }

/* Ukážky softvéru */
.mock-wrap { margin: 0; justify-self: center; width: 100%; max-width: 500px; }
.mock-wrap figcaption { font-size: 14px; color: var(--gray); margin-top: 10px; text-align: center; }
.mock { background: var(--white); border: 1px solid var(--blue-light); border-radius: var(--radius-xl); padding: 26px; font-size: 16px; color: var(--blue-dark); display: block; }
.mock > div { display: grid; gap: 12px; }
.mock.terminal { max-width: 380px; margin: 0 auto; border: 10px solid var(--blue-dark); border-radius: 32px; padding: 18px; }
.mock small { display: block; font-size: 13.5px; color: var(--gray); font-weight: 400; }
.mock b { font-weight: 700; }
.mock s { color: var(--gray); font-weight: 400; margin-left: 4px; }
.m-top { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--gray); padding-bottom: 12px; border-bottom: 1px solid var(--gray-light); }
.m-top span:first-child { color: var(--blue-dark); font-weight: 700; font-size: 16px; }
.m-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.m-offer { background: var(--blue-light); border-radius: var(--radius-lg); padding: 14px; display: grid; gap: 10px; }
.m-offer small { color: var(--blue-primary); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: 11.5px; }
.m-btns { display: flex; gap: 8px; }
.m-btn { flex: 1; text-align: center; padding: 9px 8px; border-radius: var(--radius-md); background: var(--white); font-weight: 500; font-size: 14px; }
.m-btn.primary { background: var(--blue-primary); color: var(--white); font-weight: 700; }
.m-loyal { border: 1px solid var(--blue-light); border-radius: var(--radius-lg); padding: 14px; display: grid; gap: 8px; }
.m-dots { display: grid; grid-template-columns: repeat(10, 1fr); gap: 5px; }
.m-dots i { aspect-ratio: 1; border-radius: 50%; border: 2px solid var(--blue-light); }
.m-dots i.on { background: var(--blue-primary); border-color: var(--blue-primary); }
.m-pay { background: var(--blue-dark); color: var(--white); text-align: center; font-weight: 700; padding: 12px; border-radius: var(--radius-md); }
.m-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--gray-light); }
.m-line > div { min-width: 0; flex: 1; }
.m-line b { display: block; }
.mock > div > .m-line:last-of-type { border-bottom: 0; }
.chip { flex: none; font-size: 13px; font-weight: 700; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.chip.ok { background: #DCFCE7; color: #166534; }
.chip.warn { background: #FEF3C7; color: #92400E; }
.chip.bad { background: #FEE2E2; color: #991B1B; }
.bar { display: block; height: 6px; border-radius: 3px; background: var(--gray-light); margin-top: 6px; max-width: 200px; }
.bar i { display: block; height: 100%; border-radius: 3px; background: var(--blue-primary); }
.m-foot { display: flex; justify-content: space-between; background: var(--gray-light); border-radius: var(--radius-md); padding: 12px 14px; }
.m-sms { background: var(--blue-dark); color: var(--white); border-radius: var(--radius-lg); padding: 12px 14px; font-size: 14px; line-height: 1.45; margin: 4px 0 -36px 22%; position: relative; }
.m-sms small { color: #9CA3AF; margin-bottom: 2px; }
.mock.portal { margin-bottom: 26px; }
@media (max-width: 1080px) {
  .process.three { grid-template-columns: 1fr; }
  .offer-cards .img-card .body { padding: 18px 20px 20px; }
}
@media (max-width: 700px) {
  .mock-wrap { max-width: 400px; }
  .m-sms { margin-left: 10%; }
  .chip { font-size: 12px; padding: 4px 8px; }
}

/* Čitateľnosť: sivý text na svetlom pozadí má kontrast aspoň 5 : 1 */
.muted, .page-hero, .clients-strip, .footer, .m-foot, .callout { --gray: #5B6472; }

/* Tmavá sekcia */
.section.dark, .stats { background: var(--blue-dark); color: var(--white); --gray: #AEB6C8; }
.section.dark h2, .section.dark h3 { color: var(--white); }
.section.dark .eyebrow { color: #9DB0FF; }
.section.dark .lead { color: #C7CEDD; }
.section.dark .bullets span, .section.dark .process p { color: #AEB6C8; }
.section.dark .bullets li::before { background-color: #9DB0FF; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.9' fill='none' stroke='%230F172A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.section.dark .process li { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
.section.dark .process li::before { color: #9DB0FF; }
.section.dark .callout { background: rgba(255,255,255,.1); color: var(--white); }
.stat b { color: var(--white); }
.stats .stat span { color: #AEB6C8; }

/* Riešenia: rýchla navigácia medzi odvetviami */
.chips { background: var(--white); border-bottom: 1px solid #E3E7F0; position: sticky; top: 69px; z-index: 40; transition: box-shadow .2s; }
.chips.stuck { box-shadow: 0 8px 24px rgba(15,23,42,.08); }
.chips .container { display: flex; align-items: center; gap: 10px; padding-block: 18px; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; }
.chips-lbl { flex: none; font-size: 13px; font-weight: 500; color: var(--gray); text-transform: uppercase; letter-spacing: .06em; margin-right: 8px; }
.chips .container::-webkit-scrollbar { display: none; }
.chips a { flex: none; padding: 11px 20px; border-radius: 999px; background: var(--white); border: 1.5px solid var(--blue-light); color: var(--blue-dark); font-weight: 500; font-size: 15px; text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
.chips a:hover { border-color: var(--blue-primary); color: var(--blue-primary); }
.chips a.active { background: var(--blue-primary); border-color: var(--blue-primary); color: var(--white); }
[id^="odv-"] { scroll-margin-top: 96px; }   /* + scroll-padding 88 px = hlavička a lišta odvetví */
.split .hero-cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }

/* Súvisiace stránky */
.section.related { padding: 64px 0 0; }
.related h2 { font-size: 24px; margin-bottom: 24px; }
.related .row-card { text-decoration: none; color: inherit; }
.related .row-card p { color: var(--gray); }
.related .row-card:hover { border-color: var(--blue-primary); }
.submenu a.sep { border-top: 1px solid var(--gray-light); border-radius: 0 0 var(--radius-sm) var(--radius-sm); margin-top: 4px; padding-top: 14px; color: var(--blue-primary); }

@media (max-width: 700px) {
  .chips { top: 65px; }
  .section.related { padding-top: 48px; }
  [id^="odv-"] { scroll-margin-top: 80px; }
  .chips .container { padding-block: 14px; gap: 8px; }
  .chips a { padding: 10px 16px; font-size: 14.5px; }
  .chips-lbl { display: none; }
}

/* Domov: vstupy podľa návštevníka */
.entry h2 { margin-bottom: 40px; }
.entry-card { text-decoration: none; color: inherit; gap: 8px; padding: 24px; }
.entry-card .icon { margin-bottom: 6px; }
.entry-card h3 { font-size: 19px; }
.entry-card p { color: var(--gray); font-size: 15px; }
.entry-card .link { margin-top: auto; padding-top: 8px; }
.entry-card:hover { border-color: var(--blue-primary); }

/* Balíčky softvéru */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan { position: relative; background: var(--white); border: 1px solid var(--blue-light); border-radius: var(--radius-lg); padding: 32px 28px; }
.plan.featured { border: 2px solid var(--blue-primary); }
.plan-tag { position: absolute; top: -13px; left: 28px; background: var(--blue-primary); color: var(--white); font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.plan h3 { font-size: 26px; }
.plan-intro { color: var(--gray); margin: 6px 0 20px; }
.plan ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.plan li { padding-left: 28px; position: relative; font-weight: 500; }
.plan li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--blue-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.9' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.plan li.soon { color: var(--gray); font-weight: 400; }
.plan li.soon::before { background: none; border: 2px solid #C5CBDA; }
.plan li em { font-style: normal; font-size: 12.5px; font-weight: 500; background: var(--gray-light); color: #5B6472; padding: 2px 8px; border-radius: 999px; margin-left: 4px; white-space: nowrap; }
.plans-note { margin-top: 28px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; color: var(--gray); }

/* Cookies */
.link-btn { font: inherit; color: inherit; background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }
.footer-bottom .link-btn { padding: 12px 0; }
.cookie-bar { display: none; position: fixed; left: 24px; bottom: 24px; z-index: 70; max-width: 460px; background: var(--white); border: 1px solid var(--blue-light); border-radius: var(--radius-lg); padding: 20px; box-shadow: 0 12px 32px rgba(15,23,42,.16); }
.cookie-bar.show { display: block; }
.cookie-bar p { font-size: 15px; color: #5B6472; }
.cookie-bar p strong { color: var(--blue-dark); }
.cookie-bar div { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.cookie-bar .btn { padding: 11px 12px; }
@media (max-width: 1080px) {
  .plans { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 700px) {
  .cookie-bar { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .entry h2 { margin-bottom: 24px; }
  .entry-card { padding: 18px 20px; }
  .entry-card .icon { display: none; }
}

.soon-tag { font-style: normal; font-size: 12.5px; font-weight: 500; background: var(--blue-light); color: var(--blue-primary); padding: 2px 8px; border-radius: 999px; margin-left: 6px; white-space: nowrap; vertical-align: 2px; }

/* Platobné terminály s fotkou */
.term img, .term-ph { height: 170px; width: 100%; object-fit: contain; margin-bottom: 12px; }
.term-ph { display: grid; place-items: center; background: var(--gray-light); border-radius: var(--radius-md); }
.term-ph .icon { margin: 0; }

/* Mapa na Kontakte: načíta sa až po kliknutí */
.gmap { border-radius: var(--radius-lg); overflow: hidden; background: var(--white); border: 1px solid #E3E7F0; aspect-ratio: 4 / 3; }
.gmap-ph { height: 100%; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 14px; padding: 32px;
  background-image: radial-gradient(#D5DBEA 1px, transparent 1px); background-size: 18px 18px; }
.gmap-ph p { background: var(--white); padding: 4px 0; }
.gmap-ph small { color: var(--gray); font-size: 13px; background: var(--white); }
.gmap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Na stiahnutie */
.download { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.download small { color: #AEB6C8; font-size: 13px; }

/* Tabuľky v textoch (cookies) */
.prose .table-wrap { overflow-x: auto; margin: 16px 0 24px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #E3E7F0; vertical-align: top; }
.prose th { font-weight: 500; color: var(--blue-dark); background: var(--gray-light); }
.prose td:first-child { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; white-space: nowrap; }
.prose .updated { margin-top: 40px; font-size: 13px; color: var(--gray); }
@media (max-width: 640px) {
  .prose table { min-width: 0; }
  .prose thead { display: none; }
  .prose table, .prose tbody, .prose tr, .prose td { display: block; width: 100%; }
  .prose tr { padding: 12px 0; border-bottom: 1px solid #E3E7F0; }
  .prose td { border: 0; padding: 2px 0; }
  .prose td:first-child { white-space: normal; font-weight: 500; color: var(--blue-dark); }
}

/* Rozmery obrázkov sú v HTML kvôli stabilite stránky; výšku dopočíta prehliadač */
img { height: auto; }

/* Referencia: logo klienta a skrátená verzia na úvodnej stránke */
.case-logo { height: 48px; width: auto; margin-bottom: 20px; border-radius: var(--radius-sm); }
.case-study.short .lead { margin-bottom: 0; }
.case-study.short .case-stats { margin-top: 24px; }
.case-study .case-more { margin-top: 32px; }

/* Päť terminálov vedľa seba */
.grid.terms { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1080px) { .grid.terms { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) {
  .grid.terms { grid-template-columns: 1fr; gap: 12px; }
  .term { display: grid; grid-template-columns: 88px 1fr; column-gap: 18px; align-items: center; padding: 18px; }
  .term img, .term-ph { grid-row: span 2; height: 110px; margin: 0; }
  .term h3 { align-self: end; }
  .term p { align-self: start; font-size: 15px; }
}

/* Čísla, ktoré by iOS sám zmenil na odkaz (napr. DIČ), majú vyzerať ako ostatný text */
a[x-apple-data-detectors] { color: inherit !important; text-decoration: none !important; font: inherit !important; }

/* Logá klientov a partnerov: 8 log v dvoch radoch po štyroch */
/* Logá: klienti (6) a technologickí partneri (3) */
.logos-h { font-size: 18px; margin: 0 0 16px; }
.logos + .logos-h { margin-top: 36px; }
.logos.six { grid-template-columns: repeat(6, 1fr); }
.logos.three { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 1080px) { .logos.six, .logos.three { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .logos.six, .logos.three { grid-template-columns: repeat(2, 1fr); } }

/* Referencie na úvodnej stránke: dve karty vedľa seba */
.case-cards { gap: 24px; }
.case-card { padding: 0; overflow: hidden; }
.case-card figure { margin: 0; }
.case-card .shot { border-radius: 0; aspect-ratio: 16 / 9; }
.case-card .body { padding: 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.case-card .case-logo { height: 40px; margin: 0 0 4px; align-self: flex-start; }
.case-card h3 { font-size: 22px; }
.case-card p { color: var(--gray); }
.case-card .case-stats { margin-top: 8px; gap: 32px; }
.case-card .case-stats b { font-size: 36px; }
.case-card .case-more { margin-top: auto; align-self: flex-start; }
.case-card .case-stats { margin-bottom: 24px; }

/* Mini galéria a zväčšená fotka */
.gallery-h { font-size: 18px; margin: 56px 0 16px; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.g-item { display: block; border-radius: var(--radius-md); overflow: hidden; position: relative; }
.g-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .3s; }
.g-item:hover img, .g-item:focus-visible img { transform: scale(1.04); }
.g-item:focus-visible { outline: 3px solid var(--blue-primary); outline-offset: 3px; }
@media (max-width: 700px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; } .gallery-h { margin-top: 40px; } }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(15,23,42,.9); }
.lightbox .lb-wrap { width: 100%; height: 100%; display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 24px 0; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 120px); object-fit: contain; border-radius: var(--radius-md); }
.lightbox figcaption { color: #DCE3FF; font-size: 15px; text-align: center; }
.lightbox button { background: rgba(255,255,255,.12); color: var(--white); border: 0; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; justify-self: center; display: grid; place-items: center; }
.lightbox button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.lightbox button:hover { background: rgba(255,255,255,.24); }
.lightbox .lb-close { position: fixed; top: 16px; right: 16px; }
@media (max-width: 700px) { .lightbox .lb-wrap { grid-template-columns: 44px 1fr 44px; } .lightbox button { width: 40px; height: 40px; } }
