/* ============================================================
   TEBE — elektromontáže & objektové prípojky
   Dizajn systém. Značka: stabilita, pevné základy.
   Paleta z brand onepageru: šalviová zelená #8E988D, čierna, papierová.
   ============================================================ */

:root {
  /* Brand */
  --sage:      #8E988D;
  --sage-600:  #6f7b6d;
  --sage-700:  #5b6559;
  --sage-200:  #c9d0c6;
  --sage-100:  #e4e8e2;
  --sage-050:  #eef1ee;

  --ink:       #14160f;   /* brand near-black (warm olive-black) */
  --ink-800:   #22241c;
  --ink-600:   #3b3e34;
  --muted:     #6b6f63;

  --paper:     #ecedf1;   /* lavender-white background */
  --paper-2:   #f5f6f8;
  --white:     #ffffff;

  --line:      rgba(20,22,15,.12);
  --line-soft: rgba(20,22,15,.08);
  --shadow-sm: 0 2px 8px rgba(20,22,15,.06);
  --shadow-md: 0 14px 40px rgba(20,22,15,.10);
  --shadow-lg: 0 30px 80px rgba(20,22,15,.16);

  --r-sm: 12px;
  --r:    18px;
  --r-lg: 26px;
  --r-xl: 34px;

  --maxw: 1240px;
  --gap:  clamp(1rem, 2.5vw, 2rem);

  --ff-display: "Google Sans Flex", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ff-body:    "Google Sans Flex", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
/* default icon size — explicit class rules below override this */
svg { width: 1.15em; height: 1.15em; flex: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

h1,h2,h3,h4 { font-family: var(--ff-display); font-weight: 600; line-height: 1.05; letter-spacing: -.02em; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.4rem); }
.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--dark { background: var(--ink); color: #e9ebe4; }
.section--dark h1,.section--dark h2,.section--dark h3 { color: #fff; }
.section--paper2 { background: var(--paper-2); }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--ff-display);
  font-size: .8rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--sage-700);
}
.eyebrow::before { content:""; width: 22px; height: 2px; background: var(--sage); border-radius: 2px; }
.section--dark .eyebrow { color: var(--sage-200); }
.section--dark .eyebrow::before { background: var(--sage); }

