/* ==========================================================================
   ZKTeco - Landing Page Reforma Laboral 2027
   Styles & Design System (Vanilla CSS3)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;0,700;0,900;1,400&family=Montserrat:wght@400;500;600;700;800;900&display=swap');

/* --- Custom Properties / Design Tokens --- */
:root {
  /* Brand Colors (Official ZKTeco Palette) */
  --zk-green-primary: #7ac143;
  --zk-green-dark: #65a134;
  --zk-green-darker: #4f8027;
  --zk-green-light: #90d25c;
  --zk-green-subtle: #f4faee;
  --zk-green-glow: rgba(122, 193, 67, 0.15);

  /* Secondary & Neutral Palette */
  --color-secondary: #4f4f4f;
  --color-bg-primary: #ffffff;
  --color-bg-secondary: #f4f6f9;
  --color-bg-tertiary: #ebf0f6;
  --color-bg-card: #ffffff;
  --color-bg-dark: #2e3032;
  --color-bg-dark-card: #3f4347;

  /* Typography & Foreground */
  --text-main: #2b2e31;
  --text-muted: #4e555b;
  --text-subtle: #6c757d;
  --text-inverse: #ffffff;
  --text-inverse-muted: #e2e8f0;

  /* Borders & Dividers */
  --border-light: #dbe2ea;
  --border-subtle: #edf2f7;
  --border-dark: #4f4f4f;
  --border-active: #7ac143;

  /* Accents & States */
  --color-accent-amber: #d97706;
  --color-accent-blue: #0284c7;
  --color-danger: #dc2626;

  /* Elevation / Shadows (Subtle, no gradients) */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 20px rgba(122, 193, 67, 0.2);

  /* Spacing */
  --section-padding: clamp(3.5rem, 6vw, 6rem);
  --container-max: 1400px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Fonts */
  --font-sans: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--color-bg-primary);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Headings Typography */
h1, h2, h3, h4, h5, h6,
.hero-title, .section-title, .solution-title, .benefit-title,
.faq-trigger, .btn, .eyebrow, .nav-link, .stat-value,
.timeline-year, .quiz-result-name, .employee-name, .capability-title,
.header-actions .btn {
  font-family: var(--font-heading);
}

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

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

button, input, select, textarea {
  font-family: var(--font-sans);
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--text-main);
  color: var(--text-inverse);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  z-index: 1000;
  font-weight: 600;
  transition: top var(--transition-fast);
}
.skip-link:focus {
  top: 1rem;
}

/* --- Layout Containers --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 4vw, 2rem);
  padding-right: clamp(1rem, 4vw, 2rem);
}

.section {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
  position: relative;
}

.section-alt {
  background-color: var(--color-bg-secondary);
}

.section-dark {
  background-color: var(--color-bg-dark);
  color: var(--text-inverse);
}

.section-dark .text-muted {
  color: var(--text-inverse-muted);
}

/* --- Section Header Utility --- */
.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--zk-green-dark);
  background-color: var(--zk-green-subtle);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
  border: 1px solid rgba(122, 193, 67, 0.3);
}

.eyebrow-dark {
  color: var(--zk-green-primary);
  background-color: rgba(122, 193, 67, 0.15);
  border-color: rgba(122, 193, 67, 0.35);
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.section-dark .section-title {
  color: var(--text-inverse);
}

.section-desc {
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  color: var(--text-muted);
  line-height: 1.65;
}

/* --- Buttons & CTAs (Solid, Clean Flat Design - No Gradients) --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.875rem 1.625rem;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  text-align: center;
  position: relative;
}

.btn-primary {
  background-color: var(--zk-green-primary);
  color: #ffffff;
  border: 1.5px solid var(--zk-green-primary);
  box-shadow: 0 4px 12px rgba(122, 193, 67, 0.28);
}
.btn-primary:hover {
  background-color: var(--zk-green-dark);
  border-color: var(--zk-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(122, 193, 67, 0.38);
  color: #ffffff;
}

.btn-secondary {
  background-color: #ffffff;
  color: var(--color-secondary);
  border: 1.5px solid var(--color-secondary);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  background-color: var(--zk-green-subtle);
  color: var(--text-main);
  border-color: var(--zk-green-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary-dark {
  background-color: #4f4f4f;
  color: #ffffff;
  border: 1.5px solid #4f4f4f;
}
.btn-secondary-dark:hover {
  background-color: #333333;
  border-color: var(--zk-green-primary);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1.125rem 2.25rem;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
}

.btn-full {
  width: 100%;
}

.btn-icon {
  width: 1.125rem;
  height: 1.125rem;
  transition: transform var(--transition-fast);
}
.btn:hover .btn-icon {
  transform: translateX(3px);
}

/* --- Header / Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition-normal);
}

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

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  transition: height var(--transition-fast);
}

.site-header.is-scrolled .header-container {
  height: 62px;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  color: var(--text-main);
}

.logo-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--zk-green-dark);
  background: var(--zk-green-subtle);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.nav-menu {
  display: none;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  margin-left: auto;
  margin-right: 1.5rem;
}

@media (min-width: 900px) {
  .nav-menu {
    display: flex;
  }
}

/* --- Dropdown Menus (Desktop) --- */
.nav-item-dropdown {
  position: relative;
}

.nav-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem 0.65rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.nav-dropdown-btn:hover,
.nav-item-dropdown:hover .nav-dropdown-btn,
.nav-item-dropdown.is-open .nav-dropdown-btn {
  color: var(--zk-green-dark);
  background: rgba(122, 193, 67, 0.08);
}

.dropdown-chevron {
  transition: transform var(--transition-fast);
  color: var(--text-subtle);
}

.nav-item-dropdown:hover .dropdown-chevron,
.nav-item-dropdown.is-open .dropdown-chevron {
  transform: rotate(180deg);
  color: var(--zk-green-primary);
}

/* Submenu Flyout Container */
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 320px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04);
  padding: 0.55rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s;
  z-index: 1000;
}

/* Bridge for seamless mouse travel */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown:focus-within .nav-dropdown-menu,
.nav-item-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Dropdown Item */
.dropdown-link-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.dropdown-link-item:hover {
  background: rgba(122, 193, 67, 0.08);
  transform: translateX(3px);
}

.dropdown-link-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.dropdown-link-icon.icon-law {
  background: rgba(122, 193, 67, 0.12);
  color: #7ac143;
}
.dropdown-link-icon.icon-lock {
  background: rgba(2, 88, 141, 0.12);
  color: #02588d;
}
.dropdown-link-icon.icon-audit {
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
}
.dropdown-link-icon.icon-clock {
  background: rgba(139, 92, 246, 0.12);
  color: #7c3aed;
}
.dropdown-link-icon.icon-software {
  background: rgba(2, 88, 141, 0.12);
  color: #02588d;
}
.dropdown-link-icon.icon-biometric {
  background: rgba(122, 193, 67, 0.12);
  color: #7ac143;
}

.dropdown-link-item:hover .dropdown-link-icon {
  transform: scale(1.08);
}

.dropdown-link-content {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.dropdown-link-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.25;
}

.dropdown-link-item:hover .dropdown-link-title {
  color: var(--zk-green-dark);
}

.dropdown-link-desc {
  font-size: 0.74rem;
  color: var(--text-subtle);
  line-height: 1.3;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 0.5rem 0.65rem;
  border-radius: var(--radius-sm);
  position: relative;
  transition: all var(--transition-fast);
}

