/* ==========================================================================
   David Halfar | Finanční & Realitní Konzultant (Broker Consulting)
   Kompletní moderní CSS design systém & animace
   ========================================================================== */

:root {
  /* Broker Consulting Brand Colors */
  --bc-black: #111719;
  --bc-dark: #171f22;
  --bc-charcoal: #222b2f;
  --bc-dark-card: #1c2428;
  --bc-teal: #394b51;
  --bc-teal-light: #4c646b;
  --bc-ice: #f1f7f7;
  --bc-ice-subtle: #f8fbfb;
  --bc-white: #ffffff;
  
  /* Accent Colors */
  --bc-red: #e52713;
  --bc-red-hover: #be1817;
  --bc-red-subtle: rgba(229, 39, 19, 0.08);
  --bc-red-glow: rgba(229, 39, 19, 0.16);
  --bc-gold: #f59e0b;
  --bc-green: #10b981;
  --bc-blue: #2563eb;
  
  /* Text Colors */
  --text-main: #171f22;
  --text-muted: #5a6a70;
  --text-light: #8d9da3;
  --text-white: #ffffff;
  --text-white-muted: #cbd5db;
  
  /* Borders & Shadows */
  --border-subtle: rgba(23, 31, 34, 0.08);
  --border-medium: rgba(23, 31, 34, 0.14);
  --border-dark: rgba(255, 255, 255, 0.12);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 10px rgba(17, 23, 25, 0.04);
  --shadow-md: 0 12px 30px rgba(17, 23, 25, 0.07);
  --shadow-lg: 0 24px 50px rgba(17, 23, 25, 0.12);
  --shadow-glow: 0 6px 20px var(--bc-red-glow);
  
  /* Typography & Transitions */
  --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-family);
  color: var(--text-main);
  background-color: var(--bc-ice-subtle);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

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

a[href^="tel:"], .top-link {
  white-space: nowrap;
}

button, input, select, textarea {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Scroll Progress Bar */
.scroll-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: transparent;
  z-index: 1001;
}

.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--bc-red) 0%, #ff5c47 100%);
  transition: width 0.1s linear;
}

/* Top Bar */
.top-bar {
  background-color: var(--bc-black);
  color: var(--text-white-muted);
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 100;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--bc-white);
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: var(--bc-green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--bc-green);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.top-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-white-muted);
  font-size: 0.82rem;
}

.top-link:hover { color: var(--bc-white); }
.top-link i { color: var(--bc-red); font-size: 0.85rem; }

/* Sticky Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 18px;
}

.person-brand {
  display: flex;
  flex-direction: column;
}

.person-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--bc-dark);
  line-height: 1.2;
}

.person-title {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--bc-teal);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.brand-separator {
  width: 1px;
  height: 36px;
  background: var(--border-medium);
}

.partner-logo img {
  height: 34px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 22px;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--bc-red);
  transition: width var(--transition-fast);
  border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--bc-dark);
  cursor: pointer;
  padding: 8px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  font-size: 0.94rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--bc-red);
  color: var(--bc-white);
  box-shadow: 0 4px 16px rgba(229, 39, 19, 0.25);
}

.btn-primary:hover {
  background-color: var(--bc-red-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-secondary {
  background-color: var(--bc-white);
  color: var(--bc-dark);
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--bc-ice);
  border-color: var(--bc-teal);
  transform: translateY(-2px);
}

.btn-dark {
  background-color: var(--bc-dark);
  color: var(--bc-white);
}

.btn-dark:hover {
  background-color: var(--bc-charcoal);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 34px;
  font-size: 1.05rem;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 75px 0 95px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bc-white) 0%, var(--bc-ice) 100%);
}

.hero-glow-1 {
  position: absolute;
  top: -15%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(229, 39, 19, 0.08) 0%, rgba(229, 39, 19, 0) 70%);
  filter: blur(60px);
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  bottom: 0;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(57, 75, 81, 0.09) 0%, rgba(57, 75, 81, 0) 70%);
  filter: blur(60px);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bc-white);
  padding: 7px 18px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(23, 31, 34, 0.08);
  box-shadow: var(--shadow-sm);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--bc-teal);
  margin-bottom: 24px;
}

.hero-tag .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bc-red);
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--bc-dark);
  margin-bottom: 22px;
}

.hero-title .highlight {
  color: var(--bc-red);
  position: relative;
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.18rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 34px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 30px;
  border-top: 1px solid rgba(23, 31, 34, 0.1);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--bc-dark);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* Hero Visual / Card */
