/* Hoja de estilos global - Landing Page A11y Pro Scanner */



:root {
  /* Paleta HSL moderna */
  --primary-hue: 35;
  --primary: hsl(var(--primary-hue), 100%, 35%);
  --primary-hover: hsl(var(--primary-hue), 100%, 25%);
  --primary-light: hsl(var(--primary-hue), 100%, 96%);
  
  --secondary-hue: 211;
  --secondary: hsl(var(--secondary-hue), 100%, 50%);
  --secondary-light: hsl(var(--secondary-hue), 100%, 94%);
  
  --dark: #121214;
  --light: #f8f9fa;
  --white: #ffffff;
  --gray-100: #f1f3f5;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-600: #4b5563;
  --gray-800: #343a40;
  
  /* Gradientes */
  --gradient-primary: linear-gradient(135deg, var(--primary) 0%, hsl(var(--primary-hue), 90%, 45%) 100%);
  --gradient-subtle: linear-gradient(180deg, var(--white) 0%, var(--gray-100) 100%);
  
  /* Sombras y bordes */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 30px rgba(180, 83, 9, 0.08);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.1);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  
  /* Accesibilidad y Transiciones */
  --focus-outline: 3px solid hsl(var(--primary-hue), 100%, 40%);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* Colores del Ecosistema (Scanner: Azul, Widget: Teal, Academy: Púrpura) */
  --scanner-color: var(--primary);
  --scanner-border: var(--primary);
  --scanner-bg: var(--primary-light);

  --widget-color: #0d7c71;
  --widget-border: #00b49d;
  --widget-bg: rgba(13, 124, 113, 0.1);

  --academy-color: #6d28c6;
  --academy-border: #6d28c6;
  --academy-bg: rgba(109, 40, 198, 0.1);

  --design-color: #a21caf;
  --design-border: #a21caf;
  --design-bg: rgba(162, 28, 175, 0.1);

  --docs-color: #b45309; /* Adjusted for better contrast (WCAG AA) */
  --docs-border: #f59e0b;
  --docs-bg: rgba(217, 119, 6, 0.1);
}

/* Reset básico */
html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--gray-800);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Enlaces y Accesibilidad por Teclado */
a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-hover);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: var(--focus-outline) !important;
  outline-offset: 4px !important;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--primary);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  z-index: 9999;
  font-weight: 600;
  transition: top 0.2s ease;
}

.skip-link:hover,
.skip-link:focus,
.skip-link:active {
  color: var(--white);
}

[data-theme="dark"] .skip-link {
  color: var(--white);
}

[data-theme="dark"] .skip-link:hover,
[data-theme="dark"] .skip-link:focus,
[data-theme="dark"] .skip-link:active {
  color: var(--white);
}

.skip-link:focus-visible {
  top: 0;
  outline: none !important;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Header & Navegación */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  background-color: var(--navbar-bg, rgba(255, 255, 255, 0.9));
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  z-index: 1000;
  padding: 15px 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--dark);
  text-decoration: none;
}

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

.nav-link {
  color: var(--gray-800);
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.nav-cta {
  background-color: var(--primary);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.875rem;
  box-shadow: var(--shadow-sm);
}

a.nav-cta:hover,
.nav-cta:hover {
  background-color: var(--primary-hover);
  color: var(--white) !important;
  transform: translateY(-1px);
}

/* Menú Hamburguesa Toggle */
.nav-toggle {
  display: none; /* Oculto en escritorio */
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  justify-content: space-between;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  transition: background-color 0.2s ease;
  z-index: 1001;
}

.nav-toggle:hover {
  background-color: var(--gray-100);
}

.nav-toggle:focus-visible {
  outline: var(--focus-outline) !important;
  outline-offset: 2px !important;
}

.hamburger-bar {
  display: block;
  width: 24px;
  height: 3px;
  background-color: var(--gray-800);
  border-radius: 2px;
  margin: 0 auto;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animación a 'X' del botón hamburguesa */
.nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(1) {
  transform: translateY(10.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(3) {
  transform: translateY(-10.5px) rotate(-45deg);
}

/* Hero Section */
.hero {
  padding: 80px 0 40px 0;
  background: 
    radial-gradient(circle at 90% 10%, hsla(var(--primary-hue), 100%, 91%, 0.8) 0%, transparent 60%),
    radial-gradient(circle at 10% 20%, hsla(var(--secondary-hue), 100%, 93%, 0.6) 0%, transparent 60%);
  position: relative;
}

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

.hero-content h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-content h1 span,
.title-accent {
  display: block;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 1.125rem;
  color: var(--gray-600);
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

a.btn-primary:hover,
.btn-primary:hover {
  background-color: var(--primary-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(180, 83, 9, 0.2);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--gray-800);
  border: 1px solid var(--gray-300);
}

a.btn-secondary:hover,
.btn-secondary:hover {
  background-color: var(--gray-100);
  color: var(--gray-800);
  transform: translateY(-2px);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

/* Dispositivos y Mockups premium */
.visual-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 24px;
  width: 100%;
  max-width: 460px;
  position: relative;
}

.visual-header {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--gray-300);
}

.dot:nth-child(1) { background-color: #ff5f56; }
.dot:nth-child(2) { background-color: #ffbd2e; }
.dot:nth-child(3) { background-color: #27c93f; }

/* Contenido Demo del Widget */
.demo-content h2 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.demo-content p {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-bottom: 20px;
}

/* Secciones de Contenido */
.section {
  padding: 60px 0;
}

.hero + .section {
  padding-top: 20px;
}

.section-bg {
  background-color: var(--gray-100);
}

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

.section-header h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--gray-600);
}

/* Grilla de Tarjetas */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 32px;
}

.card {
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 36px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--dark);
}

.card p {
  color: var(--gray-600);
  font-size: 0.9375rem;
  flex-grow: 1;
}

/* Sectores Especiales */
.tab-section {
  background-color: var(--white);
}

.tab-container {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  margin-top: 40px;
}

.tab-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tab-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  background: none;
  border: 1px solid var(--gray-200);
  padding: 20px 24px;
  text-align: left;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.tab-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--gray-600);
  transition: var(--transition);
  margin-top: 2px;
}

.tab-text {
  display: flex;
  flex-direction: column;
}

.tab-btn h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--dark);
}

.tab-btn p {
  font-size: 0.8125rem;
  color: var(--gray-600);
}

.tab-btn:hover {
  background-color: var(--gray-100);
}

.tab-btn:hover .tab-icon {
  color: var(--primary);
}

.tab-btn.active {
  border-color: var(--primary);
  background-color: var(--primary-light);
  box-shadow: 0 0 0 2px var(--primary-light);
}

.tab-btn.active h3 {
  color: var(--primary);
}

.tab-btn.active .tab-icon {
  color: var(--primary);
}

.tab-content {
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 48px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 400px;
  position: relative;
  overflow: hidden;
}

.tab-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
}

.tab-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
  margin-bottom: 24px;
}

.tab-feature-card {
  background-color: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: var(--transition);
}

.tab-feature-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
}

.tab-feature-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--dark);
}

.tab-feature-card p {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.6;
  margin: 0;
}

.tab-pane {
  display: none;
  animation: fadeIn 0.4s ease;
}

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

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

.tab-pane h3 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--dark);
}

.tab-pane p {
  font-size: 1rem;
  color: var(--gray-800);
  margin-bottom: 24px;
  line-height: 1.7;
}

.tab-pane ul {
  list-style: none;
  margin-bottom: 32px;
}

.tab-pane li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-weight: 500;
  color: var(--gray-800);
}

.tab-pane li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: 800;
  font-size: 1rem;
}

.badge-sector {
  display: inline-block;
  background-color: var(--primary-light);
  color: var(--primary);
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid hsla(var(--primary-hue), 100%, 35%, 0.15);
}

.badge-legal {
  display: inline-block;
  background-color: var(--secondary-light);
  color: var(--secondary);
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid hsla(var(--secondary-hue), 100%, 50%, 0.15);
}

/* Call to Action CTA Banner */
.cta-banner {
  background-color: #0d0c10;
  background-image: 
    radial-gradient(circle at 10% 20%, hsla(215, 85%, 45%, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 90% 80%, hsla(200, 90%, 50%, 0.12) 0%, transparent 45%);
  color: var(--white);
  padding: 90px 0;
  text-align: center;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-banner h2 {
  font-size: 2.375rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--white);
}

.cta-banner p {
  font-size: 1.0625rem;
  color: var(--gray-300);
  opacity: 0.85;
  max-width: 600px;
  margin: 0 auto 36px auto;
  line-height: 1.6;
}

.cta-banner .btn-primary {
  background: var(--gradient-primary);
  color: var(--white) !important;
  border: none;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(180, 83, 9, 0.3);
}

.cta-banner .btn-primary:hover {
  filter: brightness(1.15);
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(180, 83, 9, 0.45);
}

/* Info Box / Descargo de responsabilidad */
.info-box {
  background-color: var(--primary-light);
  border-left: 4px solid var(--primary);
  padding: 24px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-top: 32px;
}

.info-box h4 {
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 8px;
}

/* Footer */
.footer {
  background-color: var(--gray-100);
  color: var(--gray-800);
  border-top: 1px solid var(--gray-300);
  padding: 80px 0 40px 0;
  font-size: 0.875rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand h3 {
  font-size: 1.375rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--dark);
}

.footer-brand p {
  color: var(--gray-800);
  opacity: 0.8;
  max-width: 320px;
  line-height: 1.6;
}

.footer-links h3 {
  font-size: 0.975rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 1px;
  color: var(--dark);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--gray-800);
  opacity: 0.75;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--gray-300);
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--gray-800);
  opacity: 0.8;
}