.nav-link:hover {
  color: var(--zk-green-dark);
  background: rgba(122, 193, 67, 0.08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  padding: 8px;
  border-radius: var(--radius-sm);
  background: var(--color-bg-secondary);
}

@media (min-width: 900px) {
  .mobile-toggle {
    display: none;
  }
}

.mobile-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text-main);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* Mobile Drawer Structured */
.mobile-drawer {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  padding: 1.25rem;
  display: none;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  max-height: calc(100vh - 72px);
  overflow-y: auto;
}

.mobile-drawer.is-open {
  display: flex;
}

.mobile-drawer-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-light);
}

.mobile-drawer-group:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.mobile-group-title {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-subtle);
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.mobile-nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 0.45rem 0.5rem;
  border-radius: 6px;
  transition: all var(--transition-fast);
}

.mobile-nav-link:hover {
  color: var(--zk-green-dark);
  background: rgba(122, 193, 67, 0.08);
}

/* --- Hero Section (Video Background & High-Contrast Elevated Card UI) --- */
.hero-section {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: calc(72px + clamp(1.75rem, 3.5vw, 3.25rem));
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
  background-color: #000000;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-sizing: border-box;
}

.hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  background-color: #000000;
}

.hero-video-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background-color: #000000;
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.52);
  z-index: 2;
}

.hero-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 3;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
  }
}

.hero-content {
  max-width: 660px;
  color: #ffffff;
}

.hero-eyebrow-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  border: 1px solid rgba(254, 202, 202, 0.45);
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

.hero-eyebrow-wrapper .live-beacon {
  background-color: #ffffff;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.9);
  animation: beacon-pulse-danger 2s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes beacon-pulse-danger {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.9); }
  70% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.hero-eyebrow-text {
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffffff;
}

.hero-title {
  font-size: clamp(1.85rem, 2.75vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.22;
  color: #ffffff;
  margin-bottom: 1.35rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.hero-title .highlight {
  color: var(--zk-green-primary);
  font-weight: 800;
  display: inline;
  text-shadow: 0 2px 14px rgba(122, 193, 67, 0.4);
}

.hero-subheadline {
  font-size: clamp(1.05rem, 1.35vw, 1.225rem);
  color: #ffffff;
  line-height: 1.65;
  margin-bottom: 1.75rem;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

.hero-feature-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 2.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero-feature-checklist li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: #ffffff;
  font-weight: 600;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.55);
}

.hero-feature-checklist svg {
  flex-shrink: 0;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 480px) {
  .hero-ctas {
    flex-direction: row;
    align-items: center;
  }
}

.btn-outline-white {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(4px);
  transition: all var(--transition-fast);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
  color: #ffffff;
  transform: translateY(-2px);
}

/* --- Hero Interactive Guided Selector (Elevated Clean White Card) --- */
.hero-wizard-wrapper {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

.hero-wizard-card {
  background: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-xl);
  padding: clamp(1.4rem, 3.5vw, 2.15rem);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center center;
}

@keyframes wizardHighlightPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(122, 193, 67, 0.9), 0 24px 60px rgba(0, 0, 0, 0.28);
    transform: scale(1);
    border-color: var(--zk-green-primary);
  }
  30% {
    box-shadow: 0 0 0 8px rgba(122, 193, 67, 0.7), 0 0 35px rgba(122, 193, 67, 0.5), 0 24px 60px rgba(0, 0, 0, 0.35);
    transform: scale(1.025);
    border-color: var(--zk-green-primary);
  }
  65% {
    box-shadow: 0 0 0 4px rgba(122, 193, 67, 0.4), 0 0 20px rgba(122, 193, 67, 0.3), 0 24px 60px rgba(0, 0, 0, 0.3);
    transform: scale(1.01);
    border-color: var(--zk-green-primary);
  }
  100% {
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
    transform: scale(1);
    border-color: rgba(255, 255, 255, 0.9);
  }
}

.hero-wizard-card.wizard-highlight-pulse {
  animation: wizardHighlightPulse 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Green Solid Accent Top Line */
.hero-wizard-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background-color: var(--zk-green-primary);
}

.wizard-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-light);
}

.wizard-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--zk-green-darker);
  background: var(--zk-green-subtle);
  border: 1px solid rgba(122, 193, 67, 0.3);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.wizard-step-counter {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  background: #f1f5f9;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
}

.quiz-progress-bar {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.35rem;
}

.quiz-progress-segment {
  height: 5px;
  flex: 1;
  background: #e2e8f0;
  border-radius: var(--radius-full);
  transition: all 0.3s ease;
}

.quiz-progress-segment.active {
  background: var(--zk-green-primary);
  box-shadow: 0 0 6px rgba(122, 193, 67, 0.45);
}

.quiz-step {
  display: none;
  animation: quizStepFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.quiz-step.active {
  display: block;
}

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

.quiz-question-title {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.quiz-question-subtitle {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 1.15rem;
  line-height: 1.4;
}

.quiz-options-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.quiz-option-btn {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  background: #ffffff;
  text-align: left;
  transition: all var(--transition-fast);
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
  width: 100%;
}

.quiz-option-btn:hover {
  border-color: var(--zk-green-primary);
  background: var(--zk-green-subtle);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(122, 193, 67, 0.12);
}

.quiz-option-btn:focus-visible {
  border-color: var(--zk-green-primary);
  outline: 2px solid var(--zk-green-primary);
  outline-offset: 2px;
}

.quiz-option-btn.selected {
  border-color: var(--zk-green-primary);
  background: var(--zk-green-subtle);
  box-shadow: 0 0 0 2px var(--zk-green-primary);
}

.quiz-option-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--zk-green-subtle);
  border: 1px solid rgba(122, 193, 67, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--zk-green-dark);
  flex-shrink: 0;
  margin-top: 1px;
  transition: all var(--transition-fast);
}

.quiz-option-btn:hover .quiz-option-icon,
.quiz-option-btn.selected .quiz-option-icon {
  background: var(--zk-green-primary);
  color: #ffffff;
  border-color: var(--zk-green-primary);
}

.quiz-option-text h4 {
  font-size: 0.925rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.15rem;
  line-height: 1.25;
}

.quiz-option-text p {
  font-size: 0.775rem;
  color: var(--text-muted);
  line-height: 1.35;
  margin: 0;
}

/* Wizard Result Card */
.quiz-result-card {
  text-align: center;
  padding: 0.25rem 0 0;
}

.quiz-result-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 800;
  background: var(--zk-green-subtle);
  color: var(--zk-green-darker);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
  border: 1px solid rgba(122, 193, 67, 0.35);
}

.quiz-result-name {
  font-size: clamp(1.6rem, 2.5vw, 2.15rem);
  font-weight: 900;
  color: var(--zk-green-primary);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.quiz-result-specs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

.quiz-spec-chip {
  font-size: 0.725rem;
  font-weight: 700;
  background: #f8fafc;
  color: var(--color-secondary);
  border: 1px solid var(--border-light);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.quiz-result-compliance-note {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--zk-green-darker);
  background: var(--zk-green-subtle);
  border: 1px solid rgba(122, 193, 67, 0.35);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.85rem;
  text-align: left;
}

.quiz-result-explanation {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.quiz-result-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* ============================================================ */
/* --- REFORMA: MANIFESTO INTRO & 3 DEDICATED PILLAR SECTIONS --- */
/* ============================================================ */
.section-intro-manifesto {
  padding: clamp(4.5rem, 6.5vw, 6.5rem) 0 3.5rem 0;
  background-color: #ffffff;
}

.scroll-down-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 1.75rem;
}

.scroll-down-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--zk-green-subtle);
  color: var(--zk-green-darker);
  border: 1.5px solid rgba(122, 193, 67, 0.45);
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(122, 193, 67, 0.15);
  transition: all var(--transition-normal);
}