.hero-visual {
  position: relative;
}

.hero-card {
  position: relative;
  background: var(--bc-white);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(23, 31, 34, 0.08);
}

.hero-portrait-frame {
  position: relative;
  width: 100%;
  height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(145deg, #171f22 0%, #253338 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.hero-portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 18%;
  transition: transform 0.5s ease;
}

.hero-portrait-frame:hover img {
  transform: scale(1.03);
}

.floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 3;
}

.badge-top-left {
  top: 24px;
  left: -20px;
  animation: floatSlow 4s ease-in-out infinite alternate;
}

.badge-bottom-right {
  bottom: 24px;
  right: -20px;
  animation: floatSlow 4s ease-in-out infinite alternate-reverse;
}

@keyframes floatSlow {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-8px); }
}

.badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.badge-icon.gold { background: #fef3c7; color: #d97706; }
.badge-icon.red { background: var(--bc-red-subtle); color: var(--bc-red); }

.badge-text strong {
  display: block;
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--bc-dark);
}

.badge-text span {
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* Trust Bar */
.trust-bar {
  background: var(--bc-white);
  padding: 34px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.trust-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.trust-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--bc-teal);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.trust-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--bc-dark);
}

.trust-item i { color: var(--bc-red); font-size: 1.15rem; }

/* Section Header Shared */
.section {
  padding: 90px 0;
  position: relative;
}

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

.section-subtitle {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bc-red);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--bc-dark);
  line-height: 1.25;
  margin-bottom: 16px;
}

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

/* Glowing Card Effect (Mouse position based) */
.glow-card {
  position: relative;
  background: radial-gradient(400px circle at var(--mouse-x, -999px) var(--mouse-y, -999px), rgba(229, 39, 19, 0.07), transparent 60%), var(--bc-white);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

/* About & Philosophy Section */
.about {
  background-color: var(--bc-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.about-image-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bc-dark);
  color: var(--bc-white);
  padding: 45px 40px;
  box-shadow: var(--shadow-lg);
}

.about-quote {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
}

.about-quote span { color: var(--bc-red); }

.synergy-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 24px;
}

.synergy-header {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--bc-white);
}

.synergy-header i { color: var(--bc-red); }
.synergy-desc {
  font-size: 0.9rem;
  color: var(--text-white-muted);
  line-height: 1.55;
}

.about-content h3 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--bc-dark);
}

.about-text {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 1.02rem;
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 32px 0 36px;
}

.pillar-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.pillar-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bc-ice);
  color: var(--bc-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.pillar-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--bc-dark);
  margin-bottom: 4px;
}

.pillar-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Services Grid */
.services {
  background: var(--bc-ice);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  border-radius: var(--radius-lg);
  padding: 38px 30px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--bc-red);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(229, 39, 19, 0.25);
}

.service-card:hover::before { opacity: 1; }

.service-icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: var(--bc-ice);
  color: var(--bc-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
  transition: all var(--transition-fast);
}

.service-card:hover .service-icon-box {
  background: var(--bc-red);
  color: var(--bc-white);
  transform: scale(1.05);
}

.service-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--bc-dark);
  margin-bottom: 12px;
}

.service-text {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 22px;
  flex-grow: 1;
}

.service-features {
  list-style: none;
  margin-bottom: 26px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 18px;
}

.service-features li {
  font-size: 0.86rem;
  color: var(--bc-teal);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.service-features li i { color: var(--bc-red); font-size: 0.8rem; }

.service-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--bc-red);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.service-link i { transition: transform var(--transition-fast); }
.service-card:hover .service-link i { transform: translateX(5px); }

/* ==========================================================================
   ROZŠÍŘENÝ KALKULAČKOVÝ HUB (4 KATEGORIE & 10 KALKULAČEK)
   ========================================================================== */
.calculator-section {
  background: linear-gradient(180deg, var(--bc-white) 0%, var(--bc-ice-subtle) 100%);
}

.calc-hub-container {
  background: var(--bc-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
}

/* Category Switcher (Úroveň 1) */
.calc-categories-nav {
  display: flex;
  background: var(--bc-dark);
  padding: 8px;
  gap: 8px;
  overflow-x: auto;
}

.calc-cat-btn {
  flex: 1;
  min-width: 200px;
  padding: 16px 14px;
  border: none;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-white-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.calc-cat-btn i {
  font-size: 1.15rem;
}

.calc-cat-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--bc-white);
}

