/* RZ REVEL – štýl webu (prevzaté z v3/css/style.css + úpravy pre WordPress/Elementor na konci) */
/* ==========================================================================
   RZ REVEL – v3 (štýl podľa referencie MPSystem)
   Pravidlá:
   - svetlosivé pozadie, karty o odtieň svetlejšie, zaoblenie 14–18px
   - tmavé "hero" karty s fotkou a tmavým prekrytím (úvod, podstránky, pätička)
   - nadpisy: Inter Tight 400, veľmi tesné, veta (nie verzálky)
   - nad nadpisom NIKDY malý štítok
   - malé verzálky len v kartách (štatistiky) a v navigácii
   - jeden akcent: modrá
   ========================================================================== */

@font-face {
  font-family: "Inter Tight"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("../fonts/inter-tight-latin-ext.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter Tight"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("../fonts/inter-tight-latin.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Nunito Sans"; font-style: normal; font-display: swap; font-weight: 200 1000;
  src: url("../fonts/nunito-sans-latin-ext.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Nunito Sans"; font-style: normal; font-display: swap; font-weight: 200 1000;
  src: url("../fonts/nunito-sans-latin.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #e8e8e9;
  --card: #f4f4f5;
  --card-glass: rgba(244, 244, 245, 0.72);
  --ink: #121418;
  --muted: #61656c;
  --line: rgba(18, 20, 24, 0.1);
  --dark: #111317;
  --on-dark: rgba(255, 255, 255, 0.78);
  --glass: rgba(255, 255, 255, 0.12);
  --glass-strong: rgba(18, 20, 24, 0.86);
  --blue: #2350ff;
  --blue-dark: #183ccc;

  --r-sm: 12px;
  --r: 16px;
  --r-lg: 20px;
  --inset: 12px;
  --wrap: 1080px;
  --gutter: 16px;
  --section: clamp(96px, 12vw, 160px);

  --font-display: "Inter Tight", system-ui, sans-serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body { overflow-x: clip; margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.55; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 400; letter-spacing: -0.03em; line-height: 0.98; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: #fff; padding: 10px 16px; border-radius: 999px; }
.skip-link:focus { top: 16px; }
.icon { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding-top: var(--section); }
.h2 { font-size: clamp(44px, 6.2vw, 84px); }
.h3 { font-size: clamp(28px, 3vw, 40px); }
.muted { color: var(--muted); }
.caps { font-size: 12.5px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; }

/* Nadpis sekcie + text vpravo */
.head { display: grid; gap: 24px 64px; margin-bottom: clamp(32px, 4vw, 48px); align-items: end; }
.head p { color: var(--muted); max-width: 40ch; font-size: 17px; }
@media (min-width: 900px) { .head { grid-template-columns: 1.4fr 1fr; } .head p { justify-self: end; } }

/* Riadky nadpisov pre animáciu (maska) */
.line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.line > span { display: block; }

/* Tlačidlá – pilulky */
.pill {
  display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 22px;
  border-radius: 999px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase;
  white-space: nowrap; cursor: pointer; border: 0; transition: background .25s, color .25s;
}
.pill .icon { width: 16px; height: 16px; stroke-width: 2; transition: transform .25s; }
.pill:hover .icon { transform: translate(2px, -2px); }
.pill--glass { background: var(--glass); color: #fff; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.pill--glass:hover { background: rgba(255, 255, 255, 0.22); }
.pill--dark { background: var(--ink); color: #fff; }
.pill--dark:hover { background: var(--blue); }
.pill--blue { background: var(--blue); color: #fff; }
.pill--blue:hover { background: var(--blue-dark); }
.pill--light { background: #fff; color: var(--ink); }
.pill--light:hover { background: var(--card); }

/* Karta */
.card { background: var(--card); border-radius: var(--r); padding: 24px; }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; color: var(--ink); }
.card-top .icon { color: var(--ink); opacity: .8; }

/* ==========================================================================
   Hlavička (pevná, nad tmavými kartami)
   ========================================================================== */
.header {
  position: fixed; z-index: 50; top: calc(var(--inset) + 12px); left: calc(var(--inset) + 12px); right: calc(var(--inset) + 12px);
  display: flex; align-items: center; gap: 12px; pointer-events: none;
}
.header > * { pointer-events: auto; }
.logo { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 5px; padding: 8px 12px; border-radius: 14px; flex: none; color: #fff; transition: background .3s; }
.logo img { display: block; height: 46px; width: auto; }
@media (min-width: 760px) { .logo img { height: 64px; } }
.header.is-solid .logo { background: var(--glass-strong); }
.nav { display: none; }
.nav ul { display: flex; gap: 2px; padding: 4px; border-radius: 999px; background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: background .3s; }
.nav a { display: block; padding: 11px 14px; border-radius: 999px; color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; transition: background .2s; }
.nav a:hover, .nav a[aria-current="page"] { background: rgba(255, 255, 255, 0.14); }
.header-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; border-radius: 999px; color: #fff;
  font-size: 13px; font-weight: 700; letter-spacing: 0.02em; white-space: nowrap; transition: background .25s;
}
.header-phone:hover { background: var(--glass); }
.header-phone .icon { width: 18px; height: 18px; }
.header.is-solid .header-phone { background: var(--glass-strong); }
@media (max-width: 559px) { .header-phone { width: 44px; padding: 0; justify-content: center; } .header-phone span { display: none; } }
.icon-btn {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: transparent; border: 0; cursor: pointer; transition: background .25s;
}
.icon-btn:hover { background: var(--glass); }
.header .pill--glass { display: none; }
.menu-toggle { background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; position: relative; transition: transform .25s, background .25s; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* Po odscrollovaní z tmavej karty – tmavé sklo, aby bolo menu čitateľné */
.header.is-solid .nav ul, .header.is-solid .pill--glass, .header.is-solid .menu-toggle, .header.is-solid .icon-btn { background: var(--glass-strong); }

.mobile-menu {
  position: fixed; inset: var(--inset); z-index: 45; border-radius: var(--r-lg); background: var(--dark); color: #fff;
  padding: 100px 24px 28px; display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu a.mobile-link { display: block; font-family: var(--font-display); font-size: 40px; letter-spacing: -0.05em; line-height: 1.1; padding: 8px 0; }
.mobile-menu-contact { display: grid; gap: 4px; color: var(--on-dark); font-size: 18px; }
body.menu-open { overflow: hidden; }

@media (min-width: 1000px) {
  .nav, .header .pill--glass { display: block; }
  .header .pill--glass { display: inline-flex; }
  .menu-toggle, .mobile-menu { display: none; }
}

/* ==========================================================================
   Tmavá karta s fotkou (hero, podstránky, pätička)
   ========================================================================== */
.inset { padding: var(--inset) var(--inset) 0; }
.dark-card { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--dark); color: #fff; isolation: isolate; }
.dark-card .bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.dark-card .bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.55) brightness(.55) blur(3px); transform: scale(1.08); }
.dark-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(17, 19, 23, .82) 0%, rgba(17, 19, 23, .45) 55%, rgba(17, 19, 23, .25) 100%);
}

.hero { min-height: min(calc(100svh - var(--inset)), 780px); display: flex; flex-direction: column; justify-content: flex-end; }
/* Úvod – svetlejšia fotka, prekrytie do tmavomodrej */
.hero .bg img { filter: saturate(.75) brightness(.78) blur(3px); }
.hero::after { background: linear-gradient(100deg, rgba(10, 24, 64, .74) 0%, rgba(14, 36, 96, .4) 55%, rgba(20, 50, 130, .18) 100%); }
.hero-inner { display: grid; gap: 40px; padding: 140px clamp(20px, 6vw, 70px) clamp(36px, 5vw, 64px); }
.hero h1 { font-size: clamp(36px, 6.2vw, 84px); letter-spacing: -0.03em; line-height: 0.96; }
.hero-bottom { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.hero-text { color: var(--on-dark); max-width: 72ch; font-size: 16px; line-height: 1.5; }
.hero-text a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; transition: opacity .25s; }
.hero-text a:hover { opacity: .75; }
.hero-picto { width: clamp(280px, 36vw, 520px); height: auto; }
@media (max-width: 559px) { .hero-picto { width: 100%; } }
.hero-lead { display: grid; gap: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 559px) { .hero-lead { width: 100%; } .hero-actions .pill { flex: 1 1 auto; justify-content: center; } }
.logo-mark { display: block; height: clamp(96px, 9vw, 132px); width: auto; }

.page-hero { min-height: 440px; display: flex; flex-direction: column; justify-content: flex-end; }
.page-hero .hero-inner { padding-top: 160px; }
.page-hero h1 { font-size: clamp(44px, 6.2vw, 84px); }
.page-hero--clear .bg img { filter: saturate(1.05) brightness(.82); transform: none; object-position: 50% 63%; }
.page-hero--clear::after { background: linear-gradient(100deg, rgba(10, 24, 64, .62) 0%, rgba(14, 36, 96, .22) 45%, rgba(20, 50, 130, .08) 100%); }
/* Karty hneď pod hero podstránky – na mobile bez veľkej medzery */
@media (max-width: 559px) { .section--flush { padding-top: var(--inset); } }

/* ==========================================================================
   Dôvera – štatistiky + mapa + zoznam
   ========================================================================== */
.reach { position: relative; }
.reach .h2 { font-size: clamp(28px, 3.4vw, 46px); line-height: 1.04; margin-bottom: clamp(24px, 3vw, 32px); }
.stats { position: relative; z-index: 2; display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.stat { display: flex; flex-direction: column; justify-content: space-between; gap: 20px; min-height: 128px; padding: 18px 20px 16px; }
.stat .caps { color: var(--ink); opacity: .75; }
.stat-value { font-family: var(--font-display); font-size: clamp(40px, 4vw, 56px); letter-spacing: -0.065em; line-height: .9; }
.stat-value sup { color: var(--blue); font-size: .42em; vertical-align: top; position: relative; top: -.1em; margin-left: .06em; letter-spacing: 0; }

.map { position: relative; z-index: 1; width: min(100vw, 1440px); margin-left: calc(50% - min(50vw, 720px)); margin-top: clamp(-120px, -7vw, -24px); }
.map-svg { display: block; width: 100%; height: auto; -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 30%, #000 62%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0%, #000 30%, #000 62%, transparent 100%); }
.map-sphere { fill: #dadadc; }
.map-land { fill: #c3c3c6; }
.map-hl { fill: var(--blue); }
.map-borders { fill: none; stroke: var(--bg); stroke-width: .9; }
.map-pin circle { fill: #fff; opacity: .45; }
.map-pin .map-pin-dot { opacity: 1; filter: drop-shadow(0 2px 4px rgba(0,0,0,.25)); }
.map-legend { position: absolute; right: max(var(--gutter), calc(min(50vw, 720px) - var(--wrap) / 2)); bottom: 27%; display: flex; gap: 16px; font-size: 12px; font-weight: 600; }
.map-legend span { display: inline-flex; align-items: center; gap: 6px; }
.map-legend i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.map-legend .dot-blue { background: var(--blue); }
.map-legend .dot-ring { border: 1.5px solid var(--ink); background: #fff; }

.reach-list {
  position: relative; z-index: 2; margin-top: clamp(-190px, -13vw, -40px); padding: clamp(24px, 3vw, 36px);
  background: var(--card-glass); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.reach-list .h3 { margin-bottom: 24px; }
.columns { display: grid; gap: 10px 24px; grid-template-columns: repeat(2, 1fr); font-size: 17px; }
@media (min-width: 900px) { .columns { grid-template-columns: repeat(4, 1fr); } }
.columns li { line-height: 1.35; }
.columns .more { color: var(--muted); }
@media (max-width: 699px) { .map { margin-top: 0; } .reach-list { margin-top: -10%; } .map-legend { bottom: 18%; } }

/* ==========================================================================
   O nás
   ========================================================================== */
.about-page { display: grid; gap: clamp(56px, 7vw, 88px); }
@media (max-width: 559px) { .about-page { padding-top: 32px; } }
.about-lead { max-width: 17em; font-family: var(--font-display); font-size: clamp(32px, 4.4vw, 56px); letter-spacing: -0.03em; line-height: 1.06; text-wrap: balance; }

.about-body { display: grid; gap: 20px; color: var(--ink); font-size: clamp(16px, 1.4vw, 18px); line-height: 1.6; }
@media (min-width: 900px) { .about-body { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.about-body a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

.about-clients { padding: clamp(24px, 3.4vw, 40px); }
.about-clients .h3 { margin-bottom: 24px; }

.about-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.about-cta p { max-width: 52ch; color: var(--muted); }
@media (max-width: 559px) { .about-cta .pill { width: 100%; justify-content: center; } }
.about { display: grid; gap: 32px 64px; }
.about-text { display: grid; gap: 18px; font-size: clamp(19px, 1.8vw, 23px); line-height: 1.45; color: var(--ink); }
.about-text p:last-child { color: var(--muted); font-size: 17px; }
@media (min-width: 900px) { .about { grid-template-columns: 1fr 1.25fr; } }

/* ==========================================================================
   Služby
   ========================================================================== */
.services { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .services { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.services-note { max-width: 72ch; margin-top: 28px; color: var(--muted); }
.services-cta { margin-top: 20px; }
.service { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; min-height: 150px; transition: background .3s, color .3s; }
.service .card-top { justify-content: flex-end; }
.service .icon { width: 26px; height: 26px; opacity: 1; transition: color .3s; }
.service h3 { font-size: clamp(19px, 1.5vw, 21px); letter-spacing: -0.045em; line-height: 1.05; }
.service p { margin-top: 10px; color: var(--muted); font-size: 14px; transition: color .3s; }
.service:hover { background: var(--ink); color: #fff; }
.service:hover .icon { color: #8ea6ff; }
.service:hover p { color: rgba(255,255,255,.6); }
@media (max-width: 639px) {
  .services { gap: 8px; }
  .service { display: grid; grid-template-columns: 24px 1fr; align-items: center; gap: 14px; min-height: 0; padding: 12px 16px; border-radius: var(--r-sm); }
  .service .card-top { justify-content: flex-start; }
  .service .icon { width: 22px; height: 22px; }
  .service h3 { font-size: 17px; line-height: 1.15; }
  .service p { margin-top: 3px; font-size: 13px; }
}

/* ==========================================================================
   Realizácie
   ========================================================================== */
.projects { display: grid; gap: 12px; }
@media (min-width: 760px) { .projects { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
.project { padding: 10px; display: flex; flex-direction: column; }
.project-img { border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 16 / 10; background: var(--bg); }
.project-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.project:hover .project-img img { transform: scale(1.05); }
.project-body { flex: 1; display: flex; justify-content: space-between; align-items: stretch; gap: 24px; padding: 20px 14px 12px; }
.project-body h3 { align-self: flex-start; }
.project-body .arrow-circle { align-self: flex-end; }
.project h3 { font-size: clamp(21px, 2vw, 26px); letter-spacing: -0.04em; line-height: 1.1; }
.arrow-circle { width: 44px; height: 44px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex: none; transition: background .25s, color .25s; }
.arrow-circle .icon { width: 18px; height: 18px; stroke-width: 2; }
.project:hover .arrow-circle { background: var(--blue); color: #fff; }
.center { display: flex; justify-content: center; margin-top: 32px; }

/* Detail realizácie */
.case + .case { margin-top: clamp(72px, 9vw, 120px); }
.case .head { margin-bottom: 24px; }
.case h2 { font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -0.05em; line-height: 1.02; }
.case-list { display: grid; gap: 10px; color: var(--muted); }
.case-note { margin-top: 10px; max-width: 72ch; color: var(--muted); font-size: 15px; }
.case-list li { padding-left: 18px; position: relative; }
.case-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.gallery { display: grid; gap: 10px; grid-template-columns: repeat(3, 1fr); }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(4, 1fr); gap: 12px; } }
@media (min-width: 1000px) { .gallery { grid-template-columns: repeat(6, 1fr); } }
.gallery button { padding: 0; border: 0; border-radius: var(--r-sm); overflow: hidden; cursor: zoom-in; aspect-ratio: 1; background: var(--card); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery button:hover img { transform: scale(1.05); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 900px); max-height: 90vh; }
.lightbox::backdrop { background: rgba(17, 19, 23, .88); backdrop-filter: blur(6px); }
.lightbox img { max-height: 84vh; width: auto; margin: 0 auto; border-radius: var(--r); }
.lightbox-close { position: fixed; top: 20px; right: 20px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); cursor: pointer; display: grid; place-items: center; }

/* ==========================================================================
   Certifikáty
   ========================================================================== */
.cert-band .hero-inner { padding-top: clamp(56px, 7vw, 88px); gap: 48px; }
.cert-band .h2 { max-width: 9em; }
.cert-band .columns { color: var(--on-dark); font-size: 16px; }
.cert-band .head p { color: var(--on-dark); }

.cert-grid { display: grid; gap: 12px; }
@media (min-width: 640px) { .cert-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cert-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.cert { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; min-height: 230px; }
.cert h3 { font-size: clamp(22px, 2vw, 27px); letter-spacing: -0.045em; line-height: 1.08; }
.cert .brands { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-block; padding: 5px 11px; border-radius: 999px; background: #fff; font-size: 13px; font-weight: 600; }
.cert-text > h2 { margin-bottom: 24px; }
.cert-text > h2:not(:first-child) { margin-top: clamp(48px, 6vw, 72px); }
.cert-groups { display: grid; gap: 32px 48px; }
@media (min-width: 760px) { .cert-groups { grid-template-columns: repeat(2, 1fr); } }
.cert-group h3 { font-size: 21px; letter-spacing: -0.035em; line-height: 1.15; margin-bottom: 10px; }
.cert-group p { color: var(--muted); }
.cert-note { margin-top: 8px; color: var(--muted); font-size: 14px; }
.cert--feature { background: var(--ink); color: #fff; }
.cert--feature .cert-note { color: rgba(255,255,255,.65); }
.cert--feature .chip { background: rgba(255,255,255,.12); color: #fff; }

/* ==========================================================================
   Kontakt
   ========================================================================== */
.contact-grid { display: grid; gap: 12px; }
@media (min-width: 560px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .contact-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.contact-card { display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 560px) { .contact-card { justify-content: space-between; gap: 24px; min-height: 200px; } }
.contact-card h2 { font-size: 24px; letter-spacing: -0.045em; line-height: 1.1; }
.contact-card address, .contact-card .lines { color: var(--muted); font-size: 15px; line-height: 1.6; }
.contact-card .lines a { display: block; color: var(--ink); font-family: var(--font-display); font-size: 20px; letter-spacing: -0.04em; line-height: 1.35; }
.contact-card .lines a:hover { color: var(--blue); }
.text-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; color: var(--blue); font-weight: 700; font-size: 14px; }
.text-link .icon { width: 15px; height: 15px; stroke-width: 2; }

/* Textová stránka */
.prose { max-width: 720px; }
.prose h2 { font-size: 30px; letter-spacing: -0.045em; margin: 40px 0 12px; }
.prose p { color: var(--muted); }
.placeholder { border: 1px dashed var(--blue); background: #fff; color: var(--blue-dark); border-radius: var(--r-sm); padding: 16px 20px; font-size: 15px; }

/* ==========================================================================
   Pätička (tmavá karta)
   ========================================================================== */
.footer-wrap { padding: var(--section) var(--inset) var(--inset); }
.footer .hero-inner { padding-top: clamp(56px, 8vw, 100px); gap: clamp(48px, 6vw, 80px); }
.footer-top { display: grid; gap: 32px 64px; }
.footer-top .h2 { font-size: clamp(48px, 7vw, 96px); }
.footer-contacts { display: grid; gap: 2px; align-content: end; }
.footer-contacts a { font-family: var(--font-display); font-size: clamp(26px, 3vw, 40px); letter-spacing: -0.05em; line-height: 1.15; transition: color .2s; }
.footer-contacts a:hover { color: #8ea6ff; }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-contacts { justify-items: end; } }
.footer-cols { display: grid; gap: 28px; font-size: 14px; color: var(--on-dark); line-height: 1.6; }
.footer-cols h3 { font-family: var(--font-body); font-size: 12.5px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; color: #fff; margin-bottom: 10px; line-height: 1.2; }
.footer-cols a:hover { color: #fff; }
@media (min-width: 760px) { .footer-cols { grid-template-columns: repeat(3, 1fr); } }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 24px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: rgba(255,255,255,.55); }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-bottom a:hover, .footer-bottom button:hover { color: #fff; }
.footer-bottom button { background: none; border: 0; padding: 0; cursor: pointer; color: inherit; font-size: inherit; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
.cert-band .head { margin-bottom: 0; }
.footer .text-link { color: #8ea6ff; }
.footer-bottom nav { margin-top: 6px; }
/* Na stránke Kontakt neopakovať veľký kontaktný blok v pätičke */
body:has(.contact-grid) .footer-top { display: none; }

/* ==========================================================================
   WordPress + Elementor
   ========================================================================== */

/* Elementor obal: žiadne medzery medzi widgetmi a okolo kontajnera */
.rz-stack, .e-con.rz-stack {
  --padding-top: 0px; --padding-right: 0px; --padding-bottom: 0px; --padding-left: 0px;
  --gap: 0px; --row-gap: 0px; --column-gap: 0px; --widgets-spacing: 0px; --kit-widget-spacing: 0px;
  padding: 0 !important; gap: 0 !important;
}
.e-con.rz-stack > .e-con-inner { max-width: none; padding: 0; gap: 0; }
.rz-stack .elementor-widget-wrap { padding: 0 !important; }
.rz-stack .elementor-widget, .elementor-widget[class*="elementor-widget-rz-"] { margin-block-end: 0 !important; margin-bottom: 0 !important; width: 100%; }

/* Elementor nastavuje .elementor img { height:auto } – vrátiť naše */
.elementor .dark-card .bg img, .dark-card .bg img { height: 100%; }
.elementor .gallery img { height: 100%; }
.elementor .lightbox img { height: auto; }

/* Odsadenie sekcií (výber „Odsadenie zhora“ vo widgetoch) */
.rz-sec-medium { padding-top: clamp(56px, 7vw, 88px); }
.rz-sec-none { padding-top: 0; }
/* Za sebou idúce realizácie */
.elementor-widget-rz-case + .elementor-widget-rz-case .rz-sec { padding-top: clamp(72px, 9vw, 120px); }

/* Úvodná fotka – prepínač „Rozmazať fotku“ */
.dark-card.rz-blur-on .bg img { transform: scale(1.08); }
.dark-card.rz-blur-on:not(.hero):not(.page-hero--clear) .bg img { filter: saturate(.55) brightness(.55) blur(3px); }
.hero.rz-blur-on .bg img { filter: saturate(.75) brightness(.78) blur(3px); }
.page-hero--clear.rz-blur-on .bg img { filter: saturate(1.05) brightness(.82) blur(3px); }
.dark-card.rz-blur-off:not(.hero):not(.page-hero--clear) .bg img { filter: saturate(.55) brightness(.55); }
.hero.rz-blur-off .bg img { filter: saturate(.75) brightness(.78); }
.page-hero--clear.rz-blur-off .bg img { filter: saturate(1.05) brightness(.82); }
.dark-card.rz-blur-off .bg img { transform: none; }

/* Logá zákazníkov a výrobcov */
.columns.has-logos { align-items: end; gap: 24px; }
.columns.has-logos li { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.client-logo { display: block; width: auto; max-width: 150px; max-height: 44px; object-fit: contain; }
.elementor .client-logo { height: auto; max-height: 44px; }
.cert-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 14px; }
.cert-logos img, .elementor .cert-logos img { display: block; width: auto; max-width: 120px; height: auto; max-height: 34px; object-fit: contain; }
.logos-gray img { filter: grayscale(1); opacity: .7; transition: filter .3s, opacity .3s; }
.logos-gray img:hover, .logos-gray li:hover img { filter: none; opacity: 1; }

/* Kontakt bez korešpondenčnej adresy – 3 karty */
@media (min-width: 1100px) { .contact-grid--3 { grid-template-columns: repeat(3, 1fr); } }

/* Formátovaný text z editora */
.rz-rich > * + * { margin-top: 1em; }
.rz-rich a, .elementor .rz-rich a, .elementor .hero-text a, .elementor .about-body a, .elementor .prose a { text-decoration: underline; text-underline-offset: 3px; }
.about-text .rz-rich p { color: inherit; font-size: inherit; }
.about-body .rz-rich + .rz-rich { margin-top: 0; }
.prose ul, .prose ol { margin: 12px 0; padding-left: 1.2em; list-style: disc; color: var(--muted); }
.prose ol { list-style: decimal; }
.prose p + p { margin-top: 12px; }
.prose a { color: var(--blue); text-decoration: underline; }

/* Admin lišta (prihlásený používateľ) */
.admin-bar .header { top: calc(var(--inset) + 12px + 32px); }
.admin-bar .mobile-menu { top: calc(var(--inset) + 32px); }
@media (max-width: 782px) {
  .admin-bar .header { top: calc(var(--inset) + 12px + 46px); }
  .admin-bar .mobile-menu { top: calc(var(--inset) + 46px); }
}

/* Poistka proti štýlom témy */
.rz-site { background: var(--bg); color: var(--ink); font-family: var(--font-body); }
.rz-site .gallery button:hover, .rz-site .gallery button:focus { background: var(--card); }
.rz-site .menu-toggle:hover, .rz-site .menu-toggle:focus { background: var(--glass); }
.rz-site .header.is-solid .menu-toggle { background: var(--glass-strong); }
.rz-site .footer-bottom button:hover, .rz-site .footer-bottom button:focus { background: none; }
.rz-site .lightbox-close:hover { background: #fff; color: var(--ink); }
.rz-site .pill--dark:hover { color: #fff; }

/* Editor Elementora: prázdny widget nech je viditeľný */
.elementor-editor-active .rz-empty { padding: 24px; border: 1px dashed var(--blue); border-radius: var(--r-sm); color: var(--blue-dark); background: #fff; }
