/* ==========================================================================
   KOSI STAV – redizajn (inšpirácia: uthao hero)
   ========================================================================== */

:root {
  --red: #DE3B31;
  --red-dark: #C22F26;
  --amber: #F2B84B;
  --ink: #15171C;
  --body: #5C636D;
  --surface: #F4F4F2;
  --line: #E8E7E3;
  --white: #FFFFFF;
  --dark: #14161B;

  --r-hero: 26px;
  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 12px;

  --glass-bg: rgba(255, 255, 255, 0.12);
  --glass-border: rgba(255, 255, 255, 0.22);

  --font: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

h1, h2, h3 {
  font-family: var(--font);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.03em;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.section { padding: 104px 0; }
.section-surface { background: var(--surface); }

section[id], article[id] { scroll-margin-top: 96px; }

/* ---------- Reveal animácie ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Tlačidlá ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font); font-size: 15px; font-weight: 500;
  padding: 9px 9px 9px 20px; border: 0; border-radius: 999px;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background .2s ease, transform .2s ease;
}
.btn:active { transform: scale(.97); }
.btn-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 9px;
  background: rgba(0, 0, 0, 0.18);
}
.btn-ico svg { width: 13px; height: 13px; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-block { width: 100%; justify-content: center; }

.glass-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px;
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  color: #fff; font-family: var(--font); font-size: 13.5px;
  text-decoration: none;
}

.pill-badge {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: var(--red); color: #fff;
  font-family: var(--font); font-size: 13px; font-weight: 500;
  letter-spacing: .01em;
}

/* ==========================================================================
   Header – bar vystrihnutý z hornej hrany hero fotky
   (nad barom biela, fotka po stranách a pod ním)
   ========================================================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 26px 44px 0;
}
/* biely pruh nad barom – aj pri scrolle */
.site-header::before {
  content: ""; position: absolute;
  top: 0; left: 0; right: 0; height: 26px;
  background: #fff;
}
.header-inner {
  position: relative;
  max-width: 1264px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: #fff;
  border-radius: 0 0 20px 20px;
  padding: 12px 12px 12px 24px;
  transition: box-shadow .3s ease;
}
/* obrátené rohy – biela zhora sa oblúkom vlieva do fotky popri bare */
.header-inner::before,
.header-inner::after {
  content: ""; position: absolute; top: 0;
  width: 18px; height: 18px;
  pointer-events: none;
}
.header-inner::before {
  left: -18px;
  background: radial-gradient(circle 18px at 0% 100%, rgba(255,255,255,0) 17px, #fff 17.6px);
}
.header-inner::after {
  right: -18px;
  background: radial-gradient(circle 18px at 100% 100%, rgba(255,255,255,0) 17px, #fff 17.6px);
}
.site-header.scrolled .header-inner { box-shadow: 0 12px 32px rgba(20, 22, 27, 0.16); }

/* Tablet – rovnaký výrez ako na desktope, bar musí začínať za oblúkom fotky
   (hero: padding 26px 12px, radius 26px → min. odsadenie 12 + 26 + 18 = 56px) */
@media (max-width: 900px) {
  .site-header { padding: 26px 58px 0; }
  .header-inner { padding: 10px 10px 10px 18px; gap: 10px; }
}

/* Telefón – hero má padding 16px 8px a radius 20px → odsadenie 8 + 20 + 16 = 44px */
@media (max-width: 600px) {
  .site-header { padding: 16px 44px 0; }
  .site-header::before { height: 16px; }
  .header-inner::before, .header-inner::after { width: 16px; height: 16px; }
  .header-inner::before {
    left: -16px;
    background: radial-gradient(circle 16px at 0% 100%, rgba(255,255,255,0) 15px, #fff 15.6px);
  }
  .header-inner::after {
    right: -16px;
    background: radial-gradient(circle 16px at 100% 100%, rgba(255,255,255,0) 15px, #fff 15.6px);
  }
}

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 30px; height: 26px; flex: none; }
.brand-text {
  font-family: var(--font); font-size: 21px; font-weight: 600;
  letter-spacing: -0.01em; color: var(--red);
}
.brand-text em { font-style: normal; color: var(--ink); }

.nav-pill { display: flex; gap: 2px; }
.nav-pill .nav-phone { display: none; }
@keyframes menu-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.nav-pill a {
  padding: 8px 15px; border-radius: 999px;
  color: var(--ink); text-decoration: none;
  font-family: var(--font); font-size: 14.5px; font-weight: 500;
  transition: background .2s ease;
}
.nav-pill a:hover { background: rgba(20, 22, 27, 0.06); }
.nav-pill a.active { background: rgba(20, 22, 27, 0.07); }

.header-actions { display: flex; align-items: center; gap: 20px; }
.header-phone {
  font-family: var(--font); font-size: 14.5px; font-weight: 500;
  color: var(--ink); text-decoration: none; white-space: nowrap;
  transition: color .2s ease;
}
.header-phone:hover { color: var(--red); }
.header-cta.btn-dark { padding: 10px 22px; }
@media (max-width: 1180px) { .header-phone { display: none; } }

/* Hamburger */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 11px; cursor: pointer;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: all .25s ease; }
.site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 360px) {
  .brand-text { display: none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { padding: 26px 12px 12px; }
.hero-card {
  position: relative;
  min-height: min(92vh, 900px);
  border-radius: var(--r-hero);
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--dark);
}
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  will-change: transform;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(10, 12, 16, 0.72) 0%, rgba(10, 12, 16, 0.18) 45%, rgba(10, 12, 16, 0.30) 100%),
    linear-gradient(100deg, rgba(10, 12, 16, 0.45) 0%, rgba(10, 12, 16, 0) 55%);
}
.hero-content {
  position: relative; z-index: 2;
  width: 100%;
  max-width: 1280px; margin: 0 auto;
  padding: 140px 40px 44px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 40px;
}

.hero-badge { margin-bottom: 20px; }
.hero-left h1 {
  color: #fff;
  font-size: clamp(42px, 6vw, 74px);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

/* ---------- Widget – vyrezaný do rohu hero fotky (desktop aj mobil) ---------- */
.hero-plate {
  position: absolute; right: 0; bottom: 0; z-index: 3;
  background: #fff;
  padding: 12px 0 0 12px;
  border-top-left-radius: 28px;
}
.hero-plate::before,
.hero-plate::after {
  content: ""; position: absolute;
  width: 18px; height: 18px;
  background: radial-gradient(circle 18px at 0% 0%, rgba(255,255,255,0) 17px, #fff 17.6px);
  pointer-events: none;
}
.hero-plate::before { top: -18px; right: 0; }
.hero-plate::after { left: -18px; bottom: 0; }
.hero-widget {
  width: 340px; max-width: 100%;
  border-radius: 18px;
  background: #fff;
  padding: 12px;
}

.widget-title {
  display: flex; align-items: center; gap: 9px;
  padding: 6px 8px 12px;
  font-family: var(--font); font-size: 15px; font-weight: 500; color: var(--ink);
}
.widget-title::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--amber);
}

.widget-call {
  display: flex; justify-content: center; align-items: center; gap: 11px;
  width: 100%; padding: 16px;
  border-radius: 13px;
  font-size: 17.5px; font-weight: 600; letter-spacing: 0.01em;
}
.widget-call svg { width: 18px; height: 18px; }

.widget-alt {
  padding: 12px 8px 4px;
  text-align: center;
  font-family: var(--font); font-size: 13px;
  color: var(--body);
}
.widget-alt a { color: var(--ink); font-weight: 600; text-decoration: none; transition: color .2s ease; }
.widget-alt a:hover { color: var(--red); }

/* ==========================================================================
   Služby – showcase pod hero (tmavá karta s vyrezaným titulkom)
   ========================================================================== */
.showcase { padding: 0 12px; }
.showcase-card {
  position: relative; overflow: hidden;
  border-radius: var(--r-hero);
  background: var(--dark);
  padding: 0;
}
.showcase-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 12, 16, 0.86) 0%, rgba(10, 12, 16, 0.72) 45%, rgba(10, 12, 16, 0.90) 100%);
}