.calc-cat-btn.active {
  background: var(--bc-red);
  color: var(--bc-white);
  box-shadow: 0 4px 16px rgba(229, 39, 19, 0.4);
}

/* Sub-tabs Switcher (Úroveň 2) */
.calc-subtabs-wrapper {
  background: var(--bc-ice);
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 24px;
}

.calc-subtabs-group {
  display: none;
  flex-wrap: wrap;
  gap: 10px;
}

.calc-subtabs-group.active {
  display: flex;
}

.calc-subtab-btn {
  padding: 9px 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-medium);
  background: var(--bc-white);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--bc-dark);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.calc-subtab-btn:hover {
  border-color: var(--bc-red);
  color: var(--bc-red);
}

.calc-subtab-btn.active {
  background: var(--bc-dark);
  color: var(--bc-white);
  border-color: var(--bc-dark);
  box-shadow: var(--shadow-sm);
}

.calc-content {
  padding: 44px;
}

.calc-panel {
  display: none;
}

.calc-panel.active {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.calc-group {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.calc-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calc-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--bc-dark);
}

.calc-val-badge {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--bc-red);
  background: var(--bc-ice);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
}

/* Range input styling */
.calc-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #e2e8f0;
  outline: none;
  transition: background var(--transition-fast);
}

.calc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bc-red);
  cursor: pointer;
  box-shadow: 0 2px 8px var(--bc-red-glow);
  transition: transform var(--transition-fast);
}

.calc-range::-webkit-slider-thumb:hover {
  transform: scale(1.18);
}

.range-minmax {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-light);
  font-weight: 600;
}

.calc-number-input {
  width: 9rem;
  margin-top: 10px;
  padding: 8px 12px;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  background: var(--bc-white);
  color: var(--bc-dark);
  font-size: 0.88rem;
  font-weight: 700;
}

.calc-number-input:focus {
  outline: 2px solid rgba(229, 39, 19, 0.25);
  border-color: var(--bc-red);
}

/* Results Box */
.calc-results-card {
  background: var(--bc-dark);
  color: var(--bc-white);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.calc-results-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, var(--bc-red-glow) 0%, transparent 70%);
  pointer-events: none;
}

.result-main {
  border-bottom: 1px solid var(--border-dark);
  padding-bottom: 16px;
}

.result-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-white-muted);
  margin-bottom: 4px;
}

.result-amount {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--bc-white);
  letter-spacing: -0.02em;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.result-amount span {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--bc-red);
  margin-left: 4px;
}

.result-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-white-muted);
}

.result-row strong {
  color: var(--bc-white);
  font-weight: 700;
  transition: color var(--transition-fast);
}

/* Visual Ratio Progress Bar in Calculator */
.calc-visual-ratio {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
  background: rgba(255, 255, 255, 0.05);
  padding: 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-dark);
}

.calc-ratio-bar {
  height: 10px;
  width: 100%;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 5px;
  display: flex;
  overflow: hidden;
}

.ratio-segment-principal, .ratio-segment-dep {
  height: 100%;
  background: #38bdf8;
  transition: width 0.3s ease;
}

.ratio-segment-interest {
  height: 100%;
  background: var(--bc-red);
  transition: width 0.3s ease;
}

.ratio-segment-gain {
  height: 100%;
  background: #10b981;
  transition: width 0.3s ease;
}

.calc-ratio-text {
  font-size: 0.76rem;
  color: var(--text-white-muted);
  display: flex;
  justify-content: space-between;
}

.calc-ratio-text strong { color: var(--bc-white); }

.calc-disclaimer {
  font-size: 0.75rem;
  color: var(--text-light);
  line-height: 1.4;
  margin-top: 4px;
}

/* Insurance Calculator Controls */
.calc-select {
  width: 100%;
  padding: 10px 14px;
  background: var(--bc-ice);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--bc-dark);
  outline: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.calc-select:focus {
  border-color: var(--bc-red);
  background: var(--bc-white);
  box-shadow: 0 0 0 3px var(--bc-red-glow);
}

.calc-pill-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.calc-pill-btn {
  flex: 1 1 auto;
  padding: 8px 12px;
  background: var(--bc-ice);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  user-select: none;
}