.footer-bottom a {
  color: var(--gray-800);
  opacity: 1;
  transition: var(--transition);
}

.footer-bottom a:hover {
  color: var(--primary);
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-bottom-links a {
  font-weight: 600;
}

.footer-social a,
.footer-social span {
  color: var(--gray-800) !important;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.footer-social a:hover {
  color: var(--primary) !important;
}

/* Responsive */
@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-content p {
    margin: 0 auto 36px auto;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .tab-container {
    grid-template-columns: 1fr;
  }
  
  .tab-nav {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ── NAV: TABLETS Y PORTÁTILES PEQUEÑOS (768px – 1023px) ──
   Colapsa a hamburger en todo este rango.
*/
@media (max-width: 1023px) {
  .navbar .container {
    position: relative;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    left: 16px;
    right: 16px;
    background-color: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    box-shadow: var(--shadow-lg);
    z-index: 1000;

    /* Efecto ocultar / mostrar accesible */
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav-menu.active {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-link {
    display: block;
    padding: 12px 8px;
    width: 100%;
    border-bottom: 1px solid var(--gray-100);
    font-size: 0.9375rem;
  }

  .nav-link:hover,
  .nav-link.active {
    border-bottom-color: var(--primary);
    padding-left: 12px;
  }

  .nav-cta {
    display: block;
    text-align: center;
    margin-top: 12px;
    padding: 14px 20px;
    font-size: 0.9375rem;
  }
}

@media (max-width: 767px) {
  .hero-content h1 {
    font-size: 2rem;
    line-height: 1.25;
    margin-bottom: 20px;
  }
  
  .tab-features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }
}

/* Dashboard Mockups & Interactive Charts Styles */
.dashboard-live-mock {
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 30px;
  margin-top: 40px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.metric-card {
  background-color: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.metric-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: var(--primary);
  background-color: var(--white);
}

.metric-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.metric-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.metric-card:nth-child(1) .metric-icon { background-color: hsla(215, 100%, 35%, 0.1); color: var(--primary); }
.metric-card:nth-child(2) .metric-icon { background-color: hsla(211, 100%, 50%, 0.1); color: var(--secondary); }
.metric-card:nth-child(3) .metric-icon { background-color: hsla(145, 80%, 40%, 0.1); color: #2e7d32; }
.metric-card:nth-child(4) .metric-icon { background-color: hsla(38, 100%, 50%, 0.15); color: #b7791f; }

.metric-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
}

.metric-label {
  font-size: 0.8125rem;
  color: var(--gray-600);
  font-weight: 600;
  margin-top: 4px;
}

.chart-live-container {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 24px;
  background-color: var(--white);
  overflow-x: auto;
}

.chart-header-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-200);
}

.chart-title-box h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--dark);
}

.chart-title-box p {
  font-size: 0.8125rem;
  color: var(--gray-600);
}

.chart-toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.range-selector {
  display: flex;
  background-color: var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 4px;
  border: 1px solid var(--gray-200);
}

.btn-range {
  background: none;
  border: none;
  padding: 6px 16px;
  border-radius: 4px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-600);
  cursor: pointer;
  transition: var(--transition);
}

.btn-range:hover {
  color: var(--dark);
}

.btn-range.active {
  background-color: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.chart-filters {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.filter-checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-800);
  cursor: pointer;
  user-select: none;
}

.filter-checkbox {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 2px solid var(--gray-300);
  accent-color: var(--primary);
  cursor: pointer;
}

.chart-svg-wrapper {
  position: relative;
  width: 100%;
  overflow-x: auto;
}

.chart-svg-wrapper svg {
  border-radius: var(--radius-sm);
  outline: none;
  transition: box-shadow 0.2s ease;
}

.chart-svg-wrapper svg:focus-visible {
  box-shadow: 0 0 0 3px rgba(180, 83, 9, 0.2), 0 0 0 5px var(--primary);
}

/* Lineas y puntos interactivos */
.chart-line-path {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke-dasharray 0.3s ease;
}

.chart-point {
  cursor: pointer;
  r: 5px;
  transition: r 0.2s ease, stroke-width 0.2s ease;
  outline: none;
}

.chart-point:hover,
.chart-point:focus-visible,
.chart-point.active-point {
  r: 7.5px;
  stroke: var(--white);
  stroke-width: 2.5;
}

/* Tooltip interactivo */
.chart-live-tooltip {
  position: absolute;
  background-color: var(--tooltip-bg, rgba(255, 255, 255, 0.95));
  backdrop-filter: blur(8px);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  box-shadow: var(--shadow-md);
  font-size: 0.75rem;
  pointer-events: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.2s, transform 0.2s;
  z-index: 10;
  width: 180px;
}

.tooltip-date {
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
  border-bottom: 1px solid var(--gray-200);
  padding-bottom: 4px;
}

.tooltip-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.tooltip-color-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
}

.tooltip-value {
  font-weight: 700;
  color: var(--dark);
}

.chart-grid-line {
  stroke: var(--gray-200);
  stroke-dasharray: 4;
}

.chart-text {
  fill: var(--gray-600);
  font-family: inherit;
  font-size: 0.6875rem;
}

.chart-guide-line {
  stroke: var(--primary);
  stroke-width: 1.5;
  stroke-dasharray: 2;
}

/* Grid de Perfiles de Población */
.profiles-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 40px;
  justify-content: center;
}

.profile-card {
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  width: 340px;
  max-width: 100%;
  flex: 0 1 340px;
}

.profile-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.profile-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 30px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  align-self: flex-start;
}

.profile-card:nth-child(1) .profile-badge { background-color: hsla(215, 100%, 35%, 0.1); color: var(--primary); }
.profile-card:nth-child(2) .profile-badge { background-color: hsla(211, 100%, 50%, 0.1); color: var(--secondary); }
.profile-card:nth-child(3) .profile-badge { background-color: hsla(145, 80%, 40%, 0.1); color: #2e7d32; }
.profile-card:nth-child(4) .profile-badge { background-color: hsla(350, 80%, 50%, 0.1); color: #c62828; }
.profile-card:nth-child(5) .profile-badge { background-color: hsla(38, 100%, 50%, 0.15); color: #b7791f; }
.profile-card:nth-child(6) .profile-badge { background-color: hsla(180, 80%, 40%, 0.1); color: #00838f; }

.profile-badge.badge-visual {
  background-color: hsla(215, 100%, 35%, 0.1) !important;
  color: var(--primary) !important;
}
.profile-badge.badge-cognitive {
  background-color: hsla(180, 80%, 40%, 0.1) !important;
  color: #006064 !important;
}
.profile-badge.badge-navigation {
  background-color: hsla(145, 80%, 40%, 0.1) !important;
  color: #1b5e20 !important;
}

.profile-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.profile-card p {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-bottom: 20px;
  line-height: 1.6;
}

.profile-details {
  list-style: none;
  margin-top: auto;
  border-top: 1px solid var(--gray-100);
  padding-top: 16px;
}

.profile-details li {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gray-800);
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
}

.profile-details li::before {
  content: "•";
  color: var(--primary);
  font-weight: 800;
  position: absolute;
  left: 4px;
  top: -1px;
  font-size: 1rem;
}

/* Privacy Box */
.privacy-banner {
  background-color: hsla(215, 100%, 96%, 0.5);
  border: 1px solid hsla(215, 100%, 35%, 0.15);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 24px 30px;
  margin-top: 40px;
  display: flex;
  gap: 20px;
  align-items: center;
}

.privacy-banner-icon {
  color: var(--primary);
  flex-shrink: 0;
}

.privacy-banner-text h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.privacy-banner-text p {
  font-size: 0.875rem;
  color: var(--gray-800);
  line-height: 1.6;
  margin: 0;
}



.diapo-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin: 40px 0;
}

@media (min-width: 768px) {
  .diapo-container-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
  }
}

/* Ajustes ultra responsivos para viewports pequeños (por ejemplo, 320px) */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .logo-link {
    font-size: 1.25rem;
  }

  .hero-content h1 {
    font-size: 1.5rem;
    line-height: 1.2;
    margin-bottom: 16px;
  }

  .nav-menu {
    left: 16px;
    right: 16px;
    padding: 16px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  /* Ajustar tamaño de textos secundarios del hero */
  .hero-content p {
    font-size: 0.9375rem;
    margin-bottom: 24px;
  }

  .card {
    padding: 20px;
  }

  .profile-card {
    padding: 20px;
  }
}




/* ====== Dark Theme ======= */
[data-theme="dark"] {
  --white: #0a0a1a;
  --dark: #f8f9fa;
  --gray-100: #12122a;
  --gray-200: rgba(255, 255, 255, 0.04);
  --gray-300: rgba(255, 255, 255, 0.1);
  --gray-600: #a1a1b5;
  --gray-800: #f1f5f9;
  
  --primary: #fbbf24;
  --primary-hover: #f59e0b;
  --primary-light: rgba(245, 158, 11, 0.1);
  --gradient-primary: linear-gradient(135deg, var(--primary) 0%, hsl(var(--primary-hue), 90%, 75%) 100%);
  
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.5);
  
  color-scheme: dark;
}

