/* ==========================================================================
   REISHIELD — Czech Vitality & Energy (Dark-Grey-White Theme)
   Design System & Responsive Styles
   ========================================================================== */

:root {
  /* Color Palette: Dark Charcoal, Slate Gray, Pure White, Ruby Accent */
  --bg-dark: #0f131a;
  --bg-dark-card: #181d26;
  --bg-dark-accent: #222936;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --bg-gray-100: #f1f5f9;
  --bg-gray-200: #e2e8f0;
  
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #f8fafc;
  --text-light-muted: #94a3b8;
  
  --primary-red: #c52233;
  --primary-red-hover: #a51827;
  --primary-red-light: #fee2e2;
  --primary-red-glow: rgba(197, 34, 51, 0.25);
  
  --accent-emerald: #10b981;
  --accent-emerald-light: #d1fae5;
  --accent-amber: #f59e0b;
  
  --border-light: #e2e8f0;
  --border-dark: #2d3748;
  --border-focus: #c52233;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-dark: 0 15px 35px rgba(0, 0, 0, 0.35);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 76px;
}

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

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-light);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: var(--header-height);
  overflow-x: hidden;
}

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

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

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

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

.section-spacing {
  padding: 80px 0;
}

@media (max-width: 768px) {
  .section-spacing {
    padding: 50px 0;
  }
}

/* --------------------------------------------------------------------------
   Typography & Badges
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  color: #0f172a;
  font-weight: 700;
  line-height: 1.25;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--bg-gray-100);
  color: var(--primary-red);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
  border: 1px solid var(--border-light);
}

.section-tag.dark-tag {
  background-color: var(--bg-dark-accent);
  color: #f87171;
  border-color: var(--border-dark);
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 680px;
  margin-bottom: 40px;
}

.text-center {
  text-align: center;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* --------------------------------------------------------------------------
   Fixed Header & Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(15, 19, 26, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-dark);
  z-index: 1000;
  display: flex;
  align-items: center;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-light);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.brand-logo svg {
  width: 38px;
  height: 38px;
}

.brand-logo .brand-highlight {
  color: var(--primary-red);
}

.brand-badge {
  font-size: 0.65rem;
  background: var(--bg-dark-accent);
  border: 1px solid var(--border-dark);
  color: var(--text-light-muted);
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 4px;
  text-transform: uppercase;
}

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

.nav-link {
  color: var(--text-light-muted);
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 8px 4px;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-light);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-red);
  border-radius: 2px;
}

.header-cta-btn {
  background-color: var(--primary-red);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 4px 14px var(--primary-red-glow);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.header-cta-btn:hover {
  background-color: var(--primary-red-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px var(--primary-red-glow);
}

.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 6px;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: #12151b;
    border-bottom: 1px solid var(--border-dark);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    display: none;
    box-shadow: var(--shadow-dark);
  }
  
  .nav-menu.open {
    display: flex;
  }
  
  .header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
  }
}

/* --------------------------------------------------------------------------
   Hero & Blog Intro Section
   -------------------------------------------------------------------------- */
.hero-section {
  background: linear-gradient(180deg, #0f131a 0%, #161b24 100%);
  color: var(--text-light);
  padding: 70px 0 90px;
  position: relative;
  border-bottom: 1px solid var(--border-dark);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-content h1 {
  color: #ffffff;
  font-size: 2.65rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.025em;
}

.hero-content h1 span.gradient-text {
  background: linear-gradient(90deg, #f87171, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-light-muted);
  line-height: 1.65;
  margin-bottom: 28px;
}

.author-meta-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-dark);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  margin-bottom: 30px;
  font-size: 0.85rem;
  color: var(--text-light-muted);
}

.author-meta-bar strong {
  color: #ffffff;
}

.author-meta-bar .dot-divider {
  opacity: 0.4;
}

.hero-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}

.hero-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
  color: #e2e8f0;
}

.hero-bullets .check-icon {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 2px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.btn-primary {
  background: var(--primary-red);
  color: #ffffff;
  padding: 16px 32px;
  border-radius: var(--radius-full);
  font-size: 1.05rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 20px var(--primary-red-glow);
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

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

.btn-secondary {
  background: var(--bg-dark-accent);
  color: #ffffff;
  border: 1px solid var(--border-dark);
  padding: 16px 28px;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: #2b3445;
  border-color: #4b5563;
}

.hero-image-wrapper {
  position: relative;
}

.hero-image-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-dark);
  position: relative;
}