.calc-pill-btn:hover {
  border-color: var(--bc-red);
  color: var(--bc-red);
}

.calc-pill-btn.active {
  background: var(--bc-red);
  border-color: var(--bc-red);
  color: var(--bc-white);
  box-shadow: 0 2px 8px var(--bc-red-glow);
}

.calc-feature-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-dark);
}

.calc-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: #e2e8f0;
}

.calc-feature-item i {
  color: #10b981;
  font-size: 0.85rem;
}

.calc-checkbox-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bc-ice);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: border-color var(--transition-fast);
}

.calc-checkbox-wrapper:hover {
  border-color: var(--bc-red);
}

.calc-checkbox-wrapper input[type="checkbox"] {
  accent-color: var(--bc-red);
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.calc-checkbox-wrapper span {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--bc-dark);
}

/* Process Section */
.process {
  background: var(--bc-white);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 45px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: dashed 2px var(--border-medium);
  z-index: 1;
}

.process-step {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-number-bubble {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--bc-white);
  border: 2px solid var(--bc-teal);
  color: var(--bc-dark);
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.process-step:hover .step-number-bubble {
  border-color: var(--bc-red);
  color: var(--bc-red);
  transform: scale(1.1);
  box-shadow: var(--shadow-glow);
}

.step-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--bc-dark);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.step-badge {
  margin-top: 12px;
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--bc-teal);
  background: var(--bc-ice);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

/* Testimonials */
.testimonials {
  background: var(--bc-ice);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.stars {
  color: var(--bc-gold);
  font-size: 0.95rem;
  margin-bottom: 18px;
  display: flex;
  gap: 4px;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 22px;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
}

.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--bc-ice);
  color: var(--bc-teal);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.author-meta strong {
  display: block;
  font-size: 0.94rem;
  color: var(--bc-dark);
}

.author-meta span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* FAQ Accordion */
.faq {
  background: var(--bc-white);
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item.active {
  border-color: var(--bc-red);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 22px 26px;
  background: var(--bc-white);
  border: none;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--bc-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-icon {
  font-size: 1rem;
  color: var(--bc-red);
  transition: transform var(--transition-normal);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
  background: var(--bc-ice-subtle);
}

.faq-answer-inner {
  padding: 0 26px 22px;
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Contact & Booking Section */
.contact-section {
  background: var(--bc-ice);
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  align-items: start;
}

.contact-info-card {
  background: var(--bc-dark);
  color: var(--bc-white);
  border-radius: var(--radius-xl);
  padding: 45px 38px;
  box-shadow: var(--shadow-lg);
}

.contact-info-card h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.contact-info-card p {
  color: var(--text-white-muted);
  margin-bottom: 34px;
  font-size: 1rem;
  line-height: 1.6;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 38px;
}

.channel-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.channel-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--bc-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.channel-content strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-white-muted);
}

.channel-content a, .channel-content span {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--bc-white);
}

.channel-content a:hover { color: var(--bc-red); }

.contact-form-card {
  background: var(--bc-white);
  border-radius: var(--radius-xl);
  padding: 45px 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-subtle);
}

.form-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--bc-dark);
  margin-bottom: 8px;
}

.form-subtitle {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

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

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--bc-dark);
  margin-bottom: 8px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 13px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-medium);
  font-size: 0.95rem;
  background: var(--bc-ice-subtle);
  color: var(--text-main);
  transition: all var(--transition-fast);
  outline: none;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--bc-red);
  background: var(--bc-white);
  box-shadow: 0 0 0 3px var(--bc-red-subtle);
}

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

.radio-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.radio-pill {
  position: relative;
}

.radio-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-pill label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 8px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-medium);
  background: var(--bc-ice-subtle);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  text-align: center;
  transition: all var(--transition-fast);
}

.radio-pill input:checked + label {
  border-color: var(--bc-red);
  background: var(--bc-red-subtle);
  color: var(--bc-red);
}

.form-submit-btn {
  width: 100%;
  margin-top: 10px;
}

