/* Písmo Plus Jakarta Sans (variabilní, hostované lokálně, licence OFL) */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('/assets/fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('/assets/fonts/plus-jakarta-sans-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --gold-glow: rgba(var(--accent-rgb), 0.22);
  --gold-subtle: rgba(var(--accent-rgb), 0.08);
}

/* =====================================================================
   BAREVNÉ VARIANTY – přepínají se v includes/config.php ($site['theme'])
   --gold-primary  = barva tlačítek a zvýraznění (pozadí)
   --accent-text   = barva zvýrazněného textu (odkazy, ikony)
   ===================================================================== */

/* 1) ZLATÁ STŘÍDMÁ – zlatá jen tam, kde má upoutat (výchozí) */
:root, [data-theme="zlata"] {
  --glow: 0.05;
  --bg-color: #0a0a0b;
  --surface-color: #121214;
  --surface-card: #17171a;
  --surface-hover: #1f1f23;
  --gold-primary: #e8b931;
  --gold-hover: #f4c94a;
  --accent-rgb: 232, 185, 49;
  --accent-text: #ebc04a;
  --text-main: #ececef;
  --text-muted: #a1a1ab;
  --heading: #ffffff;
  --on-accent: #111111;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(232, 185, 49, 0.5);
  --overlay-rgb: 255, 255, 255;
  --nav-rgb: 12, 12, 14;
  --shadow-rgb: 0, 0, 0;
  --shadow-k: 1;
}

/* 2) PŮVODNÍ – zlaté rámečky a záře všude */
[data-theme="puvodni"] {
  --glow: 0.14;
  --bg-color: #08090d;
  --surface-color: #11131a;
  --surface-card: #161922;
  --surface-hover: #1e222f;
  --gold-primary: #e2b742;
  --gold-hover: #f1c853;
  --accent-rgb: 226, 183, 66;
  --accent-text: #e2b742;
  --text-main: #f3f4f8;
  --text-muted: #9499ad;
  --heading: #ffffff;
  --on-accent: #000000;
  --border-color: rgba(226, 183, 66, 0.16);
  --border-strong: rgba(226, 183, 66, 0.45);
  --overlay-rgb: 255, 255, 255;
  --nav-rgb: 13, 14, 20;
  --shadow-rgb: 0, 0, 0;
  --shadow-k: 1;
}

/* 3) GRAFIT & JANTAR – technický, „elektrický“ dojem */
[data-theme="grafit"] {
  --glow: 0.045;
  --bg-color: #0d1117;
  --surface-color: #131a24;
  --surface-card: #161f2c;
  --surface-hover: #1d2838;
  --gold-primary: #f5a524;
  --gold-hover: #ffb84a;
  --accent-rgb: 245, 165, 36;
  --accent-text: #f7b143;
  --text-main: #e6edf3;
  --text-muted: #8f9cae;
  --heading: #ffffff;
  --on-accent: #16110a;
  --border-color: rgba(148, 163, 184, 0.14);
  --border-strong: rgba(245, 165, 36, 0.5);
  --overlay-rgb: 255, 255, 255;
  --nav-rgb: 13, 17, 23;
  --shadow-rgb: 0, 0, 0;
  --shadow-k: 0.9;
}

/* 4) SVĚTLÁ – světlé pozadí, zlatá tlačítka */
[data-theme="svetla"] {
  --glow: 0.07;
  --bg-color: #f6f4ef;
  --surface-color: #ffffff;
  --surface-card: #ffffff;
  --surface-hover: #fbf8f1;
  --gold-primary: #f2b705;
  --gold-hover: #ffc727;
  --accent-rgb: 242, 183, 5;
  --accent-text: #8a5d00;
  --text-main: #22252b;
  --text-muted: #5d6371;
  --heading: #121418;
  --on-accent: #121418;
  --border-color: rgba(18, 20, 24, 0.10);
  --border-strong: rgba(178, 128, 0, 0.55);
  --overlay-rgb: 0, 0, 0;
  --nav-rgb: 255, 255, 255;
  --shadow-rgb: 40, 32, 10;
  --shadow-k: 0.22;
}


* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-color);
  background-image:
    radial-gradient(circle at 50% 0%, rgba(var(--accent-rgb), var(--glow)) 0%, transparent 60%),
    radial-gradient(circle at 85% 40%, rgba(var(--accent-rgb), calc(var(--glow) * 0.3)) 0%, transparent 50%),
    radial-gradient(circle at 15% 75%, rgba(var(--accent-rgb), calc(var(--glow) * 0.2)) 0%, transparent 50%);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px 100px;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

/* Horní navigace */
.top-nav {
  position: sticky;
  top: 0;
  width: 100%;
  max-width: 1160px;
  z-index: 900;
  background: rgba(var(--nav-rgb), 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
  box-shadow: 0 10px 30px rgba(var(--shadow-rgb), calc(0.5 * var(--shadow-k)));
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--heading);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.3px;
  flex-shrink: 0;
}

.nav-brand img {
  height: 36px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 10px var(--gold-glow));
}

.main-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.main-menu a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 11px;
  border-radius: var(--radius-sm);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.main-menu a:hover {
  color: var(--heading);
  background: rgba(var(--overlay-rgb), 0.05);
}

.main-menu a.active {
  color: var(--accent-text);
  background: var(--gold-subtle);
  font-weight: 600;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav-link-btn {
  color: var(--accent-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.83rem;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: var(--gold-subtle);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-link-btn:hover {
  background: rgba(var(--accent-rgb), 0.2);
  border-color: var(--gold-primary);
  color: var(--heading);
}

.nav-link-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--accent-text);
  border-radius: var(--radius-sm);
  padding: 7px 10px;
  cursor: pointer;
  font-size: 1.05rem;
}

.container {
  max-width: 960px;
  width: 100%;
  text-align: center;
}

/* Drobečková navigace */
.breadcrumbs {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.breadcrumbs a {
  color: var(--accent-text);
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

/* Bezpečný Reveal CSS */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

body.js-animate .reveal {
  opacity: 0;
  transform: translateY(20px);
}

body.js-animate .reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Hero Sekce */
.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 20px;
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.15), rgba(var(--accent-rgb), 0.05));
  border: 1px solid var(--border-strong);
  border-radius: 30px;
  color: var(--accent-text);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin: 0 auto 24px auto;
  box-shadow: 0 0 20px var(--gold-glow);
}

.logo-img {
  display: block;
  width: 190px;
  max-width: 75%;
  height: auto;
  object-fit: contain;
  margin: 0 auto 24px auto;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 0 35px rgba(var(--accent-rgb), 0.35));
}

.logo-img:hover {
  transform: scale(1.03);
}

h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--heading);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  line-height: 1.18;
}

.subtitle {
  font-size: 1.08rem;
  color: var(--text-muted);
  margin: 0 auto 35px auto;
  font-weight: 400;
  max-width: 740px;
  line-height: 1.65;
}

/* Trust Badges */
.trust-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 35px;
  width: 100%;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-card);
  border: 1px solid var(--border-color);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--text-main);
  font-weight: 500;
  white-space: nowrap;
}

.trust-pill svg {
  stroke: var(--accent-text);
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

/* Hlavní CTA Box */
.cta-hero-box {
  background: var(--surface-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  margin-bottom: 55px;
  text-align: center;
  box-shadow: 0 15px 35px rgba(var(--shadow-rgb), calc(0.5 * var(--shadow-k))), 0 0 30px rgba(var(--accent-rgb), 0.08);
  position: relative;
}

.cta-buttons-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
  width: 100%;
}

.lead-magnet-badge {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(var(--accent-rgb), 0.08);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 400;
}

.lead-magnet-badge strong {
  color: var(--accent-text);
  font-weight: 700;
}

/* Nadpisy sekcí */
h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--heading);
  margin: 70px 0 32px 0;
  letter-spacing: -0.3px;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

/* Kontaktní karty */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 50px;
}