.h-xl { font-size: clamp(2.4rem, 6vw, 4.6rem); }
.h-lg { font-size: clamp(2rem, 4.6vw, 3.3rem); }
.h-md { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--ink-600); max-width: 60ch; }
.section--dark .lead { color: #b9bdb1; }
.muted { color: var(--muted); }
.accent { color: var(--sage-700); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .95rem 1.5rem; border-radius: 100px;
  font-family: var(--ff-display); font-weight: 500; font-size: .98rem;
  border: 1px solid transparent; transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--sage); color: #16180f; }
.btn--primary:hover { background: var(--sage-600); color:#fff; box-shadow: 0 10px 26px rgba(110,123,109,.4); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-800); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { box-shadow: var(--shadow-md); }
.section--dark .btn--ghost { color:#fff; border-color: rgba(255,255,255,.28); }
.section--dark .btn--ghost:hover { border-color:#fff; background: rgba(255,255,255,.06); }

.arrow-circ { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--sage); color:#16180f; flex: none; transition: transform .3s var(--ease); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  padding-block: clamp(.6rem, 1.5vw, 1rem);
  transition: padding .3s;
}
.header-inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem;
  background: #fff; border-radius: 100px;
  padding: .5rem .5rem .5rem 1.5rem;
  box-shadow: 0 8px 30px rgba(20,22,15,.09);
  border: 1px solid var(--line-soft);
  transition: box-shadow .3s;
}
.site-header.scrolled .header-inner { box-shadow: 0 12px 34px rgba(20,22,15,.16); }
/* logo vycentrované (stredný stĺpec) */
.brand { grid-column: 2; justify-self: center; display: inline-flex; align-items: center; }
.brand img { height: 40px; width: auto; }
.nav-left { grid-column: 1; justify-self: start; }
.nav-right-wrap { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: .9rem; }
.nav { display: flex; align-items: center; gap: .15rem; }
.nav a {
  font-family: var(--ff-display); font-weight: 500; font-size: .95rem;
  padding: .55rem .95rem; border-radius: 100px; color: var(--ink-600);
  transition: color .2s, background .2s;
}
.nav a:hover { color: var(--ink); background: rgba(20,22,15,.045); }
.nav a.active { color: var(--ink); background: rgba(20,22,15,.07); }
.header-cta { display: flex; align-items: center; gap: .9rem; }
.header-cta .btn { padding: .72rem 1.3rem; font-size: .92rem; }
/* telefón v hlavičke = kompaktné okrúhle tlačidlo (číslo je v call-strip pod hero, v päte a na kontakte) */
.header-tel { width: 42px; height: 42px; border-radius: 50%; background: var(--sage-050); color: var(--sage-700); display: grid; place-items: center; flex: none; transition: background .2s; }
.header-tel:hover { background: var(--sage-100); }
.header-tel svg { width: 18px; height: 18px; color: currentColor; }
.header-tel .tnum { display: none; }

/* --- Homepage: header overlaid transparent on the hero photo --- */
.home .site-header { position: fixed; top: 0; left: 0; right: 0; }
.home .site-header:not(.scrolled) .header-inner { background: transparent; box-shadow: none; border-color: transparent; }
.home .site-header:not(.scrolled) .brand img { filter: brightness(0) invert(1); }
.home .site-header:not(.scrolled) .nav a { color: rgba(255,255,255,.82); }
.home .site-header:not(.scrolled) .nav a:hover,
.home .site-header:not(.scrolled) .nav a.active { color: #fff; background: rgba(255,255,255,.14); }
.home .site-header:not(.scrolled) .header-tel { background: rgba(255,255,255,.15); color: #fff; }
.home .site-header:not(.scrolled) .header-tel:hover { background: rgba(255,255,255,.26); }
.home .site-header:not(.scrolled) .header-tel svg { color: #fff; }
.home .site-header:not(.scrolled) .header-cta .btn { background: var(--sage); color: #16180f; }
.home .site-header:not(.scrolled) .burger { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); }
.home .site-header:not(.scrolled) .burger span,
.home .site-header:not(.scrolled) .burger span::before,
.home .site-header:not(.scrolled) .burger span::after { background: #fff; }

.burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; place-items: center; }
.burger span { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; transition: .3s; }
.burger span::before,.burger span::after { content:""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); transition: .3s; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
body.menu-open .burger span { background: transparent; }
body.menu-open .burger span::before { top: 0; transform: rotate(45deg); }
body.menu-open .burger span::after { top: 0; transform: rotate(-45deg); }

/* mobile drawer */
.mobile-nav {
  position: fixed; inset: 0 0 0 auto; width: min(86vw, 360px); z-index: 99;
  background: var(--ink); color:#fff; padding: 5.5rem 2rem 2rem;
  transform: translateX(100%); transition: transform .4s var(--ease); display: flex; flex-direction: column; gap: .3rem;
}
body.menu-open .mobile-nav { transform: translateX(0); }
.mobile-nav a { font-family: var(--ff-display); font-size: 1.5rem; font-weight: 500; padding: .7rem 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.mobile-nav a.active { color: var(--sage); }
.mobile-nav .btn { margin-top: 1.4rem; justify-content: center; }
.scrim { position: fixed; inset: 0; background: rgba(10,11,8,.5); opacity: 0; pointer-events: none; transition: opacity .4s; z-index: 98; }
body.menu-open .scrim { opacity: 1; pointer-events: auto; }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding-top: clamp(1rem, 3vw, 2rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(1.2rem, 3vw, 2.4rem); align-items: stretch; }
.hero-media { position: relative; border-radius: var(--r-xl); overflow: hidden; min-height: clamp(340px, 52vh, 560px); box-shadow: var(--shadow-md); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content:""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(10,11,8,.55)); }
.hero-badge {
  position: absolute; left: 1.3rem; bottom: 1.3rem; z-index: 2; display: flex; align-items: center; gap: .9rem;
  background: rgba(236,237,241,.9); backdrop-filter: blur(6px); border-radius: 100px; padding: .55rem .6rem .55rem 1.2rem;
}
.hero-badge b { font-family: var(--ff-display); font-size: 1.9rem; line-height: 1; }
.hero-badge span { font-size: .82rem; color: var(--ink-600); max-width: 8ch; line-height: 1.15; }

.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(.5rem,2vw,1.5rem) 0; }
.hero-copy h1 { margin: 1rem 0 1.2rem; }
.hero-copy .lead { margin-bottom: 1.9rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.5rem 2.2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.hero-trust div b { font-family: var(--ff-display); font-size: 1.6rem; display: block; line-height: 1; }
.hero-trust div span { font-size: .86rem; color: var(--muted); }

/* target-audience pills row */
.audience { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2.2rem; align-items: center; }
.audience .lbl { font-size: .82rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-family: var(--ff-display); }
.chip {
  display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1.05rem; border-radius: 100px;
  background: #fff; border: 1px solid var(--line-soft); font-family: var(--ff-display); font-weight: 500; font-size: .92rem; box-shadow: var(--shadow-sm);
}
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sage); }

/* ============================================================
   HERO 2 — full-bleed photo + overlaid nav + form card
   ============================================================ */
.hero2 { position: relative; display: flex; align-items: center; min-height: 92vh; padding: 8rem 0 3.5rem; overflow: hidden; }
.hero2-bg { position: absolute; inset: 0; z-index: 0; }
.hero2-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero2::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(15,20,13,.94) 0%, rgba(15,20,13,.8) 38%, rgba(15,20,13,.5) 62%, rgba(15,20,13,.32) 100%);
}
.hero2-inner { position: relative; z-index: 2; width: 100%; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.hero2-inner > * { min-width: 0; }

.hero2-copy { color: #fff; max-width: 580px; }
.hero2-badge { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--ff-display); font-weight: 500; font-size: .92rem; color: #fff; margin-bottom: 1.5rem; }
.hero2-badge .stars { color: var(--sage); letter-spacing: 2px; font-size: 1rem; }
.hero2 h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 4.3rem); line-height: 1.04; margin-bottom: 1.3rem; overflow-wrap: break-word; }
.hero2-badge { flex-wrap: wrap; }
.hero2-copy p { color: rgba(255,255,255,.82); font-size: clamp(1.02rem, 1.4vw, 1.22rem); line-height: 1.55; max-width: 46ch; margin-bottom: 2rem; }
.hero2-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 1.8rem; }
.hero2 .btn--ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.hero2 .btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.hero2-trust { font-family: var(--ff-display); font-size: .9rem; color: rgba(255,255,255,.66); padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.16); }

