/* 
  Cheerful & Light Design System 
*/
:root {
  --color-primary: #2563eb;       /* Royal Blue */
  --color-primary-light: #eff6ff; /* Very Light Blue */
  --color-accent: #f59e0b;        /* Amber/Gold */
  --color-accent-light: #fef3c7;  /* Light Amber */
  
  --color-bg-white: #ffffff;
  --color-bg-grey: #f8fafc;
  --color-bg-blue: #1e3a8a;       /* Deep Blue for dark sections */
  
  --color-text-dark: #0f172a;
  --color-text-muted: #64748b;
  --color-text-light: #ffffff;
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
  
  --transition: all 0.25s ease-in-out;
  --radius: 8px;
}

/* Base Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--color-text-dark);
  background-color: var(--color-bg-white);
  line-height: 1.6;
}

h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; color: var(--color-text-dark); }
.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 6rem 0; }
.light-section { background-color: var(--color-bg-white); }
.grey-section { background-color: var(--color-bg-grey); }
.blue-section { background-color: var(--color-bg-blue); color: var(--color-text-light); }
.blue-section h2, .blue-section p { color: white; }

.extra-services-section { 
  background-color: #f0f7ff; 
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}
.service-item-block {
  padding: 3rem;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,0.05);
}

.blue-text { color: var(--color-primary); }
.center { text-align: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  border: 2px solid transparent;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.btn-primary { background: var(--color-primary); color: white; }
.btn-primary:hover { background: #1d4ed8; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(37,99,235,0.25); }
.btn-outline-dark { background: transparent; border-color: var(--color-text-dark); color: var(--color-text-dark); }
.btn-outline-dark:hover { background: var(--color-text-dark); color: white; }
.btn-small { padding: 0.6rem 1.25rem; font-size: 0.85rem; }
.btn-block { width: 100%; }
.btn-secondary { background: var(--color-bg-blue); color: white; border-color: rgba(255,255,255,0.1); }

/* Header & Logo Chic */
.main-header {
  position: fixed;
  top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  padding: 0.5rem 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.03);
}
.header-container { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 0.85rem; text-decoration: none; }
.logo-svg { color: var(--color-primary); }
.logo-text { display: flex; flex-direction: column; }
.brand-name { 
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem; 
  font-weight: 800; 
  color: var(--color-text-dark); 
  letter-spacing: -0.5px; 
  line-height: 1;
}
.brand-name .accent-text { color: var(--color-primary); }
.brand-tagline { 
  font-size: 0.65rem; 
  color: var(--color-text-muted); 
  text-transform: uppercase; 
  letter-spacing: 1.5px; 
  font-weight: 700;
  margin-top: 2px;
}
.main-nav { display: flex; gap: 2rem; align-items: center; }
.main-nav a:not(.btn) { color: var(--color-text-dark); font-weight: 600; font-size: 0.9rem; text-decoration: none; transition: var(--transition); }
.main-nav a:not(.btn):hover { color: var(--color-primary); }

/* Hero */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background-color: var(--color-primary-light);
  overflow: hidden;
  padding-top: 4rem;
}
.hero-bg { position: absolute; right: 0; top: 0; bottom: 0; width: 50%; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--color-primary-light) 0%, transparent 100%);
}
.hero-content { position: relative; z-index: 1; }
.hero-text { max-width: 550px; }
.hero-text h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 1.5rem; color: var(--color-text-dark); }
.hero-text .subtitle { font-size: 1.25rem; color: var(--color-text-muted); margin-bottom: 2.5rem; }
.hero-actions { display: flex; gap: 1rem; }

/* Content Blocks */
.tag { display: inline-block; padding: 0.25rem 0.75rem; background: var(--color-primary-light); color: var(--color-primary); border-radius: 20px; font-weight: 700; font-size: 0.8rem; margin-bottom: 1rem; text-transform: uppercase; }
.lead { font-size: 1.25rem; color: var(--color-text-muted); margin-bottom: 1.5rem; }
.two-col-layout { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 4rem; align-items: center; }

.two-col-layout.inverted { grid-template-columns: 0.8fr 1.2fr; }
.check-list { list-style: none; margin-top: 1rem; }
.check-list li { position: relative; padding-left: 1.5rem; margin-bottom: 0.5rem; font-weight: 500; }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--color-accent); font-weight: 800; }