.contact-card {
  background: var(--surface-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 26px 20px;
  text-decoration: none;
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(var(--shadow-rgb), calc(0.4 * var(--shadow-k)));
}

.contact-card:hover {
  border-color: var(--gold-primary);
  background: var(--surface-hover);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(var(--accent-rgb), 0.2);
}

.contact-card svg {
  stroke: var(--accent-text);
  width: 28px;
  height: 28px;
  stroke-width: 1.6;
  filter: drop-shadow(0 0 8px var(--gold-glow));
}

.contact-card span {
  font-weight: 500;
  letter-spacing: 0.2px;
  white-space: nowrap;
  font-size: 0.95rem;
}

/* Karty Služeb */
.services-grid-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 40px;
  text-align: left;
}

.service-card {
  background: var(--surface-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card.highlight-card {
  border-color: var(--gold-primary);
  background: linear-gradient(145deg, rgba(var(--accent-rgb), 0.08), var(--surface-card));
  box-shadow: 0 10px 30px rgba(var(--accent-rgb), 0.1);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-primary);
  box-shadow: 0 12px 35px rgba(var(--shadow-rgb), calc(0.6 * var(--shadow-k)));
}

.service-card h3 {
  font-size: 1.2rem;
  color: var(--heading);
  margin-bottom: 8px;
  font-weight: 700;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: var(--accent-text);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
}

.service-card-link:hover {
  text-decoration: underline;
}

.service-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--gold-primary);
  color: var(--on-accent);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.service-detail-list {
  list-style: none;
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-detail-list li {
  color: var(--text-main);
  font-size: 0.9rem;
  padding-left: 20px;
  position: relative;
}

.service-detail-list li::before {
  content: '⚡';
  position: absolute;
  left: 0;
  font-size: 0.8rem;
}

/* Tlačítka */
.btn-action {
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.12), rgba(var(--accent-rgb), 0.28));
  border: 1px solid var(--gold-primary);
  color: var(--accent-text);
  padding: 15px 28px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(var(--shadow-rgb), calc(0.4 * var(--shadow-k))), 0 0 15px rgba(var(--accent-rgb), 0.15);
}

.btn-action:hover {
  background: var(--gold-primary);
  color: var(--on-accent);
  box-shadow: 0 12px 30px rgba(var(--accent-rgb), 0.45);
  transform: translateY(-3px);
}

.btn-action.filled {
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-hover));
  color: var(--on-accent);
  font-weight: 700;
}

/* SOS Tlačítko */
.sos-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: rgba(18, 8, 10, 0.94);
  color: #ff5252;
  border: 1px solid rgba(255, 82, 82, 0.5);
  border-radius: 30px;
  padding: 12px 22px;
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 800;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.4s ease;
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(var(--shadow-rgb), calc(0.6 * var(--shadow-k)));
}

.sos-btn:hover {
  background: #ff3333;
  color: #fff;
  border-color: #ff3333;
  box-shadow: 0 0 30px rgba(255, 51, 51, 0.6);
  transform: translateY(-3px);
}

.sos-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Timeline / Proces */
.timeline {
  position: relative;
  max-width: 580px;
  margin: 0 auto;
  padding: 10px 0;
  text-align: left;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--border-strong), transparent);
  top: 0;
  bottom: 0;
  left: 22px;
}

.timeline-item {
  padding: 22px 0 22px 60px;
  position: relative;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 13px;
  height: 13px;
  left: 17px;
  top: 28px;
  background: var(--bg-color);
  border: 2px solid var(--gold-primary);
  border-radius: 50%;
  z-index: 1;
  transition: all 0.4s ease;
  box-shadow: 0 0 12px var(--gold-glow);
}

.timeline-item:hover::after {
  background: var(--gold-primary);
  transform: scale(1.4);
  box-shadow: 0 0 20px var(--gold-primary);
}

.timeline-item h3 {
  color: var(--heading);
  font-size: 1.05rem;
  margin-bottom: 4px;
  font-weight: 700;
  letter-spacing: 0.2px;
  text-transform: uppercase;
}

.timeline-item p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0;
  font-weight: 300;
}

/* Chytrá domácnost taby */
.smart-tabs-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
}

.smart-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 8px 16px;
  cursor: pointer;
  font-size: 0.82rem;
  transition: all 0.4s;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--radius-sm);
}

.smart-btn:hover {
  color: var(--heading);
  background: rgba(var(--overlay-rgb), 0.04);
}

