/* ==========================================================================
   HM SOUND – Profesionální ozvučení a osvětlení akcí
   Autor: HM Sound (Jan Mašláň)
   Design System & Styling – Plně v souladu s WCAG 2.1 AA a moderními trendy
   ========================================================================== */

:root {
  /* Barevná paleta HM Sound */
  --bg-dark: #09090b;
  --bg-card: #121217;
  --bg-card-hover: #181820;
  --bg-card-elevated: #1e1e28;
  --border-subtle: #27272a;
  --border-focus: #ff6600;
  
  --accent: #ff6600;
  --accent-hover: #ff7f24;
  --accent-glow: rgba(255, 102, 0, 0.35);
  --accent-glow-subtle: rgba(255, 102, 0, 0.12);
  --accent-rgb: 255, 102, 0;

  --cyan-accent: #00d2ff;
  --cyan-glow: rgba(0, 210, 255, 0.25);
  
  --text-main: #f4f4f5;
  --text-muted: #d4d4d8;
  --text-dim: #9ca3af;
  --text-inverse: #09090b;

  --success: #10b981;
  --success-glow: rgba(16, 185, 129, 0.25);
  --warning: #f59e0b;

  /* Typografie a layout */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  
  --container-max: 1200px;
  --header-height: 76px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset a základní nastavení */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Přístupnost: Přeskočit na obsah (WCAG 2.1 AA) */
.skip-link {
  position: absolute;
  top: -60px;
  left: 20px;
  background: var(--accent);
  color: #fff;
  padding: 12px 20px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  z-index: 9999;
  text-decoration: none;
  transition: top var(--transition-fast);
}
.skip-link:focus {
  top: 20px;
  outline: 3px solid #fff;
}

/* Focus stavy pro klávesnici */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Typografie */
h1, h2, h3, h4, h5, h6 {
  color: #fff;
  font-weight: 800;
  line-height: 1.2;
}

p {
  color: var(--text-muted);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

/* Kontejner */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Tlačítka */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  white-space: nowrap;
  user-select: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 102, 0, 0.45);
}

.btn-secondary {
  background: var(--bg-card);
  border-color: var(--border-subtle);
  color: var(--text-main);
}
.btn-secondary:hover {
  border-color: var(--text-muted);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 102, 0, 0.4);
  color: var(--accent);
}
.btn-outline:hover {
  background: var(--accent-glow-subtle);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.btn:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}

/* Štítky & Odznaky */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--accent-glow-subtle);
  border: 1px solid rgba(255, 102, 0, 0.3);
  border-radius: var(--radius-full);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: pulse-ring 1.8s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.9); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.4; }
  100% { transform: scale(0.9); opacity: 1; }
}

/* ==========================================================================
   Hlavička & Navigace
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(9, 9, 11, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(39, 39, 42, 0.6);
  z-index: 1000;
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(9, 9, 11, 0.95);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
  border-bottom-color: var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  min-width: 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 1.5px;
  color: #fff;
  flex: 0 0 auto;
  white-space: nowrap;
}
.brand-logo .accent-word {
  color: var(--accent);
}
.brand-logo .brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #ff6600, #ff8c00);
  border-radius: 8px;
  color: #fff;
}
.brand-logo .brand-logo-img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(255, 102, 0, 0.5);
  box-shadow: 0 0 16px rgba(255, 102, 0, 0.45);
  transition: all var(--transition-fast);
}
.brand-logo:hover .brand-logo-img {
  transform: rotate(-6deg) scale(1.08);
  box-shadow: 0 0 22px rgba(255, 102, 0, 0.7);
  border-color: var(--accent);
}

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

.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
}
.nav-link:hover, .nav-link.active {
  color: #fff;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition-fast);
}
.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-icon-btn {
  width: 38px;
  height: 38px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.header-icon-btn:hover {
  color: #fff;
  border-color: var(--accent);
  background: rgba(255, 102, 0, 0.12);
  transform: translateY(-2px);
}

/* Mobilní menu tlačítko */
.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: #fff;
  padding: 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* ==========================================================================
   Hero Sekce
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 70px;
  overflow: hidden;
  background-color: #060608;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: brightness(0.58) saturate(0.8) contrast(1.06);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 9, 11, 0.58) 0%, rgba(9, 9, 11, 0.3) 48%, rgba(9, 9, 11, 0.12) 100%),
    linear-gradient(to bottom, rgba(9, 9, 11, 0.3) 0%, rgba(9, 9, 11, 0.08) 58%, rgba(9, 9, 11, 0.8) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 820px;
  padding: 24px 0;
}