/* Interaktivní Booking Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(17, 23, 25, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: var(--bc-white);
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 40px;
  position: relative;
  transform: translateY(30px) scale(0.96);
  transition: all var(--transition-normal);
}

.modal-overlay.active .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-medium);
  background: var(--bc-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: var(--bc-red);
  color: var(--bc-white);
  border-color: var(--bc-red);
}

.modal-header {
  margin-bottom: 24px;
}

.modal-header h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--bc-dark);
}

.modal-header p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.slots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.slot-option {
  position: relative;
}

.slot-option input {
  position: absolute;
  opacity: 0;
}

.slot-option label {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 8px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-medium);
  background: var(--bc-ice-subtle);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--bc-dark);
  text-align: center;
  transition: all var(--transition-fast);
}

.slot-option label span {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 2px;
}

.slot-option input:checked + label {
  border-color: var(--bc-red);
  background: var(--bc-red-subtle);
  color: var(--bc-red);
}

.slot-option input:checked + label span { color: var(--bc-red); }

/* Toast Notification */
.toast-msg {
  pointer-events: none;
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: var(--bc-dark);
  color: var(--bc-white);
  padding: 18px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--bc-red);
  z-index: 3000;
  display: flex;
  align-items: center;
  gap: 14px;
  transform: translateY(120%);
  opacity: 0;
  transition: all var(--transition-normal);
  max-width: 420px;
  font-size: 0.92rem;
}

.toast-msg.show {
  transform: translateY(0);
  opacity: 1;
}

/* Footer */
.site-footer {
  background: var(--bc-black);
  color: var(--text-white-muted);
  padding: 70px 0 35px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.8fr;
  gap: 48px;
  margin-bottom: 50px;
}

.footer-brand h4 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--bc-white);
  margin-bottom: 8px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-white-muted);
  line-height: 1.6;
  max-width: 360px;
  margin-bottom: 20px;
}

.footer-links h5 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--bc-white);
  margin-bottom: 18px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-white-muted);
}

.footer-links a:hover { color: var(--bc-red); }

.legal-notice {
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 35px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.legal-notice p {
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.6;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  color: var(--text-light);
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Media Queries */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-title { font-size: 2.7rem; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .process-steps::before { display: none; }
  .calc-panel.active { grid-template-columns: 1fr; gap: 36px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .site-header { height: 70px; }
  .header-inner { height: 70px; }

  .main-nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bc-white);
    flex-direction: column;
    padding: 30px 24px;
    border-bottom: 1px solid var(--border-medium);
    box-shadow: var(--shadow-lg);
    display: none;
    width: 100vw;
    max-width: 100vw;
    overflow-y: auto;
  }

  .main-nav.open { display: flex; }
  .nav-list { flex-direction: column; width: 100%; text-align: center; gap: 18px; }
  .mobile-toggle { display: block; }
  .hero-title { font-size: 2.2rem; }
  .services-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .hero-grid > *, .about-grid > *, .services-grid > *,
  .testimonials-grid > *, .process-steps > *, .footer-top > * {
    min-width: 0;
  }
  .about-pillars, .pillar-item, .pillar-info { min-width: 0; }
  .contact-grid > * { min-width: 0; }
  .calc-results-card > div[style*="display: flex"] {
    width: 100%;
    min-width: 0;
  }
  .calc-results-card > div[style*="display: flex"] .btn {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .hero-stats-row { grid-template-columns: 1fr; gap: 14px; }
  .floating-badge { position: static; margin-top: 14px; }
  .badge-top-left, .badge-bottom-right { position: static; animation: none; }
  .calc-content { padding: 24px 18px; }
  .calc-number-input { width: 100%; }
  .radio-pills, .slots-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .modal-dialog { padding: 26px 20px; }
  .calc-categories-nav { flex-wrap: nowrap; overflow-x: auto; }
  .top-bar-inner {
    align-items: flex-start;
    min-width: 0;
  }
  .top-badge {
    max-width: 100%;
    line-height: 1.35;
  }
  .top-links {
    min-width: 0;
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px 12px;
  }
  .top-link {
    font-size: 0.76rem;
    white-space: nowrap;
  }
  .brand-wrapper { min-width: 0; gap: 8px; }
  .person-title { font-size: 0.68rem; }
  .partner-logo img { max-width: 110px; }
  .header-inner { padding: 0 16px; }
  .modal-header h3 { font-size: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   Finanční zdraví rodiny (Kvíz)
   ========================================================================== */
.quiz-section {
  background: var(--bc-dark);
  color: var(--bc-white);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.quiz-section::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(229, 39, 19, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.quiz-wrapper {
  max-width: 820px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-xl);
  padding: 44px 38px;
  box-shadow: var(--shadow-lg);
  position: relative;
  backdrop-filter: blur(10px);
}

.quiz-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-dark);
}

.quiz-step-counter {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--bc-red);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.quiz-progress-track {
  flex: 1;
  max-width: 240px;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-left: 20px;
}

.quiz-progress-fill {
  height: 100%;
  width: 20%;
  background: var(--bc-red);
  transition: width 0.4s ease;
  border-radius: 4px;
}

.quiz-question-title {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--bc-white);
}

.quiz-question-desc {
  font-size: 0.95rem;
  color: var(--text-white-muted);
  margin-bottom: 28px;
}

.quiz-options-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 30px;
}

.quiz-opt-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  color: var(--bc-white);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  transition: all var(--transition-fast);
  width: 100%;
}