[data-theme="dark"] .nav-cta {
  background: var(--primary);
  color: #0a0a1a !important;
}

[data-theme="dark"] .nav-cta:hover {
  background: var(--primary-hover);
}

[data-theme="dark"] a {
  color: var(--primary);
}

[data-theme="dark"] a:hover {
  color: var(--primary-hover);
}

/* Fix contrast for footer links in dark mode */
[data-theme="dark"] .footer-links a,
[data-theme="dark"] .footer-bottom a,
[data-theme="dark"] .footer-bottom-links a {
  color: var(--gray-800) !important;
  opacity: 1 !important;
}

[data-theme="dark"] .footer-links a:hover,
[data-theme="dark"] .footer-bottom a:hover,
[data-theme="dark"] .footer-bottom-links a:hover {
  color: var(--primary) !important;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  background: transparent;
  border: 1px solid var(--gray-300);
  color: var(--gray-800);
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.theme-toggle-btn:hover {
  background: var(--gray-100);
  color: var(--primary);
}

.theme-toggle-btn:focus-visible {
  outline: var(--focus-outline) !important;
}

@media (max-width: 991px) {
  .theme-toggle-wrapper {
    margin: 10px auto !important;
    justify-content: center;
    width: 100%;
  }
  .theme-toggle-btn {
    width: 100%;
    justify-content: center;
    padding: 10px;
  }
}

[data-theme="dark"] {
  --navbar-bg: rgba(10, 10, 26, 0.9);
}

[data-theme="dark"] {
  --tooltip-bg: rgba(10, 10, 26, 0.95);
}

[data-theme="dark"] .btn-primary {
  color: #0a0a1a !important;
}

[data-theme="dark"] a.btn-primary:hover,
[data-theme="dark"] .btn-primary:hover {
  color: #0a0a1a !important;
}

[data-theme="dark"] .btn-secondary {
  background-color: transparent !important;
  color: var(--gray-800) !important;
  border: 1px solid var(--gray-600) !important;
}

[data-theme="dark"] a.btn-secondary:hover,
[data-theme="dark"] .btn-secondary:hover {
  background-color: var(--gray-300) !important;
  color: var(--gray-800) !important;
  border-color: var(--gray-800) !important;
}

[data-theme="dark"] .diapo-zoom-indicator {
  background-color: rgba(255, 255, 255, 0.15);
  color: #f1f5f9;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .diapo-wrapper:hover .diapo-zoom-indicator {
  background-color: var(--primary);
  color: #0a0a1a;
  border-color: rgba(10, 10, 26, 0.3);
}

[data-theme="dark"] .hero {
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(245, 158, 11, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(217, 119, 6, 0.08) 0%, transparent 40%);
}

[data-theme="dark"] .section-bg {
  background-image: 
    radial-gradient(circle at 80% 30%, rgba(245, 158, 11, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 20% 70%, rgba(217, 119, 6, 0.05) 0%, transparent 40%);
}


/* Fix contrast for CTA banner in light mode */
[data-theme="light"] .cta-banner {
  background-color: var(--primary-light);
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(245, 158, 11, 0.1) 0%, transparent 45%),
    radial-gradient(circle at 90% 80%, rgba(217, 119, 6, 0.1) 0%, transparent 45%);
  color: var(--gray-800);
  border-top: 1px solid var(--gray-200);
}

[data-theme="light"] .cta-banner h2 {
  color: var(--gray-800);
}

[data-theme="light"] .cta-banner p {
  color: var(--gray-800);
}

/* Fix contrast for CTA banner in dark mode */
[data-theme="dark"] .img-skeleton {
  background-color: var(--gray-200);
}

[data-theme="dark"] .card-accent-green {
  background-color: rgba(46, 160, 67, 0.1);
  border-color: rgba(46, 160, 67, 0.3);
  border-left-color: #3fb950;
  box-shadow: 0 4px 12px rgba(46, 160, 67, 0.15);
}
[data-theme="dark"] .card-accent-green:hover {
  box-shadow: 0 6px 16px rgba(46, 160, 67, 0.25);
}

[data-theme="dark"] .cta-banner {
  background-color: var(--gray-100);
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(245, 158, 11, 0.15) 0%, transparent 45%),
    radial-gradient(circle at 90% 80%, rgba(217, 119, 6, 0.15) 0%, transparent 45%);
  color: var(--dark);
  border-top: 1px solid var(--gray-200);
}

[data-theme="dark"] .cta-banner h2 {
  color: var(--dark);
}

[data-theme="dark"] .cta-banner p {
  color: var(--gray-800) !important;
}

/* Brand Logos */
.brand-logo-dark, .auth-logo-dark, .footer-logo-dark { display: none; }
.brand-logo-light, .auth-logo-light, .footer-logo-light { display: block; }
.brand-logo-light, .brand-logo-dark { height: 32px; width: auto; }

[data-theme="dark"] .brand-logo-light,
[data-theme="dark"] .auth-logo-light,
[data-theme="dark"] .footer-logo-light { display: none !important; }

[data-theme="dark"] .brand-logo-dark,
[data-theme="dark"] .auth-logo-dark,
[data-theme="dark"] .footer-logo-dark { display: block !important; }

.logo-link { display: flex; align-items: center; }

[data-theme="dark"] .privacy-banner {
  background-color: var(--gray-100);
  border: 1px solid var(--gray-300);
  border-left: 4px solid var(--primary);
}

[data-theme="dark"] .privacy-banner-text h4 {
  color: var(--primary);
}

[data-theme="dark"] .privacy-banner-text p {
  color: var(--gray-800);
}

.footer-logo-light, .footer-logo-dark {
  height: 48px !important;
  max-width: 250px;
  width: auto;
  margin-bottom: 16px;
}

[data-theme="dark"] .privacy-banner-text h4 {
  color: var(--primary) !important;
}

[data-theme="dark"] .privacy-banner.banner-widget .privacy-banner-text h4 {
  color: #2dd4bf !important;
}
[data-theme="dark"] .privacy-banner-text p {
  color: var(--gray-600) !important;
}

[data-theme="dark"] .privacy-banner {
  background-color: var(--gray-100) !important;
  border-color: var(--gray-300) !important;
  border-left-color: var(--primary) !important;
}

[data-theme="dark"] .privacy-banner.banner-widget {
  border-left-color: #2dd4bf !important;
}

[data-theme="dark"] .privacy-banner-icon {
  color: var(--primary) !important;
}

[data-theme="dark"] .privacy-banner-icon.text-widget {
  color: #2dd4bf !important;
}

.privacy-banner.banner-widget {
  border-left-color: var(--widget-color);
}