.scroll-down-btn:hover {
  background: var(--zk-green-primary);
  color: #ffffff;
  border-color: var(--zk-green-primary);
  transform: translateY(3px);
  box-shadow: 0 8px 22px rgba(122, 193, 67, 0.28);
}

.scroll-down-icon-box {
  width: 26px;
  height: 26px;
  border-radius: var(--radius-full);
  background: rgba(122, 193, 67, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bounceArrow 1.8s infinite ease-in-out;
}

.scroll-down-btn:hover .scroll-down-icon-box {
  background: rgba(255, 255, 255, 0.25);
}

@keyframes bounceArrow {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(4px);
  }
}

.section-pillar {
  padding: clamp(6rem, 9vw, 9.5rem) 0;
  position: relative;
}

.section-bg-white {
  background-color: #ffffff;
}

.section-bg-alt {
  background-color: #f8fafc;
}

.section-bg-dark {
  background-color: #0c1322;
  color: #ffffff;
}

.section-bg-dark .pillar-block-title {
  color: #ffffff;
}

.section-bg-dark .section-desc {
  color: #94a3b8;
}

.section-bg-dark .pillar-step-tag {
  background: rgba(122, 193, 67, 0.15);
  color: #a3e635;
  border-color: rgba(122, 193, 67, 0.35);
}

.section-bg-dark .feat-bullet-item {
  background: #151e32;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.section-bg-dark .feat-bullet-item:hover {
  background: #1e293b;
  border-color: var(--zk-green-primary);
}

.section-bg-dark .feat-bullet-item strong {
  color: #ffffff;
}

.section-bg-dark .feat-bullet-item p {
  color: #94a3b8;
}

.section-bg-dark .feat-bullet-icon {
  background: rgba(122, 193, 67, 0.18);
  color: #a3e635;
}

.section-bg-dark .pillar-platform-chips {
  border-top-color: rgba(255, 255, 255, 0.12);
}

.section-bg-dark .chip-label {
  color: #94a3b8;
}

.section-bg-dark .platform-mini-pill {
  background: #151e32;
  color: #a3e635;
  border-color: rgba(122, 193, 67, 0.35);
}

.pillar-step-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--zk-green-darker);
  background: var(--zk-green-subtle);
  border: 1px solid rgba(122, 193, 67, 0.35);
  padding: 0.25rem 0.75rem 0.25rem 0.35rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.step-num-badge {
  background: var(--zk-green-primary);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 900;
  width: 22px;
  height: 22px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Solution Tag (Clean Standalone Badge) --- */
.zk-solution-tag {
  display: inline-flex;
  align-items: center;
  margin-top: 0.35rem;
  margin-bottom: 1.25rem;
}

.solution-pill-badge {
  background: var(--zk-green-subtle);
  color: var(--zk-green-darker);
  border: 1px solid rgba(122, 193, 67, 0.4);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.solution-pill-badge::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--zk-green-primary);
}

.section-bg-dark .solution-pill-badge {
  background: rgba(122, 193, 67, 0.16);
  color: #a3e635;
  border-color: rgba(122, 193, 67, 0.35);
}

.section-bg-dark .solution-pill-badge::before {
  background-color: #a3e635;
  box-shadow: 0 0 6px #a3e635;
}

.pillar-block-title {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 0.85rem;
}
.pillar-split-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 992px) {
  .pillar-split-layout {
    grid-template-columns: 1fr 1.05fr;
    gap: 3.5rem;
  }

  .pillar-split-layout.reverse-layout {
    grid-template-columns: 1.05fr 1fr;
  }

  .pillar-split-layout.reverse-layout .pillar-split-visual {
    order: 1;
  }

  .pillar-split-layout.reverse-layout .pillar-split-content {
    order: 2;
  }
}

.pillar-split-content .section-title {
  text-align: left;
  margin-bottom: 1rem;
}

.pillar-split-content .section-desc {
  text-align: left;
  margin-bottom: 1.5rem;
}

.feature-bullets-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.feat-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: #ffffff;
  border: 1px solid var(--border-light);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: all var(--transition-fast);
}

.feat-bullet-item:hover {
  border-color: var(--zk-green-primary);
  transform: translateX(4px);
}

.feat-bullet-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--zk-green-subtle);
  color: var(--zk-green-darker);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feat-bullet-item strong {
  display: block;
  font-size: 0.925rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.15rem;
}

.feat-bullet-item p {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

.pillar-platform-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
}

.chip-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.platform-mini-pill {
  font-size: 0.75rem;
  font-weight: 700;
  background: #ffffff;
  color: var(--zk-green-darker);
  border: 1px solid rgba(122, 193, 67, 0.35);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

/* --- Section 1: Pillar Video Showcase (SenseFace 2A) --- */
.pillar-video-container {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
  border: 1.5px solid var(--border-light);
  background-color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.pillar-video-container:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.14);
}

.pillar-video-player {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-xl);
}

.pillar-video-overlay-tag {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  pointer-events: none;
}

#pruebas-stps .pillar-video-container,
#control-jornada .pillar-video-container {
  aspect-ratio: 4 / 3;
  width: 100%;
  max-width: 580px;
}

.section-bg-dark .pillar-video-container {
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

/* --- Floating 3D Format Icons for Pillar 2 --- */
.pillar-visual-3d-wrap {
  position: relative;
  perspective: 1000px;
}

.floating-format-badge {
  position: absolute;
  z-index: 10;
  pointer-events: none;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.55));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-format-badge img {
  display: block;
  width: clamp(52px, 5.5vw, 70px);
  height: auto;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.35));
}

.floating-badge-pdf {
  top: -24px;
  right: clamp(-14px, 2vw, 22px);
  animation: float3DPdf 3.8s ease-in-out infinite alternate;
}

.floating-badge-xls {
  bottom: -22px;
  left: clamp(-14px, 2vw, 22px);
  animation: float3DXls 4.4s ease-in-out infinite alternate;
}

@keyframes float3DPdf {
  0% {
    transform: translateY(0px) rotate(6deg) scale(1);
    filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.45));
  }
  50% {
    transform: translateY(-22px) rotate(16deg) scale(1.08);
    filter: drop-shadow(0 26px 36px rgba(0, 0, 0, 0.65));
  }
  100% {
    transform: translateY(-8px) rotate(4deg) scale(1.03);
    filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.5));
  }
}

@keyframes float3DXls {
  0% {
    transform: translateY(0px) rotate(-6deg) scale(1);
    filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.45));
  }
  50% {
    transform: translateY(-24px) rotate(-17deg) scale(1.09);
    filter: drop-shadow(0 28px 38px rgba(0, 0, 0, 0.65));
  }
  100% {
    transform: translateY(-6px) rotate(-3deg) scale(1.03);
    filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.5));
  }
}

@media (max-width: 768px) {
  .floating-badge-pdf {
    top: -14px;
    right: 5px;
  }
  .floating-badge-xls {
    bottom: -14px;
    left: 5px;
  }
}

/* --- PILAR 03: DISEÑO LIMPIO Y DESPEJADO PARA RECURSOS HUMANOS --- */
.rh-key-points {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 1.5rem 0 1.75rem;
}

.rh-point-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--text-main);
  line-height: 1.45;
}