.quiz-opt-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateX(4px);
}

.quiz-opt-btn.selected {
  background: rgba(229, 39, 19, 0.15);
  border-color: var(--bc-red);
  color: var(--bc-white);
  box-shadow: 0 0 15px rgba(229, 39, 19, 0.3);
}

.quiz-opt-btn i {
  font-size: 1.1rem;
  color: var(--text-white-muted);
  transition: color var(--transition-fast);
}

.quiz-opt-btn.selected i {
  color: var(--bc-red);
}

.quiz-nav-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Kvíz výsledková karta */
.quiz-result-view {
  display: none;
  text-align: center;
  padding: 10px 0;
}

.quiz-result-view.active {
  display: block;
}

.score-circle-wrapper {
  margin: 0 auto 24px;
  position: relative;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: conic-gradient(var(--bc-red) 0%, rgba(255, 255, 255, 0.1) 0%);
  box-shadow: 0 0 30px rgba(229, 39, 19, 0.3);
}

.score-circle-inner {
  width: 116px;
  height: 116px;
  background: var(--bc-dark);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.score-value {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--bc-white);
  line-height: 1;
}

.score-unit {
  font-size: 0.8rem;
  color: var(--text-white-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.score-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--bc-white);
  margin-bottom: 8px;
}

.score-summary {
  font-size: 1rem;
  color: var(--text-white-muted);
  max-width: 600px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

.quiz-recs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 34px;
  text-align: left;
}

.quiz-rec-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 18px;
}

.quiz-rec-card i {
  font-size: 1.4rem;
  color: var(--bc-red);
  margin-bottom: 10px;
  display: block;
}

.quiz-rec-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--bc-white);
  margin-bottom: 6px;
}

.quiz-rec-desc {
  font-size: 0.82rem;
  color: var(--text-white-muted);
  line-height: 1.45;
}

/* Tlačítko PDF Exportu */
.btn-pdf-export {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--bc-white);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--transition-fast);
  margin-top: 4px;
  text-decoration: none;
}

.btn-pdf-export:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--bc-white);
  color: var(--bc-white);
}

/* ==========================================================================
   GDPR Cookie Banner
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 680px;
  background: rgba(23, 31, 34, 0.96);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.cookie-banner.hidden {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}

.cookie-text {
  font-size: 0.88rem;
  color: #cbd5e1;
  line-height: 1.5;
}

.cookie-text a {
  color: var(--bc-red);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-cookie-accept {
  background: var(--bc-red);
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-cookie-accept:hover {
  opacity: 0.9;
}

.btn-cookie-essential {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-cookie-essential:hover {
  background: rgba(255, 255, 255, 0.18);
}

/* ==========================================================================
   Tiskový profil (@media print) pro reprezentativní export do PDF
   ========================================================================== */
@media print {
  .site-header,
  .scroll-progress-container,
  .calc-categories-nav,
  .calc-subtabs-wrapper,
  .btn,
  .open-booking-modal,
  .btn-pdf-export,
  .cookie-banner,
  .modal-overlay,
  .site-footer,
  .faq,
  .testimonials,
  .process,
  .quiz-section,
  .contact {
    display: none !important;
  }

  body {
    background: white !important;
    color: black !important;
    font-size: 12pt;
  }

  .calc-panel {
    display: none !important;
  }

  .calc-panel.active {
    display: block !important;
    page-break-inside: avoid;
  }

  .calc-results-card {
    background: #f8fafc !important;
    color: #0f172a !important;
    border: 2px solid #e2e8f0 !important;
    box-shadow: none !important;
  }

  .result-amount, .result-row strong {
    color: #0f172a !important;
  }

  .print-header {
    display: block !important;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #e52713;
  }
}