[data-theme="dark"] .profile-card:nth-child(1) .profile-badge { color: #93c5fd; }
[data-theme="dark"] .profile-card:nth-child(2) .profile-badge { color: #fbbf24; }
[data-theme="dark"] .profile-card:nth-child(3) .profile-badge { color: #4ade80; }
[data-theme="dark"] .profile-card:nth-child(4) .profile-badge { color: #f87171; }
[data-theme="dark"] .profile-card:nth-child(5) .profile-badge { color: #fbbf24; }
[data-theme="dark"] .profile-card:nth-child(6) .profile-badge { color: #2dd4bf; }

[data-theme="dark"] .profile-badge.badge-visual { color: #93c5fd !important; }
[data-theme="dark"] .profile-badge.badge-cognitive { color: #2dd4bf !important; }
[data-theme="dark"] .profile-badge.badge-navigation { color: #4ade80 !important; }

/* Alineación de Marco Legal con A11Y PRO principal */
.legal-universe-dark {
  background-color: #0b0f19;
  background-image: radial-gradient(circle at 50% 120%, rgba(217, 119, 6, 0.15), transparent 60%);
  color: #ffffff;
  padding-bottom: 20px;
}

.legal-universe-dark .legal-hero {
  background: transparent;
  padding: 100px 0 20px 0;
  text-align: center;
}

.legal-universe-dark .legal-hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
}

.legal-universe-dark .legal-hero p {
  color: #94a3b8;
  margin: 0 auto;
  max-width: 650px;
  font-size: 1.125rem;
}

.legal-universe-dark .legal-regulations {
  padding-top: 20px;
}

.legal-universe-dark .section-header h2 {
  color: #ffffff !important;
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.legal-universe-dark .section-header p {
  color: #94a3b8 !important;
  font-size: 1.125rem;
}

.legal-universe-dark .section-header p strong {
  color: #ffffff;
}

.legal-universe-dark .legal-card {
  background-color: #111827;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 36px;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.legal-universe-dark .legal-card h3 {
  color: #ffffff !important;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.legal-universe-dark .legal-card p {
  color: #cbd5e1 !important;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.legal-universe-dark .legal-card:hover {
  transform: translateY(-8px);
  border-color: var(--secondary);
  box-shadow: 0 10px 30px rgba(217, 119, 6, 0.2);
}

/* Volver Arriba Button */
.back-to-top {
  position: fixed;
  bottom: 96px;
  right: 24px;
  z-index: 1000;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background-color: var(--primary);
  color: #fff;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, background-color 0.2s ease;
}

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

.back-to-top:hover {
  background-color: var(--primary-hover, var(--primary));
  transform: translateY(-2px);
}

.back-to-top:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

@media (max-width: 600px) {
  .back-to-top {
    bottom: 88px;
    right: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top {
    transition: opacity 0.2s ease, visibility 0.2s ease;
    transform: none;
  }
  .back-to-top:hover {
    transform: none;
  }
}

/* Hero Video Card - Impacto visual de marca */
.hero-video-card {
  margin: 0;
  width: 100%;
  max-width: 500px;
}

.hero-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 60px rgba(245, 158, 11, 0.25);
  background: linear-gradient(135deg, #0a0f1f 0%, #1a2540 100%);
  isolation: isolate;
}

.hero-video-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 80px rgba(245, 158, 11, 0.15);
  z-index: 1;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-video-toggle {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  background: rgba(10, 15, 31, 0.7);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.hero-video-toggle:hover {
  background: rgba(10, 15, 31, 0.9);
  border-color: rgba(255, 255, 255, 0.7);
}

.hero-video-toggle:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

.hero-video-toggle .icon-pause,
.hero-video-toggle .icon-play {
  display: none;
}

.hero-video-toggle[aria-pressed="true"] .icon-pause { display: inline-block; }
.hero-video-toggle[aria-pressed="false"] .icon-play { display: inline-block; }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Respetar preferencia de movimiento reducido del SO (JS pausará el video) */
@media (prefers-reduced-motion: reduce) {
  .hero-video-toggle {
    transition: none;
  }
}

/* Global mobile overrides for Hero and H1 */
@media (max-width: 767px) {
  .hero {
    padding: 60px 0 30px !important;
  }
  .hero-content h1,
  .hero h1 {
    font-size: 32px !important;
    line-height: 1.2 !important;
    margin-bottom: 16px !important;
    margin-top: 0 !important;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 30px 0 20px !important;
  }
  .hero-content h1,
  .hero h1 {
    font-size: 26px !important;
    line-height: 1.15 !important;
    margin-bottom: 12px !important;
    margin-top: 0 !important;
  }
}

/* Fix theme icon flicker on page load */
html[data-theme="dark"] #moon-icon { display: none !important; }
html[data-theme="dark"] #sun-icon { display: block !important; }
html[data-theme="light"] #moon-icon { display: block !important; }
html[data-theme="light"] #sun-icon { display: none !important; }
/* Página 404 */
.error-section {
  padding: 120px 0 80px 0;
  min-height: 60vh;
  display: flex;
  align-items: center;
}
.error-content {
  text-align: center;
}
.error-code {
  font-size: 120px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 24px;
  letter-spacing: -0.05em;
}
.error-title {
  font-size: 32px;
  margin-bottom: 16px;
}
.error-text {
  margin: 0 auto 32px auto;
  max-width: 600px;
  color: var(--gray-600);
  font-size: 18px;
}
.hero-buttons.is-centered {
  justify-content: center;
}

/* Blog Layout */
.blog-layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
  gap: 48px;
  align-items: start;
}

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

/* ===== Utilidades reutilizables (reemplazo de estilos inline) ===== */
.list-reset { list-style: none; padding: 0; margin: 0; }
.text-sm-muted { font-size: 14px; color: var(--gray-600); }
.text-center { text-align: center; }
.m-0 { margin: 0; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mt-40 { margin-top: 40px; }
.mt-48 { margin-top: 48px; }
.hero-buttons.is-centered { justify-content: center; }
.link-bold { font-weight: 700; text-decoration: underline; }
.btn-widget { border-color: var(--widget-border); color: var(--widget-color); }
.text-sm-muted-lh { font-size: 14px; color: var(--gray-600); line-height: 1.6; }
.text-muted { color: var(--gray-600); }
.text-xs-muted { font-size: 13px; color: var(--gray-600); margin: 0; }
.text-primary { color: var(--primary); }
.text-widget { color: var(--widget-color); }
.text-academy { color: var(--academy-color); }
.mt-20 { margin-top: 20px; }
.pt-10 { padding-top: 10px; }
.d-none { display: none; }
.flex-gap-6 { display: flex; align-items: center; gap: 6px; }
.flex-gap-12 { display: flex; align-items: center; gap: 12px; }
.mw-800-center { max-width: 800px; margin: 0 auto; }
.card-accent-primary { border-left: 4px solid var(--primary); }
.fc-primary { color: var(--primary); }
.fc-teal { color: #00838f; }
.fc-green { color: #2e7d32; }

/* ===== Componentes: Observatorio embed + Dashboard (analitica) ===== */
.observatorio-isotipo { max-height: 64px; width: auto; }
.observatorio-logo-header { max-height: 28px; width: auto; }
.observatorio-title-row {
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.observatorio-embed-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
.stat-card { text-align: center; padding: 24px; justify-content: center; }
.stat-figure { font-size: 40px; font-weight: 800; margin-bottom: 8px; }
.stat-card-title { font-size: 16px; margin-bottom: 4px; }
.embed-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gray-300);
  box-shadow: var(--shadow-md);
  background-color: var(--white);
}
.embed-header {
  background-color: var(--gray-100);
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--gray-200);
  flex-wrap: wrap;
  gap: 12px;
}
.btn-embed {
  padding: 6px 14px;
  font-size: 12px;
  margin: 0;
  border-color: var(--gray-300);
  color: var(--gray-800);
  background-color: var(--white);
}
.embed-iframe { width: 100%; height: 820px; border: 0; display: block; }
.observatorio-mobile-fallback {
  display: none;
  padding: 40px 20px;
  text-align: center;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--white);
}
.embed-fallback-title { font-size: 18px; font-weight: 700; color: var(--dark); margin-bottom: 12px; }
.embed-fallback-text { font-size: 14px; color: var(--gray-600); margin-bottom: 24px; max-width: 280px; }
.btn-fallback { padding: 12px 24px; font-size: 14px; margin: 0; width: 100%; max-width: 280px; }
.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--gray-100);
  padding-bottom: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 16px;
}
.dashboard-title { font-size: 20px; font-weight: 800; color: var(--dark); margin: 0; }
.dashboard-subtitle { font-size: 13px; color: var(--gray-600); margin: 4px 0 0 0; }
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #2e7d32;
  display: inline-block;
  animation: pulse 2s infinite;
}
.live-label { font-size: 12px; font-weight: 700; color: #2e7d32; }
.chart-interactive-svg {
  display: block;
  background-color: var(--white);
  cursor: crosshair;
  transition: box-shadow 0.2s;
  min-width: 700px;
}
.tooltip-color-dot.dot-critical { background-color: var(--primary); }
.tooltip-color-dot.dot-teal { background-color: #00838f; }
.tooltip-color-dot.dot-green { background-color: #2e7d32; }

/* ===== Componentes: Privacidad (analitica) ===== */
.privacy-title { font-size: 32px; font-weight: 800; color: var(--dark); text-align: center; margin-bottom: 20px; }
.privacy-intro { font-size: 16px; color: var(--gray-600); text-align: center; margin-bottom: 40px; line-height: 1.7; }

/* ===== Componentes: Ecosistema (página ecosistema) ===== */
.mb-0 { margin-bottom: 0; }
.page-title-xl { font-size: 44px; margin-bottom: 16px; }
.hero-lead { margin: 0 auto 16px auto; max-width: 760px; font-size: 18px; line-height: 1.7; }
.hero-subtext { margin: 0 auto 32px auto; max-width: 760px; font-size: 16px; line-height: 1.7; color: var(--gray-600); }
.product-card { padding: 24px; min-height: 520px; justify-content: space-between; }
.ecosistema-card-logo-row { min-height: 48px; display: flex; align-items: center; margin-bottom: 16px; }
.ecosistema-card-logo { max-height: 32px; width: auto; }
.product-card-title { font-size: 20px; margin-bottom: 12px; }
.product-card-text { font-size: 14px; margin-bottom: 16px; color: var(--gray-600); }
.feature-list {
  list-style: disc;
  padding-left: 20px;
  color: var(--gray-600);
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.btn-card { align-self: flex-start; padding: 8px 20px; font-size: 13px; }
.btn-design { border-color: var(--design-border); color: var(--design-color); }
.btn-academy { border-color: var(--academy-border); color: var(--academy-color); }
.btn-disabled {
  background-color: var(--gray-200);
  color: var(--gray-600);
  border: 1px solid var(--gray-300);
  cursor: not-allowed;
  border-radius: var(--radius-sm);
}
.badge-soon-inline {
  font-size: 0.5625rem;
  padding: 0.125rem 0.375rem;
  background-color: var(--docs-color);
  color: var(--white);
  border-radius: 4px;
  margin-left: 0.25rem;
  vertical-align: middle;
  white-space: nowrap;
}
.benefit-strategic-card { padding: 28px; }
.benefit-strategic-title { font-size: 18px; margin-bottom: 10px; }

/* ===== Componentes: Blog (listado) ===== */
.flex-col { display: flex; flex-direction: column; }
.gap-4 { gap: 4px; }
.text-dark { color: var(--dark); }
.blog-section { padding-top: 60px; padding-bottom: 80px; }
.blog-container { max-width: 1200px; margin: 0 auto; }
.blog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  border-bottom: 2px solid var(--gray-200);
  padding-bottom: 16px;
  flex-wrap: wrap;
  gap: 24px;
}
.blog-header-titles { display: flex; flex-direction: column; gap: 12px; flex: 1; max-width: 100%; }
.blog-title-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.blog-title { font-size: clamp(28px, 6vw, 36px); font-weight: 800; margin: 0; color: var(--dark); }
.blog-count {
  font-size: 16px;
  color: var(--gray-600);
  font-weight: 500;
  background: var(--gray-100);
  padding: 6px 14px;
  border-radius: 20px;
}
.blog-tag-desc { font-size: 18px; color: var(--gray-600); line-height: 1.6; max-width: 800px; margin: 0; }
.blog-filter-nav { width: 100%; display: flex; justify-content: flex-end; }
.blog-filter-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-weight: 600;
  font-size: 16px;
}
a.blog-filter-link { color: var(--gray-600); text-decoration: none; transition: color 0.2s; }
a.blog-filter-link:hover { color: var(--dark); }
a.blog-filter-link.is-active { color: var(--dark); border-bottom: 3px solid var(--dark); padding-bottom: 6px; }
.blog-main-col { display: flex; flex-direction: column; gap: 48px; }
.posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 40px; }
.blog-card { display: flex; flex-direction: column; }
.blog-card-media { display: block; overflow: hidden; border-radius: 12px; margin-bottom: 16px; box-shadow: var(--shadow-sm); }
.blog-card-img { width: 100%; height: 260px; object-fit: cover; transition: transform 0.4s ease; }
.blog-card-media:hover .blog-card-img { transform: scale(1.03); }
.blog-card-tags { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
a.blog-tag-chip {
  background: var(--gray-100);
  color: var(--dark);
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}
a.blog-tag-chip:hover { background: var(--gray-200); }
.blog-card-title { font-size: clamp(20px, 4vw, 24px); font-weight: 700; margin-bottom: 12px; line-height: 1.3; }
a.blog-card-title-link { color: var(--dark); text-decoration: none; transition: color 0.2s; }
a.blog-card-title-link:hover { color: var(--primary); }
.blog-card-excerpt {
  font-size: 16px;
  color: var(--gray-600);
  margin-bottom: 24px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-meta { margin-top: auto; display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--gray-600); font-weight: 500; }
.blog-card-avatar { width: 32px; height: 32px; border-radius: 6px; }
.blog-empty { grid-column: 1 / -1; padding: 40px; text-align: center; background: var(--gray-100); border-radius: 12px; }
.blog-empty-text { font-size: 18px; color: var(--gray-600); }

/* Paginación del blog */
.blog-pagination { display: flex; justify-content: center; gap: 8px; margin-bottom: 32px; }
.page-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--gray-200);
  color: var(--dark);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
}
.page-btn:hover { background: var(--gray-100); }
.page-btn.is-disabled { color: var(--gray-400); cursor: not-allowed; }
.page-btn.is-current { background: var(--primary); color: #fff; font-weight: 600; border-color: var(--primary); }
.page-dots {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 24px;
  height: 40px;
  color: var(--gray-400);
  font-weight: bold;
  letter-spacing: 2px;
}

/* Sidebar del blog */
.blog-sidebar { display: flex; flex-direction: column; gap: 32px; }
.sidebar-widget { background: var(--gray-100); border-radius: 16px; padding: 32px; }
.sidebar-brand-title { font-size: 28px; font-weight: 800; margin-bottom: 16px; color: var(--dark); display: flex; align-items: center; gap: 8px; }
.sidebar-brand-icon { width: 32px; height: 32px; }
.sidebar-intro-text { color: var(--gray-600); font-size: 16px; line-height: 1.6; margin-bottom: 24px; }
.sidebar-social { display: flex; gap: 12px; }
.sidebar-social-static { color: var(--dark); cursor: default; }
.sidebar-title { font-size: 20px; font-weight: 700; margin-bottom: 24px; color: var(--dark); }
.sidebar-featured-list { display: flex; flex-direction: column; gap: 20px; }
.sidebar-featured-item { display: flex; gap: 16px; text-decoration: none; align-items: flex-start; }
.sidebar-featured-img { width: 72px; height: 72px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.sidebar-featured-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.4;
  margin: 0 0 8px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sidebar-featured-date { font-size: 13px; color: var(--gray-600); font-weight: 500; }
.sidebar-tags { display: flex; flex-wrap: wrap; gap: 10px; }
a.sidebar-tag {
  background: var(--white);
  color: var(--dark);
  border: 1px solid var(--gray-200);
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}
a.sidebar-tag:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
a.sidebar-tag.is-active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ===== Componentes: Post (artículo individual) ===== */
.post-section { padding-top: 40px; padding-bottom: 80px; }
.post-container { max-width: 800px; }
.post-header { margin-bottom: 32px; }
.post-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 24px;
}
.post-title {
  font-size: clamp(28px, 8vw, 40px);
  margin-bottom: 16px;
  line-height: 1.2;
  color: var(--dark);
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}
.post-meta {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--gray-600);
  font-size: 14px;
  font-weight: 500;
  border-bottom: 1px solid var(--gray-200);
  padding-bottom: 24px;
  margin-bottom: 32px;
}
.post-avatar-lg { width: 40px; height: 40px; border-radius: 6px; }
.post-author-name { color: var(--dark); font-weight: 700; font-size: 16px; }
.post-meta-details { display: flex; flex-wrap: wrap; column-gap: 12px; row-gap: 4px; }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.lightbox-trigger {
  border: none;
  background: none;
  padding: 0;
  cursor: zoom-in;
  display: block;
  width: 100%;
  margin-bottom: 40px;
  transition: transform 0.2s;
}
.lightbox-trigger:hover { transform: scale(1.02); }
.post-hero-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}
#lightbox-dialog {
  padding: 0;
  border: none;
  background: transparent;
  max-width: 100vw;
  max-height: 100vh;
  overflow: visible;
  margin: auto;
}
#lightbox-dialog::backdrop { background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(4px); }
.lightbox-inner { position: relative; display: flex; justify-content: center; align-items: center; height: 100%; }
.lightbox-close {
  position: absolute;
  top: -20px;
  right: 0;
  background: var(--primary);
  color: white;
  border: 2px solid white;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 10;
}
.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  background: white;
  display: block;
  margin: 0 auto;
}
.post-content-body { font-size: 18px; line-height: 1.8; color: var(--dark); }
.blog-content h2 { margin-top: 48px; margin-bottom: 20px; font-size: 28px; font-weight: 800; }
.blog-content h3 { margin-top: 36px; margin-bottom: 16px; font-size: 22px; font-weight: 700; }
.blog-content p { margin-bottom: 24px; }
.blog-content pre { margin-top: 24px; margin-bottom: 32px; border-radius: 12px; }
.blog-content table { margin-top: 24px; margin-bottom: 32px; }
.blog-content ul { margin-bottom: 24px; padding-left: 24px; margin-top: 16px; }
.blog-content li { margin-bottom: 12px; }
pre code.hljs { background: transparent !important; padding: 0 !important; }
.text-tldr { font-size: 0.85em; color: var(--gray-500); font-weight: 500; }
.post-share-bar {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.post-share-label { font-size: 16px; font-weight: 600; color: var(--dark); }
.post-share-links { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; }
a.share-link {
  color: var(--gray-600);
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
a.share-link:hover { color: var(--primary); }
.post-related { margin-top: 64px; }
.post-related-title { font-size: 24px; font-weight: 800; margin-bottom: 32px; color: var(--dark); }
.post-related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 32px; }
.related-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s;
}
.related-card:hover { transform: translateY(-4px); }
.related-card-img { width: 100%; height: 180px; object-fit: cover; }
.related-card-body {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-top: none;
  border-radius: 0 0 12px 12px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.related-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 12px 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.related-card-meta { margin-top: auto; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--gray-600); font-weight: 500; }
.post-cta-box { margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--gray-200); text-align: center; }
.post-cta-title { font-size: 24px; margin-bottom: 16px; }
.post-cta-text { margin-bottom: 24px; color: var(--gray-600); }

/* ===== Componentes: Declaración de accesibilidad (cumplimiento) ===== */
.reality-logo-row { min-height: 48px; display: flex; align-items: center; margin-bottom: 20px; }
.declaration-box {
  background-color: var(--white);
  border: 1px solid var(--gray-300);
  padding: 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}
.declaration-title { font-size: 24px; font-weight: 800; color: var(--dark); margin-bottom: 16px; }
.declaration-text { font-size: 16px; color: var(--gray-600); margin-bottom: 20px; line-height: 1.8; }
.declaration-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 24px;
  margin-top: 32px;
  margin-bottom: 32px;
  list-style: none;
  padding: 0;
}
.declaration-card {
  border: 1px solid var(--gray-200);
  padding: 24px;
  border-radius: var(--radius-sm);
  background-color: var(--gray-100);
}
.declaration-card-title { font-size: 18px; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.declaration-footnote {
  font-size: 14px;
  color: var(--gray-600);
  font-style: italic;
  border-top: 1px solid var(--gray-200);
  padding-top: 16px;
  margin: 0;
}

/* Hero / cabeceras de página reutilizables */
.hero--compact { padding: 80px 0 40px 0; }
.hero--intro { padding: 60px 0 20px 0; }
.page-title { font-size: 40px; margin-bottom: 16px; }
.page-intro { margin: 0 auto; max-width: 760px; }
.page-intro-narrow { margin: 0 auto; max-width: 650px; }

/* Estadísticas / números destacados */
.stat-number {
  font-size: 48px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.stat-number-sm {
  font-size: 40px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.benefit-list {
  list-style: disc;
  padding-left: 20px;
  color: var(--gray-600);
  font-size: 14px;
  line-height: 1.7;
  margin-top: 12px;
}

/* ===== Componentes: Ecosistema (index) ===== */
.card-accent-design { border-left: 4px solid var(--design-border); }
.card-accent-scanner { border-left: 4px solid var(--scanner-border); }
.card-accent-widget { border-left: 4px solid var(--widget-border); }
.card-accent-academy { border-left: 4px solid var(--academy-border); }
.card-accent-docs { border-left: 4px solid var(--docs-border); }
.brand-thumb { height: 32px; margin-bottom: 12px; object-fit: contain; }
.brand-thumb-inline { height: 32px; object-fit: contain; }
.docs-logo-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 12px; }
.badge-soon {
  font-size: 9px;
  padding: 2px 6px;
  background-color: var(--docs-color);
  color: var(--white);
  border-radius: 4px;
  font-weight: 700;
}

/* ===== Componentes: Observatorio (index) ===== */
.observatorio-header { text-align: center; margin-bottom: 40px; }
.observatorio-title { font-size: 32px; font-weight: 800; color: var(--dark); margin: 0; }
.observatorio-badge {
  background-color: rgba(22, 101, 216, 0.1);
  color: var(--primary);
  border: 1px solid var(--primary);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 12px;
}
.observatorio-subtitle { font-size: 20px; font-weight: 700; color: var(--dark); margin: 0 0 12px 0; }
.observatorio-desc { max-width: 800px; margin: 0 auto; color: var(--gray-600); line-height: 1.7; }
.status-row { display: flex; align-items: center; gap: 8px; }
.status-label-green { font-size: 11px; font-weight: 700; color: #2e7d32; letter-spacing: 0.5px; }
.observatorio-banner-text { max-width: 620px; }
.observatorio-banner-title { font-size: 22px; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.observatorio-banner-desc { font-size: 15px; color: var(--gray-600); margin: 0; line-height: 1.7; }
.observatorio-banner-cta { padding: 12px 28px; font-size: 14px; margin: 0; }

/* CTA Agenda Component */
.cta-agenda-section {
  padding-top: 40px;
  padding-bottom: 80px;
}
.cta-agenda-box {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 24px;
  padding: 64px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-agenda-glow-1 {
  position: absolute;
  top: -50%;
  left: -10%;
  width: 50%;
  height: 200%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
  transform: rotate(30deg);
  pointer-events: none;
}
.cta-agenda-glow-2 {
  position: absolute;
  bottom: -50%;
  right: -10%;
  width: 50%;
  height: 200%;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.15) 0%, transparent 70%);
  transform: rotate(-30deg);
  pointer-events: none;
}
.cta-agenda-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}
.cta-agenda-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
  line-height: 1.2;
}
.cta-agenda-desc {
  font-size: 1.125rem;
  color: var(--gray-600);
  margin-bottom: 40px;
  line-height: 1.7;
}
.cta-agenda-desc strong {
  color: var(--dark);
}
.cta-agenda-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff !important;
  padding: 16px 40px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: none;
  box-shadow: 0 10px 15px -3px rgba(245, 158, 11, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}
.cta-agenda-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 20px -3px rgba(245, 158, 11, 0.4);
}

.btn-start {
  align-self: flex-start;
}
.mt-30 {
  margin-top: 30px;
}
.mb-48 {
  margin-bottom: 48px;
}
.mb-40 {
  margin-bottom: 40px;
}
.pt-20 {
  padding-top: 20px;
}
.card-accent-green {
  border-left: 4px solid #2ea043;
  background-color: rgba(46, 160, 67, 0.05);
  border-color: rgba(46, 160, 67, 0.2);
  box-shadow: 0 4px 12px rgba(46, 160, 67, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-accent-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(46, 160, 67, 0.12);
}
.mb-8 {
  margin-bottom: 8px;
}
.mb-30 {
  margin-bottom: 30px;
}
.mt-24 {
  margin-top: 24px;
}
.mt-50 {
  margin-top: 50px;
}
.declaration-highlight-note {
  font-style: italic;
  color: var(--primary);
  font-weight: 600;
  text-align: center;
  border-top: 1px solid var(--gray-300);
  padding-top: 24px;
  margin-top: 40px;
  font-size: 16px;
}

/* Utilities */
.text-left { text-align: left !important; }
.ml-0 { margin-left: 0 !important; }
.w-100 { width: 100% !important; max-width: 100% !important; }
.mb-50 { margin-bottom: 50px; }
.mb-60 { margin-bottom: 60px; }

/* Glow Feature Card Component */
.glow-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.glow-feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 32px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.glow-spotlight {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  filter: blur(40px);
  border-radius: 50%;
}
.glow-spotlight.spotlight-green { background: rgba(16, 185, 129, 0.15); }
.glow-spotlight.spotlight-blue { background: rgba(245, 158, 11, 0.15); }
.glow-spotlight.spotlight-purple { background: rgba(168, 85, 247, 0.15); }

.glow-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  margin-bottom: 20px;
}
.glow-card-icon.icon-green { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.glow-card-icon.icon-blue { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.glow-card-icon.icon-purple { background: rgba(168, 85, 247, 0.1); color: #a855f7; }

.glow-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 12px;
  font-family: 'Inter', sans-serif;
}
.glow-card-desc {
  color: var(--gray-600);
  line-height: 1.6;
  margin: 0;
}
.glow-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.08);
  border-color: rgba(255,255,255,0.15);
}
[data-theme="dark"] .glow-feature-card:hover {
  border-color: rgba(255,255,255,0.2) !important;
}

/* ===== Clases adicionales para remover inline styles de index y analitica ===== */
.list-reset {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.link-bold-underline {
  font-weight: 700;
  text-decoration: underline;
}

.brand-logo-height {
  height: 38px !important;
}

/* Ecosystem Grid (Migrado desde index.ejs) */
.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
.ecosystem-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  color: var(--dark);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ecosystem-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.6);
}
.ecosystem-card.scanner {
  border-left: 4px solid #3B82F6;
}
.ecosystem-card.widget {
  border-left: 4px solid #14B8A6;
}
.ecosystem-card-logo {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
}
.ecosystem-card-logo img {
  height: 32px;
  width: auto;
}
.ecosystem-card-logo span {
  font-size: 1.5rem;
  font-weight: 800;
  margin-left: 10px;
  letter-spacing: -0.02em;
}
.ecosystem-card-logo .scanner-text {
  color: #3B82F6;
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 700;
  margin-left: 5px;
  margin-top: 5px;
}
.ecosystem-card-logo .widget-text {
  color: #14B8A6;
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 700;
  margin-left: 5px;
  margin-top: 5px;
}
.ecosystem-card p {
  color: var(--gray-600);
  line-height: 1.7;
  font-size: 1rem;
  margin-bottom: 1rem;
}
.ecosystem-card p strong {
  color: var(--dark);
}
.ecosystem-card-link {
  margin-top: auto;
  padding-top: 1.5rem;
}
.ecosystem-card-link a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  transition: color 0.2s;
}
.ecosystem-card.scanner .ecosystem-card-link a { color: #2563EB; }
.ecosystem-card.widget .ecosystem-card-link a { color: var(--widget-color); }
.ecosystem-card.scanner .ecosystem-card-link a:hover { color: #1D4ED8; }
.ecosystem-card.widget .ecosystem-card-link a:hover { color: #095951; }

[data-theme="dark"] .ecosystem-card.scanner .ecosystem-card-link a { color: #3B82F6; }
[data-theme="dark"] .ecosystem-card.widget .ecosystem-card-link a { color: #14B8A6; }
[data-theme="dark"] .ecosystem-card.scanner .ecosystem-card-link a:hover { color: #60A5FA; }
[data-theme="dark"] .ecosystem-card.widget .ecosystem-card-link a:hover { color: #2DD4BF; }

/* CTA Final Section (index.ejs) */
.cta-final-section {
  text-align: center;
  padding: 5rem 1rem;
}
.cta-final-title {
  margin-bottom: 1.5rem;
  font-size: 2.2rem;
}
.cta-final-desc {
  margin-bottom: 2.5rem;
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.cta-final-btn {
  font-size: 1.15rem;
  padding: 1rem 2.5rem;
}

/* Analitica View Classes (analitica.ejs) */
.hero-analitica {
  padding: 60px 0 20px 0;
}
.hero-analitica-container {
  text-align: center;
}
.hero-analitica-title {
  font-size: 40px;
  margin-bottom: 16px;
}
.hero-analitica-desc {
  margin: 0 auto;
  max-width: 650px;
  color: var(--gray-600);
}
.section-padding-top-10 {
  padding-top: 10px;
}
.dashboard-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--gray-100);
  padding-bottom: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 16px;
}
.dashboard-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
  margin: 0;
}
.dashboard-subtitle {
  font-size: 13px;
  color: var(--gray-600);
  margin: 4px 0 0 0;
}
.dashboard-status-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}
.dashboard-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #2e7d32;
  display: inline-block;
  animation: pulse 2s infinite;
}
.dashboard-status-text {
  font-size: 12px;
  font-weight: 700;
  color: #2e7d32;
}
[data-theme="dark"] .dashboard-status-text {
  color: #4ade80 !important;
}

/* Filter label colors */
.filter-label-red {
  color: #dc2626;
}
[data-theme="dark"] .filter-label-red {
  color: #ff5f56 !important;
}
.filter-label-orange {
  color: #c2410c;
}
.filter-label-yellow {
  color: #854d0e;
}
.filter-label-blue {
  color: #0369a1;
}

/* Split grids and cards */
.analytics-split-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 30px;
}
.analytics-card {
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.analytics-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.analytics-card-title svg {
  color: var(--primary);
}
.progress-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.progress-row-info {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 4px;
  color: var(--gray-600);
}
.progress-row-info span:last-child {
  font-weight: 700;
  color: var(--dark);
}
.progress-bar-container {
  width: 100%;
  height: 8px;
  background-color: var(--gray-100);
  border-radius: 4px;
  overflow: hidden;
}
.progress-bar-chrome {
  width: 45%;
  height: 100%;
  background-color: #fbbc05;
}
.progress-bar-firefox {
  width: 30%;
  height: 100%;
  background-color: #ff7139;
}
.progress-bar-safari {
  width: 25%;
  height: 100%;
  background-color: #007aff;
}
.progress-bar-desktop {
  width: 55%;
  height: 100%;
  background-color: #4f46e5;
}
.progress-bar-mobile {
  width: 35%;
  height: 100%;
  background-color: #0ea5e9;
}
.progress-bar-tablet {
  width: 10%;
  height: 100%;
  background-color: #8b5cf6;
}

/* Evidence Card styles (migrated from analitica.ejs) */
.evidence-card {
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  margin: 0;
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-md);
  padding: 28px;
}
.evidence-card .evidence-divider {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--gray-200);
  padding-bottom: 12px;
  margin-bottom: 16px;
}
.evidence-card .evidence-id {
  color: var(--gray-600);
  font-size: 12px;
  font-family: monospace;
}
.evidence-card .evidence-badge-critical {
  background-color: hsla(0, 100%, 50%, 0.1);
  color: #dc2626;
  font-weight: 700;
}
.evidence-card .evidence-title {
  color: var(--dark);
  margin-top: 8px;
  font-size: 16px;
}
.evidence-card .evidence-desc {
  color: var(--gray-600);
  font-size: 13px;
  margin-bottom: 16px;
}
.evidence-card .evidence-block {
  background-color: var(--gray-100);
  border-color: var(--gray-200);
  padding: 12px;
  border-radius: var(--radius-sm);
  border: 1px solid;
  margin-bottom: 16px;
}
.evidence-card .evidence-label {
  color: var(--gray-600);
  font-size: 11px;
  display: block;
  margin-bottom: 4px;
}
.evidence-card .evidence-label-extra {
  margin-bottom: 6px;
}
.evidence-card .evidence-code-selector {
  color: var(--primary);
  font-size: 12px;
  font-family: monospace;
  word-break: break-all;
}
.evidence-card .evidence-code-pre {
  margin: 0;
  padding: 0;
  font-size: 12px;
  font-family: monospace;
  overflow-x: auto;
}
.evidence-card .evidence-code-error {
  color: #b91c1c;
}
.evidence-card .evidence-remediation {
  background-color: rgba(46, 160, 67, 0.08);
  border-left-color: #2ea043;
  padding: 12px;
  border-radius: var(--radius-sm);
  border-left: 3px solid;
}
.evidence-card .evidence-remediation-label {
  color: #16a34a;
  font-size: 11px;
  font-weight: bold;
  display: block;
  margin-bottom: 4px;
}
.evidence-card .evidence-code-fix {
  color: var(--dark);
  font-size: 12px;
  font-family: monospace;
  word-break: break-all;
}
.evidence-card .evidence-code-highlight {
  color: #16a34a;
  font-weight: bold;
}

[data-theme="dark"] .evidence-card {
  background-color: #0d1117;
  border-color: rgba(255,255,255,0.06);
}
[data-theme="dark"] .evidence-card .evidence-divider {
  border-color: #30363d;
}
[data-theme="dark"] .evidence-card .evidence-id {
  color: #8b949e;
}
[data-theme="dark"] .evidence-card .evidence-title {
  color: #c9d1d9;
}
[data-theme="dark"] .evidence-card .evidence-desc {
  color: #8b949e;
}
[data-theme="dark"] .evidence-card .evidence-block {
  background-color: #161b22;
  border-color: #30363d;
}
[data-theme="dark"] .evidence-card .evidence-label {
  color: #8b949e;
}
[data-theme="dark"] .evidence-card .evidence-code-selector {
  color: #a5d6ff;
}
[data-theme="dark"] .evidence-card .evidence-code-error {
  color: #ff7b72;
}

[data-theme="dark"] .traceability-item {
  background-color: #1a1a24;
  border-color: #3a3a4a;
}
[data-theme="dark"] .traceability-title {
  color: #f8f9fa;
}
[data-theme="dark"] .traceability-desc {
  color: #9ca3af;
}

[data-theme="dark"] .evidence-card .evidence-remediation {
  background-color: rgba(46, 160, 67, 0.1);
}
[data-theme="dark"] .evidence-card .evidence-remediation-label {
  color: #3fb950;
}
[data-theme="dark"] .evidence-card .evidence-code-fix {
  color: #c9d1d9;
}
[data-theme="dark"] .evidence-card .evidence-code-highlight {
  color: #3fb950;
}

/* Columna de Trazabilidad y Contexto */
.diapo-text-desc {
  font-size: 16px;
  color: var(--gray-600);
  margin: 16px 0 24px 0;
  line-height: 1.8;
}
.traceability-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 32px;
}

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