.feature-card-dark { background: rgba(255,255,255,0.05); padding: 2.5rem; border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.1); transition: var(--transition); }
.feature-card-dark:hover { background: rgba(255,255,255,0.1); border-color: var(--color-accent); transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.feature-card-dark h3 { color: white; margin-bottom: 0.75rem; }
.feature-card-dark p { color: rgba(255,255,255,0.7); }

.garance-item.dark { background: white; color: var(--color-text-dark); border-color: #e2e8f0; }
.garance-item.dark p { color: var(--color-text-muted); }

.accent-border { border-top: 5px solid var(--color-accent); }
.experience-card, .quote-card, .glass-card { transition: var(--transition); }
.experience-card:hover, .quote-card:hover, .glass-card:hover { transform: translateY(-5px) scale(1.02); box-shadow: var(--shadow-lg); }

.experience-card { background: var(--color-primary); color: white; padding: 2rem; border-radius: var(--radius); text-align: center; }
.exp-number { font-size: 4rem; font-weight: 800; display: block; line-height: 1; }
.exp-text { font-size: 1rem; text-transform: uppercase; letter-spacing: 1px; }

.quote-card { background: var(--color-accent-light); padding: 2rem; border-radius: var(--radius); border-left: 5px solid var(--color-accent); font-style: italic; font-weight: 500; font-size: 1.1rem; color: var(--color-text-dark); }
.glass-card { background: rgba(255,255,255,0.8); backdrop-filter: blur(10px); padding: 2rem; border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.2); }
.mt-2 { margin-top: 1rem; }

.feature-grid-small { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.f-item { font-weight: 600; font-size: 0.95rem; color: var(--color-text-dark); }

/* Grid Cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.feature-card { background: white; padding: 2.5rem; border-radius: var(--radius); box-shadow: var(--shadow-md); transition: var(--transition); border: 1px solid #f1f5f9; }
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--color-primary-light); }
.f-icon { font-size: 2.5rem; margin-bottom: 1rem; display: block; }
.feature-card h3 { margin-bottom: 0.75rem; font-size: 1.4rem; }
.feature-card p { color: var(--color-text-muted); font-size: 0.95rem; }

/* Blue Garance Section */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.garance-item { background: rgba(255,255,255,0.1); padding: 2rem; border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.1); transition: var(--transition); }
.garance-item:hover { background: rgba(255,255,255,0.15); border-color: var(--color-accent); transform: translateY(-3px); }
.garance-item h4 { color: var(--color-accent); font-size: 1.25rem; margin-bottom: 0.75rem; }
.garance-item p { color: rgba(255,255,255,0.8); font-size: 0.95rem; }

/* Comparison Table */
.comparison-table-wrapper { margin-top: 2rem; background: white; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.comparison-table { width: 100%; border-collapse: collapse; }
.comparison-table th, .comparison-table td { padding: 1.25rem; text-align: left; border-bottom: 1px solid #f1f5f9; font-size: 0.9rem; }
.comparison-table th { background: #f8fafc; font-weight: 700; color: var(--color-text-dark); }
.comparison-table .highlight { background: #eff6ff; border-left: 2px solid var(--color-primary); border-right: 2px solid var(--color-primary); color: var(--color-primary); font-weight: 700; }
.comparison-table tr:last-child td { border-bottom: none; }

/* FAQ Accordion */
.accordion-wrapper { max-width: 800px; margin: 0 auto; }
.accordion-item { border-bottom: 1px solid #e2e8f0; }
.accordion-header {
  width: 100%; background: none; border: none; padding: 1.5rem 0;
  text-align: left; font-size: 1.15rem; font-family: var(--font-heading);
  font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
}
.accordion-header::after { content: '↓'; color: var(--color-primary); font-size: 1.2rem; transition: var(--transition); }
.accordion-item.active .accordion-header::after { transform: rotate(180deg); }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; }
.accordion-item.active .accordion-content { max-height: 400px; padding-bottom: 1.5rem; color: var(--color-text-muted); font-size: 1rem; }

/* Cheerful Form */
.form-container-compact { max-width: 700px; margin: 0 auto; background: white; padding: 3rem; border-radius: 12px; box-shadow: var(--shadow-lg); border-top: 5px solid var(--color-primary); }
.cheerful-form label { font-size: 0.9rem; font-weight: 700; color: var(--color-text-dark); display: block; margin-bottom: 0.4rem; }
.cheerful-form input, .cheerful-form textarea {
  width: 100%; padding: 0.75rem 1rem; border-radius: var(--radius);
  border: 1px solid #cbd5e1; background: #f8fafc; font-family: inherit;
  font-size: 1rem; transition: var(--transition);
}
.cheerful-form input:focus, .cheerful-form textarea:focus { outline: none; border-color: var(--color-primary); background: white; box-shadow: 0 0 0 4px rgba(37,99,235,0.1); }
.form-group { margin-bottom: 1.25rem; }
.input-with-button { display: flex; gap: 0.5rem; }
.input-with-button input { flex: 1; }
.form-row { display: flex; gap: 1rem; }
.form-group.half { flex: 1; }
.readonly-input { background: #f1f5f9 !important; border-style: dashed !important; color: var(--color-text-muted) !important; cursor: not-allowed; }
.checkbox-section { background: #f1f5f9; padding: 1.25rem; border-radius: var(--radius); margin-top: 1rem; }

.success-screen { text-align: center; padding: 2rem 0; animation: fadeIn 0.5s ease-out; }
.success-icon { font-size: 4rem; margin-bottom: 1.5rem; display: block; }
.success-screen h3 { font-size: 2rem; margin-bottom: 1rem; color: var(--color-primary); }
.success-screen p { font-size: 1.1rem; color: var(--color-text-muted); margin-bottom: 2rem; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.checkbox-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-top: 0.5rem; }
.cb-label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem !important; color: var(--color-text-muted) !important; cursor: pointer; }
.cb-label input { width: auto; }

/* Dynamic Form Fields */
.dynamic-fields-hidden {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}
.dynamic-fields-visible {
  max-height: 2000px; /* Dostatečná výška */
  opacity: 1;
  pointer-events: auto;
  margin-top: 2rem;
}

.input-with-hint { position: relative; }
.input-hint { 
  display: block; 
  font-size: 0.75rem; 
  color: var(--color-primary); 
  margin-top: 0.3rem; 
  font-weight: 500;
  animation: fadeIn 0.5s ease-out;
}

/* Status Messages */
.status-msg { font-size: 0.8rem; height: 1rem; margin-top: 0.2rem; font-weight: 600; }
.status-msg.loading { color: var(--color-primary); }
.status-msg.success { color: #10b981; }
.status-msg.error { color: #ef4444; }

/* Footer */
.main-footer { background: #0f172a; color: white; padding: 4rem 0 2rem; }
.footer-container { display: flex; flex-direction: column; align-items: center; gap: 2rem; text-align: center; }
.footer-logo { font-size: 1.5rem; display: flex; align-items: center; gap: 0.5rem; }
.footer-links { display: flex; gap: 2rem; }
.footer-links a { color: rgba(255,255,255,0.7); text-decoration: none; font-weight: 500; font-size: 0.9rem; }
.footer-links a:hover { color: white; }
.copy { font-size: 0.85rem; color: rgba(255,255,255,0.4); margin-top: 1rem; }

/* Reveal Animations */
.reveal {
  opacity: 0;
  transition: all 0.8s ease-out;
}
.reveal-up { transform: translateY(30px); }
.reveal-left { transform: translateX(-30px); }
.reveal.active {
  opacity: 1;
  transform: translate(0, 0);
}

/* Continuous Animations */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

@keyframes swing {
  0% { transform: rotate(-10deg); }
  50% { transform: rotate(10deg); }
  100% { transform: rotate(-10deg); }
}

@keyframes pulse-soft {
  0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(37, 99, 235, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

/* Subtle hover polish instead of distracting infinite animations */
.experience-card { transition: var(--transition); }

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--color-primary);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 800;
  cursor: pointer;
  z-index: 10000; /* Nad vším */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--color-accent); transform: translateY(-5px); }

/* Cookie Modal Overlay */
.cookie-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%; height: 100%;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  display: none; /* Musí být none, aby neblokovalo web */
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.cookie-overlay.show { display: flex; }
.cookie-modal {
  background: white;
  width: 90%;
  max-width: 550px;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  text-align: left;
}
.cookie-modal h3 { margin-bottom: 0.5rem; color: var(--color-text-dark); }
.cookie-modal p { font-size: 0.9rem; color: var(--color-text-muted); margin-bottom: 1.5rem; }
.cookie-option { 
  display: flex; justify-content: space-between; align-items: center; 
  padding: 1rem 0; border-bottom: 1px solid #f1f5f9; 
}
.option-info strong { display: block; font-size: 0.95rem; }
.option-info span { font-size: 0.8rem; color: var(--color-text-muted); }
.cookie-buttons { display: flex; gap: 1rem; align-items: center; margin-top: 1.5rem; margin-bottom: 1.5rem; }
.cookie-footer { font-size: 0.75rem; text-align: center; color: var(--color-text-muted); border-top: 1px solid #eee; padding-top: 1rem; }
.cookie-footer a { color: var(--color-primary); text-decoration: none; }

/* Hamburger Button */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1100;
  padding: 0;
}
.hamburger-btn span {
  width: 100%;
  height: 2.5px;
  background-color: var(--color-text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* Transform Hamburger to X when active */
.hamburger-btn.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger-btn.active span:nth-child(2) {
  opacity: 0;
}
.hamburger-btn.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Guarantor Photo */
.guarantor-photo-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid white;
  transition: var(--transition);
}
.guarantor-photo-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}
.guarantor-photo {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}
.guarantor-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--color-accent);
  box-shadow: var(--shadow-md);
}
.badge-title {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #cbd5e1;
  font-weight: 700;
}
.badge-exp {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-accent);
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 3rem auto 0;
  padding: 1rem 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #e2e8f0;
}
.timeline-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 3rem;
}
.timeline-item:last-child {
  margin-bottom: 0;
}
.timeline-badge {
  position: absolute;
  left: 0;
  top: 0;
  width: 42px;
  height: 42px;
  background: var(--color-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  box-shadow: 0 0 0 5px rgba(37,99,235,0.15);
  z-index: 1;
}
.timeline-content {
  background: white;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid #f1f5f9;
  transition: var(--transition);
}
.timeline-content:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary-light);
}
.timeline-content h4 {
  font-size: 1.25rem;
  color: var(--color-text-dark);
  margin-bottom: 0.5rem;
}
.timeline-content p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Breadcrumbs */
.breadcrumbs-container {
  background: var(--color-bg-grey);
  border-bottom: 1px solid #e2e8f0;
  padding: 0.75rem 0;
  font-size: 0.85rem;
}
.breadcrumbs {
  list-style: none;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.breadcrumbs li {
  color: var(--color-text-muted);
  font-weight: 500;
}
.breadcrumbs li a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
}
.breadcrumbs li a:hover {
  text-decoration: underline;
}
.breadcrumbs li:not(:last-child)::after {
  content: '›';
  margin-left: 0.5rem;
  color: #cbd5e1;
  font-size: 1.1rem;
}

/* Page Hero */
.page-hero {
  background: linear-gradient(135deg, var(--color-primary-light) 0%, #e0f2fe 100%);
  padding: 8rem 0 3rem;
  border-bottom: 1px solid #e2e8f0;
}
.page-hero h1 {
  font-size: 2.75rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.page-hero .subtitle {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  max-width: 800px;
}

/* Article Layout */
.article-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
}
.article-content h2 {
  font-size: 1.85rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--color-primary-light);
  padding-bottom: 0.5rem;
}
.article-content h3 {
  font-size: 1.35rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.article-content p {
  margin-bottom: 1.25rem;
  color: #334155;
  font-size: 1.05rem;
}
.article-content ul, .article-content ol {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
  color: #334155;
}
.article-content li {
  margin-bottom: 0.5rem;
}

/* Sidebar */
.sidebar-box {
  background: var(--color-bg-grey);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 2rem;
  position: sticky;
  top: 100px;
}
.sidebar-box h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--color-accent);
  padding-bottom: 0.5rem;
}
.sidebar-links {
  list-style: none;
}
.sidebar-links li {
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}
.sidebar-links li a {
  color: var(--color-text-dark);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}
.sidebar-links li a:hover {
  color: var(--color-primary);
}

@media (max-width: 992px) {
  .article-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .sidebar-box {
    position: static;
  }
}

/* Lead Magnet Card */
.lead-magnet-section {
  padding: 4rem 0;
}
.lead-magnet-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  background: white;
  padding: 3rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  align-items: center;
}
.lm-form {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}
.lm-form input {
  flex: 1;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  border: 1px solid #cbd5e1;
  font-family: inherit;
  font-size: 1rem;
}
.lm-success-msg {
  margin-top: 1rem;
  color: #10b981;
  font-weight: 600;
}
.lm-success-msg a {
  color: var(--color-primary);
  text-decoration: underline;
}
.mock-pdf {
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  box-shadow: var(--shadow-md);
  height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.mock-pdf::before {
  content: 'PDF';
  position: absolute;
  top: 10px;
  right: 10px;
  background: #ef4444;
  color: white;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
}
.pdf-header {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--color-text-dark);
  border-bottom: 2px solid var(--color-primary);
  padding-bottom: 0.5rem;
}
.pdf-body {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.pdf-line {
  height: 8px;
  background: #e2e8f0;
  border-radius: 4px;
}
.pdf-line:nth-child(2) { width: 85%; }
.pdf-line:nth-child(3) { width: 70%; }
.pdf-line:nth-child(4) { width: 90%; }

/* Bypass ARES Button */
.btn-bypass-ares {
  background: none;
  border: none;
  color: var(--color-primary);
  text-decoration: underline;
  font-size: 0.85rem;
  cursor: pointer;
  margin-top: 0.5rem;
  display: block;
  text-align: left;
  padding: 0;
  font-weight: 600;
  transition: var(--transition);
}
.btn-bypass-ares:hover {
  color: #1d4ed8;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-bg { display: none; }
  .hero-text { max-width: 100%; text-align: center; }
  .hero-actions { justify-content: center; }
  .two-col-layout { grid-template-columns: 1fr; }
  .grid-3, .grid-2, .checkbox-grid { grid-template-columns: 1fr; }
  .hero-text h1 { font-size: 2.5rem; }
}
@media (max-width: 768px) {
  .hamburger-btn {
    display: flex;
  }
  .main-nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: white;
    box-shadow: -10px 0 30px rgba(15, 23, 42, 0.1);
    padding: 6rem 2rem 2rem;
    gap: 1.5rem;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1050;
    align-items: flex-start;
  }
  .main-nav.active {
    right: 0;
  }
  .main-nav a:not(.btn) {
    font-size: 1.1rem;
    width: 100%;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f5f9;
  }
  .main-nav a.btn {
    width: 100%;
    margin-top: 1rem;
  }
  .form-row { flex-direction: column; }
  .section { padding: 4rem 0; }
}

/* =============================================
   RICH FOOTER – interní prolinkování
   ============================================= */
.main-footer--rich {
  background-color: #0f172a;
  color: #94a3b8;
  padding-top: 4rem;
  padding-bottom: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-col--brand .footer-logo {
  display: flex;
  align-items: center;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.footer-col--brand .footer-logo strong {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: #ffffff;
}

.footer-col--brand .footer-logo svg {
  stroke: var(--color-primary);
  flex-shrink: 0;
}

.footer-tagline {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-desc {
  font-size: 0.875rem;
  line-height: 1.7;
  color: #94a3b8;
  margin-bottom: 1rem;
}

.footer-legal {
  font-size: 0.75rem;
  color: #64748b;
  line-height: 1.6;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-nav-list a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s ease;
  display: inline-block;
}

.footer-nav-list a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding: 1.5rem 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: #475569;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer-col--brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Pillar page footer – sdílený styl */
.main-footer .footer-links-rich {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin-top: 0.5rem;
}
.main-footer .footer-links-rich a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.85rem;
}
.main-footer .footer-links-rich a:hover { color: #fff; }

/* =============================================
   HERO TRUST BAR & QUICK CONTACT PILLS
   ============================================= */
.hero-trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-top: 1.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-dark);
}
.hero-trust-bar a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 700;
}
.hero-trust-bar a:hover { text-decoration: underline; }

.contact-quick-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.quick-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  background: var(--color-primary-light);
  color: var(--color-primary);
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--transition);
}
.quick-pill:hover {
  background: var(--color-primary);
  color: white;
}