.hero-title {
  font-size: clamp(34px, 5.5vw, 62px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.5px;
  margin-top: 18px;
  margin-bottom: 22px;
}
.hero-title .highlight {
  background: linear-gradient(135deg, #fff 30%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-title .orange-text {
  color: var(--accent);
}

.hero-desc {
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.65;
  color: #d4d4d8;
  margin-bottom: 34px;
  max-width: 720px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

/* Hero Audio Visualizer Widget */
.hero-visualizer-card {
  background: rgba(18, 18, 23, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 102, 0, 0.2);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 620px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.eq-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 36px;
}

.eq-bar {
  width: 4px;
  background: var(--accent);
  border-radius: 2px;
  animation: eq-bounce 1.2s ease-in-out infinite alternate;
}
.eq-bar:nth-child(1) { height: 35%; animation-delay: 0.1s; }
.eq-bar:nth-child(2) { height: 75%; animation-delay: 0.3s; }
.eq-bar:nth-child(3) { height: 50%; animation-delay: 0.2s; }
.eq-bar:nth-child(4) { height: 95%; animation-delay: 0.4s; }
.eq-bar:nth-child(5) { height: 40%; animation-delay: 0.15s; }
.eq-bar:nth-child(6) { height: 80%; animation-delay: 0.35s; }
.eq-bar:nth-child(7) { height: 60%; animation-delay: 0.25s; }
.eq-bar:nth-child(8) { height: 90%; animation-delay: 0.45s; }
.eq-bar:nth-child(9) { height: 45%; animation-delay: 0.1s; }
.eq-bar:nth-child(10) { height: 70%; animation-delay: 0.3s; }

@keyframes eq-bounce {
  0% { transform: scaleY(0.3); opacity: 0.6; }
  50% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(0.5); opacity: 0.8; }
}

.visualizer-info {
  display: flex;
  flex-direction: column;
}
.visualizer-title {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}
.visualizer-sub {
  font-size: 11px;
  color: var(--text-muted);
}

.visualizer-tag {
  font-size: 11px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #10b981;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   Trust / Klíčové pilíře (Strip)
   ========================================================================== */
.trust-strip {
  position: relative;
  z-index: 10;
  margin-top: -30px;
  margin-bottom: 60px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.trust-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.trust-item:hover {
  border-color: rgba(255, 102, 0, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.trust-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--accent-glow-subtle);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.trust-item h3 {
  font-size: 17px;
  font-weight: 700;
}
.trust-item p {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-muted);
}

/* ==========================================================================
   Sekce – Společné styly
   ========================================================================== */
.section {
  padding: 90px 0;
  position: relative;
}

.section-alt {
  background-color: #0d0d11;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px auto;
}

.section-header .badge {
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ==========================================================================
   Služby (Services Grid)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: background var(--transition-fast);
}
.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 102, 0, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}
.service-card:hover::before {
  background: var(--accent);
}

.service-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: rgba(255, 102, 0, 0.12);
  border: 1px solid rgba(255, 102, 0, 0.25);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 14.5px;
  margin-bottom: 22px;
  line-height: 1.6;
}

.service-features {
  list-style: none;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(39, 39, 42, 0.6);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-features li {
  font-size: 13.5px;
  color: #d4d4d8;
  display: flex;
  align-items: center;
  gap: 10px;
}
.service-features li svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* Celoklikatelná karta služby */
a.service-card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
a.service-card:hover h3 {
  color: var(--accent);
}
.service-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--accent);
  margin-top: 18px;
  transition: all var(--transition-fast);
}
a.service-card:hover .service-link-btn {
  transform: translateX(4px);
  color: #ff8533;
}

/* ==========================================================================
   Interaktivní Kalkulačka & Balíčky
   ========================================================================== */
.pricing-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 36px;
  align-items: start;
}

.pricing-wrapper > *,
.packages-column,
.package-card,
.calculator-card {
  min-width: 0;
}

/* Balíčky */
.packages-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.package-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all var(--transition-fast);
  cursor: pointer;
  position: relative;
}
.package-card:hover, .package-card.selected {
  border-color: var(--accent);
  background: var(--bg-card-hover);
  box-shadow: 0 8px 24px var(--accent-glow-subtle);
}
.package-card.featured {
  border-color: rgba(255, 102, 0, 0.5);
  background: linear-gradient(135deg, rgba(255, 102, 0, 0.05) 0%, var(--bg-card) 100%);
}