.hero2-form { background: rgba(255,255,255,.98); border-radius: var(--r-lg); padding: clamp(1.5rem, 2.4vw, 2.1rem); box-shadow: var(--shadow-lg); }
.hero2-form h3 { font-size: 1.4rem; margin-bottom: .25rem; }
.hero2-form .sub { color: var(--muted); font-size: .92rem; margin-bottom: 1.3rem; }
.hero2-form textarea { min-height: 88px; }

/* Call strip under the hero */
.callstrip { background: var(--paper); border-bottom: 1px solid var(--line-soft); }
.callstrip .wrap { display: flex; align-items: center; gap: 1.1rem; padding-block: 1.5rem; }
.cs-ic { width: 52px; height: 52px; border-radius: 50%; background: var(--sage); color: #16180f; display: grid; place-items: center; flex: none; }
.cs-ic svg { width: 24px; height: 24px; }
.cs-label { display: block; font-family: var(--ff-display); font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.cs-num { font-family: var(--ff-display); font-weight: 600; font-size: clamp(1.35rem, 3vw, 1.9rem); color: var(--ink); }
.cs-btn { margin-left: auto; }

/* ============================================================
   SECTION HEADER
   ============================================================ */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; margin-bottom: clamp(2rem,4vw,3.2rem); }
.sec-head .txt { max-width: 34ch; }
.sec-head h2 { margin-top: 1rem; }
.sec-head p { margin-top: 1rem; }

/* ============================================================
   SERVICES  (Spaciaz-style 3 cards, first dominant)
   ============================================================ */
.svc2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }

/* --- Feature (dominantná služba: objektové prípojky) --- */
.svc2-feat {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: 1.05fr .95fr;
  background: var(--sage); color: #16180f;
  border-radius: var(--r-lg); overflow: hidden; min-height: 360px;
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.svc2-feat:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.svc2-feat-text { padding: clamp(1.9rem, 3.2vw, 3.2rem); display: flex; flex-direction: column; justify-content: center; }
.svc2-tag {
  align-self: flex-start; margin-bottom: 1.2rem;
  background: #16180f; color: var(--sage);
  font-family: var(--ff-display); font-weight: 600; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase;
  padding: .45rem .95rem; border-radius: 100px;
}
.svc2-feat h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: .9rem; }
.svc2-feat p { font-size: 1.02rem; line-height: 1.55; color: rgba(22,24,15,.78); max-width: 46ch; margin-bottom: 1.7rem; }
.svc2-feat-img { position: relative; overflow: hidden; min-height: 260px; }
.svc2-feat-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.svc2-feat:hover .svc2-feat-img img { transform: scale(1.05); }

/* --- Sekundárne karty (elektromontáž, stavba) --- */
.svc2-card {
  background: #fff; border-radius: var(--r-lg); overflow: hidden;
  display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.svc2-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.svc2-img { aspect-ratio: 16 / 10; overflow: hidden; }
.svc2-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.svc2-card:hover .svc2-img img { transform: scale(1.06); }
.svc2-body { padding: 1.6rem 1.7rem 1.8rem; display: flex; flex-direction: column; flex: 1; }
.svc2-num { font-family: var(--ff-display); font-weight: 600; font-size: .82rem; letter-spacing: .05em; text-transform: uppercase; color: var(--sage-700); margin-bottom: .6rem; }
.svc2-card h3 { font-size: 1.42rem; margin-bottom: .5rem; }
.svc2-card p { font-size: .96rem; color: var(--muted); line-height: 1.5; margin-bottom: 1.2rem; }
.svc2-more { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: .5rem; font-family: var(--ff-display); font-weight: 500; font-size: .94rem; color: var(--ink); }
.svc2-more svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.svc2-card:hover .svc2-more svg { transform: translateX(4px); }

/* ============================================================
   STATS BAND
   ============================================================ */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem; }
.stat b { font-family: var(--ff-display); font-weight: 600; font-size: clamp(2.4rem,5vw,3.8rem); line-height: 1; color: #fff; display: inline-flex; align-items: baseline; }
.stat b .plus { color: var(--sage); margin-left: .1em; }
.stat span { display: block; margin-top: .6rem; color: #a9ada1; font-size: .95rem; max-width: 20ch; }
.stats-intro { max-width: 40ch; margin-bottom: 3rem; }

/* ============================================================
   PORTFOLIO
   ============================================================ */
.filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.2rem; }
.filter-btn {
  padding: .6rem 1.15rem; border-radius: 100px; border: 1px solid var(--line);
  background: #fff; font-family: var(--ff-display); font-weight: 500; font-size: .92rem; color: var(--ink-600);
  transition: .25s;
}
.filter-btn:hover { border-color: var(--ink); color: var(--ink); }
.filter-btn.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.proj-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: var(--gap); }
.proj-card {
  background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s; display: flex; flex-direction: column;
}
.proj-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.proj-thumb { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.proj-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.proj-card:hover .proj-thumb img { transform: scale(1.06); }
.proj-cat { position: absolute; top: 1rem; left: 1rem; background: rgba(236,237,241,.92); backdrop-filter: blur(4px); font-family: var(--ff-display); font-weight: 500; font-size: .76rem; letter-spacing: .04em; text-transform: uppercase; padding: .35rem .75rem; border-radius: 100px; }
.proj-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.proj-body h3 { font-size: 1.28rem; }
.proj-body .loc { font-size: .88rem; color: var(--muted); margin-top: .35rem; display:flex; align-items:center; gap:.4rem; }
.proj-body .loc svg { width: 15px; height: 15px; color: var(--sage-700); }
.proj-meta { display: flex; gap: 1.5rem; margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--line-soft); }
.proj-meta div span { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-family: var(--ff-display); }
.proj-meta div b { font-family: var(--ff-display); font-weight: 600; font-size: 1.02rem; display:block; margin-top: .15rem; }
.proj-link { margin-top: auto; padding-top: 1.2rem; display: inline-flex; align-items: center; gap: .5rem; font-family: var(--ff-display); font-weight: 500; font-size: .92rem; color: var(--sage-700); }
.proj-link svg { width: 16px; transition: transform .3s var(--ease); }
.proj-card:hover .proj-link svg { transform: translateX(4px); }

/* ============================================================
   EQUIPMENT (2–3 machines, "credit" proof)
   ============================================================ */
