/*
Theme Name: STAV-AT
Theme URI: https://stav-at.sk
Author: STAV-AT
Author URI: https://stav-at.sk
Description: Industriálna jednostránková WordPress téma pre stav-AT, s. r. o. — trojjazyčná (SK/EN/DE), s natívnym kontaktným formulárom a Google mapou.
Version: 5.1.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: stavat
Tags: one-page, construction, dark, business
*/

/* =========================================================
   STAV-AT — industrial single page
   ========================================================= */

:root {
  --bg:       #0c0c0d;
  --bg-2:     #131316;
  --bg-3:     #18181c;
  --surface:  #1c1c20;
  --line:     #2a2a30;
  --line-2:   #3a3a42;
  --fg:       #f2f2ef;
  --fg-2:     #c8c8c2;
  --muted:    #7a7a78;
  --dim:      #555555;

  --accent:   #FFD400;
  --accent-ink: #000000;

  --font-display: "Archivo", system-ui, sans-serif;
  --font-body:    "Manrope", system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, monospace;

  --maxw: 1360px;
  --pad-x: clamp(20px, 4vw, 64px);
}

[data-theme="light"] {
  --bg:       #f3f1ec;
  --bg-2:     #e9e7e1;
  --bg-3:     #ddd9d0;
  --surface:  #ffffff;
  --line:     #c9c6bd;
  --line-2:   #a8a59b;
  --fg:       #0c0c0d;
  --fg-2:     #2a2a2a;
  --muted:    #5a5a55;
  --dim:      #8a8a83;
  --accent-ink: #000000;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.mono { font-family: var(--font-mono); letter-spacing: 0.02em; }
.small { font-size: 11px; }
.dim { color: var(--muted); }

/* ----- TOP TAPE ----- */
.tape {
  background: var(--accent);
  color: #000;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  overflow: hidden;
  border-bottom: 2px solid #000;
  height: 28px;
}
.tape-track {
  display: flex;
  white-space: nowrap;
  animation: tape 38s linear infinite;
  height: 100%;
  align-items: center;
}
.tape-track span { padding-right: 24px; }
@keyframes tape { to { transform: translateX(-33.3333%); } }

/* ----- NAV ----- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px var(--pad-x);
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--fg);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 0.02em;
  max-height: 48px;
}
/* WordPress custom logo — vždy zmenši na výšku navu */
.logo .custom-logo-link {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.logo .custom-logo {
  max-height: 40px;
  width: auto;
  height: auto;
  display: block;
}
.logo-mark { color: var(--accent); display: inline-flex; }
.logo-type { line-height: 1; }
.logo-dash { color: var(--accent); padding: 0 1px; }

.nav-links {
  display: flex;
  gap: 22px;
  justify-content: center;
}
.nav-links a {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--fg-2);
  padding: 6px 2px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s, color 0.15s;
}
.nav-links a:hover { color: var(--accent); border-color: var(--accent); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  font-size: 13px;
  border: 2px solid var(--accent);
  transition: transform 0.15s, background 0.15s;
}
.nav-cta:hover { background: transparent; color: var(--accent); }
.nav-cta .arrow { transition: transform 0.2s; }
.nav-cta:hover .arrow { transform: translateX(4px); }

.nav-burger {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  width: 40px;
  height: 40px;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--fg);
}

/* ----- BUTTONS ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.01em;
  border: 2px solid var(--accent);
  transition: transform 0.15s, background 0.15s, color 0.15s;
  cursor: pointer;
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-primary:hover { background: transparent; color: var(--accent); }
.btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--line-2);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 18px 28px; font-size: 15px; }

/* ----- HERO ----- */
.hero {
  position: relative;
  padding: 56px var(--pad-x) 0;
  max-width: var(--maxw);
  margin: 0 auto;
}
.hero-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-2);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.dot {
  width: 8px; height: 8px;
  background: var(--accent);
  display: inline-block;
  border-radius: 50%;
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 30%, transparent);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(38px, 6vw, 88px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0;
}
.hero-title .line { display: block; }
.hero-title .hl {
  position: relative;
  color: var(--accent);
}
.hero-title .hl::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 0.08em;
  height: 3px;
  background: var(--accent);
  opacity: 0.4;
}