/* Titulok vyrezaný do ľavého horného rohu – rovnaký jazyk ako top bar */
.showcase-title-plate {
  position: absolute; top: 0; left: 0; z-index: 3;
  background: #fff;
  padding: 0 44px 16px 44px;
  border-bottom-right-radius: 28px;
}
.showcase-title-plate::before,
.showcase-title-plate::after {
  content: ""; position: absolute;
  width: 18px; height: 18px;
  background: radial-gradient(circle 18px at 100% 100%, rgba(255,255,255,0) 17px, #fff 17.6px);
  pointer-events: none;
}
.showcase-title-plate::before { top: 0; right: -18px; }
.showcase-title-plate::after { left: 0; bottom: -18px; }

.showcase-title-plate h2 {
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(38px, 4.2vw, 56px);
  line-height: 1.08;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.showcase-title-plate h2::after {
  content: ""; display: block;
  width: 46px; height: 4px; border-radius: 2px;
  background: var(--amber);
  margin: 10px 0 2px;
}
/* Služby – karty vľavo, tmavý panel s textom vpravo (radius z hero) */
.services-light { padding: 12px 12px 80px; }
.services-band {
  display: grid; grid-template-columns: 400px 1fr;
  gap: 12px;
  align-items: stretch;
}
.sgrid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.sgcard {
  position: relative;
  display: flex; flex-direction: column; justify-content: space-between;
  border-radius: var(--r-hero); overflow: hidden;
  aspect-ratio: 3 / 3.9;
  padding: 26px 24px;
  text-decoration: none;
  transition: transform .3s ease, box-shadow .3s ease;
}
.sgcard:hover { transform: translateY(-5px); box-shadow: 0 22px 48px rgba(20, 22, 27, 0.18); }

.sgcard-top { display: flex; flex-direction: column; gap: 10px; }
.sgcard-line { width: 26px; height: 2px; background: currentColor; opacity: .85; }
.sgcard-loc { font-family: var(--font); font-size: 13px; opacity: .78; max-width: 220px; }
.sgcard-name {
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(24px, 2.1vw, 31px);
  line-height: 1.06;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.sgcard-mid {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.sgcard-ico {
  width: clamp(54px, 4.6vw, 74px);
  height: clamp(54px, 4.6vw, 74px);
  opacity: 0.16;
}
.sgcard-go {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; flex: none;
  border-radius: 999px;
  border: 1.5px solid color-mix(in srgb, currentColor 40%, transparent);
  transition: background .25s ease;
}
.sgcard-go svg { width: 15px; height: 15px; }
.sgcard:hover .sgcard-go { background: color-mix(in srgb, currentColor 14%, transparent); }

/* farebné varianty – gradienty z palety webu */
.sgcard--red {
  background: linear-gradient(155deg, #EA5A4F 0%, var(--red) 45%, #B2271E 100%);
  color: #fff;
}
.sgcard--light {
  background: linear-gradient(155deg, #F4F3EF 0%, #E9E7E1 50%, #D8D4C9 100%);
  color: var(--ink);
}
.sgcard--amber {
  background: linear-gradient(155deg, #878C93 0%, #6E7276 50%, #55595E 100%);
  color: #fff;
}
.sgcard--dark {
  background: linear-gradient(155deg, #2A2E38 0%, #16181E 55%, #0C0E12 100%);
  color: #fff;
}

/* textový panel bez karty – čistá typografia na bielej */
.services-panel {
  padding: 28px 36px 28px 20px;
  display: flex; flex-direction: column; justify-content: center;
  align-items: flex-start; gap: 18px;
}
.services-panel h2 {
  color: var(--ink);
  font-size: clamp(38px, 4vw, 54px);
  line-height: 1.02;
}
.services-panel h2::after {
  content: ""; display: block;
  width: 46px; height: 4px; border-radius: 2px;
  background: var(--amber);
  margin-top: 16px;
}
.services-panel p {
  color: var(--body);
  font-size: 16.5px;
  max-width: 320px;
}
.panel-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 6px;
  font-family: var(--font); font-size: 15.5px; font-weight: 600;
  color: var(--ink); text-decoration: none;
  transition: color .2s ease;
}
.panel-link svg { width: 13px; height: 13px; transition: transform .2s ease; }
.panel-link:hover { color: var(--red); }
.panel-link:hover svg { transform: translate(2px, -2px); }

/* Realizácie – tmavá karta so slideshow */
.showcase-card--ref {
  min-height: clamp(480px, 64vh, 660px);
}
.slideshow img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0;
  transition: opacity 1.1s ease;
}
.slideshow img.is-active { opacity: 1; }
.showcase-overlay--ref {
  background: linear-gradient(180deg, rgba(10, 12, 16, 0.55) 0%, rgba(10, 12, 16, 0.12) 45%, rgba(10, 12, 16, 0.5) 100%);
}
.ref-chip {
  position: absolute; left: 36px; bottom: 30px; z-index: 3;
  font-size: 14px;
}
.ref-chip svg { width: 12px; height: 12px; }
.ref-chip:hover { background: rgba(255, 255, 255, 0.24); }



@media (max-width: 1180px) {
  .services-band { grid-template-columns: 1fr; }
  .services-panel { order: -1; padding: 16px 20px 20px; }
  .sgrid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .services-light { padding: 8px 8px 64px; }
  .sgrid {
    display: flex; overflow-x: auto; gap: 10px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-right: -8px; padding-right: 8px;
  }
  .sgrid::-webkit-scrollbar { display: none; }
  .sgcard { flex: 0 0 74%; scroll-snap-align: start; }
}

/* ==========================================================================
   Stats
   ========================================================================== */
.stats { padding: 12px 12px 0; }
.stats-card {
  position: relative; overflow: hidden;
  border-radius: var(--r-hero);
  background: var(--surface);
  padding: 44px 48px 50px;
}
.stats-card::before {
  content: ""; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(20, 22, 27, 0.04) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, rgba(20, 22, 27, 0.04) 0 1px, transparent 1px 44px);
  pointer-events: none;
}
.stats-kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font); font-size: 13.5px; letter-spacing: .02em;
  color: var(--body);
}
.stats-kicker::before {
  content: ""; width: 26px; height: 3px; border-radius: 2px;
  background: var(--amber);
}
.stats-row {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  margin-top: 36px;
}
.stat + .stat { border-left: 1px solid rgba(20, 22, 27, 0.12); padding-left: 30px; }
.stat-num {
  display: block;
  font-family: var(--font); font-weight: 700;
  font-size: clamp(44px, 4.4vw, 62px);
  color: var(--ink); letter-spacing: -0.03em; line-height: 1;
}
.stat-num em { font-style: normal; color: var(--amber); }
.stat-txt { display: block; margin-top: 10px; font-size: 14px; color: var(--body); }

/* ==========================================================================
   Sekcie – hlavičky
   ========================================================================== */
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2, .ref-text h2, .about-text h2 {
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.1; margin: 18px 0 16px;
}
.section-lead { font-size: 17px; }

/* ==========================================================================
   Služby
   ========================================================================== */
.service-more { margin-top: 14px; }
.service-more summary {
  display: inline-flex; align-items: center; gap: 6px;
  cursor: pointer; list-style: none;
  font-family: var(--font); font-size: 14.5px; font-weight: 500;
  color: var(--red);
}
.service-more summary::-webkit-details-marker { display: none; }
.service-more summary::after {
  content: ""; width: 8px; height: 8px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .2s ease;
}
.service-more[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.service-detail { margin-top: 12px; font-size: 14.5px; color: var(--body); }
.service-detail p { margin-bottom: 10px; }
.service-detail ol, .service-detail ul { padding-left: 20px; display: grid; gap: 6px; }

.meta-chip {
  padding: 6px 12px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  font-family: var(--font); font-size: 12.5px; color: var(--ink);
}
/* ==========================================================================
   Podstránka Služby – veľké farebné karty v jazyku homepage
   ========================================================================== */
.services-detail {
  padding: 12px 12px 96px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.sdetail {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 12px;
  border-radius: var(--r-hero);
  padding: 12px;
}
.sdetail--red  { background: linear-gradient(155deg, #EA5A4F 0%, var(--red) 45%, #B2271E 100%); color: #fff; }
.sdetail--light{ background: linear-gradient(155deg, #F4F3EF 0%, #E9E7E1 50%, #D8D4C9 100%); color: var(--ink); }
.sdetail--grey { background: linear-gradient(155deg, #878C93 0%, #6E7276 50%, #55595E 100%); color: #fff; }
.sdetail--dark { background: linear-gradient(155deg, #2A2E38 0%, #16181E 55%, #0C0E12 100%); color: #fff; }
.sdetail--flip { grid-template-columns: 1fr 1.15fr; }
.sdetail--flip .sdetail-photo { order: -1; }

.sdetail-body { padding: 26px 28px; }
.sdetail-ico {
  width: 44px; height: 44px;
  opacity: 0.2;
  margin-bottom: 14px;
}
.sdetail-body h2 {
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(20px, 1.7vw, 27px);
  line-height: 1.08;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: inherit;
  margin-bottom: 10px;
}
.sdetail-lead { color: inherit; opacity: .85; font-size: 15px; max-width: 520px; }

.sdetail .service-more { margin-top: 16px; }
.sdetail:not(.sdetail--light) .service-more summary { color: #fff; opacity: .95; }
.sdetail:not(.sdetail--light) .service-detail { color: rgba(255, 255, 255, 0.8); }

.sdetail-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.sdetail:not(.sdetail--light) .meta-chip {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.26);
  color: #fff;
}
.sdetail-btn { margin-top: 24px; }
.sdetail:not(.sdetail--light) .sdetail-btn { background: #fff; color: var(--ink); }
.sdetail:not(.sdetail--light) .sdetail-btn:hover { background: #EFEEE9; }
.sdetail:not(.sdetail--light) .sdetail-btn .btn-ico { background: rgba(20, 22, 27, 0.08); }
.sdetail--light .sdetail-btn { background: var(--ink); color: #fff; }
.sdetail--light .sdetail-btn:hover { background: #000; }

.sdetail-photo {
  margin: 0; border-radius: 15px; overflow: hidden;
  min-height: 320px;
  position: relative;
}
.sdetail-photo img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(55%) contrast(1.06) brightness(0.9);
  transition: filter .5s ease, transform .6s ease;
}
/* farebný nádych podľa karty + technický raster */
.sdetail-photo::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
}
.sdetail--red .sdetail-photo::before { background: linear-gradient(155deg, rgba(178, 39, 30, 0.35), rgba(178, 39, 30, 0) 60%); }
.sdetail--light .sdetail-photo::before { background: linear-gradient(155deg, rgba(20, 22, 27, 0.22), rgba(20, 22, 27, 0) 60%); }
.sdetail--grey .sdetail-photo::before { background: linear-gradient(155deg, rgba(63, 67, 72, 0.4), rgba(63, 67, 72, 0) 60%); }
.sdetail--dark .sdetail-photo::before { background: linear-gradient(155deg, rgba(10, 12, 16, 0.45), rgba(10, 12, 16, 0) 60%); }
.sdetail-photo::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 44px),
    linear-gradient(to top, rgba(10, 12, 16, 0.4), rgba(10, 12, 16, 0.04) 55%);
  pointer-events: none;
}
.sdetail:hover .sdetail-photo img { filter: none; transform: scale(1.03); }

@media (max-width: 1100px) {
  .services-detail { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .sdetail, .sdetail--flip { grid-template-columns: 1fr; }
  .sdetail--flip .sdetail-photo { order: 0; }
  .sdetail-body { padding: 26px 22px; }
  .sdetail-photo { min-height: 240px; }
}

/* ==========================================================================
   Referencie
   ========================================================================== */
.ref-grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  gap: 64px; align-items: center;
}
.ref-text p { margin-bottom: 28px; font-size: 16.5px; }
.ref-collage { display: grid; grid-template-columns: 1.05fr 1fr; gap: 16px; }
.ref-collage figure { border-radius: var(--r-md); overflow: hidden; margin: 0; }
.ref-collage img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.ref-collage figure:hover img { transform: scale(1.04); }
.collage-tall { height: 480px; }
.collage-stack { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; height: 480px; }

/* ==========================================================================
   O nás
   ========================================================================== */
.about-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: 64px; align-items: center;
}
.about-text p { margin-bottom: 16px; font-size: 16px; }
.about-text .btn { margin-top: 16px; }

.about-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 40px 36px;
}
.about-logo { width: 220px; margin-bottom: 28px; }
.about-card-label {
  font-family: var(--font); font-size: 13px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--body); margin-bottom: 14px;
}
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud span {
  padding: 7px 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  font-family: var(--font); font-size: 13.5px; color: var(--ink);
}

/* ==========================================================================
   CTA
   ========================================================================== */
.cta { padding: 12px 12px 48px; }
.cta .container { max-width: none; padding: 0; }
.cta-card {
  position: relative; overflow: hidden;
  border-radius: var(--r-hero);
  background: var(--dark);
  padding: 88px 48px;
  text-align: center;
}
.cta-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.22;
}
.cta-card::before {
  content: ""; position: absolute; inset: 0; z-index: 3;
  border-radius: inherit; padding: 2px;
  background: linear-gradient(135deg, rgba(242, 184, 75, 0.95), rgba(222, 59, 49, 0.9) 42%, rgba(255, 255, 255, 0.16) 85%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}
.cta-card::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 80% at 50% 20%, rgba(222, 59, 49, 0.22), transparent 70%);
}
.cta-content { position: relative; z-index: 2; }
.cta-content h2 {
  color: #fff; font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12; margin-bottom: 32px;
}
.cta-actions {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; flex-wrap: wrap;
}
.cta-actions .glass-chip { padding: 11px 20px; font-size: 15px; }

/* ==========================================================================
   Kontakt
   ========================================================================== */
.contact.section { padding-top: 40px; }
.contact-grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  gap: 48px; align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 10px; }
.contact-row {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 18px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md);
  color: var(--ink); text-decoration: none;
  transition: border-color .2s ease, transform .2s ease;
}
a.contact-row:hover { border-color: var(--red); transform: translateX(3px); }
.contact-ico {
  width: 42px; height: 42px; flex: none;
  border-radius: 12px;
  background: #fff; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--red);
}
.contact-ico svg { width: 18px; height: 18px; }
.contact-row small {
  display: block; font-family: var(--font);
  font-size: 12px; color: var(--body); margin-bottom: 1px;
}
.contact-row span:last-child { font-family: var(--font); font-size: 15.5px; font-weight: 500; }

.billing {
  margin-top: 14px; padding: 22px 24px;
  border: 1px dashed var(--line); border-radius: var(--r-md);
  font-size: 14.5px;
}
.billing-title {
  font-family: var(--font); font-weight: 600; font-size: 14px;
  color: var(--ink); margin-bottom: 10px;
  text-transform: uppercase; letter-spacing: .06em;
}
.billing p + p { margin-top: 10px; }

.contact-form {
  position: relative;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 44px),
    var(--dark);
  border-radius: var(--r-hero);
  padding: 36px;
  display: flex; flex-direction: column; gap: 16px;
}
/* gradientný rám ako na CTA baneri */
.contact-form::before {
  content: ""; position: absolute; inset: 0; z-index: 3;
  border-radius: inherit; padding: 2px;
  background: linear-gradient(135deg, rgba(242, 184, 75, 0.95), rgba(222, 59, 49, 0.9) 42%, rgba(255, 255, 255, 0.16) 85%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}
.form-title {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font); font-size: 20px; font-weight: 500; color: #fff;
}
.form-title::before {
  content: ""; width: 26px; height: 3px; border-radius: 2px;
  background: var(--amber);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label {
  display: flex; flex-direction: column; gap: 6px;
  font-family: var(--font); font-size: 13.5px; font-weight: 500; color: rgba(255, 255, 255, 0.75);
}
.contact-form input, .contact-form textarea {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 13px;
  background: rgba(255, 255, 255, 0.06);
  font-family: var(--font-body); font-size: 15px; color: #fff;
  outline: none; resize: vertical;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.contact-form input:focus, .contact-form textarea:focus {
  border-color: rgba(242, 184, 75, 0.85);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 0 0 3px rgba(242, 184, 75, 0.14);
}
.contact-form input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 44px #23262D inset;
  -webkit-text-fill-color: #fff;
}
.form-note a { color: inherit; text-decoration: underline; }
.form-note { font-size: 12.5px; color: rgba(255, 255, 255, 0.55); text-align: center; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--dark); color: #A6ACB5;
  padding: 72px 0 0; margin-top: 0;
}
.footer-top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px; padding-bottom: 56px;
}
.footer-brand p { margin: 16px 0 18px; font-size: 14.5px; max-width: 280px; }
.brand-footer .brand-text em { color: #fff; }
.footer-social {
  display: inline-flex; align-items: center; gap: 8px;
  color: #fff; text-decoration: none;
  font-family: var(--font); font-size: 14px;
  padding: 8px 14px; border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px; transition: border-color .2s ease;
}
.footer-social:hover { border-color: var(--red); }
.footer-social svg { width: 16px; height: 16px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.footer-col p {
  font-family: var(--font); font-weight: 600; color: #fff;
  font-size: 14px; margin-bottom: 6px;
  text-transform: uppercase; letter-spacing: .06em;
}
.footer-col a { color: #A6ACB5; text-decoration: none; transition: color .2s ease; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13.5px;
}
.footer-bottom a { color: #A6ACB5; text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

/* ==========================================================================
   Responzivita
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-content { flex-direction: column; align-items: flex-start; padding: 130px 32px 210px; }
  .hero-widget { width: min(80vw, 440px); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-pill, .header-actions { display: none; }
  .nav-toggle { display: flex; }

  /* Mobilné menu */
  /* Fullscreen menu */
  .site-header.nav-open .header-inner { transform: none; box-shadow: none; }
  .site-header.nav-open .nav-pill {
    display: flex; flex-direction: column; justify-content: center; gap: 0;
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100vh; height: 100dvh;
    z-index: -1;
    background: #fff;
    padding: 92px 28px 36px;
    animation: menu-in .28s ease both;
  }
  .site-header.nav-open .nav-pill a {
    padding: 16px 0; border-radius: 0;
    font-size: 30px; font-weight: 500; letter-spacing: -0.02em;
    border-bottom: 1px solid var(--line);
  }
  .site-header.nav-open .nav-pill a:hover,
  .site-header.nav-open .nav-pill a.active { background: none; color: var(--red); }
  .site-header.nav-open .nav-pill .nav-phone {
    display: block; margin-top: auto;
    font-size: 20px; font-weight: 600; color: var(--red);
    border-bottom: 0;
  }

  .ref-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .collage-tall, .collage-stack { height: 400px; }
  .section { padding: 72px 0; }
}

@media (max-width: 600px) {
  .hero { padding: 16px 8px 8px; }
  .hero-card { border-radius: 20px; }
  .hero-content { padding: 120px 20px 200px; }
  .hero-plate { padding: 10px 0 0 10px; border-top-left-radius: 24px; }
  .hero-left h1 { font-size: clamp(34px, 9.5vw, 44px); }
  .stats-card { padding: 32px 24px 36px; }
  .stats-row { grid-template-columns: 1fr 1fr; gap: 26px 16px; }
  .stat + .stat { border-left: 0; padding-left: 0; }
  .stat:nth-child(even) { border-left: 1px solid rgba(20, 22, 27, 0.12); padding-left: 18px; }
  .stat-num { font-size: 38px; }
  .ref-collage { grid-template-columns: 1fr; }
  .collage-tall { height: 300px; }
  .collage-stack { height: auto; grid-template-rows: none; }
  .collage-stack figure { height: 200px; }
  .form-row { grid-template-columns: 1fr; }
  .cta { padding: 12px 12px 72px; }
  .cta-card { padding: 64px 24px; }
  .contact-form { padding: 24px 20px; }
  .about-card { padding: 28px 22px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
}

/* ==========================================================================
   Podstránky – page hero
   ========================================================================== */
.page-hero { padding: 26px 12px 12px; }
.hero-bg--fx { filter: grayscale(30%) brightness(0.72) contrast(1.06); }
.page-hero-overlay {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 44px),
    linear-gradient(100deg, rgba(10,12,16,0.85) 0%, rgba(10,12,16,0.4) 48%, rgba(10,12,16,0.18) 100%),
    linear-gradient(to top, rgba(10,12,16,0.72), rgba(10,12,16,0.1) 55%);
}
.page-hero-card {
  position: relative; overflow: hidden;
  border-radius: var(--r-hero);
  min-height: 340px;
  display: flex; align-items: flex-end;
  background: var(--dark);
}
.page-hero-content {
  position: relative; z-index: 2;
  width: 100%; max-width: 1280px; margin: 0 auto;
  padding: 150px 40px 44px;
}
.page-hero-content h1 {
  color: #fff;
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 500; letter-spacing: -0.03em; line-height: 1.05;
  margin-top: 18px;
}

/* Aktívna položka menu */
.nav-pill a.active { background: rgba(255, 255, 255, 0.16); }
.site-header.scrolled .nav-pill a.active,
.site-header.nav-open .nav-pill a.active { background: rgba(20, 22, 27, 0.08); }

@media (max-width: 600px) {
  .page-hero { padding: 16px 8px 8px; }
  .page-hero-card { border-radius: 20px; min-height: 280px; }
  .page-hero-content { padding: 130px 20px 24px; }
}

/* ==========================================================================
   Právne stránky (cookies, ochrana osobných údajov)
   ========================================================================== */
.legal { padding: 72px 0 96px; }
.legal .container { max-width: 820px; }
.legal h2 {
  font-size: clamp(22px, 2.2vw, 28px);
  margin: 40px 0 14px;
}
.legal p, .legal li { font-size: 16px; margin-bottom: 12px; }
.legal ul { padding-left: 22px; margin-bottom: 16px; }
.legal ul li { margin-bottom: 8px; }
.legal a { color: var(--red); }
.legal .legal-updated {
  margin-top: 48px; padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 14px; color: var(--body);
}
.legal-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 22px 24px;
  margin: 16px 0 24px;
}
.legal-box p { margin-bottom: 6px; }
.legal-box p:last-child { margin-bottom: 0; }

/* Antispam (neviditeľný honeypot) */
.hp-field {
  position: absolute !important; left: -9999px; top: -9999px;
  width: 1px; height: 1px; opacity: 0; pointer-events: none;
}