.rh-point-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(122, 193, 67, 0.15);
  color: var(--zk-green-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.rh-point-text strong {
  color: var(--text-main);
  font-weight: 700;
}

/* Tarjeta Visual de Seguridad / GIF (Pilar 03) */
.rh-seal-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
}

.rh-seal-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.07);
}

.rh-security-gif {
  max-width: 100%;
  width: 380px;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
  border-radius: 14px;
}

@media (max-width: 640px) {
  .rh-seal-card {
    padding: 1rem;
  }
  .rh-security-gif {
    width: 280px;
  }
}

/* --- Section 1: Live Biometric Mockup --- */
.live-biometric-mockup {
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  position: relative;
}

.mockup-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  background: #f8fafc;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.8rem;
  font-weight: 700;
}

.mockup-terminal-status {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text-main);
}

.mockup-badge-verified {
  font-size: 0.7rem;
  font-weight: 800;
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
}

.mockup-camera-view {
  background: #0f172a;
  padding: 2rem 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.scanner-face-box {
  width: 130px;
  height: 130px;
  border-radius: 16px;
  background: rgba(122, 193, 67, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.scan-reticle {
  position: absolute;
  width: 16px;
  height: 16px;
  border-color: var(--zk-green-primary);
  border-style: solid;
}

.scan-reticle.top-left { top: 0; left: 0; border-width: 3px 0 0 3px; border-top-left-radius: 6px; }
.scan-reticle.top-right { top: 0; right: 0; border-width: 3px 3px 0 0; border-top-right-radius: 6px; }
.scan-reticle.bottom-left { bottom: 0; left: 0; border-width: 0 0 3px 3px; border-bottom-left-radius: 6px; }
.scan-reticle.bottom-right { bottom: 0; right: 0; border-width: 0 3px 3px 0; border-bottom-right-radius: 6px; }

.scan-laser-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--zk-green-primary);
  box-shadow: 0 0 8px #7ac143;
  animation: laserScan 2.4s ease-in-out infinite;
}

@keyframes laserScan {
  0% { top: 5%; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { top: 95%; opacity: 0; }
}

.match-score-badge {
  position: absolute;
  bottom: -12px;
  background: var(--zk-green-primary);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.mockup-log-data {
  padding: 1.25rem 1.35rem;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.log-data-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px dashed var(--border-light);
}

.log-label {
  color: var(--text-muted);
  font-weight: 600;
}

.log-val {
  color: var(--text-main);
}

.log-hash-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.725rem;
  font-weight: 700;
  color: var(--zk-green-darker);
  background: var(--zk-green-subtle);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  margin-top: 0.35rem;
}

/* --- Section 2: Official STPS Document Mockup --- */
.stps-doc-mockup {
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.stps-doc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  background: #f8fafc;
  border-bottom: 1px solid var(--border-light);
}

.doc-official-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.825rem;
  font-weight: 800;
  color: var(--text-main);
}

.stps-status-pill {
  font-size: 0.7rem;
  font-weight: 800;
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

.stps-doc-body {
  padding: 1.25rem 1.35rem;
}

.doc-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.775rem;
}

.meta-lbl {
  color: var(--text-muted);
  font-weight: 600;
  display: block;
}

.meta-txt {
  color: var(--text-main);
  font-weight: 700;
}

.doc-preview-table {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1rem;
  font-size: 0.75rem;
}

.doc-table-header {
  display: grid;
  grid-template-columns: 1.4fr 1.1fr 1fr 1.2fr;
  background: #f1f5f9;
  padding: 0.5rem 0.75rem;
  font-weight: 800;
  color: var(--text-main);
}

.doc-table-row {
  display: grid;
  grid-template-columns: 1.4fr 1.1fr 1fr 1.2fr;
  padding: 0.45rem 0.75rem;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-muted);
  align-items: center;
}

.badge-ok {
  font-size: 0.675rem;
  font-weight: 700;
  color: #15803d;
  background: #f0fdf4;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-full);
  display: inline-block;
}

.doc-export-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.export-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  background: #ffffff;
  border: 1px solid var(--border-light);
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.chip-ext {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  color: #ffffff;
}

.chip-ext.pdf { background: #dc2626; }
.chip-ext.xls { background: #16a34a; }
.chip-ext.csv { background: #0284c7; }
.chip-ext.txt { background: #64748b; }

/* --- Section 3: Workday 40h Tracker Mockup --- */
.workday-tracker-card {
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
  padding: 1.5rem 1.4rem;
}

.tracker-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-light);
}

.tracker-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-main);
}

.tracker-period-pill {
  font-size: 0.7rem;
  font-weight: 800;
  background: var(--zk-green-subtle);
  color: var(--zk-green-darker);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

.tracker-gauge-box {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
  margin-bottom: 1.25rem;
}

.gauge-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.825rem;
  margin-bottom: 0.5rem;
}

.gauge-label {
  font-weight: 700;
  color: var(--text-main);
}

.gauge-val {
  color: var(--zk-green-darker);
}

.gauge-bar-track {
  height: 10px;
  background: #e2e8f0;
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 0.65rem;
}

.gauge-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #7ac143 0%, #10b981 100%);
  border-radius: var(--radius-full);
  transition: width 1s ease-in-out;
}

.gauge-footer-note {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  color: var(--zk-green-darker);
  font-weight: 700;
}

.tracker-integrations-box {
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
}

.integrations-title {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.6rem;
}

.erp-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.erp-pill {
  font-size: 0.75rem;
  font-weight: 700;
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-light);
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

/* --- Urgency / Preparedness Section (Clean Flat Light UI) --- */
.urgency-box {
  background-color: #ffffff;
  border: 2px solid var(--zk-green-primary);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 3.5rem);
  color: var(--text-main);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  box-shadow: 0 10px 30px rgba(122, 193, 67, 0.1);
}

@media (min-width: 900px) {
  .urgency-box {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
  }
}

.urgency-content h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.urgency-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.uma-stat-card {
  background: #ffffff;
  border: 1.5px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

.uma-label {
  font-size: 0.78125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #b45309;
  margin-bottom: 0.5rem;
}

.uma-value {
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  font-weight: 900;
  color: var(--zk-green-darker);
  margin-bottom: 0.5rem;
}

.uma-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* --- Solutions 3 Cards --- */
.solutions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 992px) {
  .solutions-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.solution-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  position: relative;
}

.solution-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--zk-green-primary);
}

/* --- Distinct Software Branding Colors --- */

/* 1. ZKBio ZLink (#7ac143) */
.solution-card.card-zlink {
  border: 1.5px solid #7ac143;
}
.solution-card.card-zlink .card-top-tag {
  background: #7ac143;
  box-shadow: 0 4px 12px rgba(122, 193, 67, 0.35);
}
.solution-card.card-zlink .btn-choose {
  background: #7ac143;
  border-color: #7ac143;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(122, 193, 67, 0.38);
}
.solution-card.card-zlink .btn-choose:hover {
  background: #68a737;
  border-color: #68a737;
  box-shadow: 0 6px 20px rgba(122, 193, 67, 0.48);
}
.solution-card.card-zlink .btn-more-info:hover {
  border-color: #7ac143;
  color: #5a942e;
  background: rgba(122, 193, 67, 0.08);
}
.solution-card.card-zlink:hover {
  border-color: #7ac143;
  box-shadow: 0 16px 36px rgba(122, 193, 67, 0.2);
}