.package-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 10px;
}
.package-title {
  font-size: 18px;
  font-weight: 800;
  min-width: 0;
}
.package-price {
  font-size: 20px;
  font-weight: 900;
  color: var(--accent);
}
.package-price span {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

.package-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.package-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.package-tag {
  font-size: 11.5px;
  background: #1e1e24;
  padding: 4px 10px;
  border-radius: 4px;
  color: #d4d4d8;
  border: 1px solid var(--border-subtle);
}

/* Interaktivní kalkulačka */
.calculator-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 102, 0, 0.3);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  position: sticky;
  top: 100px;
}

.calc-step {
  margin-bottom: 24px;
}

.calc-label {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.calc-label span.value {
  color: var(--accent);
  font-family: var(--font-mono);
}

.calc-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.calc-radio-label {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #181820;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--transition-fast);
  position: relative;
  user-select: none;
}
.calc-radio-label input[type="radio"] {
  accent-color: var(--accent);
  width: 17px;
  height: 17px;
  margin: 0;
  cursor: pointer;
  flex-shrink: 0;
}
.calc-radio-label:hover {
  border-color: rgba(255, 102, 0, 0.4);
  background: #20202c;
  color: var(--text-main);
}
/* Aktivní vybraná karta: výrazně zvýrazněný CELÝ box (rámeček, teplé pozadí, jemná záře) */
.calc-radio-label:has(input[type="radio"]:checked),
.calc-radio-label.active {
  border-color: var(--accent);
  background: rgba(255, 102, 0, 0.14);
  box-shadow: 0 0 16px rgba(255, 102, 0, 0.18), inset 0 0 0 1px rgba(255, 102, 0, 0.25);
  color: #ffffff;
}
.calc-radio-label:has(input[type="radio"]:checked) span,
.calc-radio-label.active span {
  color: #ffffff;
  font-weight: 600;
}

.calc-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.calc-check-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #181820;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--transition-fast);
  user-select: none;
}
.calc-check-label input[type="checkbox"] {
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
  margin-right: 8px;
  cursor: pointer;
  vertical-align: middle;
}
.calc-check-label:hover {
  border-color: rgba(255, 102, 0, 0.4);
  background: #20202c;
  color: var(--text-main);
}
.calc-check-label:has(input[type="checkbox"]:checked),
.calc-check-label.active {
  border-color: var(--accent);
  background: rgba(255, 102, 0, 0.14);
  box-shadow: 0 0 14px rgba(255, 102, 0, 0.15), inset 0 0 0 1px rgba(255, 102, 0, 0.2);
  color: #ffffff;
}
.calc-check-label:has(input[type="checkbox"]:checked) span,
.calc-check-label.active span {
  color: #ffffff;
  font-weight: 600;
}
.calc-check-label .addon-price {
  font-size: 12.5px;
  color: var(--accent);
  font-weight: 700;
}

.calc-result-box {
  background: #09090c;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-top: 26px;
  text-align: center;
}

.result-heading {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.result-price {
  font-size: 32px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 6px;
}
.result-price span {
  color: var(--accent);
}

.result-note {
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 18px;
}

/* ==========================================================================
   Technický Park (Gear List)
   ========================================================================== */
.gear-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.gear-photo-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 0 auto 36px;
  max-width: 900px;
}

.gear-photo-strip figure {
  position: relative;
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
}

.gear-photo-strip img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.gear-photo-strip figcaption {
  padding: 12px 16px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
}

.gear-tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.gear-tab-btn:hover {
  color: #fff;
  border-color: var(--text-muted);
}
.gear-tab-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 4px 16px var(--accent-glow);
}

.gear-tab-content {
  display: none;
}
.gear-tab-content.active {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  align-items: start;
  animation: fadeIn 0.3s ease;
}

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