.equip-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--gap); }
.equip {
  background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm);
}
.equip img { aspect-ratio: 4/3; width: 100%; object-fit: cover; }
.equip .eq-body { padding: 1.3rem 1.4rem 1.5rem; }
.equip h4 { font-size: 1.15rem; }
.equip p { font-size: .9rem; color: var(--muted); margin-top: .4rem; }

/* ============================================================
   ABOUT / VALUES
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.about-media { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-md); position: relative; }
.about-media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.values { display: grid; gap: 1.1rem; margin-top: 2rem; }
.value { display: flex; gap: 1rem; }
.value .vi { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--sage-100); display: grid; place-items: center; color: var(--sage-700); }
.value .vi svg { width: 22px; height: 22px; }
.value h4 { font-size: 1.12rem; }
.value p { font-size: .95rem; color: var(--muted); margin-top: .2rem; }

.certs { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2rem; }
.cert { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--ff-display); font-weight: 500; font-size: .88rem; padding: .5rem 1rem; border: 1px solid var(--line); border-radius: 100px; }
.cert svg { width: 16px; color: var(--sage-700); }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band { position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--ink); color: #fff; padding: clamp(2.5rem, 6vw, 5rem); }
.cta-band::before { content:""; position: absolute; inset: 0; background: url("../logo/symbol-green.svg") no-repeat right -60px center / 420px; opacity: .07; }
.cta-band .inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 3rem); max-width: 18ch; }
.cta-band p { color: #b9bdb1; margin-top: 1rem; max-width: 40ch; }
.cta-actions { display: flex; gap: .8rem; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink); color: #a9ada1; padding-block: clamp(3rem,6vw,4.5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 2.5rem; }
.footer-brand img { height: 28px; margin-bottom: 1.2rem; }
.footer-brand p { font-size: .95rem; max-width: 34ch; }
.foot-col h5 { font-family: var(--ff-display); font-weight: 600; color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1.1rem; }
.foot-col a, .foot-col li { display: block; padding: .3rem 0; font-size: .96rem; transition: color .2s; }
.foot-col a:hover { color: #fff; }
.footer-contact a { display: flex; align-items: center; gap: .6rem; }
.footer-contact svg { width: 17px; color: var(--sage); flex: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; }
.footer-bottom a { color: #c9cdc1; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem,3vw,2.5rem); }
.page-hero .crumb { font-family: var(--ff-display); font-size: .85rem; color: var(--muted); margin-bottom: 1rem; }
.page-hero .crumb a:hover { color: var(--ink); }
.page-hero h1 { margin-bottom: 1.1rem; }

/* ============================================================
   SERVICE DETAIL SECTIONS (sluzby.html)
   ============================================================ */
.svc-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem,4vw,3.5rem); align-items: center; }
.svc-detail.rev .svc-detail-media { order: 2; }
.svc-detail-media { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-md); }
.svc-detail-media img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.svc-detail .num-badge { font-family: var(--ff-display); font-weight: 600; font-size: .9rem; color: var(--sage-700); }
.svc-list { display: grid; gap: .8rem; margin-top: 1.6rem; }
.svc-list li { display: flex; gap: .8rem; align-items: flex-start; font-size: 1rem; }
.svc-list svg { width: 20px; height: 20px; color: var(--sage-700); flex: none; margin-top: 3px; }

/* ============================================================
   PROJECT DETAIL (projekt.html)
   ============================================================ */