.hero-bottom {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: end;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.hero-lede {
  font-size: clamp(16px, 1.4vw, 20px);
  color: var(--fg-2);
  max-width: 56ch;
  margin: 0;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }

.hero-photo {
  margin-top: 48px;
  aspect-ratio: 16/8;
  width: 100%;
}

.stats {
  margin-top: 48px;
  padding: 32px 0 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: 12px 24px 12px 0;
  display: flex;
  align-items: baseline;
  gap: 16px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(32px, 4vw, 56px);
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--fg);
}
.stat-lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  line-height: 1.4;
}

/* ----- PLACEHOLDER ----- */
.placeholder {
  position: relative;
  background: repeating-linear-gradient(
    45deg,
    var(--bg-2),
    var(--bg-2) 14px,
    var(--bg-3) 14px,
    var(--bg-3) 28px
  );
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.placeholder-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
  background: var(--bg);
  padding: 6px 12px;
  border: 1px solid var(--line);
}
.photo-corners i {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid var(--accent);
}
.photo-corners i:nth-child(1) { top: 8px; left: 8px; border-right: none; border-bottom: none; }
.photo-corners i:nth-child(2) { top: 8px; right: 8px; border-left: none; border-bottom: none; }
.photo-corners i:nth-child(3) { bottom: 8px; left: 8px; border-right: none; border-top: none; }
.photo-corners i:nth-child(4) { bottom: 8px; right: 8px; border-left: none; border-top: none; }

/* ----- SECTIONS ----- */
.section {
  padding: 96px var(--pad-x);
  max-width: var(--maxw);
  margin: 0 auto;
}
.section-dark {
  background: var(--bg-2);
  max-width: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-dark > .section-head,
.section-dark > .services,
.section-dark > .contact-grid {
  max-width: var(--maxw);
  margin-left: auto;
  margin-right: auto;
}
.section-accent {
  background: var(--accent);
  color: var(--accent-ink);
  max-width: none;
}
.section-accent > .section-head,
.section-accent > .calc {
  max-width: var(--maxw);
  margin-left: auto;
  margin-right: auto;
}

.section-head {
  margin-bottom: 56px;
  max-width: 920px;
}
.section-num {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.16em;
  padding: 6px 12px;
  border: 1px solid currentColor;
  margin-bottom: 24px;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0;
}
.section-sub {
  font-size: 17px;
  color: var(--fg-2);
  max-width: 60ch;
  margin: 24px 0 0;
}
.section-accent .section-sub { color: rgba(0,0,0,0.7); }

/* ----- O FIRME ----- */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: start;
}
.about-text .lead {
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.4;
  margin: 0 0 24px;
  font-weight: 500;
}
.about-text p { color: var(--fg-2); margin: 0 0 24px; max-width: 60ch; font-size: 16px; }
.about-bullets {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  border-top: 1px solid var(--line);
}
.about-bullets li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 16px;
  font-size: 15px;
  color: var(--fg-2);
}
.check {
  color: var(--accent);
  font-weight: 700;
  font-family: var(--font-mono);
  flex-shrink: 0;
}
.about-photo {
  aspect-ratio: 4/5;
  width: 100%;
}
.signature {
  display: flex;
  flex-direction: column;
  margin-top: 16px;
  padding: 16px;
  border: 1px solid var(--line);
}
.sig-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
}
.sig-role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

/* ----- SLUŽBY ----- */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.service {
  padding: 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  transition: background 0.2s;
  position: relative;
}
.service:hover { background: var(--bg-3); }
.service-num {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.1em;
}
.service h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  margin: 32px 0 12px;
  letter-spacing: -0.01em;
}
.service p {
  color: var(--fg-2);
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.55;
}
.service-tags {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.service-tags li {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 8px;
  border: 1px solid var(--line-2);
  color: var(--muted);
}

/* ----- REALIZÁCIE ----- */
.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}
.gal-item {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.2s;
}
.gal-item.gal-lg { grid-column: span 3; }
.gal-item:hover { transform: translateY(-4px); }
.gal-photo {
  aspect-ratio: 4/3;
  width: 100%;
}
.gal-item.gal-lg .gal-photo { aspect-ratio: 3/2; }
.gal-meta { display: flex; flex-direction: column; gap: 6px; }
.gal-tag {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.gal-meta h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  margin: 0;
  letter-spacing: -0.01em;
}
.gal-loc { font-size: 12px; color: var(--muted); }
.gal-foot { margin-top: 48px; display: flex; justify-content: center; }