/* =============================================
   INTERACTIVE PUBLIC CALCULATOR (#kalkulacka)
   ============================================= */
.calc-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  background: white;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  border: 1px solid #e2e8f0;
  margin-top: 2.5rem;
  align-items: stretch;
}
.calc-controls {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
}
.calc-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-text-dark);
  margin-bottom: 0.85rem;
}
.calc-type-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.calc-type-btn {
  text-align: left;
  padding: 1rem 1.1rem;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}
.calc-type-btn strong {
  display: block;
  font-size: 0.95rem;
  color: var(--color-text-dark);
  margin-bottom: 0.25rem;
}
.calc-type-btn span {
  display: block;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}
.calc-type-btn:hover {
  border-color: #93c5fd;
  background: #eff6ff;
}
.calc-type-btn.active {
  border-color: var(--color-primary);
  background: #eff6ff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.calc-type-btn.active strong { color: var(--color-primary); }

.calc-units-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}
.calc-units-header .calc-label { margin-bottom: 0; }
.calc-units-input-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 0.35rem 0.7rem;
}
.calc-units-input-wrap input {
  width: 68px;
  border: none;
  background: transparent;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--color-primary);
  text-align: right;
  outline: none;
}
.calc-units-input-wrap span {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 600;
}
.calc-slider {
  width: 100%;
  accent-color: var(--color-primary);
  height: 8px;
  cursor: pointer;
}
.calc-scale {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 0.4rem;
}