/* 2. BioTime Cloud (#02588d) */
.solution-card.card-biotime-cloud {
  border: 1.5px solid #02588d;
}
.solution-card.card-biotime-cloud .card-top-tag {
  background: #02588d;
  box-shadow: 0 4px 12px rgba(2, 88, 141, 0.35);
}
.solution-card.card-biotime-cloud .btn-choose {
  background: #02588d;
  border-color: #02588d;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(2, 88, 141, 0.38);
}
.solution-card.card-biotime-cloud .btn-choose:hover {
  background: #01436c;
  border-color: #01436c;
  box-shadow: 0 6px 20px rgba(2, 88, 141, 0.48);
}
.solution-card.card-biotime-cloud .btn-more-info:hover {
  border-color: #02588d;
  color: #02588d;
  background: rgba(2, 88, 141, 0.08);
}
.solution-card.card-biotime-cloud:hover {
  border-color: #02588d;
  box-shadow: 0 16px 36px rgba(2, 88, 141, 0.2);
}

/* 3. BioTime Pro (#3b3c3f) */
.solution-card.card-biotime-pro {
  border: 1.5px solid #3b3c3f;
}
.solution-card.card-biotime-pro .card-top-tag {
  background: #3b3c3f;
  box-shadow: 0 4px 12px rgba(59, 60, 63, 0.35);
}
.solution-card.card-biotime-pro .btn-choose {
  background: #3b3c3f;
  border-color: #3b3c3f;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(59, 60, 63, 0.38);
}
.solution-card.card-biotime-pro .btn-choose:hover {
  background: #232426;
  border-color: #232426;
  box-shadow: 0 6px 20px rgba(59, 60, 63, 0.5);
}
.solution-card.card-biotime-pro .btn-more-info:hover {
  border-color: #3b3c3f;
  color: #232426;
  background: rgba(59, 60, 63, 0.08);
}
.solution-card.card-biotime-pro:hover {
  border-color: #3b3c3f;
  box-shadow: 0 16px 36px rgba(59, 60, 63, 0.2);
}

.card-top-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--zk-green-primary);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.28rem 0.95rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.28);
}

.solution-header {
  margin-bottom: 1.5rem;
}

.solution-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 0.5rem;
  display: block;
}

.solution-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.solution-tagline {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--zk-green-dark);
  margin-bottom: 0.75rem;
}

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

.solution-specs {
  background: var(--color-bg-secondary);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin: 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.8125rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.35rem;
}
.spec-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.spec-key {
  color: var(--text-subtle);
}
.spec-val {
  font-weight: 600;
  color: var(--text-main);
  text-align: right;
}

.solution-logo-wrap {
  display: flex;
  align-items: center;
  margin-bottom: 1.25rem;
  height: 86px;
}

.solution-software-logo {
  display: block;
  object-fit: contain;
  object-position: left center;
  transition: transform var(--transition-normal);
}

.solution-software-logo.logo-zlink {
  height: 56px;
  width: auto;
  max-width: 250px;
}

.solution-software-logo.logo-cloud {
  height: 84px;
  width: auto;
  max-width: 265px;
}

.solution-software-logo.logo-pro {
  height: 60px;
  width: auto;
  max-width: 230px;
}

.solution-card-actions {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 0.65rem;
  margin-top: 1.5rem;
  width: 100%;
}

.solution-card-actions .btn {
  padding: 0.75rem 0.6rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-align: center;
  justify-content: center;
  white-space: nowrap;
}

.solution-card-actions .btn-choose {
  background: var(--zk-green-primary);
  color: #ffffff;
  border: 1.5px solid var(--zk-green-primary);
}

.solution-card-actions .btn-choose:hover {
  background: var(--zk-green-dark);
  border-color: var(--zk-green-dark);
}

.solution-card-actions .btn-more-info {
  background: #ffffff;
  color: var(--text-main);
  border: 1.5px solid #cbd5e1;
}

.solution-card-actions .btn-more-info:hover {
  border-color: var(--zk-green-primary);
  color: var(--zk-green-darker);
  background: var(--zk-green-subtle);
}



/* --- Biometrics Tabs & Grid --- */
.tabs-nav {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  background: var(--color-bg-tertiary);
  padding: 0.35rem;
  border-radius: var(--radius-full);
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

.tab-btn {
  flex: 1;
  padding: 0.65rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-muted);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.tab-btn:hover {
  color: var(--text-main);
}

.tab-btn.active {
  background: #ffffff;
  color: var(--zk-green-dark);
  box-shadow: var(--shadow-sm);
}

.tab-pane {
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}

.tab-pane.active {
  display: block;
}

.devices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.75rem;
}

.device-card {
  background-color: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all var(--transition-normal);
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.device-card:hover {
  border-color: var(--zk-green-primary);
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.device-card .device-img {
  width: 100%;
  height: 190px;
  max-width: 100%;
  object-fit: contain;
  margin-bottom: 1.25rem;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.06));
}

.device-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.device-view-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--zk-green-primary);
  margin-top: 0.75rem;
  transition: all var(--transition-fast);
}

.device-card:hover .device-view-link {
  color: var(--zk-green-dark);
}

.device-category-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.device-compat-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  margin-top: auto;
}

/* --- Modernization Banner CTA (ZKTeco Brand Green #7ac143 UI) --- */
.modernization-banner {
  background: linear-gradient(135deg, #7ac143 0%, #68ab35 100%);
  border-radius: var(--radius-xl);
  padding: clamp(2.25rem, 4.5vw, 3.75rem);
  color: #ffffff;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  box-shadow: 0 20px 48px rgba(122, 193, 67, 0.32);
  position: relative;
  overflow: hidden;
}

.modernization-banner::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}

@media (min-width: 960px) {
  .modernization-banner {
    grid-template-columns: 1.25fr 0.75fr;
    gap: 3.5rem;
  }
}

.eyebrow-banner-green {
  background-color: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  font-weight: 800;
}

.modernization-banner-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 900;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 1rem;
}

.modernization-banner-desc {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 620px;
}

.modernization-banner-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-banner-white {
  background-color: #ffffff;
  color: #15803d;
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius-full);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.btn-banner-white:hover {
  background-color: #0f172a;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.btn-banner-outline {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn-banner-outline:hover {
  background-color: #ffffff;
  color: #15803d;
  transform: translateY(-2px);
}

.modernization-banner-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background-color: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.mod-feat-box {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.mod-feat-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background-color: #ffffff;
  color: var(--zk-green-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.mod-feat-icon svg {
  stroke: var(--zk-green-primary);
}

.mod-feat-text strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.mod-feat-text span {
  font-size: 0.8125rem;
  color: #f0fdf4;
}

/* --- Section: Pruebas Exportables --- */
.exports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.export-card {
  background-color: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.export-card:hover {
  border-color: var(--zk-green-primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

.export-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.export-format-badge {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 900;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.05em;
}

.badge-pdf {
  background-color: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.badge-xls {
  background-color: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.badge-csv {
  background-color: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

.badge-txt {
  background-color: #f3f4f6;
  color: #374151;
  border: 1px solid #e5e7eb;
}

.export-badge-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
}

.export-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.export-card-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.export-card-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  border-top: 1px solid var(--border-light);
  padding-top: 1.25rem;
}

.export-card-features li {
  font-size: 0.8125rem;
  color: var(--text-main);
  position: relative;
  padding-left: 1.25rem;
  line-height: 1.45;
}

.export-card-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--zk-green-primary);
  font-weight: 900;
}

/* --- Section: Audit Logs (Inalterabilidad) --- */
.audit-showcase-wrapper {
  margin-top: 2rem;
}

.audit-console-card {
  background-color: #ffffff;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.audit-console-top {
  background-color: #2b2e30;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  color: #ffffff;
}

.audit-console-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.audit-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background-color: #1f2123;
  border: 1px solid rgba(122, 193, 67, 0.4);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: #7ac143;
}

.audit-table-wrapper {
  overflow-x: auto;
}

.audit-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.875rem;
}

.audit-table th {
  background-color: #f8fafc;
  padding: 1rem 1.25rem;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--text-main);
  border-bottom: 1.5px solid var(--border-light);
  white-space: nowrap;
}

.audit-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-main);
  white-space: nowrap;
}