/* ----- KALKULAČKA ----- */
.calc {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0;
  border: 2px solid #000;
  background: #fff;
}
.calc-form { padding: 40px; border-right: 2px solid #000; }
.calc-field { border: none; padding: 0; margin: 0 0 32px; }
.calc-field:last-child { margin-bottom: 0; }
.calc-field legend {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #000;
  margin-bottom: 12px;
  padding: 0;
  font-weight: 700;
}

.radio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid #000;
}
.radio-grid label {
  position: relative;
  padding: 12px 14px;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  background: #fff;
  transition: background 0.1s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.radio-grid label:nth-child(3n) { border-right: none; }
.radio-grid label:nth-last-child(-n+3) { border-bottom: none; }
.radio-grid input { position: absolute; opacity: 0; pointer-events: none; }
.radio-grid label::before {
  content: "";
  width: 10px; height: 10px;
  border: 1.5px solid #000;
  display: inline-block;
  flex-shrink: 0;
}
.radio-grid label:has(input:checked) { background: #000; color: var(--accent); }
.radio-grid label:has(input:checked)::before { background: var(--accent); border-color: var(--accent); }

.slider-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
}
.slider-row input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: #000;
  outline: none;
}
.slider-row input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px; height: 20px;
  background: var(--accent);
  border: 2px solid #000;
  cursor: pointer;
}
.slider-row input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px;
  background: var(--accent);
  border: 2px solid #000;
  cursor: pointer;
  border-radius: 0;
}
.slider-row output {
  font-weight: 700;
  font-size: 16px;
  padding: 6px 10px;
  border: 1px solid #000;
  min-width: 80px;
  text-align: center;
}