.pd-hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2.5rem; align-items: end; }
.pd-facts { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.2rem 2rem; margin-top: 1.5rem; }
.pd-fact span { font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-family: var(--ff-display); }
.pd-fact b { font-family: var(--ff-display); font-weight: 600; font-size: 1.25rem; display: block; margin-top: .2rem; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 1rem; }
.gallery figure { border-radius: var(--r); overflow: hidden; cursor: zoom-in; aspect-ratio: 4/3; box-shadow: var(--shadow-sm); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figure:first-child { grid-column: span 2; aspect-ratio: 16/9; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(10,11,8,.92); display: none; align-items: center; justify-content: center; padding: 2rem; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: var(--r); }
.lightbox .lb-close, .lightbox .lb-nav { position: absolute; background: rgba(255,255,255,.12); color:#fff; border: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; transition: background .2s; }
.lightbox .lb-close:hover, .lightbox .lb-nav:hover { background: rgba(255,255,255,.25); }
.lightbox .lb-close { top: 1.5rem; right: 1.5rem; }
.lightbox .lb-prev { left: 1.5rem; } .lightbox .lb-next { right: 1.5rem; }
.lb-nav svg, .lb-close svg { width: 22px; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(1.5rem,4vw,3.5rem); }
.contact-cards { display: grid; gap: 1rem; margin-top: 2rem; }
.contact-card { display: flex; gap: 1rem; align-items: center; background: #fff; border-radius: var(--r); padding: 1.2rem 1.4rem; box-shadow: var(--shadow-sm); }
.contact-card .ci { width: 48px; height: 48px; border-radius: 12px; background: var(--sage-100); color: var(--sage-700); display: grid; place-items: center; flex: none; }
.contact-card .ci svg { width: 22px; }
.contact-card span { font-size: .82rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-family: var(--ff-display); }
.contact-card b { font-family: var(--ff-display); font-size: 1.1rem; font-weight: 600; display: block; }

.form { background: #fff; border-radius: var(--r-lg); padding: clamp(1.5rem,3vw,2.4rem); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-family: var(--ff-display); font-weight: 500; font-size: .9rem; margin-bottom: .45rem; }
.field input, .field textarea, .field select {
  width: 100%; padding: .9rem 1.1rem; border-radius: var(--r-sm); border: 1px solid var(--line);
  background: var(--paper-2); font: inherit; font-size: .98rem; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px rgba(142,152,141,.25); background:#fff; }
.field textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: .8rem; }
.form-ok { display: none; background: var(--sage-100); color: var(--sage-700); border-radius: var(--r-sm); padding: 1rem 1.2rem; margin-top: 1rem; font-weight: 500; font-family: var(--ff-display); }
.form-ok.show { display: block; }
.form-ok.form-err { background: #fbeaea; color: #a12626; }

/* ============================================================
   BLOG / ARTICLE
   ============================================================ */
.article-cover { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.article-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article-body { font-size: 1.08rem; line-height: 1.75; color: var(--ink-800); }
.article-body h2 { font-size: clamp(1.4rem, 2.4vw, 1.95rem); margin: 2.3rem 0 .9rem; }
.article-body h3 { font-size: 1.3rem; margin: 1.8rem 0 .7rem; }
.article-body p { margin-bottom: 1.15rem; }
.article-body ul, .article-body ol { margin: 0 0 1.4rem; padding-left: 0; display: grid; gap: .55rem; }
.article-body ul li { position: relative; padding-left: 1.7rem; list-style: none; }
.article-body ul li::before { content: ""; position: absolute; left: .25rem; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--sage); }
.article-body ol { padding-left: 1.3rem; }
.article-body ol li { list-style: decimal; }
.article-body a { color: var(--sage-700); text-decoration: underline; text-underline-offset: 3px; }
.article-body a:hover { color: var(--ink); }
.article-body strong { font-weight: 600; color: var(--ink); }
.article-body blockquote { margin: 1.6rem 0; padding: .3rem 0 .3rem 1.4rem; border-left: 3px solid var(--sage); color: var(--ink-600); font-size: 1.14rem; }
.article-share { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 2.6rem; padding-top: 2rem; border-top: 1px solid var(--line); }

/* FAQ (accordion) */
.faq { display: grid; gap: .7rem; }
.faq-item { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r); overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; padding: 1.1rem 1.3rem; font-family: var(--ff-display); font-weight: 500; font-size: 1.05rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.5rem; color: var(--sage-700); line-height: 1; transition: transform .25s var(--ease); flex: none; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 1.3rem 1.25rem; color: var(--muted); line-height: 1.6; font-size: .98rem; }

/* ============================================================
   PRELOADER — úvodná animácia
   ============================================================ */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--ink); display: grid; place-items: center;
  transition: opacity .55s ease, visibility .55s ease;
}
.preloader.done { opacity: 0; visibility: hidden; }
.preloader-inner { display: flex; flex-direction: column; align-items: center; gap: 1.6rem; }
.pl-mark { position: relative; width: 96px; height: 96px; display: grid; place-items: center; }
/* rotujúci šalviový oblúk okolo symbolu */
.pl-ring {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 90deg, rgba(142,152,141,0) 0%, rgba(142,152,141,.14) 45%, var(--sage) 100%);
  -webkit-mask: radial-gradient(farthest-side, #0000 calc(100% - 3px), #000 calc(100% - 3px));
          mask: radial-gradient(farthest-side, #0000 calc(100% - 3px), #000 calc(100% - 3px));
  animation: plSpin .9s linear infinite;
}
/* svietiaci bod na čele oblúka */
.pl-ring::after {
  content: ""; position: absolute; top: 1px; left: 50%; margin-left: -3px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--sage);
  box-shadow: 0 0 8px 1px rgba(142,152,141,.7);
}
.pl-symbol { width: 44px; height: 44px; animation: plPulse 1.5s ease-in-out infinite; }
.preloader-logo { height: 24px; width: auto; opacity: 0; animation: plFadeUp .7s var(--ease) .2s forwards; }
@keyframes plSpin { to { transform: rotate(1turn); } }
@keyframes plPulse { 0%, 100% { transform: scale(1); opacity: .85; } 50% { transform: scale(1.1); opacity: 1; } }
@keyframes plFadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .pl-ring, .pl-symbol { animation: none; }
  .preloader-logo { animation: none; opacity: 1; }
}

/* ============================================================
   COOKIE CONSENT
   ============================================================ */
.cookie-consent {
  position: fixed; left: clamp(1rem, 3vw, 1.6rem); bottom: clamp(1rem, 3vw, 1.6rem); z-index: 1200;
  width: min(420px, calc(100vw - 2rem));
  background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  transform: translateY(160%); opacity: 0; visibility: hidden;
  transition: transform .5s var(--ease), opacity .5s ease, visibility .5s;
}
.cookie-consent.show { transform: none; opacity: 1; visibility: visible; }
.cc-inner { padding: 1.35rem 1.45rem; }
.cc-text strong { display: block; font-family: var(--ff-display); font-weight: 600; font-size: 1.04rem; margin-bottom: .45rem; }
.cc-text strong svg { width: 18px; height: 18px; color: var(--sage-700); vertical-align: -3px; margin-right: .3rem; }
.cc-text p { font-size: .9rem; color: var(--muted); line-height: 1.55; }
.cc-actions { display: flex; gap: .6rem; margin-top: 1.15rem; }
.cc-btn { flex: 1; justify-content: center; padding: .72rem 1rem; font-size: .9rem; }
.cookie-reopen {
  background: none; border: none; padding: 0; font: inherit; color: inherit; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px; opacity: .85; transition: opacity .2s;
}
.cookie-reopen:hover { opacity: 1; color: #fff; }
@media (max-width: 480px) { .cc-actions { flex-direction: column-reverse; } }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
[data-delay="1"]{ transition-delay: .08s; }
[data-delay="2"]{ transition-delay: .16s; }
[data-delay="3"]{ transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity:1; transform:none; } html{scroll-behavior:auto;} }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { min-height: 300px; order: -1; }
  .svc2 { grid-template-columns: 1fr; }
  .svc2-feat { grid-template-columns: 1fr; }
  .svc2-feat-img { min-height: 240px; order: -1; }
  .hero2 { min-height: auto; padding: 7rem 0 3rem; }
  .hero2-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero2::after { background: linear-gradient(180deg, rgba(15,20,13,.82) 0%, rgba(15,20,13,.9) 100%); }
  .stats { grid-template-columns: repeat(2,1fr); gap: 2.5rem 1.5rem; }
  .about-grid, .svc-detail, .contact-grid, .pd-hero { grid-template-columns: 1fr; }
  .svc-detail.rev .svc-detail-media { order: 0; }
  .equip-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .gallery figure:first-child { grid-column: span 1; aspect-ratio: 4/3; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav, .header-tel { display: none; }
  .burger { display: grid; }
  .header-cta .btn { display: none; }
  .brand img { height: 34px; }
  .hero2 h1 { font-size: clamp(2.1rem, 7.5vw, 2.9rem); }
  .hero2-copy { max-width: 100%; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band .inner { flex-direction: column; align-items: flex-start; }
  .about-media img { aspect-ratio: 4/3; }
}
@media (max-width: 600px) {
  .cs-btn { display: none; }
}
@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr; }
  .equip-grid { grid-template-columns: 1fr; }
  .proj-grid { grid-template-columns: 1fr; }
}