.audit-table tr:hover td {
  background-color: #f4faee;
}

.audit-table code {
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 0.8125rem;
  color: #4b5563;
  background-color: #f3f4f6;
  padding: 0.2rem 0.45rem;
  border-radius: var(--radius-sm);
}

.event-badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}

.event-in {
  background-color: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.event-out {
  background-color: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.log-status-verified {
  font-weight: 700;
  color: var(--zk-green-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.audit-footer-notes {
  background-color: #f8fafc;
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border-light);
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .audit-footer-notes {
    grid-template-columns: 1fr 1fr;
  }
}

.audit-note-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.8125rem;
  color: var(--text-main);
}

.device-compat-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  margin-top: auto;
}

.device-compat-badge.cloud-only {
  background: #f0f9ff;
  color: #0284c7;
  border: 1px solid #bae6fd;
}

.device-compat-badge.zlink-only {
  background: #fdf4ff;
  color: #a21caf;
  border: 1px solid #f5d0fe;
}

.device-compat-badge.multi-platform {
  background: var(--zk-green-subtle);
  color: var(--zk-green-dark);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* --- Benefits Section --- */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.benefit-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.benefit-card:hover {
  border-color: var(--zk-green-primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.benefit-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--zk-green-subtle);
  color: var(--zk-green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.125rem;
}

.benefit-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.benefit-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- Lead Form Section (Clean Flat Light UI) --- */
.form-section-wrapper {
  background-color: #fbfdf9;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: clamp(1.75rem, 4vw, 3.5rem);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  color: var(--text-main);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 992px) {
  .form-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3.5rem;
  }
}

.form-info-col h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.form-info-col p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.form-trust-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
}

.trust-item-icon {
  color: var(--zk-green-dark);
}

/* Form Container Card */
.lead-form-card {
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--text-main);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (min-width: 600px) {
  .form-group-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  background: #ffffff;
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--zk-green-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.form-input.is-invalid,
.form-select.is-invalid {
  border-color: var(--color-danger);
}

.form-error-msg {
  font-size: 0.75rem;
  color: var(--color-danger);
  margin-top: 0.25rem;
  display: none;
}

.form-error-msg.visible {
  display: block;
}

/* Honeypot field (hidden for bots) */
.hp-field {
  display: none !important;
  visibility: hidden !important;
}

.form-privacy-group {
  margin-top: 1.25rem;
  margin-bottom: 1.5rem;
}

.privacy-label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.78125rem;
  color: var(--text-muted);
  line-height: 1.45;
  cursor: pointer;
}

.privacy-label input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--zk-green-primary);
}

.privacy-link {
  color: var(--zk-green-dark);
  text-decoration: underline;
}

.form-alert {
  padding: 0.875rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  margin-bottom: 1rem;
  display: none;
}

.form-alert.success {
  background: var(--zk-green-subtle);
  color: var(--zk-green-darker);
  border: 1px solid var(--zk-green-primary);
}

.form-alert.error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #f87171;
}

/* --- Dark Mode Contact Form Section --- */
.section-dark-contact {
  background-color: #0c1322;
  color: #ffffff;
  padding: clamp(5rem, 8vw, 8rem) 0;
  position: relative;
}

.section-dark-contact .form-section-wrapper {
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  color: #ffffff;
}

.section-dark-contact .form-info-col h2 {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  color: #ffffff !important;
}

.section-dark-contact .form-info-col p {
  color: #94a3b8 !important;
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 2.25rem;
}

.section-dark-contact .trust-item {
  color: #e2e8f0;
  font-size: 0.95rem;
}

.section-dark-contact .trust-item-icon {
  color: #7ac143;
}

.section-dark-contact .lead-form-card {
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-xl);
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  color: var(--text-main);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.section-dark-contact .form-label {
  color: #1e293b;
}

.section-dark-contact .form-input,
.section-dark-contact .form-select,
.section-dark-contact .form-textarea {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  color: #0f172a;
}

.section-dark-contact .form-input::placeholder,
.section-dark-contact .form-textarea::placeholder {
  color: #94a3b8;
}

.section-dark-contact .form-input:focus,
.section-dark-contact .form-select:focus,
.section-dark-contact .form-textarea:focus {
  border-color: var(--zk-green-primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(122, 193, 67, 0.25);
}

.section-dark-contact .privacy-label {
  color: #64748b;
}

.section-dark-contact .privacy-link {
  color: var(--zk-green-dark);
}

/* --- FAQ Accordion --- */
/* --- FAQ Modern 2-Column Grid --- */
.faq-grid-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  max-width: 1140px;
  margin: 0 auto;
  align-items: start;
}

.faq-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.faq-item:hover {
  border-color: #7ac143;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.faq-item.is-open {
  border-color: #02588d;
  box-shadow: 0 10px 24px rgba(2, 88, 141, 0.08);
}

.faq-trigger {
  width: 100%;
  padding: 1.15rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  background: transparent;
  cursor: pointer;
  border: none;
}

.faq-q-text {
  flex: 1;
  line-height: 1.45;
}

.faq-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.faq-icon {
  transition: transform var(--transition-fast);
  color: var(--text-muted);
}

.faq-item.is-open .faq-icon-wrap {
  background: rgba(2, 88, 141, 0.1);
}

.faq-item.is-open .faq-icon {
  transform: rotate(180deg);
  color: #02588d;
}

.faq-content {
  display: none;
  padding: 0 1.25rem 1.25rem;
  font-size: 0.8875rem;
  color: var(--text-muted);
  line-height: 1.6;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 0.85rem;
}

.faq-item.is-open .faq-content {
  display: block;
}

@media (max-width: 900px) {
  .faq-grid-layout {
    grid-template-columns: 1fr;
  }
}

/* --- Footer & Legal Disclaimer --- */
.site-footer {
  background: var(--color-bg-dark);
  color: var(--text-inverse);
  padding-top: clamp(3rem, 5vw, 4.5rem);
  padding-bottom: 2rem;
  border-top: 1px solid var(--border-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

.footer-brand p {
  color: var(--text-inverse-muted);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-top: 0.75rem;
  max-width: 320px;
}

.footer-heading {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  margin-bottom: 1.125rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

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

.footer-links a:hover {
  color: var(--zk-green-primary);
}

.footer-disclaimer-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 2rem;
}

.footer-disclaimer-text {
  font-size: 0.8125rem;
  color: var(--text-inverse-muted);
  line-height: 1.55;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8125rem;
  color: var(--text-inverse-muted);
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
  }
}

/* --- Sticky Mobile Floating CTA --- */
.mobile-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--border-light);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
  z-index: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transform: translateY(120%);
  transition: transform var(--transition-normal);
}

.mobile-sticky-cta.is-visible {
  transform: translateY(0);
}

@media (min-width: 900px) {
  .mobile-sticky-cta {
    display: none !important;
  }
}