.smart-btn.active {
  color: var(--on-accent);
  background: var(--gold-primary);
  font-weight: 700;
  box-shadow: 0 0 15px var(--gold-glow);
}

.smart-content-box {
  display: none;
  background: var(--surface-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 35px;
  text-align: left;
  animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  margin-bottom: 20px;
  box-shadow: 0 15px 35px rgba(var(--shadow-rgb), calc(0.4 * var(--shadow-k)));
}

.smart-content-box.active {
  display: block;
}

.smart-content-box h3 {
  color: var(--heading);
  margin-bottom: 10px;
  font-size: 1.3rem;
  font-weight: 700;
}

.smart-content-box p {
  color: var(--accent-text);
  font-size: 0.95rem;
  margin-bottom: 20px;
  font-weight: 500;
}

.smart-content-box ul {
  color: var(--text-muted);
  font-size: 0.92rem;
  padding-left: 20px;
  font-weight: 300;
}

.smart-content-box li {
  margin-bottom: 10px;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* FAQ */
.faq-container {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
}

.faq-question {
  padding: 20px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.4s;
  color: var(--text-main);
}

.faq-question:hover {
  color: var(--accent-text);
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--accent-text);
  font-weight: 300;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active .faq-question {
  color: var(--accent-text);
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  font-size: 0.92rem;
  color: var(--text-muted);
  padding-right: 20px;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding-bottom: 20px;
}

/* MAPA */
#map {
  height: 360px;
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
  margin: 20px auto 25px auto;
  background: #e5e3df;
  z-index: 1;
  box-shadow: 0 15px 35px rgba(var(--shadow-rgb), calc(0.5 * var(--shadow-k)));
}

.location-cities-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.6;
}

.location-cities-text strong {
  color: var(--accent-text);
}

.pulse-circle {
  animation: mapPulse 3s infinite alternate;
}

@keyframes mapPulse {
  from { fill-opacity: 0.15; }
  to { fill-opacity: 0.35; }
}

/* Galerie / Portfolio */
.folder-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.folder-tab {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 8px 16px;
  cursor: pointer;
  font-size: 0.82rem;
  transition: all 0.4s;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  border-radius: var(--radius-sm);
}

.folder-tab:hover {
  color: var(--heading);
  border-color: var(--gold-primary);
}

.folder-tab.active {
  color: var(--on-accent);
  background: var(--gold-primary);
  border-color: var(--gold-primary);
  font-weight: 700;
}

.folder-content {
  display: none;
  column-count: 1;
  column-gap: 20px;
  width: 100%;
}

@media (min-width: 560px) {
  .folder-content { column-count: 2; }
}

@media (min-width: 820px) {
  .folder-content { column-count: 3; }
}

.folder-content.active {
  display: block;
  animation: fadeUp 0.6s ease;
}

.gallery-item-wrap {
  break-inside: avoid;
  margin-bottom: 20px;
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: zoom-in;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 25px rgba(var(--shadow-rgb), calc(0.5 * var(--shadow-k)));
}

.gallery-item-wrap img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.8s ease;
  filter: brightness(0.92);
}

.gallery-item-wrap:hover img {
  transform: scale(1.06);
  filter: brightness(1.08);
}

.lightbox {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(4, 4, 6, 0.96);
  backdrop-filter: blur(15px);
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.lightbox-img {
  max-width: 90%;
  max-height: 85vh;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  box-shadow: 0 0 50px rgba(var(--shadow-rgb), calc(0.9 * var(--shadow-k)));
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 45px;
  cursor: pointer;
  z-index: 2001;
  font-weight: 200;
  transition: all 0.4s;
}

.lightbox-close:hover {
  color: var(--accent-text);
  transform: rotate(90deg);
}

/* Kalkulačka */
.calc-wrapper {
  background: var(--surface-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: left;
  box-shadow: 0 20px 50px rgba(var(--shadow-rgb), calc(0.6 * var(--shadow-k)));
  margin-bottom: 50px;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: start;
}

.calc-group {
  margin-bottom: 22px;
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-main);
}

.calc-val-badge {
  background: var(--gold-subtle);
  border: 1px solid var(--border-color);
  color: var(--accent-text);
  padding: 3px 10px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.88rem;
}

.calc-slider {
  width: 100%;
  accent-color: var(--gold-primary);
  cursor: pointer;
  height: 6px;
  background: rgba(var(--overlay-rgb), 0.1);
  border-radius: 4px;
}

.calc-select {
  width: 100%;
  background: rgba(var(--overlay-rgb), 0.04);
  border: 1px solid var(--border-color);
  color: var(--heading);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
}

.calc-select option {
  background: var(--surface-card);
  color: var(--heading);
}

.calc-checkboxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 8px;
}