.gear-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  height: 204px;
  min-height: 204px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.gear-card:hover {
  border-color: rgba(255, 102, 0, 0.4);
}
.gear-card-tag {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--accent);
  text-transform: uppercase;
}
.gear-card h4 {
  font-size: 17px;
  font-weight: 700;
}
.gear-card p {
  font-size: 13px;
  color: var(--text-muted);
}
.gear-card-image {
  padding: 0;
  overflow: hidden;
  height: 204px;
  min-height: 204px;
  justify-content: center;
  align-items: center;
  align-self: start;
  position: relative;
  background: var(--bg-card);
}
.gear-card-image img {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  padding: 0;
  object-fit: cover;
  margin: 0;
}
@media (max-width: 600px) {
  .gear-card {
    height: auto;
    min-height: 0;
  }
  .gear-card-image {
    height: auto;
    min-height: 0;
  }
  .gear-card-image img {
    max-height: 220px;
  }
}
.gear-card-image span {
  position: absolute;
  inset: auto 0 0;
  padding: 10px 14px;
  background: rgba(9, 9, 11, 0.82);
  color: var(--text-muted);
  font-size: 12px;
}

/* ==========================================================================
   Portfolio / Reference & Hodnocení
   ========================================================================== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 50px;
}

.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}
.portfolio-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 102, 0, 0.4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
}

.portfolio-thumb {
  height: 200px;
  overflow: hidden;
  position: relative;
}
.portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}
.portfolio-card:hover .portfolio-thumb img {
  transform: scale(1.05);
}
.portfolio-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(9, 9, 11, 0.85);
  backdrop-filter: blur(8px);
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  border: 1px solid rgba(255, 102, 0, 0.3);
}

.portfolio-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  min-width: 0;
}
.portfolio-body h4 {
  font-size: 18px;
  margin-bottom: 8px;
}
.portfolio-body p {
  font-size: 13.5px;
  margin-bottom: 16px;
}
.portfolio-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 12px;
  font-size: 12px;
  color: var(--text-dim);
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

/* Recenze / Reference */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.testimonial-card {
  background: #14141a;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 26px;
  position: relative;
}
.testimonial-stars {
  color: #ffb703;
  margin-bottom: 12px;
  display: flex;
  gap: 3px;
}
.testimonial-text {
  font-size: 14px;
  line-height: 1.6;
  font-style: italic;
  color: #e4e4e7;
  margin-bottom: 16px;
}
.testimonial-author {
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
}
.testimonial-role {
  font-size: 12px;
  color: var(--text-dim);
}

/* ==========================================================================
   O mně (About Jan Mašláň)
   ========================================================================== */
.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-image-col {
  position: relative;
}
.about-img-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  position: relative;
}
.about-img-frame img {
  width: 100%;
  height: auto;
  display: block;
}
.about-badge-floating {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--bg-card);
  border: 1px solid var(--border-focus);
  padding: 16px 22px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  gap: 14px;
}
.about-badge-floating .number {
  font-size: 32px;
  font-weight: 900;
  color: var(--accent);
}
.about-badge-floating .text {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}

.about-text-col h3 {
  font-size: 28px;
  margin-bottom: 18px;
}
.about-text-col p {
  margin-bottom: 16px;
  font-size: 15px;
  line-height: 1.7;
}

/* ==========================================================================
   FAQ (Časté dotazy)
   ========================================================================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}
.faq-item:hover {
  border-color: rgba(255, 102, 0, 0.3);
}
.faq-item.active {
  border-color: var(--accent);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 102, 0, 0.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--accent);
  color: #fff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-muted);
}
.faq-item.active .faq-answer {
  max-height: 400px;
  padding-bottom: 22px;
}

/* ==========================================================================
   Poptávkový Formulář & Kontakt
   ========================================================================== */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 40px;
  align-items: start;
}

.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.contact-info-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}
.contact-info-card p {
  font-size: 14px;
  margin-bottom: 24px;
}

.contact-direct-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-link-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  padding: 12px 16px;
  background: #181820;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}
.contact-link-item:hover {
  border-color: var(--accent);
  color: #fff;
  transform: translateX(4px);
}
.contact-link-icon {
  color: var(--accent);
  font-size: 18px;
}

.legal-badge-card {
  background: #111116;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  font-size: 12.5px;
  color: var(--text-dim);
  line-height: 1.6;
}
.legal-badge-card strong {
  color: #fff;
}

/* Formulář */
.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: #e4e4e7;
  margin-bottom: 7px;
}
.form-label .req {
  color: var(--accent);
}

.form-control {
  width: 100%;
  background: #181820;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 14px;
  font-family: inherit;
  color: #fff;
  transition: border-color var(--transition-fast);
}
.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.2);
}
textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