.mobile-sticky-info {
  display: flex;
  flex-direction: column;
}

.sticky-cta-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-main);
}

.sticky-cta-subtitle {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* --- Thank You Page Styles --- */
.thank-you-wrapper {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
}

.thank-you-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
  max-width: 640px;
  box-shadow: var(--shadow-xl);
}

.thank-you-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--zk-green-subtle);
  color: var(--zk-green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.thank-you-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.thank-you-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.thank-you-steps {
  background: var(--color-bg-secondary);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: left;
  margin-bottom: 2rem;
  border: 1px solid var(--border-light);
}

.thank-step-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.thank-step-item:last-child {
  margin-bottom: 0;
}

.thank-step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--zk-green-primary);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* --- Scroll Reveal & Dynamic Motion --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Scroll To Top Button --- */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: #ffffff;
  color: var(--text-main);
  border: 1.5px solid var(--border-light);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.9);
  transition: all var(--transition-normal);
}

.scroll-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.scroll-to-top:hover {
  background-color: var(--zk-green-primary);
  color: #ffffff;
  border-color: var(--zk-green-primary);
  box-shadow: 0 10px 24px rgba(122, 193, 67, 0.4);
  transform: translateY(-4px) scale(1.05);
}

.scroll-to-top:focus-visible {
  outline: 2px solid var(--zk-green-primary);
  outline-offset: 3px;
}

@media (max-width: 768px) {
  .scroll-to-top {
    bottom: 4.75rem;
    right: 1.25rem;
    width: 42px;
    height: 42px;
  }
}

/* --- Accessibility: prefers-reduced-motion --- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .scroll-to-top {
    transition: none !important;
  }
}

/* ==========================================================================
   NUEVAS SECCIONES: TABLA COMPARATIVA DE SOFTWARE & PREVENCIÓN 2027
   ========================================================================== */

/* --- TABLA COMPARATIVA DE SOFTWARE --- */
.comparison-section {
  padding-top: 4rem;
  padding-bottom: 5rem;
  background-color: var(--color-bg-secondary);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.comparison-table-wrapper {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 2.5rem;
  position: relative;
}

.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 860px;
  font-size: 0.9375rem;
}

.comparison-table th,
.comparison-table td {
  padding: 1.15rem 1.25rem;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid var(--border-subtle);
}

.comparison-table thead th {
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 2;
  border-bottom: 2px solid var(--border-light);
}

.comparison-table th.col-feature {
  width: 31%;
  font-weight: 700;
  color: var(--text-main);
  background: #fafbfc;
}

.comparison-table th.col-platform {
  width: 23%;
  text-align: center;
  vertical-align: bottom;
  padding-bottom: 1.75rem;
}

.platform-head-badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.5rem;
}

.head-badge-zlink {
  background: rgba(122, 193, 67, 0.15);
  color: #4f8027;
}

.head-badge-cloud {
  background: rgba(2, 88, 141, 0.12);
  color: #02588d;
}

.head-badge-pro {
  background: rgba(59, 60, 63, 0.12);
  color: #2b2e31;
}

.platform-head-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.25rem;
  display: block;
}

.platform-head-arch {
  font-size: 0.8125rem;
  color: var(--text-muted);
  display: block;
}

/* Filas divisorias de Categoría */
.comparison-category-row td {
  background: #edf2f7;
  font-weight: 800;
  color: var(--text-main);
  text-transform: uppercase;
  font-size: 0.775rem;
  letter-spacing: 0.06em;
  padding: 0.85rem 1.25rem;
  border-top: 1px solid var(--border-light);
}

/* Celdas de Datos */
.comparison-table tbody tr:hover td {
  background-color: #f8fafc;
}

.comparison-table td.col-feature-title {
  font-weight: 600;
  color: var(--text-main);
  background: #fafbfc;
  border-right: 1px solid var(--border-subtle);
}

.comparison-table td.col-feature-title small {
  display: block;
  font-size: 0.775rem;
  font-weight: 400;
  color: var(--text-subtle);
  margin-top: 0.15rem;
}

.comparison-table td.col-val {
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Indicadores de disponibilidad */
.val-check-box {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  color: #276738;
}

.val-check-box svg {
  color: #7ac143;
  flex-shrink: 0;
}

.val-dash-box {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #94a3b8;
  font-size: 0.8125rem;
}

.val-dash-box svg {
  color: #cbd5e1;
}

.val-text-strong {
  font-weight: 700;
  color: var(--text-main);
  display: block;
}

/* Fila de Acciones en la Tabla */
.comparison-table tfoot td {
  padding: 1.5rem 1.25rem;
  background: #ffffff;
  text-align: center;
  border-top: 2px solid var(--border-light);
}

.table-action-cell {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}

.table-action-cell .btn {
  width: 100%;
  font-size: 0.85rem;
  padding: 0.65rem 0.85rem;
}

.table-action-cell .btn[data-cta-pos="table_cloud_choose"] {
  background: #02588d;
  border-color: #02588d;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(2, 88, 141, 0.35);
}
.table-action-cell .btn[data-cta-pos="table_cloud_choose"]:hover {
  background: #01436c;
  border-color: #01436c;
  box-shadow: 0 6px 20px rgba(2, 88, 141, 0.48);
}

.table-action-cell .btn[data-cta-pos="table_pro_choose"] {
  background: #3b3c3f;
  border-color: #3b3c3f;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(59, 60, 63, 0.35);
}
.table-action-cell .btn[data-cta-pos="table_pro_choose"]:hover {
  background: #232426;
  border-color: #232426;
  box-shadow: 0 6px 20px rgba(59, 60, 63, 0.5);
}

.table-action-cell .btn[data-cta-pos="table_zlink_choose"] {
  background: #7ac143;
  border-color: #7ac143;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(122, 193, 67, 0.35);
}
.table-action-cell .btn[data-cta-pos="table_zlink_choose"]:hover {
  background: #68a737;
  border-color: #68a737;
  box-shadow: 0 6px 20px rgba(122, 193, 67, 0.48);
}

.table-action-cell .link-more-info {
  font-size: 0.775rem;
  color: var(--text-subtle);
  text-decoration: underline;
  transition: color var(--transition-fast);
}

.table-action-cell .link-more-info:hover {
  color: var(--zk-green-primary);
}

/* --- SECCIÓN PREVENCIÓN Y CALENDARIO 2027 --- */
.prep-section {
  padding: var(--section-padding) 0;
  background: #ffffff;
  position: relative;
}

/* --- TIMELINE HORIZONTAL: CALENDARIO DE IMPLEMENTACIÓN 2027 --- */
.hz-timeline-wrapper {
  position: relative;
  margin: 3.5rem 0 1rem;
  padding: 0 0.5rem;
}

/* Eje / Pista Horizontal Continua */
.hz-timeline-track {
  position: absolute;
  top: 25px;
  left: 12.5%;
  right: 12.5%;
  height: 4px;
  background: #e2e8f0;
  border-radius: 4px;
  z-index: 1;
}

.hz-timeline-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 33.33%;
  height: 100%;
  background: linear-gradient(90deg, #7ac143 0%, #02588d 100%);
  border-radius: 4px;
}

/* Contenedor de Pasos / Columnas */
.hz-timeline-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

/* Item de Timeline */
.hz-timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

/* Marcador y Nodo */
.hz-timeline-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.5rem;
  position: relative;
}

.hz-marker-node {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 3;
  transition: all 0.3s ease;
}