.calc-result-box {
  background: linear-gradient(145deg, #0f172a 0%, #1e3a8a 100%);
  color: white;
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.calc-result-eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #93c5fd;
  font-weight: 700;
}
.calc-price-main {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.1;
  margin: 0.65rem 0 0.25rem;
  color: white;
}
.calc-price-main small {
  font-size: 1rem;
  font-weight: 500;
  color: #cbd5e1;
}
.calc-price-vat {
  font-size: 0.85rem;
  color: #cbd5e1;
  margin-bottom: 1rem;
}
.calc-per-unit {
  background: rgba(255, 255, 255, 0.1);
  border-left: 3px solid var(--color-accent);
  padding: 0.6rem 0.9rem;
  border-radius: 6px;
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}
.calc-per-unit strong { color: #fde68a; }
.calc-includes {
  list-style: none;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.calc-note {
  font-size: 0.75rem;
  color: #94a3b8;
  text-align: center;
  margin-top: 0.75rem;
}

/* =============================================
   ARES LOOKUP & RESULTS IN CONTACT FORM
   ============================================= */
.ares-lookup-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}
.ares-lookup-box .form-group { margin-bottom: 0.5rem; }
.ares-results {
  margin-top: 0.75rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: white;
  max-height: 220px;
  overflow-y: auto;
  box-shadow: var(--shadow-md);
}
.ares-result-item {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  border-bottom: 1px solid #f1f5f9;
  padding: 0.7rem 0.9rem;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
}
.ares-result-item:last-child { border-bottom: none; }
.ares-result-item:hover { background: #eff6ff; }
.ares-result-item strong { display: block; font-size: 0.9rem; color: var(--color-text-dark); }
.ares-result-item span { font-size: 0.78rem; color: var(--color-text-muted); }

/* =============================================
   NON-INTRUSIVE BOTTOM COOKIE BANNER
   ============================================= */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.97);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  padding: 0.9rem 0;
  z-index: 9500;
  box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.25);
  display: none;
}
.footer-legal a {
  color: #93c5fd !important;
  text-decoration: none;
  border-bottom: 1px dotted rgba(147, 197, 253, 0.45);
  transition: color 0.15s, border-color 0.15s;
}
.footer-legal a:hover {
  color: #ffffff !important;
  border-bottom-color: #ffffff;
}
.cookie-banner.show { display: block; }
.cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cookie-banner-text {
  font-size: 0.85rem;
  flex: 1;
  min-width: 240px;
}
.cookie-banner-text a { color: #93c5fd; }
.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.cookie-banner .btn-outline-dark {
  background: transparent;
  border-color: #94a3b8;
  color: #f1f5f9;
}
.cookie-banner .btn-outline-dark:hover {
  background: #334155;
  color: white;
}
.cookie-settings-link {
  background: none;
  border: none;
  color: #94a3b8;
  text-decoration: underline;
  font-size: 0.8rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
}
.cookie-settings-link:hover { color: white; }

@media (max-width: 900px) {
  .calc-card { grid-template-columns: 1fr; padding: 1.5rem; }
  .calc-type-switch { grid-template-columns: 1fr; }
}