.traceability-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 24px;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.traceability-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.traceability-icon-wrapper {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.traceability-icon-wrapper.blue {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}
.traceability-icon-wrapper.green {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}
.traceability-icon-wrapper.purple {
  background: rgba(168, 85, 247, 0.1);
  color: #a855f7;
}
.traceability-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}
.traceability-desc {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.5;
  margin: 0;
}

/* Sección de Privacidad */
.privacy-wrapper {
  max-width: 800px;
  margin: 0 auto;
}
.privacy-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--dark);
  text-align: center;
  margin-bottom: 20px;
}
.privacy-desc {
  font-size: 16px;
  color: var(--gray-600);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.7;
}
.privacy-banner-spacing {
  margin-top: 20px;
}

/* SVG interactivo */
.interactive-svg-chart {
  display: block;
  background-color: var(--white);
  cursor: crosshair;
  transition: box-shadow 0.2s;
  min-width: 700px;
}

/* Clases utilitarias adicionales */
.display-none {
  display: none !important;
}
.bg-critical {
  background-color: #dc2626 !important;
}
.bg-serious {
  background-color: #ea580c !important;
}
.bg-moderate {
  background-color: #ca8a04 !important;
}
.bg-minor {
  background-color: #0284c7 !important;
}

/* Global Image Skeleton Utility */
.img-skeleton {
  background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%);
  background-size: 400% 100%;
  animation: img-skeleton-loading 1.4s ease infinite;
  color: transparent;
}