.calc-check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(var(--overlay-rgb), 0.03);
  border: 1px solid var(--border-color);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  cursor: pointer;
  transition: border-color 0.25s;
}

.calc-check-item:hover {
  border-color: var(--gold-primary);
}

.calc-check-item input {
  accent-color: var(--gold-primary);
  width: 16px;
  height: 16px;
}

.calc-results-card {
  background: linear-gradient(160deg, rgba(var(--accent-rgb), 0.12), var(--surface-color));
  border: 1px solid var(--gold-primary);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  position: sticky;
  top: 90px;
}

.calc-kpi-main {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 18px;
  margin-bottom: 18px;
}

.calc-kpi-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.calc-kpi-number {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--accent-text);
  line-height: 1.15;
}

.calc-kpi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 20px;
}

.calc-kpi-mini {
  background: rgba(var(--shadow-rgb), calc(0.3 * var(--shadow-k)));
  padding: 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.calc-kpi-mini strong {
  display: block;
  font-size: 1.15rem;
  color: var(--heading);
  margin-top: 2px;
}

/* Formulář */
form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0 auto;
  max-width: 620px;
  background: var(--surface-card);
  padding: 40px 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: 0 20px 50px rgba(var(--shadow-rgb), calc(0.5 * var(--shadow-k)));
  transition: all 0.5s ease;
}

form.form-highlight {
  border-color: var(--gold-primary);
  box-shadow: 0 0 35px var(--gold-glow);
}

form input, form textarea {
  background: rgba(var(--overlay-rgb), 0.03);
  border: 1px solid var(--border-color);
  padding: 15px 14px;
  color: var(--heading);
  font-family: inherit;
  font-size: 16px !important;
  outline: none;
  transition: all 0.3s;
  font-weight: 400;
  border-radius: var(--radius-sm);
}

form input:focus, form textarea:focus {
  border-color: var(--gold-primary);
  background: rgba(var(--accent-rgb), 0.05);
  box-shadow: 0 0 12px var(--gold-glow);
}

form textarea {
  resize: vertical;
  min-height: 120px;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  max-width: 380px;
  background: var(--surface-card);
  border: 1px solid var(--border-strong);
  padding: 18px 20px;
  border-radius: var(--radius-md);
  z-index: 999;
  box-shadow: 0 10px 30px rgba(var(--shadow-rgb), calc(0.8 * var(--shadow-k)));
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cookie-banner button {
  background: var(--gold-primary);
  color: var(--on-accent);
  border: none;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  cursor: pointer;
  align-self: flex-start;
}

/* Patička */
footer {
  text-align: center;
  margin-top: 80px;
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.8;
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
  width: 100%;
  max-width: 960px;
}

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 16px;
}

footer a {
  color: var(--accent-text);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

@media (max-width: 940px) {
  .menu-toggle { display: inline-flex; }
  .main-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(var(--nav-rgb), 0.98);
    flex-direction: column;
    padding: 14px;
    border-bottom: 1px solid var(--border-strong);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
  }
  .main-menu.open { display: flex; }
  .main-menu a { width: 100%; text-align: center; padding: 12px; }
  .calc-grid { grid-template-columns: 1fr; }
}