.hz-node-number {
  font-size: 0.95rem;
  font-weight: 800;
  color: #475569;
  letter-spacing: -0.5px;
}

/* Nodo Destacado (Recomendación ZKTeco) */
.hz-timeline-item.item-highlighted .hz-marker-node {
  border-color: var(--zk-green-primary);
  background: var(--zk-green-primary);
  box-shadow: 0 0 0 6px rgba(122, 193, 67, 0.22), 0 8px 20px rgba(122, 193, 67, 0.35);
}

.hz-timeline-item.item-highlighted .hz-node-number {
  color: #ffffff;
}

/* Pulso animado para el nodo activo */
.hz-pulse-ring {
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border-radius: 50%;
  border: 2px solid var(--zk-green-primary);
  animation: hzPulseRing 2.4s infinite cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

@keyframes hzPulseRing {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.25);
    opacity: 0;
  }
  100% {
    transform: scale(0.95);
    opacity: 0;
  }
}

/* Nodos siguientes (Azul institucional) */
.hz-marker-node.node-blue {
  border-color: #02588d;
}

.hz-marker-node.node-blue .hz-node-number {
  color: #02588d;
}

/* Insignia de Fecha bajo el nodo */
.hz-marker-date {
  margin-top: 0.85rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #e2e8f0;
  white-space: nowrap;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
  transition: all 0.25s ease;
}

.hz-marker-date.date-highlight {
  background: #f0fdf4;
  color: #15803d;
  border-color: #86efac;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(122, 193, 67, 0.15);
}

/* Tarjeta del Timeline */
.hz-timeline-card {
  width: 100%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.6rem 1.35rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
}

/* Flecha apuntando al nodo */
.hz-timeline-card::before {
  content: '';
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  border-left: 1px solid #e2e8f0;
  z-index: 2;
  transition: border-color 0.25s ease;
}

.hz-timeline-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  border-color: #cbd5e1;
}

.hz-timeline-card:hover::before {
  border-color: #cbd5e1;
}

/* Tarjeta Destacada */
.hz-timeline-card.card-highlight {
  border-color: var(--zk-green-primary);
  background: #ffffff;
  box-shadow: 0 6px 22px rgba(122, 193, 67, 0.12);
}

.hz-timeline-card.card-highlight::before {
  border-top-color: var(--zk-green-primary);
  border-left-color: var(--zk-green-primary);
}

.hz-timeline-card.card-highlight:hover {
  box-shadow: 0 12px 30px rgba(122, 193, 67, 0.18);
}

/* Tags de Categoría */
.hz-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 0.28rem 0.65rem;
  border-radius: 6px;
  margin-bottom: 0.85rem;
  width: fit-content;
}

.tag-neutral {
  background: #f1f5f9;
  color: #475569;
}

.tag-highlight {
  background: var(--zk-green-primary);
  color: #ffffff;
}

.tag-blue {
  background: rgba(2, 88, 141, 0.1);
  color: #02588d;
}

.tag-gradual {
  background: rgba(14, 165, 233, 0.12);
  color: #0369a1;
}

/* Tipografía de la Tarjeta */
.hz-card-title {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.65rem;
  line-height: 1.3;
}

.hz-card-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0 0 1.25rem;
  flex-grow: 1;
}

/* Footer de la Tarjeta */
.hz-card-footer {
  padding-top: 0.85rem;
  border-top: 1px solid #f1f5f9;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hz-phase-indicator {
  font-size: 0.74rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.hz-phase-indicator.indicator-green {
  color: var(--zk-green-dark);
  font-weight: 800;
}

.hz-card-mobile-date {
  display: none;
}

/* Responsividad Tablet y Móvil */
@media (max-width: 980px) {
  .hz-timeline-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.5rem;
  }
  .hz-timeline-track {
    display: none;
  }
  .hz-timeline-marker {
    margin-bottom: 1.2rem;
  }
}

@media (max-width: 640px) {
  .hz-timeline-wrapper {
    margin: 2.5rem 0 1rem;
    padding-left: 0.25rem;
  }
  .hz-timeline-track {
    display: block;
    top: 25px;
    bottom: 40px;
    left: 28px;
    right: auto;
    width: 3px;
    height: auto;
  }
  .hz-timeline-progress {
    width: 100%;
    height: 38%;
  }
  .hz-timeline-steps {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .hz-timeline-item {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 1rem;
    align-items: start;
  }
  .hz-timeline-marker {
    margin-bottom: 0;
    align-items: center;
  }
  .hz-marker-node {
    width: 44px;
    height: 44px;
  }
  .hz-node-number {
    font-size: 0.88rem;
  }
  .hz-marker-date {
    display: none;
  }
  .hz-timeline-card::before {
    top: 16px;
    left: -6px;
    transform: rotate(-45deg);
    border-top: 1px solid #e2e8f0;
    border-left: 1px solid #e2e8f0;
  }
  .hz-timeline-card.card-highlight::before {
    border-top-color: var(--zk-green-primary);
    border-left-color: var(--zk-green-primary);
  }
  .hz-card-mobile-date {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    color: #475569;
    margin-bottom: 0.4rem;
  }
  .hz-timeline-card.card-highlight .hz-card-mobile-date {
    color: var(--zk-green-dark);
  }
}

/* --- MODAL POP-UP COMPARATIVA OFICIAL --- */
.compare-modal-backdrop {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.compare-modal-backdrop.is-active {
  opacity: 1;
  visibility: visible;
}

body.modal-open {
  overflow: hidden !important;
}

.compare-modal-dialog {
  background: #ffffff;
  border-radius: 20px;
  max-width: 1160px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transform: scale(0.94) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

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

.compare-modal-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  background: #ffffff;
  position: relative;
  z-index: 5;
}

.compare-modal-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.compare-modal-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.45;
}

.compare-modal-close {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: var(--text-main);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.compare-modal-close:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #dc2626;
  transform: rotate(90deg);
}

.compare-modal-body {
  padding: 1.5rem 2rem 2.25rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  flex: 1;
  background: #f8fafc;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.compare-modal-body .comparison-table-wrapper {
  margin: 0;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.compare-cta-box,
.prep-cta-box {
  margin-top: 3rem;
  background: #2e3032;
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.25rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.compare-cta-content,
.prep-cta-content {
  flex: 1 1 500px;
}

.compare-cta-content h3,
.prep-cta-content h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.45rem;
  line-height: 1.3;
}

.compare-cta-content p,
.prep-cta-content p {
  font-size: 0.935rem;
  color: #cbd5e1;
  margin: 0;
  max-width: 650px;
  line-height: 1.55;
}

.compare-cta-box .btn,
.prep-cta-box .btn {
  flex-shrink: 0;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(122, 193, 67, 0.35);
}

@media (max-width: 768px) {
  .compare-cta-box,
  .prep-cta-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.75rem;
    gap: 1.5rem;
  }
  .compare-cta-content,
  .prep-cta-content {
    flex: 1 1 100%;
  }
  .compare-cta-box .btn,
  .prep-cta-box .btn {
    width: 100%;
    justify-content: center;
  }
  .compare-modal-backdrop {
    padding: 0.75rem;
  }
  .compare-modal-dialog {
    max-height: 94vh;
    border-radius: 16px;
  }
  .compare-modal-header {
    padding: 1.25rem 1.25rem 1rem;
  }
  .compare-modal-title {
    font-size: 1.15rem;
  }
  .compare-modal-body {
    padding: 0.75rem 0.5rem 1.25rem;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
  }
}