[data-theme="dark"] .img-skeleton {
  background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-300) 50%, var(--gray-200) 75%);
  background-size: 400% 100%;
}

@keyframes img-skeleton-loading {
  0% { background-position: 100% 50%; }
  100% { background-position: 0 50%; }
}

@media (max-width: 768px) {
  .privacy-banner {
    flex-direction: column;
    text-align: center;
    padding: 24px 16px;
    gap: 16px;
  }
  .privacy-banner-icon {
    margin-bottom: 8px;
  }
  .declaration-box {
    padding: 24px 16px;
  }
  .profile-card, .evidence-card {
    padding: 16px !important;
  }
  .evidence-card .evidence-divider {
    flex-wrap: wrap;
    gap: 8px;
  }
  .evidence-card .evidence-block,
  .evidence-card .evidence-remediation {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
  .evidence-card .evidence-code-selector,
  .evidence-card .evidence-code-fix {
    white-space: normal !important;
    word-break: break-all !important;
  }
  .diapo-text-content {
    margin-top: 48px;
  }
  .traceability-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* --- Pricing CSS --- */
.pricing-section { padding-top: 0; padding-bottom: 80px; }
.hero-pricing { padding-bottom: 20px!important; }
.title-accent { color: var(--primary, hsl(174, 54%, 55%)); }
.page-intro-narrow { max-width: 900px; margin: 1rem auto 0; font-size: 1.15rem; line-height: 1.6; color: var(--gray-600, #8fa0bc); }
.link-bold-underline { font-weight: 700!important; text-decoration: underline!important; text-underline-offset: 4px!important; }
.pricing-category-wrapper { margin-bottom: 1.5rem; }
.pricing-category-selector { display: inline-flex; background: var(--gray-200, #1c2b44); border: 1px solid var(--gray-300, #2a3c58); border-radius: 50px; padding: 4px; box-shadow: 0 2px 5px rgba(0,0,0,0.2); }
.category-btn { font-family: inherit; background: transparent; color: var(--gray-600, #8fa0bc); border: none; padding: 0.75rem 1.5rem; border-radius: 50px; font-weight: 600; cursor: pointer; transition: all 0.2s ease; margin-right: 4px; }
.category-btn.active { background: var(--primary, hsl(174, 54%, 55%)); color: #ffffff; }
.pricing-currency-selector { display: flex; justify-content: center; gap: 0.35rem; margin: 0 auto 2.5rem; max-width: 400px; background: var(--gray-200, #1c2b44); border: 1px solid var(--gray-300, #2a3c58); padding: 0.35rem; border-radius: 30px; }
.pricing-currency-btn { padding: 0.5rem 1.5rem; border-radius: 20px; font-size: 0.85rem; font-weight: 700; border: none; outline: none; cursor: pointer; transition: all 0.2s ease; background: transparent; color: var(--gray-600, #8fa0bc); font-family: inherit; }
.pricing-currency-btn.active { background: var(--primary, hsl(174, 54%, 55%)); color: #ffffff; }
.pricing-grid { display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: 24px; align-items: center; max-width: 1100px; margin: 0 auto; }
.pricing-card { background: var(--gray-100, #111d30); border: 1px solid var(--gray-200, #1c2b44); border-radius: var(--radius-md, 16px); padding: 2rem; text-align: left; position: relative; transition: all 0.3s ease; box-shadow: var(--shadow-sm); }
.pricing-card:hover { box-shadow: var(--shadow-md); border-color: var(--primary); }
.pricing-card--featured { border: 2px solid var(--primary, hsl(174, 54%, 55%)); padding: 2.5rem 2rem; box-shadow: 0 20px 40px rgba(0,0,0,0.4); transform: scale(1.04); z-index: 10; }
.pricing-popular-badge { position: absolute; top: -14px; left: 50%; transform: translate(-50%); background: var(--primary, hsl(174, 54%, 55%)); color: #ffffff; font-size: 0.75rem; font-weight: 700; padding: 0.25rem 0.85rem; border-radius: 12px; display: inline-flex; align-items: center; gap: 0.3rem; letter-spacing: 0.5px; white-space: nowrap; }
.pricing-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; flex-wrap: wrap; gap: 0.5rem; }
.pricing-card-header h2 { font-size: 1.5rem; font-weight: 700; margin: 0; color: var(--dark, #eef2f7); }
.pricing-badge { background: var(--gray-200, #1c2b44); color: var(--gray-600, #8fa0bc); font-size: 0.75rem; font-weight: 600; padding: 0.25rem 0.65rem; border-radius: 6px; white-space: nowrap; }
.pricing-card-desc { color: var(--gray-600, #8fa0bc); font-size: 0.9rem; margin-bottom: 1.5rem; line-height: 1.5; }
.pricing-price { font-size: 2.5rem; font-weight: 800; color: var(--dark, #eef2f7); margin: 1.5rem 0; line-height: 1.2; white-space: nowrap; letter-spacing: -1px; }
.pricing-price-amount { font-size: inherit; font-weight: inherit; }
.pricing-price-period { font-size: 1rem; font-weight: 500; color: var(--gray-600, #8fa0bc); letter-spacing: normal; }
.pricing-savings { margin-top: 1rem; margin-bottom: 2rem; background: rgba(78, 202, 190, 0.1); border: 1px solid rgba(78, 202, 190, 0.2); padding: 1rem; border-radius: 12px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.4rem; min-height: 76px; justify-content: center; }
.pricing-savings-badge { background: #10b981; color: #022c22; padding: 0.25rem 0.75rem; border-radius: 12px; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.5px; display: inline-flex; align-items: center; gap: 0.3rem; white-space: nowrap; }
.pricing-savings-price { font-size: 1.1rem; font-weight: 700; color: #10b981; white-space: nowrap; }
.pricing-cta { width: 100%; margin-bottom: 2rem; text-align: center; justify-content: center; font-weight: 700; }
.pricing-features { list-style: none; padding: 0; margin: 0 0 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.pricing-features li { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.9rem; color: var(--gray-800, #f8f9fa); line-height: 1.5; }
.pricing-check { width: 18px; height: 18px; flex-shrink: 0; color: var(--primary, hsl(174, 54%, 55%)); margin-top: 2px; }
.pricing-contact { margin-top: 3.5rem; text-align: center; background: var(--gray-100, #111d30); border: 1px solid var(--gray-200, #1c2b44); border-radius: var(--radius-md, 16px); padding: 2.5rem 2rem; max-width: 850px; margin-left: auto; margin-right: auto; box-shadow: var(--shadow-sm); }
.pricing-contact-icon { width: 48px; height: 48px; background: rgba(78, 202, 190, 0.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; color: var(--primary); }
.pricing-contact h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.75rem; color: var(--dark, #eef2f7); }
.pricing-contact p { font-size: 1.05rem; color: var(--gray-600, #8fa0bc); margin-bottom: 1.5rem; line-height: 1.6; max-width: 650px; margin-left: auto; margin-right: auto; }
.pricing-contact .btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; }
@media (max-width: 991px) { .pricing-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; } .pricing-card--featured { transform: none; order: -1; } }
@media (max-width: 480px) { .pricing-currency-selector { flex-wrap: wrap; border-radius: 8px; } .pricing-currency-btn { flex: 1; min-width: 80px; padding: 0.45rem 0.75rem; font-size: 0.8rem; } .pricing-card { padding: 1.5rem 1.25rem; } .pricing-card--featured { padding: 1.5rem 1.25rem; } .pricing-price { font-size: 2.1rem; } .pricing-contact { padding: 1.5rem 1.25rem; } }
@media (max-width: 375px){.pricing-grid{grid-template-columns:minmax(0,1fr);width:100%}.pricing-card,.pricing-card--featured{padding:1.2rem 1rem;min-width:0;word-break:break-word}.pricing-price{font-size:1.8rem}.pricing-currency-btn,.category-btn{padding:.35rem .5rem;font-size:.75rem;min-width:0;flex:1}.pricing-savings-detail{flex-wrap:wrap;justify-content:center}}
[data-theme="dark"] .category-btn.active, [data-theme="dark"] .pricing-currency-btn.active, [data-theme="dark"] .pricing-popular-badge { color: #0a111c; }