@media (max-width: 650px) {
  .top-nav { padding: 10px 12px; margin-bottom: 24px; }
  .nav-brand span { display: none; }
  .nav-link-btn span { display: none; }
  .nav-link-btn { padding: 8px 10px; }
  h1 { font-size: 2rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 12px; }
  .contact-card { padding: 18px 20px; flex-direction: row; justify-content: flex-start; gap: 18px; }
  .services-grid-cards { grid-template-columns: 1fr; }
  .calc-checkboxes { grid-template-columns: 1fr; }
}
/* =====================================================================
   v3.0 – Konverzní úpravy (recenze, formulář, mobilní CTA lišta)
   ===================================================================== */

/* Odkazy v textu (dříve výchozí modrá na tmavém pozadí) */
.container p a,
.faq-answer a,
.content-block a {
  color: var(--accent-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Textové bloky zarovnané vlevo (seznamy, právní texty) */
.content-block {
  text-align: left;
  max-width: 760px;
  margin: 0 auto;
}
.content-block p { color: var(--text-muted); margin-bottom: 14px; }
.content-block h2 {
  font-size: 1.3rem;
  margin: 40px 0 16px;
  display: block;
}
.content-block h2::after { left: 0; transform: none; }

/* Tlačítko Poptávka v navigaci */
.nav-link-btn.nav-cta {
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-hover));
  color: var(--on-accent);
  border-color: var(--gold-primary);
  font-weight: 700;
}
.nav-link-btn.nav-cta:hover {
  color: var(--on-accent);
  box-shadow: 0 0 18px var(--gold-glow);
}

/* Hodnocení v důvěryhodnostních prvcích */
.stars {
  color: var(--accent-text);
  letter-spacing: 1px;
}
.trust-pill-rating {
  border-color: var(--border-strong);
  text-decoration: none;
  color: var(--text-main);
  transition: border-color 0.25s, background 0.25s;
}
a.trust-pill-rating:hover {
  border-color: var(--gold-primary);
  background: var(--surface-hover);
}
.trust-pill-rating strong { color: var(--heading); font-weight: 700; }

/* Sekce recenzí */
.reviews-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 260px));
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}
.review-score-card {
  background: var(--surface-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--text-main);
  transition: all 0.35s ease;
  box-shadow: 0 10px 30px rgba(var(--shadow-rgb), calc(0.4 * var(--shadow-k)));
}
a.review-score-card:hover {
  border-color: var(--gold-primary);
  transform: translateY(-4px);
}
.review-score {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--heading);
  line-height: 1;
}
.review-score-card .stars { font-size: 1.15rem; }
.review-source { color: var(--text-muted); font-size: 0.9rem; }
.review-link { color: var(--accent-text); font-size: 0.85rem; font-weight: 600; margin-top: 4px; }

.testimonials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 40px;
  text-align: left;
}
.testimonial-card {
  background: var(--surface-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
}
.testimonial-card blockquote {
  color: var(--text-main);
  font-size: 0.95rem;
  margin: 10px 0 14px;
  line-height: 1.6;
}
.testimonial-card figcaption { color: var(--text-muted); font-size: 0.85rem; }

/* Formulář */
.form-intro {
  color: var(--text-muted);
  max-width: 620px;
  margin: -10px auto 24px;
}
.form-trust {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.7;
}
.form-trust a { color: var(--accent-text); }
form .btn-action.filled { font-size: 1rem; padding: 17px 28px; }

/* Mobilní lišta s CTA – na desktopu skrytá */
.mobile-cta-bar { display: none; }

@media (max-width: 650px) {
  body { padding-bottom: 96px; }

  /* Hero: logo je už v navigaci, hlavní výzva se tak dostane výš */
  .hero-section .logo-img { display: none; }
  .hero-badge { font-size: 0.72rem; letter-spacing: 0.8px; padding: 7px 14px; margin-bottom: 18px; }
  h1 { font-size: 1.75rem; }
  .subtitle { font-size: 1rem; margin-bottom: 24px; }
  h2 { font-size: 1.45rem; margin: 54px 0 24px; }

  .trust-pills { gap: 8px; }
  .trust-pill { white-space: normal; font-size: 0.82rem; padding: 8px 12px; }

  .cta-hero-box { padding: 22px 16px; margin-bottom: 40px; }
  .cta-buttons-wrap .btn-action { width: 100%; }
  .lead-magnet-badge { font-size: 0.85rem; padding: 10px 14px; }

  .reviews-summary { grid-template-columns: 1fr 1fr; gap: 12px; }
  .testimonials { grid-template-columns: 1fr; }
  .review-score-card { padding: 18px 10px; }
  .review-score { font-size: 2rem; }

  form { padding: 28px 18px; }

  /* Nahrazuje plovoucí SOS tlačítko */
  .sos-btn { display: none; }
  .mobile-cta-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 950;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(var(--nav-rgb), 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--border-strong);
    box-shadow: 0 -10px 30px rgba(var(--shadow-rgb), calc(0.6 * var(--shadow-k)));
  }
  .mobile-cta-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 10px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
  }
  .mobile-cta-bar svg { width: 18px; height: 18px; flex-shrink: 0; }
  .mobile-cta-call {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-hover));
    color: var(--on-accent);
  }
  .mobile-cta-form {
    background: var(--gold-subtle);
    border: 1px solid var(--gold-primary);
    color: var(--accent-text);
  }

  .cookie-banner { bottom: 84px; left: 12px; right: 12px; max-width: none; }
}