.hero-image-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

.hero-image-caption {
  padding: 18px 22px;
  background: var(--bg-dark-card);
  border-top: 1px solid var(--border-dark);
}

.hero-image-caption h4 {
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.hero-image-caption p {
  font-size: 0.85rem;
  color: var(--text-light-muted);
}

.hero-floating-badge {
  position: absolute;
  bottom: 85px;
  right: -15px;
  background: rgba(15, 19, 26, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid #374151;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
}

.hero-floating-badge .badge-icon {
  background: var(--accent-emerald);
  color: #ffffff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-content h1 {
    font-size: 2.1rem;
  }
  
  .hero-image-card img {
    height: 360px;
  }
  
  .hero-floating-badge {
    right: 15px;
    bottom: 95px;
  }
}

/* --------------------------------------------------------------------------
   Blog Story Section (Whitehat Narrative Hook)
   -------------------------------------------------------------------------- */
.blog-story-section {
  background-color: var(--bg-white);
  padding: 90px 0;
}

.story-container {
  max-width: 860px;
  margin: 0 auto;
}

.story-header {
  margin-bottom: 40px;
  text-align: center;
}

.story-content {
  font-size: 1.1rem;
  color: #334155;
  line-height: 1.8;
}

.story-content p {
  margin-bottom: 24px;
}

.story-quote-box {
  background: var(--bg-gray-100);
  border-left: 4px solid var(--primary-red);
  padding: 24px 30px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 36px 0;
  font-style: italic;
  font-size: 1.15rem;
  color: #1e293b;
}

.story-highlight-card {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin: 40px 0;
}

.story-highlight-card h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 10px;
}

.story-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 32px 0;
}

.story-step-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  padding: 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.story-step-num {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--primary-red);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.story-step-item h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.story-step-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .story-steps-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Interactive Section 1: Vitality Quiz (Test)
   -------------------------------------------------------------------------- */
.quiz-section {
  background: linear-gradient(180deg, #161b24 0%, #0f131a 100%);
  color: var(--text-light);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

.quiz-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-dark);
  max-width: 820px;
  margin: 0 auto;
}

.quiz-progress-bar-wrap {
  background: var(--bg-dark-accent);
  height: 8px;
  border-radius: var(--radius-full);
  margin-bottom: 30px;
  overflow: hidden;
  position: relative;
}