/* GDPR Checkbox ve formuláři */
.form-checkbox-group {
  margin-top: 10px;
  margin-bottom: 22px;
}

.form-check-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1.5;
}
.form-check-label input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  cursor: pointer;
}
.form-check-label a {
  color: var(--accent);
  text-decoration: underline;
}

.form-status {
  padding: 14px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  margin-bottom: 18px;
  display: none;
}
.form-status.success {
  display: block;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #10b981;
}
.form-status.error {
  display: block;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #ef4444;
}

/* ==========================================================================
   Patička (Footer) & Právní sekce
   ========================================================================== */
.site-footer {
  background: #060608;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 30px 0;
  font-size: 13.5px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand p {
  margin-top: 14px;
  font-size: 13.5px;
  max-width: 320px;
}

.footer-col h5 {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 18px;
  color: #fff;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  color: var(--text-muted);
}
.footer-links a:hover {
  color: var(--accent);
}
.footer-links .btn-link {
  display: inline;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.footer-links .btn-link:hover {
  color: var(--accent);
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(39, 39, 42, 0.6);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--text-dim);
  font-size: 12.5px;
}

.footer-legal-bar {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-legal-bar a, .footer-legal-bar button {
  color: var(--text-muted);
  background: none;
  border: none;
  font-size: 12.5px;
  cursor: pointer;
  padding: 0;
}
.footer-legal-bar a:hover, .footer-legal-bar button:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* ==========================================================================
   EU Cookie Consent Banner (ePrivacy & GDPR)
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 580px;
  background: rgba(18, 18, 23, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 102, 0, 0.35);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  z-index: 9990;
  display: none;
  animation: slideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.cookie-banner.active {
  display: block;
}

@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.cookie-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.cookie-icon {
  font-size: 22px;
}
.cookie-title {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
}

.cookie-text {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.cookie-text a {
  color: var(--accent);
  text-decoration: underline;
}

/* Detailní nastavení cookies */
.cookie-details {
  display: none;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
  padding: 14px;
  background: #09090c;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}
.cookie-details.open {
  display: flex;
}

.cookie-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}
.cookie-row-info {
  display: flex;
  flex-direction: column;
}
.cookie-row-name {
  font-weight: 700;
  color: #fff;
}
.cookie-row-desc {
  font-size: 11px;
  color: var(--text-dim);
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cookie-actions .btn {
  flex: 1 1 calc(33.333% - 10px);
  min-width: 130px;
}

/* Plovoucí tlačítko správy cookies */
.cookie-floating-btn {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 900;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: all var(--transition-fast);
}
.cookie-floating-btn:hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: scale(1.08);
}

/* ==========================================================================
   Modální okna (GDPR, Obchodní podmínky, Přístupnost)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9995;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-backdrop.active {
  display: flex;
}

.modal-dialog {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 780px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9);
  animation: modalScale 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScale {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-header {
  padding: 22px 28px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-header h3 {
  font-size: 20px;
  color: #fff;
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  border-radius: 4px;
}
.modal-close-btn:hover {
  color: #fff;
}

.modal-body {
  padding: 28px;
  overflow-y: auto;
  font-size: 14px;
  line-height: 1.7;
  color: #d4d4d8;
}
.modal-body h4 {
  font-size: 16px;
  color: #fff;
  margin-top: 20px;
  margin-bottom: 8px;
}
.modal-body ul {
  padding-left: 20px;
  margin-bottom: 14px;
}
.modal-body li {
  margin-bottom: 6px;
}

.modal-footer {
  padding: 16px 28px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: flex-end;
}

/* ==========================================================================
   Responzivní pravidla (Media Queries)
   ========================================================================== */
@media (max-width: 992px) {
  .pricing-wrapper {
    grid-template-columns: 1fr;
  }
  .calculator-card {
    position: static;
  }
  .about-wrapper {
    grid-template-columns: 1fr;
  }
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 960px) {
  :root {
    --header-height: 68px;
  }
  
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(9, 9, 11, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-normal);
  }
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  
  .menu-toggle {
    display: block;
  }

  .header-actions {
    gap: 8px;
  }

  .header-actions .header-icon-btn,
  .header-actions > .btn-primary {
    display: none;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .calc-options-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid,
  .services-grid,
  .gear-tab-content.active,
  .portfolio-grid,
  .testimonials-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .gear-photo-strip {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-card,
  .contact-wrapper > *,
  .footer-top > * {
    min-width: 0;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-content {
    padding: 16px 0;
  }

  .hero-cta-group {
    gap: 10px;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .hero-visualizer-card {
    flex-wrap: wrap;
  }

  .visualizer-info {
    min-width: 0;
  }

  .visualizer-tag {
    margin-left: auto;
  }

  .package-card,
  .calculator-card,
  .contact-form-card,
  .contact-info-card {
    padding: 22px 18px;
  }

  .about-badge-floating {
    right: 12px;
    bottom: -16px;
  }

  .package-header {
    display: block;
  }

  .package-price {
    display: block;
    margin-top: 6px;
  }

  .audio-showcase-box {
    padding: 20px 16px;
  }

  .audio-player-controls {
    align-items: stretch;
    flex-direction: column;
  }
}

/* ==========================================================================
   Interaktivní karta Shrnutí konfigurace (Summary Chip) nad formulářem
   ========================================================================== */
.config-summary-card {
  display: none;
  background: linear-gradient(135deg, rgba(255, 102, 0, 0.12) 0%, rgba(18, 18, 23, 0.95) 100%);
  border: 1px solid rgba(255, 102, 0, 0.4);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 24px;
  animation: fadeIn 0.3s ease;
}
.config-summary-card.active {
  display: block;
}
.config-summary-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 12px;
}
.config-summary-title {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 8px;
}
.config-summary-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.summary-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #181820;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-size: 12.5px;
  color: #f4f4f5;
}
.summary-chip strong {
  color: var(--accent);
}
.config-summary-actions {
  display: flex;
  gap: 14px;
  align-items: center;
}
.btn-chip-action {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}
.btn-chip-action:hover {
  color: #fff;
}

/* ==========================================================================
   Audio Showcase (A-B ukázka zvuku z XR18)
   ========================================================================== */
.audio-showcase-box {
  background: var(--bg-card);
  border: 1px solid rgba(255, 102, 0, 0.3);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin: 40px auto 0 auto;
  max-width: 820px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}
.audio-showcase-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}
.audio-track-info {
  display: flex;
  align-items: center;
  gap: 14px;
}
.audio-icon-disc {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 102, 0, 0.15);
  border: 1px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.audio-ab-toggles {
  display: inline-flex;
  background: #111116;
  padding: 4px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  gap: 4px;
}
.ab-toggle-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.ab-toggle-btn.active {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 10px var(--accent-glow);
}
.audio-wave-visual {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3px;
  height: 48px;
  background: #09090d;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0 16px;
  margin-bottom: 16px;
}
.wave-column {
  flex: 1;
  background: #27272a;
  border-radius: 2px;
  height: 30%;
  transition: height 0.2s ease, background 0.2s ease;
}
.audio-showcase-box.playing .wave-column {
  background: var(--accent);
}
.audio-player-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* ==========================================================================
   Reference – Avatary & Ověřené odznaky
   ========================================================================== */
.testimonial-header-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #27272a;
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-weight: 800;
  font-size: 15px;
  color: #fff;
  flex-shrink: 0;
}
.testimonial-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border-radius: inherit;
  object-fit: cover;
}
.verified-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   JavaScript Lightbox pro galerii
   ========================================================================== */
.portfolio-card {
  cursor: pointer;
}
.lightbox-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox-backdrop.active {
  display: flex;
  animation: fadeIn 0.25s ease;
}
.lightbox-dialog {
  position: relative;
  max-width: 960px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox-img {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
}
.lightbox-caption {
  color: #d4d4d8;
  font-size: 14px;
  margin-top: 14px;
  text-align: center;
}
.lightbox-close-btn {
  position: absolute;
  top: -46px;
  right: 0;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
}

/* ==========================================================================
   Mobile Sticky Action Bar (< 768px)
   ========================================================================== */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: rgba(14, 14, 18, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--border-subtle);
  padding: 8px 16px;
  z-index: 990;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.6);
}
.mobile-sticky-bar .btn {
  flex: 1;
  padding: 10px 14px;
  font-size: 13.5px;
}

@media (max-width: 768px) {
  body {
    padding-bottom: 64px;
  }
  .mobile-sticky-bar {
    display: flex;
  }
  .cookie-floating-btn {
    bottom: 74px !important;
    left: 14px !important;
  }
}

/* Podpora prefers-reduced-motion (Přístupnost) */
@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;
  }
}