/* Mřížka pro 3 karty */
.services-grid-cards.cols-3 { grid-template-columns: repeat(3, 1fr); }
.form-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; }
.form-trust span { white-space: nowrap; }
@media (max-width: 940px) {
  .services-grid-cards.cols-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 650px) {
  .services-grid-cards.cols-3 { grid-template-columns: 1fr; }
  .form-trust { flex-direction: column; align-items: center; }
}


/* =====================================================================
   v3.2 – rychlost, menu služeb, rychlá volba, přístupnost
   ===================================================================== */

/* Logo v úvodu (oříznutý soubor bez prázdných okrajů) */
.logo-img { width: 58px; }

/* Rozbalovací menu služeb */
.main-menu li { position: relative; }
.main-menu .has-sub > a::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
  opacity: 0.7;
}
.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 320px;
  list-style: none;
  padding: 10px 0 0;
  z-index: 950;
}
.sub-menu::before {
  content: '';
  position: absolute;
  inset: 10px 0 0 0;
  background: rgba(var(--nav-rgb), 0.98);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  box-shadow: 0 15px 35px rgba(var(--shadow-rgb), calc(0.5 * var(--shadow-k)));
  z-index: -1;
}
.sub-menu li { padding: 0 8px; }
.sub-menu li:first-child { padding-top: 8px; }
.sub-menu li:last-child { padding-bottom: 8px; }
.sub-menu a { display: block; width: 100%; text-align: left; }
.has-sub:hover > .sub-menu,
.has-sub:focus-within > .sub-menu { display: block; }

@media (max-width: 940px) {
  .main-menu li { width: 100%; }
  .main-menu .has-sub > a::after { display: none; }
  .sub-menu { display: block; position: static; min-width: 0; padding: 0 0 6px; }
  .sub-menu::before { display: none; }
  .sub-menu li, .sub-menu li:first-child, .sub-menu li:last-child { padding: 0; }
  .sub-menu a { text-align: center; font-size: 0.82rem; padding: 8px 12px; opacity: 0.85; }
}

/* Rychlá volba služby ve formuláři */
.quick-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.quick-picks-label {
  width: 100%;
  text-align: left;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 2px;
}
.quick-pick {
  background: rgba(var(--overlay-rgb), 0.03);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 8px 14px;
  border-radius: 30px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
.quick-pick:hover { border-color: var(--gold-primary); }
.quick-pick.active {
  background: var(--gold-primary);
  border-color: var(--gold-primary);
  color: var(--on-accent);
  font-weight: 700;
}

/* Viditelný fokus pro ovládání klávesnicí */
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--gold-primary);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Respektování nastavení „omezit pohyb“ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 940px) {
  .main-menu > li > a { display: block; }
}
@media (max-width: 940px) {
  .main-menu { background: var(--surface-color); box-shadow: 0 20px 40px rgba(var(--shadow-rgb), calc(0.6 * var(--shadow-k))); }
}

/* E-mail v menu jako ikona (adresa je v popisku a na kontaktu), aby se menu nepřeplnilo */
.nav-link-btn.nav-email span { display: none; }