.quiz-progress-bar-fill {
  background: linear-gradient(90deg, #f87171, var(--primary-red));
  height: 100%;
  width: 25%;
  transition: width 0.4s ease;
}

.quiz-step {
  display: none;
}

.quiz-step.active {
  display: block;
  animation: fadeIn 0.35s ease;
}

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

.quiz-step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.quiz-step-number {
  font-size: 0.85rem;
  font-weight: 700;
  color: #f87171;
  text-transform: uppercase;
}

.quiz-question-title {
  color: #ffffff;
  font-size: 1.45rem;
  margin-bottom: 24px;
}

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

.quiz-option-btn {
  background: var(--bg-dark-accent);
  border: 1px solid var(--border-dark);
  color: #ffffff;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  font-size: 1rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
}

.quiz-option-btn:hover {
  background: #2a3342;
  border-color: #4b5563;
  transform: translateX(4px);
}

.quiz-option-btn.selected {
  background: rgba(197, 34, 51, 0.2);
  border-color: var(--primary-red);
  color: #ffffff;
}

.quiz-option-radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quiz-option-btn.selected .quiz-option-radio {
  border-color: var(--primary-red);
  background: var(--primary-red);
}

.quiz-option-btn.selected .quiz-option-radio::after {
  content: "";
  width: 6px;
  height: 6px;
  background: #ffffff;
  border-radius: 50%;
}

.quiz-result-box {
  text-align: center;
  padding: 20px 0;
}

.quiz-result-score-ring {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(197, 34, 51, 0.15);
  border: 3px solid var(--primary-red);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.quiz-score-val {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.quiz-score-lbl {
  font-size: 0.75rem;
  color: var(--text-light-muted);
  text-transform: uppercase;
}

.quiz-result-title {
  color: #ffffff;
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.quiz-result-desc {
  color: var(--text-light-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Interactive Section 2: Vitality / Breathing Timer Widget (20-20-20)
   -------------------------------------------------------------------------- */
.timer-section {
  background-color: var(--bg-white);
}

.timer-card-wrapper {
  background: #0f131a;
  border-radius: var(--radius-xl);
  color: #ffffff;
  padding: 50px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow-xl);
}

.timer-info h3 {
  color: #ffffff;
  font-size: 1.85rem;
  margin-bottom: 16px;
}

.timer-info p {
  color: var(--text-light-muted);
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.timer-steps-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.timer-steps-list li {
  font-size: 0.95rem;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 10px;
}

.timer-steps-list li span.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-red);
}

.timer-circle-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.timer-svg-box {
  position: relative;
  width: 220px;
  height: 220px;
}

.timer-svg-box svg {
  transform: rotate(-90deg);
  width: 220px;
  height: 220px;
}

.timer-bg-circle {
  fill: none;
  stroke: #1e293b;
  stroke-width: 12;
}

.timer-progress-circle {
  fill: none;
  stroke: var(--primary-red);
  stroke-width: 12;
  stroke-linecap: round;
  stroke-dasharray: 565.48;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1s linear;
}

.timer-display-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.timer-seconds-num {
  font-size: 3.2rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.timer-phase-label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #f87171;
  margin-top: 4px;
}

.timer-controls-btns {
  margin-top: 24px;
  display: flex;
  gap: 12px;
}

.timer-btn {
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.timer-btn.start {
  background: var(--primary-red);
  color: #ffffff;
}

.timer-btn.start:hover {
  background: var(--primary-red-hover);
}

.timer-btn.reset {
  background: var(--bg-dark-accent);
  color: #94a3b8;
  border: 1px solid var(--border-dark);
}

.timer-btn.reset:hover {
  color: #ffffff;
}

@media (max-width: 900px) {
  .timer-card-wrapper {
    grid-template-columns: 1fr;
    padding: 36px 24px;
  }
}

/* --------------------------------------------------------------------------
   Interactive Section 3: Before / After Comparison
   -------------------------------------------------------------------------- */
.comparison-section {
  background-color: var(--bg-gray-100);
}

.comparison-wrapper {
  max-width: 960px;
  margin: 0 auto;
}

.comparison-toggle-bar {
  display: flex;
  justify-content: center;
  margin-bottom: 36px;
}

.toggle-pill-box {
  background: #ffffff;
  padding: 6px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  display: flex;
  gap: 4px;
  box-shadow: var(--shadow-sm);
}

.toggle-pill-btn {
  padding: 10px 24px;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.toggle-pill-btn.active {
  background: #0f172a;
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.comparison-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.comparison-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.comparison-card.before-card {
  border-top: 4px solid #94a3b8;
}

.comparison-card.after-card {
  border-top: 4px solid var(--accent-emerald);
  background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%);
  border-color: #bbf7d0;
}

.comparison-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.card-status-tag {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.before-card .card-status-tag {
  background: #f1f5f9;
  color: #64748b;
}

.after-card .card-status-tag {
  background: #dcfce7;
  color: #15803d;
}

.comparison-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comparison-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
  line-height: 1.5;
}

.comparison-list .icon-indicator {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 2px;
}

.before-card .icon-indicator {
  background: #fee2e2;
  color: #b91c1c;
}

.after-card .icon-indicator {
  background: #dcfce7;
  color: #15803d;
}

@media (max-width: 768px) {
  .comparison-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Quality Standards & Certificates (Interactive Modals)
   -------------------------------------------------------------------------- */
.cert-section {
  background-color: var(--bg-white);
  padding: 80px 0;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.cert-card {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cert-card:hover {
  transform: translateY(-5px);
  border-color: #cbd5e1;
  box-shadow: var(--shadow-lg);
  background: #ffffff;
}

.cert-icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
  color: var(--primary-red);
  transition: var(--transition);
}

.cert-card:hover .cert-icon-circle {
  background: var(--primary-red);
  color: #ffffff;
  border-color: var(--primary-red);
}

.cert-card h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.cert-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 14px;
}

.cert-click-hint {
  margin-top: auto;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary-red);
  display: flex;
  align-items: center;
  gap: 4px;
}

@media (max-width: 991px) {
  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* Modal Window */
.cert-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 19, 26, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cert-modal-backdrop.open {
  display: flex;
}

.cert-modal-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  max-width: 580px;
  width: 100%;
  padding: 36px;
  position: relative;
  box-shadow: var(--shadow-xl);
  animation: modalScale 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.cert-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #f1f5f9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.cert-modal-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.modal-badge-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.modal-cert-icon {
  width: 52px;
  height: 52px;
  background: rgba(197, 34, 51, 0.1);
  color: var(--primary-red);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.modal-cert-header h3 {
  font-size: 1.35rem;
  color: #0f172a;
}

.modal-cert-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.modal-cert-details-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.9rem;
}

.modal-cert-details-table tr {
  border-bottom: 1px solid var(--border-light);
}

.modal-cert-details-table td {
  padding: 10px 0;
}

.modal-cert-details-table td.prop {
  color: var(--text-muted);
  width: 45%;
}

.modal-cert-details-table td.val {
  color: #0f172a;
  font-weight: 600;
}

.modal-verified-stamp {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  color: #065f46;
  font-size: 0.88rem;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Offer & Consultation Section (Lead Form)
   -------------------------------------------------------------------------- */
.offer-section {
  background: linear-gradient(180deg, #0f131a 0%, #171c26 100%);
  color: var(--text-light);
  padding: 90px 0;
  border-top: 1px solid var(--border-dark);
}

.offer-card-main {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-dark);
  display: grid;
  grid-template-columns: 1fr 1.15fr;
}

.offer-visual-col {
  background: #12161f;
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--border-dark);
  position: relative;
  text-align: center;
}

.offer-product-img {
  max-width: 280px;
  width: 100%;
  margin: 20px 0;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.45));
  transition: transform 0.3s ease;
}

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

.offer-guarantee-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-full);
  padding: 8px 18px;
  font-size: 0.82rem;
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.offer-form-col {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.offer-form-col h2 {
  color: #ffffff;
  font-size: 2.1rem;
  margin-bottom: 12px;
}

.offer-consultation-banner {
  background: rgba(197, 34, 51, 0.12);
  border-left: 3px solid var(--primary-red);
  padding: 14px 18px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 26px;
  font-size: 0.92rem;
  color: #fca5a5;
  line-height: 1.5;
}

.offer-consultation-banner strong {
  color: #ffffff;
}

.lead-form-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #e2e8f0;
}

.form-group label .required-star {
  color: var(--primary-red);
}

.form-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.form-input {
  width: 100%;
  background: #0f131a;
  border: 1px solid var(--border-dark);
  color: #ffffff;
  padding: 15px 18px;
  border-radius: var(--radius-md);
  font-size: 1.05rem;
  outline: none;
  transition: var(--transition);
}

.form-input:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(197, 34, 51, 0.25);
  background: #141922;
}

.form-input::placeholder {
  color: #64748b;
}

/* Validation status text */
.field-hint-msg {
  font-size: 0.82rem;
  margin-top: 4px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 6px;
}

.field-hint-msg.error {
  color: #f87171;
}

.field-hint-msg.success {
  color: #4ade80;
}

.form-submit-btn {
  background: linear-gradient(135deg, #c52233 0%, #a51827 100%);
  color: #ffffff;
  border: none;
  padding: 18px 28px;
  border-radius: var(--radius-full);
  font-size: 1.15rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 25px var(--primary-red-glow);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 8px;
}

.form-submit-btn:hover {
  background: linear-gradient(135deg, #d3283b 0%, #b81b2c 100%);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px var(--primary-red-glow);
}

.form-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.trust-badges-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border-dark);
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-light-muted);
}

.trust-badge-item svg {
  width: 22px;
  height: 22px;
  color: var(--accent-emerald);
  flex-shrink: 0;
}

.call-center-info-strip {
  margin-top: 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed var(--border-dark);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  color: var(--text-light-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.call-center-info-strip .live-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGreen 1.8s infinite;
  flex-shrink: 0;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@media (max-width: 991px) {
  .offer-card-main {
    grid-template-columns: 1fr;
  }
  
  .offer-visual-col {
    border-right: none;
    border-bottom: 1px solid var(--border-dark);
    padding: 36px 20px;
  }
  
  .offer-form-col {
    padding: 36px 20px;
  }
  
  .trust-badges-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* --------------------------------------------------------------------------
   FAQ Section (Accordion)
   -------------------------------------------------------------------------- */
.faq-section {
  background-color: var(--bg-light);
  padding: 80px 0;
}

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

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.faq-item:hover {
  border-color: #cbd5e1;
}

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

.faq-chevron {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
  color: #64748b;
  flex-shrink: 0;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--primary-red);
}

.faq-answer-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
  color: #475569;
  font-size: 0.98rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer-content {
  padding: 0 24px 22px 24px;
}

/* --------------------------------------------------------------------------
   Footer & Legal Disclaimer
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: #0b0e14;
  color: #94a3b8;
  padding: 70px 0 35px;
  border-top: 1px solid #1f2937;
  font-size: 0.88rem;
}

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

.footer-brand h4 {
  color: #ffffff;
  font-size: 1.25rem;
  margin-bottom: 14px;
}

.footer-company-details {
  line-height: 1.7;
  font-size: 0.86rem;
}

.footer-nav-col h5 {
  color: #ffffff;
  font-size: 0.98rem;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.footer-nav-list a {
  color: #94a3b8;
}

.footer-nav-list a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-disclaimer-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid #1e293b;
  border-radius: var(--radius-md);
  padding: 22px;
  margin-bottom: 35px;
  font-size: 0.82rem;
  line-height: 1.6;
  color: #64748b;
}

.footer-disclaimer-box strong {
  color: #94a3b8;
}

.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 25px;
  border-top: 1px solid #1e293b;
  font-size: 0.82rem;
}

@media (max-width: 768px) {
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-bottom-row {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* --------------------------------------------------------------------------
   Cookie Banner
   -------------------------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 600px;
  background: #181d26;
  border: 1px solid #334155;
  border-radius: var(--radius-lg);
  padding: 18px 24px;
  color: #ffffff;
  box-shadow: var(--shadow-dark);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  animation: slideUp 0.3s ease;
}

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

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

.cookie-text a {
  color: #f87171;
  text-decoration: underline;
}

.cookie-btn {
  background: var(--primary-red);
  color: #ffffff;
  border: none;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
}

/* --------------------------------------------------------------------------
   Legal & Inner Page Styles
   -------------------------------------------------------------------------- */
.legal-header-hero {
  background: linear-gradient(180deg, #0f131a 0%, #171c26 100%);
  color: #ffffff;
  padding: 60px 0 50px;
  border-bottom: 1px solid var(--border-dark);
}

.legal-header-hero h1 {
  color: #ffffff;
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.legal-header-hero p {
  color: var(--text-light-muted);
  font-size: 1rem;
}

.legal-content-section {
  background-color: #ffffff;
  padding: 70px 0;
}

.legal-content-card {
  max-width: 860px;
  margin: 0 auto;
  background: #ffffff;
  color: #334155;
  line-height: 1.75;
}

.legal-content-card h2 {
  font-size: 1.45rem;
  margin: 32px 0 14px;
  color: #0f172a;
}

.legal-content-card h3 {
  font-size: 1.15rem;
  margin: 22px 0 10px;
  color: #1e293b;
}

.legal-content-card p {
  margin-bottom: 16px;
}

.legal-content-card ul, .legal-content-card ol {
  margin: 14px 0 20px 24px;
}

.legal-content-card li {
  margin-bottom: 8px;
}

.table-responsive {
  overflow-x: auto;
  margin: 24px 0;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.data-table th {
  background: #f1f5f9;
  color: #0f172a;
  text-align: left;
  padding: 12px 16px;
  border: 1px solid var(--border-light);
}

.data-table td {
  padding: 12px 16px;
  border: 1px solid var(--border-light);
}

/* --------------------------------------------------------------------------
   Thank You Page (dekujeme.html)
   -------------------------------------------------------------------------- */
.thankyou-wrapper {
  min-height: calc(100vh - var(--header-height) - 200px);
  display: flex;
  align-items: center;
  padding: 60px 0;
}

.thankyou-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 50px 40px;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  box-shadow: var(--shadow-xl);
}

.thankyou-icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #ecfdf5;
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 24px;
}

.thankyou-card h1 {
  font-size: 2.2rem;
  margin-bottom: 14px;
  color: #0f172a;
}

.thankyou-order-tag {
  display: inline-block;
  background: #f1f5f9;
  border: 1px solid var(--border-light);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-family: monospace;
  font-weight: 700;
  font-size: 1.1rem;
  color: #0f172a;
  margin-bottom: 24px;
}

.thankyou-steps-box {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: left;
  margin: 28px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.thankyou-step-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.thankyou-step-row .num-badge {
  background: #0f172a;
  color: #ffffff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: bold;
  flex-shrink: 0;
}

.thankyou-step-row h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.thankyou-step-row p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0;
}