.seg {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  border: 1px solid #000;
}
.seg label {
  position: relative;
  padding: 12px;
  text-align: center;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  border-right: 1px solid #000;
  transition: background 0.1s;
}
.seg label:last-child { border-right: none; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label:has(input:checked) { background: #000; color: var(--accent); }

.calc-result {
  padding: 40px;
  background: #000;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.calc-result .small.dim { color: rgba(255,255,255,0.55); }
.calc-result .small { color: rgba(255,255,255,0.7); }
.calc-price {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--accent);
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.calc-price .dash { color: rgba(255,255,255,0.4); }
.calc-price .cur { color: #fff; font-size: 0.5em; align-self: center; }

.calc-meta {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.calc-meta li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.85);
  font-size: 12px;
}
.calc-meta li span:first-child { color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.08em; }

.calc-cta { margin-top: 8px; align-self: flex-start; }
.calc-note { color: rgba(255,255,255,0.45); margin: 8px 0 0; line-height: 1.5; }

/* ----- FAQ ----- */
.faq {
  border-top: 1px solid var(--line);
  max-width: 980px;
}
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(18px, 1.6vw, 22px);
  letter-spacing: -0.01em;
}
.faq-icon {
  font-family: var(--font-mono);
  font-size: 24px;
  color: var(--accent);
  font-weight: 400;
  transition: transform 0.25s;
  flex-shrink: 0;
}
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-a { padding: 0 0 28px; max-width: 72ch; color: var(--fg-2); }
.faq-a p { margin: 0; }

/* ----- KONTAKT ----- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-form {
  background: var(--bg);
  padding: 40px;
  border: 1px solid var(--line);
}
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label, .field-check label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  background: transparent;
  border: none;
  border-bottom: 1.5px solid var(--line-2);
  color: var(--fg);
  padding: 10px 0;
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  transition: border-color 0.15s;
}
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--accent); }
.field textarea { resize: vertical; min-height: 100px; }
.field-check { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 20px; }
.field-check input { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; accent-color: var(--accent); }
.field-check label { text-transform: none; letter-spacing: 0; font-family: var(--font-body); font-size: 13px; color: var(--fg-2); }
.form-status { margin-top: 16px; min-height: 16px; }
.form-status.ok { color: var(--accent); }
.form-status.err { color: #ff6464; }

.contact-side { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-big {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 2.4vw, 32px);
  color: var(--accent);
  letter-spacing: -0.01em;
}
.contact-mid {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--fg);
}
.contact-addr { margin: 0; color: var(--fg-2); font-size: 15px; line-height: 1.5; }
.contact-ids { margin: 8px 0 0; line-height: 1.5; }

.map {
  height: 220px;
  position: relative;
}
.map-pin {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -100%);
}

/* ----- FOOTER ----- */
.footer {
  background: #000;
  color: #fff;
  padding: 64px var(--pad-x) 24px;
  border-top: 4px solid var(--accent);
}
.footer-top {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid #222;
}
.footer-brand .logo-mark { color: var(--accent); }
.footer-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 28px;
  display: block;
  margin: 16px 0 12px;
}
.footer-tag { color: rgba(255,255,255,0.6); font-size: 14px; max-width: 36ch; margin: 0; }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-cols > div { display: flex; flex-direction: column; gap: 12px; }
.footer-cols ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-cols a { color: rgba(255,255,255,0.8); font-size: 14px; transition: color 0.15s; }
.footer-cols a:hover { color: var(--accent); }
.footer-bottom {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: rgba(255,255,255,0.6);
}

/* ----- TWEAKS PANEL ----- */
.tweaks-panel {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 280px;
  background: #0a0a0b;
  border: 1px solid #2a2a30;
  color: #f2f2ef;
  z-index: 100;
  font-family: var(--font-body);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.tweaks-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid #2a2a30;
  background: #131316;
}
.tweaks-close {
  background: transparent;
  border: none;
  color: #f2f2ef;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
}
.tweaks-section { padding: 14px; border-bottom: 1px solid #1c1c20; }
.tweaks-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7a7a78;
  margin-bottom: 10px;
}
.tweaks-swatches { display: flex; gap: 8px; }

.sw:hover { transform: scale(1.08); }
.sw.active { border-color: #f2f2ef; }
.tweaks-seg {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  border: 1px solid #2a2a30;
}
.tweaks-seg button {
  background: transparent;
  border: none;
  border-right: 1px solid #2a2a30;
  color: #c8c8c2;
  padding: 8px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.tweaks-seg button:last-child { border-right: none; }
.tweaks-seg button.active { background: var(--accent); color: #000; }
.tweaks-input {
  width: 100%;
  background: #131316;
  border: 1px solid #2a2a30;
  color: #f2f2ef;
  padding: 8px 10px;
  font-family: var(--font-body);
  font-size: 13px;
  outline: none;
}
.tweaks-input:focus { border-color: var(--accent); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav { grid-template-columns: auto 1fr auto; gap: 12px; }
  .nav-cta { display: none; }
  .nav.open .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    background: var(--bg-2);
    padding: 20px var(--pad-x);
    border-bottom: 1px solid var(--line);
    gap: 16px;
  }
  .hero-bottom { grid-template-columns: 1fr; }
  .hero-actions { justify-content: flex-start; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); padding-bottom: 24px; }
  .stat:nth-child(3), .stat:nth-child(4) { padding-top: 24px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gal-item, .gal-item.gal-lg { grid-column: span 1; }
  .gal-item.gal-lg .gal-photo { aspect-ratio: 4/3; }
  .calc { grid-template-columns: 1fr; }
  .calc-form { border-right: none; border-bottom: 2px solid #000; }
  .radio-grid { grid-template-columns: repeat(2, 1fr); }
  .radio-grid label:nth-child(3n) { border-right: 1px solid #000; }
  .radio-grid label:nth-child(2n) { border-right: none; }
  .radio-grid label:nth-last-child(-n+3) { border-bottom: 1px solid #000; }
  .radio-grid label:nth-last-child(-n+2) { border-bottom: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .hero-title { font-size: clamp(48px, 14vw, 88px); }
  .section { padding: 64px var(--pad-x); }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: none !important; border-bottom: 1px solid var(--line); padding: 16px 0; }
  .stat:last-child { border-bottom: none; }
  .services { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .seg { grid-template-columns: 1fr; grid-auto-flow: row; }
  .seg label { border-right: none; border-bottom: 1px solid #000; }
  .seg label:last-child { border-bottom: none; }
  .radio-grid { grid-template-columns: 1fr; }
  .radio-grid label { border-right: none !important; border-bottom: 1px solid #000 !important; }
  .radio-grid label:last-child { border-bottom: none !important; }
  .footer-cols { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .tweaks-panel { right: 12px; bottom: 12px; width: calc(100vw - 24px); max-width: 320px; }
}

/* font swap */
[data-font="space"] {
  --font-display: "Space Grotesk", system-ui, sans-serif;
}

/* ===========================================================
   IMAGE / PHOTO WRAPPER (real photo overrides placeholder look)
   =========================================================== */
.hero-photo,
.about-photo,
.gal-photo,
.map {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--line);
  overflow: hidden;
}
.hero-photo img,
.about-photo img,
.gal-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
}
/* Hide placeholder chrome when img is present */
.hero-photo .placeholder-label,
.about-photo .placeholder-label,
.gal-photo .placeholder-label,
.hero-photo .photo-corners,
.about-photo .photo-corners,
.gal-photo .photo-corners {
  position: absolute;
  z-index: 0;
}
/* When img fails (onerror removes it + adds .fallback), restore stripe placeholder */
.hero-photo.fallback,
.about-photo.fallback,
.gal-photo.fallback,
.map {
  background: repeating-linear-gradient(45deg, var(--bg-2), var(--bg-2) 14px, var(--bg-3) 14px, var(--bg-3) 28px);
}
.fallback .placeholder-label,
.fallback .photo-corners,
.map .placeholder-label,
.map .photo-corners {
  z-index: 2;
  display: flex;
}
.fallback .placeholder-label,
.map .placeholder-label {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

/* Hide placeholder text when real img present */
.hero-photo:not(.fallback) .placeholder-label,
.about-photo:not(.fallback) .placeholder-label,
.gal-photo:not(.fallback) .placeholder-label { display: none; }

/* Hero photo tag */
.hero-photo-tag {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 3;
  background: rgba(0,0,0,0.75);
  color: #fff;
  padding: 8px 14px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
}
.hero-photo-tag .dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

/* ===========================================================
   TRUST / PARTNERS STRIP
   =========================================================== */
.trust {
  padding: 32px 0 0;
  border-top: 1px solid var(--line);
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.trust-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
}
.trust-marks {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 32px;
  align-items: center;
}
.trust-marks span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.04em;
  color: var(--muted);
  padding: 8px 0;
  transition: color 0.15s;
}
.trust-marks span:hover { color: var(--fg); }

/* ===========================================================
   SERVICE ICONS
   =========================================================== */
.service-icon {
  width: 44px;
  height: 44px;
  color: var(--accent);
  display: block;
  margin-bottom: 4px;
}
.service h3 {
  margin-top: 20px;
}

/* ===========================================================
   POSTUP
   =========================================================== */
.postup {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.postup-step {
  position: relative;
  padding: 28px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.postup-step::after {
  content: "";
  position: absolute;
  top: 28px;
  right: -7px;
  width: 12px;
  height: 12px;
  background: var(--bg);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transform: rotate(-45deg);
  z-index: 2;
}
.postup-step:last-child::after { display: none; }
.postup-num {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.postup-step h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  margin: 0;
  letter-spacing: -0.01em;
}
.postup-step p {
  color: var(--fg-2);
  font-size: 13px;
  margin: 0;
  line-height: 1.5;
}
.postup-time {
  margin-top: auto;
  padding-top: 12px;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-top: 1px solid var(--line);
}

/* ===========================================================
   RECENZIE
   =========================================================== */
.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review {
  padding: 28px;
  background: var(--bg);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.review-stars {
  color: var(--accent);
  font-size: 14px;
  letter-spacing: 0.2em;
}
.review-quote {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg);
  margin: 0;
  flex-grow: 1;
}
.review-who {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.review-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
}
.review-meta {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* ===========================================================
   RESPONSIVE for new sections
   =========================================================== */
@media (max-width: 1024px) {
  .postup { grid-template-columns: repeat(2, 1fr); }
  .postup-step::after { display: none; }
  .reviews { grid-template-columns: 1fr; }
  .trust-marks { gap: 4px 20px; }
  .trust-marks span { font-size: 15px; }
}
@media (max-width: 640px) {
  .postup { grid-template-columns: 1fr; }
}

/* ===========================================================
   PRIDANÉ (v2) — prepínač jazykov, 2-stĺpcové mriežky, honeypot
   =========================================================== */
.nav-right { display: inline-flex; align-items: center; gap: 16px; }

/* Logo (obrázok) — max-width je poistka, aby logo nikdy nerozhodilo layout */
.logo { flex-shrink: 0; }
.logo-img, .logo .custom-logo { display: block; height: 34px; width: auto; max-width: 190px; object-fit: contain; }
.footer-logo-img { display: block; height: 44px; width: auto; max-width: 240px; object-fit: contain; margin-bottom: 20px; }
@media (max-width: 640px) {
  .logo-img { height: 26px; }
  .footer-logo-img { height: 36px; }
  /* Na telefónoch necháme len vlajky — texty SK/EN/DE robili min-content
     prepínača 185px, čo pretekalo riadok navigácie na 360–390px displejoch. */
  .lang-opt { padding: 7px; gap: 0; min-height: 44px; box-sizing: border-box; align-items: center; }
  .lang-opt .lang-code { display: none; }
}
/* Plná 44px dotyková plocha tam, kde sa šírka vojde (360px a viac). */
@media (min-width: 360px) and (max-width: 640px) {
  .lang-opt { min-width: 44px; justify-content: center; }
}
/* Najužšie displeje (napr. iPhone SE 320px) */
@media (max-width: 380px) {
  .logo-img { height: 22px; }
  .lang-opt { padding: 6px; }
}
.lang-switch { display: inline-flex; align-items: stretch; border: 1px solid var(--line-2); }
.lang-opt {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 9px;
  border-right: 1px solid var(--line-2); text-decoration: none; cursor: pointer;
  color: var(--muted); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em;
  transition: background .15s, color .15s;
}
.lang-opt:last-child { border-right: none; }
.lang-opt .lang-flag { display: inline-flex; line-height: 0; filter: grayscale(1); opacity: .55; transition: filter .15s, opacity .15s; }
.lang-opt:hover { color: var(--fg); }
.lang-opt:hover .lang-flag { filter: grayscale(0); opacity: 1; }
.lang-opt.on { background: var(--accent); color: #000; }
.lang-opt.on .lang-flag { filter: grayscale(0); opacity: 1; }

/* 2-stĺpcové mriežky pre 4 služby / 4 hodnoty */
.services-2 { grid-template-columns: repeat(2, 1fr) !important; }
.postup-3 { grid-template-columns: repeat(3, 1fr) !important; }

/* Honeypot proti spamu */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ===========================================================
   PRIDANÉ (v4) — sekcia PRE INVESTOROV + osobná značka
   =========================================================== */
.inv-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.inv-list li { display: flex; align-items: baseline; gap: 24px; padding: 22px 4px; border-bottom: 1px solid var(--line); transition: background .15s, padding-left .15s; }
.inv-list li:hover { background: var(--bg-2); padding-left: 14px; }
.inv-num { color: var(--accent); font-size: 12px; letter-spacing: 0.12em; flex-shrink: 0; min-width: 34px; }
.inv-txt { font-family: var(--font-display); font-weight: 700; font-size: clamp(17px, 1.7vw, 24px); letter-spacing: -0.01em; text-wrap: pretty; }

.adam-block { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; max-width: 860px; padding: clamp(28px, 3vw, 44px); background: var(--bg-2); border: 1px solid var(--line); border-left: 3px solid var(--accent); }
.adam-name { font-family: var(--font-display); font-weight: 900; font-size: clamp(30px, 3.4vw, 46px); letter-spacing: -0.02em; text-transform: uppercase; margin: 6px 0 0; line-height: 1; }
.adam-role { color: var(--accent); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.adam-p { color: var(--fg-2); font-size: 16px; line-height: 1.6; margin: 4px 0 0; max-width: 62ch; }
.adam-quote { margin: 8px 0 4px; padding: 20px 24px; border-left: 3px solid var(--accent); background: var(--bg); font-family: var(--font-display); font-weight: 500; font-size: clamp(16px, 1.5vw, 20px); line-height: 1.45; color: var(--fg); max-width: 60ch; text-wrap: pretty; }

@media (max-width: 900px) {
  .inv-list li { gap: 14px; padding: 18px 2px; }
}

@media (max-width: 900px) {
  .services-2 { grid-template-columns: 1fr !important; }
  .postup-3 { grid-template-columns: 1fr !important; }
}
@media (max-width: 1024px) {
  .nav-right { gap: 10px; }
  .nav .nav-cta { display: none; }
}


/* odstránené mŕtve pravidlo .sw — premenná --c nikde nie je definovaná */

/* ===========================================================
   PRIDANÉ (v5) — jednotná galéria + lightbox albumov
   =========================================================== */
.gallery-uniform { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gallery-uniform .gal-item {
  display: flex; flex-direction: column; gap: 14px; text-align: left;
  background: none; border: 0; padding: 0; margin: 0; cursor: pointer; color: inherit; font: inherit;
  transition: transform .2s ease;
}
.gallery-uniform .gal-item:hover { transform: translateY(-4px); }
.gallery-uniform .gal-photo {
  position: relative; display: block; width: 100%; aspect-ratio: 4 / 3;
  border: 1px solid var(--line); overflow: hidden; background: var(--bg-2);
}
.gallery-uniform .gal-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease, filter .2s ease; }
.gallery-uniform .gal-item:hover .gal-photo img { transform: scale(1.04); }
.gallery-uniform .gal-meta { display: flex; flex-direction: column; gap: 6px; }
.gallery-uniform .gal-h4 { font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -0.01em; line-height: 1.25; }
.gal-count {
  position: absolute; right: 10px; bottom: 10px; z-index: 2;
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--accent); color: #000; padding: 4px 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
}
.gal-item:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(8,8,9,0.94); display: flex; align-items: center; justify-content: center; padding: clamp(16px, 4vw, 56px); }
.lb[hidden] { display: none; }
.lb-figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 16px; max-width: 100%; max-height: 100%; }
.lb-figure img { max-width: min(1100px, 92vw); max-height: 74vh; width: auto; height: auto; display: block; border: 1px solid var(--line-2); background: var(--bg-2); }
.lb-cap { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.lb-tag { color: var(--accent); font-size: 11px; letter-spacing: 0.1em; }
.lb-title { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--fg); }
.lb-counter { font-size: 12px; color: var(--muted); letter-spacing: 0.08em; }
.lb-close, .lb-nav {
  position: absolute; background: transparent; border: 1px solid var(--line-2); color: var(--fg);
  cursor: pointer; line-height: 1; transition: background .15s, border-color .15s, color .15s;
}
.lb-close { top: 20px; right: 20px; width: 44px; height: 44px; font-size: 26px; }
.lb-nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 34px; }
.lb-prev { left: 16px; } .lb-next { right: 16px; }
.lb-close:hover, .lb-nav:hover { background: var(--accent); border-color: var(--accent); color: #000; }
.lb-nav[hidden] { display: none; }

@media (max-width: 1024px) { .gallery-uniform { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .gallery-uniform { grid-template-columns: 1fr; gap: 28px; }
  .lb-nav { width: 44px; height: 44px; font-size: 28px; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
  .lb-figure img { max-height: 62vh; }
}
