
svg.i,
.rubro__icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  display: block;
}

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

:root {
  --verde: #2DBC66;
  --verde-hover: #1F9D55;
  --verde-pressed: #178A46;
  --verde-oscuro: #14532D;
  --verde-claro: #E8F8EF;
  --verde-glow: rgba(45, 188, 102, 0.12);
  --verde-surface: #F8FAFC;
  --rojo: #B42318;
  --fondo: #FFFFFF;
  --fila-alterna: #F5F9F6;
  --texto: #1A1A1A;
  --texto-secundario: #4B5563;
  --texto-terciario: #9CA3AF;
  --borde: #E5E7EB;
  --borde-sutil: rgba(0, 0, 0, 0.04);
  --sombra-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --sombra-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --sombra-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --sombra-lg: 0 8px 32px rgba(0, 0, 0, 0.10);
  --sombra-verde: 0 4px 24px rgba(45, 188, 102, 0.15);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --verde-profundo: #0D3A1F;
  --verde-borde: rgba(45, 188, 102, 0.25);
  --rojo-claro: #FEE4E2;
  --rojo-oscuro: #7A1911;
  --hair: rgba(10, 20, 46, 0.09);
  --hair-2: rgba(10, 20, 46, 0.16);
  --r-panel: 10px;
  --r-card: 8px;
  --r-pill: 9999px;
  --white: #FFFFFF;
  --canvas-alt: #F9FAFB;
  --ink: #1A1A1A;
  --text: #4B5563;
  --muted: #6B7280;
  --verde-10: rgba(45, 188, 102, 0.12);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --f-display: "Plus Jakarta Sans", Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --f-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --f-text: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --f-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --f-serif: "Newsreader", "Playfair Display", Georgia, Cambria, serif;
  --gap-section: clamp(64px, 8vw, 112px);

  font: 100%/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-optical-sizing: auto;
  color: var(--texto);
  background: var(--fondo);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 4rem;
}

body {
  overflow-x: hidden;
  overflow-x: clip;
  overflow-wrap: break-word;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.nav {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translate3d(-50%, -120%, 0);
  opacity: 0;
  pointer-events: none;
  width: calc(100% - 2rem);
  max-width: 1040px;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(20px) saturate(190%);
  backdrop-filter: blur(20px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 9999px;
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.8), 0 4px 20px -2px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  clip-path: inset(0 round 9999px);
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1), opacity 240ms ease, background-color 240ms var(--ease-out), border-color 240ms var(--ease-out), box-shadow 240ms var(--ease-out);
}

.nav.nav--visible {
  transform: translate3d(-50%, 0, 0);
  opacity: 1;
  pointer-events: auto;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.84);
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.9), 0 12px 32px -4px rgba(15, 23, 42, 0.12), 0 2px 6px rgba(0, 0, 0, 0.05);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.5rem;
  padding: 0 0.5rem 0 1.25rem;
  position: relative;
  border-radius: 9999px;
  overflow: hidden;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
}

.nav-logo {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.nav-name {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--texto-secundario);
  text-decoration: none;
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  transition: color 150ms ease, background-color 150ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .nav-links a:hover {
    color: var(--texto);
    background: rgba(0, 0, 0, 0.05);
  }
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--borde-sutil);
  background: transparent;
  color: var(--texto-secundario);
  cursor: pointer;
  transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease, transform 120ms ease;
}

.nav-theme-toggle svg {
  width: 18px;
  height: 18px;
}

.theme-icon-sun {
  display: none;
}

.theme-icon-moon {
  display: block;
}

html[data-theme="dark"] .theme-icon-sun {
  display: block;
}

html[data-theme="dark"] .theme-icon-moon {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .nav-theme-toggle:hover {
    color: var(--texto);
    background: rgba(0, 0, 0, 0.05);
    border-color: #CBD5E1;
  }
}

.nav-theme-toggle:active {
  transform: scale(0.92);
}

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.25rem;
  background: var(--verde);
  color: #FFFFFF;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 3px rgba(22, 163, 74, 0.25), 0 4px 10px -2px rgba(22, 163, 74, 0.3);
  transition: background-color 150ms var(--ease-out), transform 120ms ease-out, box-shadow 180ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .nav-cta-btn:hover {
    background: var(--verde-hover);
    transform: translateY(-1px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 3px 6px rgba(22, 163, 74, 0.3), 0 8px 16px -2px rgba(22, 163, 74, 0.4);
  }
}

.nav-cta-btn:active {
  transform: scale(0.97);
}

.nav-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2.5px;
  background: rgba(0, 0, 0, 0.04);
  overflow: hidden;
  border-radius: 0 0 9999px 9999px;
  pointer-events: none;
}

.nav-progress-bar {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #16A34A, #22C55E);
  border-radius: 9999px;
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 6rem 1.5rem;
}

.hero-band {
  background: var(--verde-surface);
  position: relative;
  overflow: hidden;
}

.hero {
  padding-top: 8rem;
  padding-bottom: 5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 12rem;
  left: 50%;
  width: min(1040px, 160vw);
  height: min(1040px, 160vw);
  transform: translate3d(-50%, -50%, 0);
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(34, 197, 94, 0.38) 0%, rgba(45, 188, 102, 0.24) 40%, rgba(45, 188, 102, 0.08) 65%, transparent 80%);
  pointer-events: none;
  z-index: 0;
  opacity: 0.95;
  will-change: transform, opacity;
  animation: hero-halo 26s var(--ease-in-out) infinite alternate;
}

@keyframes hero-halo {
  from {
    transform: translate3d(-50%, -50%, 0) scale(1);
    opacity: 0.9;
  }

  to {
    transform: translate3d(-50%, calc(-50% - 3%), 0) scale(1.06);
    opacity: 1;
  }
}

.hero-logo-wrap {
  width: 240px;
  max-width: 60vw;
  aspect-ratio: 574 / 287;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.hero-logo-wrap canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-logo-fallback {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-family: var(--f-display);
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
  max-width: 680px;
  margin-bottom: 1.25rem;
}

.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.5;
  color: var(--texto-secundario);
  max-width: 540px;
  letter-spacing: -0.005em;
}

.hero-cta-group {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 2.25rem;
  background: var(--verde);
  color: #FFFFFF;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  border-radius: 9999px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 2px 4px rgba(22, 163, 74, 0.2), 0 8px 24px -4px rgba(22, 163, 74, 0.38);
  transition: background-color 160ms var(--ease-out), transform 120ms ease-out, box-shadow 180ms var(--ease-out);
}

.hero-cta::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0.35) 50%, rgba(255, 255, 255, 0) 80%, transparent 100%);
  animation: cta-shimmer-sweep 4.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  pointer-events: none;
}

@keyframes cta-shimmer-sweep {
  0%, 70% { transform: translateX(0); }
  100% { transform: translateX(260%); }
}

.hero-cta .cta-arrow {
  display: inline-block;
  transition: transform 200ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .hero-cta:hover {
    background: var(--verde-hover);
    transform: translateY(-1px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 4px 8px rgba(22, 163, 74, 0.25), 0 14px 28px -4px rgba(22, 163, 74, 0.45);
  }
  .hero-cta:hover .cta-arrow {
    transform: translateX(4px);
  }
}

.hero-cta:active {
  transform: scale(0.97);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2), 0 1px 2px rgba(22, 163, 74, 0.2);
}

.hero-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 2rem;
  background: #FFFFFF;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  border-radius: 9999px;
  border: 1px solid #CBD5E1;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: background-color 160ms var(--ease-out), border-color 160ms var(--ease-out), color 160ms var(--ease-out), transform 120ms ease-out, box-shadow 160ms var(--ease-out);
}

.hero-cta-secondary .cta-arrow-down {
  display: inline-block;
  transition: transform 200ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .hero-cta-secondary:hover {
    background: #F8FAFC;
    border-color: #94A3B8;
    color: var(--ink);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  }
  .hero-cta-secondary:hover .cta-arrow-down {
    transform: translateY(3px);
  }
}

.hero-cta-secondary:active {
  transform: scale(0.97);
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding: 0.45rem 1.15rem;
  background: #FFFFFF;
  border: 1px solid var(--borde);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--texto-secundario);
  box-shadow: var(--sombra-xs);
}

.hero-chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--verde);
  box-shadow: 0 0 6px rgba(45, 188, 102, 0.6);
}

.reveal,
.rv {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 650ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 650ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.visible,
.rv.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 { transition-delay: 80ms; }
.stagger-2 { transition-delay: 160ms; }
.stagger-3 { transition-delay: 240ms; }
.stagger-4 { transition-delay: 320ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .rv {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--verde);
  margin-bottom: 0.75rem;
}

.section-label::before {
  content: "";
  width: 16px;
  height: 2px;
  background: var(--verde);
  border-radius: 2px;
}

.section-title {
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: var(--ink);
}

.section-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.1rem);
  line-height: 1.55;
  color: var(--texto-secundario);
  max-width: 520px;
  margin-bottom: 3rem;
}

.ital {
  font-family: var(--f-serif, "Newsreader", "Playfair Display", Georgia, serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.sh {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: end;
  gap: 24px clamp(24px, 4vw, 64px);
  margin-bottom: clamp(36px, 5vw, 64px);
}

.sh__t {
  display: grid;
  gap: 12px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--texto-secundario);
}

.eyebrow b {
  color: var(--verde);
  font-weight: 700;
}

.eyebrow::after {
  content: "";
  display: block;
  width: 28px;
  height: 1px;
  background: var(--borde);
}

.lead {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  line-height: 1.55;
  color: var(--texto-secundario);
}

.bs-container,
.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.bs-section {
  padding: 6rem 0;
  position: relative;
}

.bs-section {
  width: 100%;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.bs-section--problema {
  background-color: var(--canvas-alt);
  border-top: 1px solid var(--borde);
  border-bottom: 1px solid var(--borde);
}

.bs-section--funciones {
  background-color: var(--fondo);
  position: relative;
}

.bs-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: clamp(4.5rem, 7vw, 6.5rem) 1.5rem;
  box-sizing: border-box;
}

.sh {
  display: grid;
  grid-template-columns: minmax(0, 6.8fr) minmax(0, 5.2fr);
  align-items: end;
  gap: 24px clamp(32px, 5vw, 88px);
  margin-bottom: clamp(40px, 5.5vw, 64px);
}

.sh__t {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--texto-secundario);
}

.eyebrow b {
  color: var(--verde);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.eyebrow::after {
  content: "";
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--borde);
}

.section-title {
  font-family: var(--f-display);
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--texto);
  text-wrap: balance;
  margin: 0;
}

.section-title .ital {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
  padding-left: 2px;
}

.lead {
  color: var(--texto-secundario);
  font-family: var(--f-sans);
  font-size: clamp(1.05rem, 1.3vw, 1.22rem);
  line-height: 1.58;
  margin: 0;
  max-width: 50ch;
}

.pains-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.pc {
  background: var(--fondo);
  border-radius: 18px;
  border: 1px solid var(--borde);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03), 0 8px 24px -4px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out), border-color 220ms var(--ease-out);
}

.pc:hover {
  transform: translateY(-4px);
  border-color: #CBD5E1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04), 0 20px 36px -6px rgba(0, 0, 0, 0.08);
}

.pc__no {
  padding: 28px 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  flex: 1;
}

.pc__log {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #475569;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  padding: 4px 10px;
  border-radius: 9999px;
  line-height: 1;
}

.pc__log-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #EF4444;
  display: inline-block;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2);
}

.pc__no h3 {
  font-family: var(--f-display);
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
}

.pc__no q {
  quotes: none;
  font-family: var(--f-sans);
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--texto-secundario);
  margin: 0;
  display: block;
}

.pc__failure-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 0.74rem;
  font-weight: 500;
  color: #991B1B;
  background: #FEF2F2;
  border: 1px solid #FEE2E2;
  border-radius: 8px;
  padding: 8px 12px;
  margin-top: auto;
  width: 100%;
  box-sizing: border-box;
}

.pc__failure-pill svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: #DC2626;
}

.pc__yes {
  background: #0F172A;
  color: #E2E8F0;
  border-radius: 12px;
  margin: 0 12px 12px;
  padding: 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.pc__yes::before {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.16) 0%, transparent 70%);
  pointer-events: none;
}

.pc__yes .k {
  font-family: var(--f-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #22C55E;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pc__yes .k::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
}

.pc__yes p {
  font-family: var(--f-sans);
  font-size: 0.86rem;
  font-weight: 400;
  line-height: 1.5;
  color: #F1F5F9;
  margin: 0;
}

.pc__proof {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #F8FAFC;
  font-family: var(--f-mono);
  font-size: 0.76rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  padding: 8px 12px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: none;
  width: 100%;
  box-sizing: border-box;
}

.pc__proof svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: #22C55E;
}

.pc__proof s {
  color: #94A3B8;
  font-weight: 400;
  margin-right: 2px;
}

.pc__proof em {
  font-style: normal;
  color: #4ADE80;
  font-weight: 700;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.bento-card {
  background: var(--fondo);
  border-radius: 18px;
  border: 1px solid var(--borde);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03), 0 4px 12px rgba(0, 0, 0, 0.03);
  padding: 30px 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  overflow: hidden;
  transition: transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out), border-color 240ms var(--ease-out);
  box-sizing: border-box;
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: #CBD5E1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04), 0 16px 32px -4px rgba(0, 0, 0, 0.08);
}

.bento-card--span-3 {
  grid-column: span 3;
}

.bento-card--span-2 {
  grid-column: span 2;
}

.bento-card--span-1 {
  grid-column: span 1;
}

.bento-card__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.bento-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--f-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #475569;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  padding: 3px 8px;
  border-radius: 9999px;
  line-height: 1.2;
}

.bento-card h3 {
  font-family: var(--f-display);
  font-size: 1.32rem;
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -0.02em;
  color: var(--texto);
  margin: 0;
}

.bento-card p {
  font-family: var(--f-sans);
  font-size: 0.92rem;
  line-height: 1.58;
  color: var(--texto-secundario);
  margin: 0;
}

.bento-visual {
  background: var(--canvas-alt);
  border: 1px solid var(--borde);
  border-radius: var(--r-card);
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

.keyboard-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.k-key {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1px solid #D1D5DB;
  border-bottom: 3px solid #9CA3AF;
  border-radius: 8px;
  padding: 7px 12px;
  font-family: var(--f-sans);
  color: var(--texto);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  user-select: none;
  transition: transform 120ms ease, border-bottom 120ms ease;
  line-height: 1;
}

.k-key:hover {
  border-color: #94A3B8;
  border-bottom-color: #64748B;
  transform: translateY(1px);
}

.k-key__kbd {
  font-family: var(--f-mono);
  font-weight: 700;
  font-size: 0.78rem;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  box-shadow: 0 1px 0 #CBD5E1;
  border-radius: 4px;
  padding: 3px 6px;
  color: var(--texto);
  letter-spacing: 0.04em;
}

.k-key__lbl {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--texto-secundario);
}

.pos-cart-sim {
  background: #FFFFFF;
  border: 1px solid var(--borde);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 0.82rem;
  box-shadow: var(--sombra-xs);
}

.pos-cart-sim__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--texto);
  border-bottom: 1px dashed var(--borde);
  padding-bottom: 8px;
}

.pos-cart-sim__item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pos-cart-sim__code {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  color: var(--texto-terciario);
  letter-spacing: 0.02em;
}

.pos-cart-sim__name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--texto);
}

.pos-cart-sim__calc {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 0.78rem;
}

.pos-cart-sim__qty {
  color: var(--texto-secundario);
}

.pos-cart-sim__sub {
  color: var(--texto);
  font-weight: 700;
}

.pos-cart-sim__row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.pos-cart-sim__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  font-weight: 700;
  color: var(--texto);
}

.pos-cart-sim__total-amt {
  font-family: var(--f-mono);
  font-size: 0.88rem;
  color: var(--texto);
}

.pos-cart-sim__total-amt b {
  font-size: 0.96rem;
  color: var(--ink);
}

.pos-cart-sim__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #16A34A;
  background: #F0FDF4;
  border: 1px solid #DCFCE7;
  padding: 3px 8px;
  border-radius: 9999px;
}
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--verde-hover);
  background: rgba(45, 188, 102, 0.1);
  padding: 3px 8px;
  border-radius: 4px;
}

.barcode-visual {
  background: var(--canvas-alt);
  border: 1px solid var(--borde);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.barcode-item-head {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-bottom: 1px dashed var(--borde);
  padding-bottom: 8px;
}

.barcode-item-sku {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  color: var(--texto-terciario);
  letter-spacing: 0.04em;
}

.barcode-item-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--texto);
}

.barcode-scan-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  overflow: hidden;
  padding: 4px 0;
}

.barcode-laser {
  position: absolute;
  top: 15%;
  left: 0;
  right: 0;
  height: 2px;
  background: #EF4444;
  box-shadow: 0 0 8px 2px rgba(239, 68, 68, 0.75);
  animation: scanLaser 3s ease-in-out infinite;
}

@keyframes scanLaser {
  0%, 100% { top: 15%; opacity: 0.7; }
  50% { top: 82%; opacity: 1; }
}

.barcode-svg {
  width: 150px;
  height: 40px;
}

.barcode-num {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  color: var(--texto-secundario);
}

.bento-chip--alert {
  background: #FEF2F2;
  border: 1px solid #FEE2E2;
  color: #991B1B;
  font-family: var(--f-mono);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-sizing: border-box;
}

.chip-dot--alert {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #EF4444;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2);
  flex-shrink: 0;
}

.bento-chip--fiado {
  background: #FFFFFF;
  border: 1px solid var(--borde);
  padding: 10px 14px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: var(--sombra-xs);
}

.chip-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chip-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  color: #334155;
  font-family: var(--f-sans);
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.chip-user-info strong {
  display: block;
  font-family: var(--f-sans);
  font-size: 0.86rem;
  color: var(--texto);
}

.chip-user-info span {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  color: var(--texto-secundario);
}

.chip-balance {
  text-align: right;
  font-family: var(--f-mono);
}

.chip-balance-label {
  font-size: 0.68rem;
  color: var(--texto-terciario);
  text-transform: uppercase;
  display: block;
}

.chip-balance-amount {
  font-size: 0.95rem;
  font-weight: 700;
  color: #DC2626;
}

.fiado-timeline {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--f-mono);
  font-size: 0.76rem;
  color: var(--texto-secundario);
  padding-left: 8px;
  border-left: 2px solid var(--borde);
}

.fiado-timeline__item {
  display: flex;
  justify-content: space-between;
}

.fiado-timeline__item em {
  font-style: normal;
  color: var(--verde);
  font-weight: 600;
}

.fiado-status-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--texto-secundario);
  margin-top: 6px;
}

.fiado-check-icon {
  width: 13px;
  height: 13px;
  color: var(--verde);
  flex-shrink: 0;
}

.arqueo-summary {
  background: #FFFFFF;
  border: 1px solid var(--borde);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--sombra-xs);
}

.arqueo-header-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--f-sans);
}

.arqueo-header-row strong {
  font-size: 0.88rem;
  color: var(--texto);
}

.badge-exact {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: #16A34A;
  background: #F0FDF4;
  border: 1px solid #DCFCE7;
  padding: 3px 10px;
  border-radius: 9999px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1.2;
}

.arqueo-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 0.8rem;
  background: var(--canvas-alt);
  padding: 8px 10px;
  border-radius: 8px;
}

.arqueo-values div span {
  display: block;
  font-size: 0.68rem;
  color: var(--texto-terciario);
}

.arqueo-methods {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--f-sans);
  font-size: 0.78rem;
}

.method-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--texto-secundario);
}

.method-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--texto-secundario);
}

.method-icon {
  width: 14px;
  height: 14px;
  stroke: var(--texto-terciario);
  stroke-width: 2;
  flex-shrink: 0;
}

.method-row b {
  font-family: var(--f-mono);
  color: var(--texto);
}

.stats-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 5.8fr) minmax(0, 4.2fr);
  gap: 20px;
  align-items: stretch;
}

.stats-chart-wrap {
  background: #FFFFFF;
  border: 1px solid var(--borde);
  border-radius: 12px;
  padding: 18px 20px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  box-shadow: var(--sombra-xs);
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.chart-title-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.chart-title {
  font-family: var(--f-sans);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--texto-secundario);
  letter-spacing: 0.01em;
}

.chart-total {
  font-family: var(--f-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--texto);
  letter-spacing: -0.02em;
}

.chart-growth {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--verde-hover);
  background: var(--verde-claro);
  padding: 3px 8px;
  border-radius: var(--r-pill);
}

.trend-chart-svg {
  width: 100%;
  height: 145px;
  display: block;
}

.stats-rank-wrap {
  background: #FFFFFF;
  border: 1px solid var(--borde);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 12px;
  box-shadow: var(--sombra-xs);
}

.rank-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--borde);
}

.rank-title {
  font-family: var(--f-sans);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--texto);
}

.rank-subtitle {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  color: var(--texto-terciario);
}

.rank-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rank-item {
  display: grid;
  grid-template-columns: 20px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 9px 4px;
  font-family: var(--f-sans);
  font-size: 0.82rem;
  border-bottom: 1px solid var(--borde-sutil);
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  position: relative;
  overflow: hidden;
}

.rank-item::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 30px;
  right: 4px;
  height: 2px;
  background: rgba(0, 0, 0, 0.04);
  border-radius: 2px;
}

.rank-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 30px;
  height: 2px;
  background: rgba(22, 163, 74, 0.4);
  border-radius: 2px;
}

.rank-item:nth-child(1)::after { width: calc((100% - 34px) * 0.84); }
.rank-item:nth-child(2)::after { width: calc((100% - 34px) * 0.76); }
.rank-item:nth-child(3)::after { width: calc((100% - 34px) * 0.90); }
.rank-item:nth-child(4)::after { width: calc((100% - 34px) * 1.0); background: #16A34A; }

.rank-item:last-child {
  border-bottom: 0;
}

.rank-pos {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--texto-terciario);
}

.rank-name {
  color: var(--texto);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rank-margin {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--verde-hover);
  background: rgba(45, 188, 102, 0.1);
  padding: 2px 7px;
  border-radius: 4px;
  white-space: nowrap;
}

.backup-dashboard {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sqlite-shield {
  background: #FFFFFF;
  border: 1px solid var(--borde);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--sombra-xs);
}

.sqlite-tag-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.sqlite-tag-tech {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--texto);
  background: #F1F5F9;
  border: 1px solid var(--borde);
  padding: 2px 7px;
  border-radius: 4px;
}

.sqlite-tag-status {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--texto-secundario);
  letter-spacing: 0.04em;
}

.sqlite-shield-info strong {
  display: block;
  font-family: var(--f-sans);
  font-size: 0.92rem;
  color: var(--texto);
}

.sqlite-shield-info span {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  color: var(--verde-hover);
  font-weight: 600;
}

.backup-log-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--f-mono);
  font-size: 0.76rem;
  color: var(--texto-secundario);
}

.backup-log-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1px solid var(--borde);
  padding: 6px 10px;
  border-radius: 6px;
}

.backup-log-item svg {
  width: 14px;
  height: 14px;
  color: var(--verde);
  flex-shrink: 0;
}

@media (max-width: 960px) {
  .sh {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .pains-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .bento-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .bento-card--span-2,
  .bento-card--span-3 {
    grid-column: span 2;
  }

  .stats-dashboard {
    grid-template-columns: 1fr;
  }

  .backup-dashboard {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .bs-container {
    padding: 3.5rem 1.25rem;
  }

  .section-title {
    font-size: 1.85rem;
  }

  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-card--span-3,
  .bento-card--span-2,
  .bento-card--span-1 {
    grid-column: span 1;
  }

  .bento-card {
    padding: 24px 20px 20px;
  }

  .keyboard-bar {
    gap: 6px;
  }

  .k-key {
    padding: 6px 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  
  .pc:hover,
  .bento-card:hover,
  .k-key:hover {
    transform: none !important;
  }

  .barcode-laser {
    animation: none !important;
    top: 50% !important;
  }
}

#rubros {
  padding-top: calc(var(--gap-section) - 20px);
}

.rubros {
  background: var(--white);
  border-top: 1px solid var(--borde);
  border-bottom: 1px solid var(--borde);
  border-radius: 0;
  box-shadow: none;
  grid-template-columns: repeat(2, 1fr);
  display: grid;
  overflow: hidden;
}

.rubro {
  border-right: 1px solid var(--borde);
  border-bottom: 1px solid var(--borde);
  transition: background-color .2s var(--ease);
  align-content: start;
  gap: 12px;
  padding: 28px 24px;
  display: grid;
  position: relative;
}

.rubro:nth-child(2n) {
  border-right: 0;
}

.rubro:nth-last-child(-n+2) {
  border-bottom: 0;
}

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

  .rubro {
    border-right: 0;
  }

  .rubro:nth-last-child(-n+2) {
    border-bottom: 1px solid var(--borde);
  }

  .rubro:last-child {
    border-bottom: 0;
  }
}

.rubro:hover {
  background: var(--canvas-alt);
}

.rubro__top {
  display: flex;
  align-items: center;
  margin-top: 2px;
}

.rubro__badge {
  font: 700 .6563rem/1 var(--f-text);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--texto-secundario);
  background: var(--canvas-alt);
  border: 1px solid var(--borde);
  padding: 5px 10px;
  border-radius: var(--r-pill);
}

.rubro h3 {
  font-family: var(--f-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-top: 2px;
}

.rubro p {
  color: var(--text);
  font-size: .9375rem;
  line-height: 1.5;
}

.rubro__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
  padding: 0;
  list-style: none;
}

.rubro__tags li {
  font-size: 0.75rem;
  line-height: 1.2;
  font-weight: 500;
  color: var(--texto-secundario);
  background: var(--canvas-alt);
  border: 1px solid var(--borde);
  border-radius: var(--r-pill);
  padding: 5px 10px;
  box-shadow: none;
  transition: border-color 150ms ease, background-color 150ms ease;
}

.rubro:hover .rubro__tags li {
  border-color: #CBD5E1;
  background: #FFFFFF;
}

.rubro:hover .rubro__tags li {
  box-shadow: 0 0 0 1px #CBD5E1;
}

.also-box {
  margin-top: 36px;
  background: var(--white);
  border: 1px solid var(--borde);
  border-radius: var(--r-panel);
  padding: 22px 24px;
  box-shadow: var(--sombra-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
  position: relative;
}

.also-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.also-title-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.also-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--verde);
  box-shadow: 0 0 8px rgba(45, 188, 102, 0.6);
}

.also-label {
  font-family: var(--f-sans);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--texto);
  letter-spacing: -0.01em;
}

.also-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
  padding: 6px 0;
}

.also-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: also-slide 34s linear infinite;
  will-change: transform;
}

.also-track:hover {
  animation-play-state: paused;
}

@keyframes also-slide {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(calc(-50% - 6px), 0, 0); }
}

.also-marquee .chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--verde-surface);
  color: var(--texto);
  border: 1px solid var(--borde);
  padding: 8px 16px;
  font-size: 0.86rem;
  font-weight: 600;
  border-radius: var(--r-pill);
  white-space: nowrap;
  user-select: none;
  cursor: default;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.also-marquee .chip:hover {
  transform: translateY(-2px);
  border-color: #CBD5E1;
  background: #FFFFFF;
  color: var(--texto);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.chip-icon {
  font-size: 0.95rem;
  line-height: 1;
}

.tlink {
  color: var(--texto-secundario);
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: .9375rem;
  display: inline-flex;
  margin-left: auto;
  text-decoration: none;
  transition: color .2s;
}

.tlink svg {
  width: 17px;
  height: 17px;
  transition: transform .2s var(--ease);
}

.tlink:hover {
  color: var(--texto);
}

.tlink:hover svg {
  transform: translateX(4px);
}

.local-first {
  background: #0B0F17;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.local-first::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(45, 188, 102, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.local-first-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 6rem 1.5rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.local-first-icon {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1.5rem;
}

.local-first-title {
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #FFFFFF !important;
  margin-bottom: 1.25rem;
}

.local-first-text {
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.6;
  color: #94A3B8 !important;
  max-width: 580px;
  margin: 0 auto;
}

.local-first-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.625rem;
  margin-top: 2.5rem;
}

.local-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
  color: #E2E8F0;
  font-weight: 500;
  letter-spacing: 0.005em;
  color: #D1FAE5 !important;
  transition: background 150ms ease, border-color 150ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .local-badge:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.35);
  }
}

.pricing {
  padding: 6rem 1.5rem;
  background: var(--verde-surface);
  border-top: 1px solid var(--borde);
}

.pricing-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.pricing-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pricing-header .section-title {
  margin-top: 0.5rem;
  margin-bottom: 1.25rem;
}

.pricing-header .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

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

.plan-card {
  position: relative;
  background: var(--fondo);
  border: 1px solid var(--borde);
  border-radius: 18px;
  padding: 2.25rem 2rem 2rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03), 0 8px 24px -4px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out), border-color 220ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .plan-card:hover {
    transform: translateY(-4px);
    border-color: #CBD5E1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04), 0 20px 36px -6px rgba(0, 0, 0, 0.08);
  }
}

.plan-card-destacado {
  border: 2px solid var(--verde);
  box-shadow: 0 0 0 1px rgba(22, 163, 74, 0.15), 0 4px 12px rgba(22, 163, 74, 0.08), 0 16px 36px -6px rgba(0, 0, 0, 0.08);
}

@property --angulo-borde {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

.plan-card-tenant::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(
    from var(--angulo-borde),
    rgba(45, 188, 102, 0) 0deg,
    rgba(45, 188, 102, 0.5) 35deg,
    rgba(45, 188, 102, 0) 80deg,
    rgba(45, 188, 102, 0) 360deg
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: borde-verde 7s linear infinite;
  pointer-events: none;
}

@keyframes borde-verde {
  to {
    --angulo-borde: 360deg;
  }
}

@media (hover: hover) and (pointer: fine) {
  .plan-card-destacado:hover {
    box-shadow: 0 0 0 1px rgba(22, 163, 74, 0.25), 0 6px 18px rgba(22, 163, 74, 0.12), 0 24px 44px -6px rgba(0, 0, 0, 0.12);
  }
}

.plan-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--verde);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 9999px;
  box-shadow: 0 2px 6px rgba(22, 163, 74, 0.35);
  white-space: nowrap;
}

.plan-head {
  margin-bottom: 1.5rem;
}

.plan-name {
  font-family: var(--f-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.plan-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 0.5rem;
}

.plan-amount {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--texto);
}

.plan-amount--text {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  line-height: 1.15;
}

.plan-period {
  font-size: 0.95rem;
  color: var(--texto-secundario);
}

.plan-note {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--texto-secundario);
}

.plan-features {
  list-style: none;
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.plan-features li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--texto-secundario);
}

.plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--verde);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.5;
  background: transparent;
  border-radius: 0;
  width: auto;
  height: auto;
}

.plan-cta {
  display: block;
  text-align: center;
  text-decoration: none;
  padding: 0.8rem 1.5rem;
  border-radius: 9999px;
  border: 1px solid #CBD5E1;
  background: #FFFFFF;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: transform 120ms ease-out, background-color 160ms var(--ease-out), border-color 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .plan-cta:hover {
    background: #F8FAFC;
    border-color: #94A3B8;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  }
}

.plan-cta:active {
  transform: scale(0.97);
}

.plan-garantia {
  margin-top: 0.75rem;
  font-size: 0.78rem;
  line-height: 1.4;
  text-align: center;
  color: var(--verde);
}

.plan-cta-principal {
  background: var(--verde);
  border-color: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 2px 4px rgba(22, 163, 74, 0.2), 0 8px 18px -4px rgba(22, 163, 74, 0.35);
}

@media (hover: hover) and (pointer: fine) {
  .plan-cta-principal:hover {
    background: var(--verde-hover);
    border-color: var(--verde-hover);
    transform: translateY(-1px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 4px 8px rgba(22, 163, 74, 0.25), 0 12px 24px -4px rgba(22, 163, 74, 0.4);
  }
}

.plan-cta-principal:active {
  transform: scale(0.97);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

.plan-badge--neutral {
  background: #F1F5F9;
  color: #475569;
  border: 1px solid #E2E8F0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.pricing-note {
  margin-top: 2.5rem;
  text-align: center;
}

.pricing-note p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--texto-secundario);
  max-width: 720px;
  margin: 0 auto;
}

/* ===== Tabla comparativa Free vs Premium ===== */
.pricing-compare {
  margin-top: 3.5rem;
}

.pricing-compare__header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.pricing-compare__title {
  font-family: var(--f-display);
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.pricing-compare__subtitle {
  font-size: 0.9rem;
  color: var(--texto-secundario);
}

.pricing-compare__hint {
  display: none;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--verde-hover);
  text-align: center;
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

.pricing-compare__scroll {
  overflow-x: auto;
  border: 1px solid var(--borde);
  border-radius: var(--r-card);
  background: var(--fondo);
  box-shadow: var(--sombra-sm);
  -webkit-overflow-scrolling: touch;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--f-sans);
  font-size: 0.88rem;
  text-align: left;
}

.pricing-table th,
.pricing-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--borde-sutil);
  vertical-align: middle;
}

.pricing-table thead th {
  background: #0F172A;
  color: #FFFFFF;
  font-family: var(--f-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.85rem 1rem;
}

.pricing-table__th-feature {
  width: 60%;
}

.pricing-table__th-plan {
  width: 20%;
  text-align: center;
}

.pricing-table__th-featured {
  background: #020617;
  color: #4ADE80;
}

.pricing-table tbody tr:hover td {
  background: rgba(0, 0, 0, 0.02);
}

.pricing-table__group td {
  background: #F1F5F9;
  color: var(--texto-secundario);
  font-family: var(--f-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.6rem 1rem;
  border-bottom: 1px solid var(--borde);
}

.pricing-table__cell-check,
.pricing-table__cell-cross {
  text-align: center;
}

.pricing-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
}

.pricing-icon--check {
  color: var(--verde);
}

.pricing-icon--cross {
  color: var(--texto-terciario);
  opacity: 0.6;
}

.pricing-compare__footnote {
  margin-top: 1rem;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--texto-secundario);
  text-align: center;
}

.pricing-compare__footnote strong {
  color: var(--texto);
}

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

@media (min-width: 720px) and (max-width: 959px) {
  .plan-card {
    padding: 1.5rem 1.25rem;
  }

  .plan-badge {
    top: -0.625rem;
    font-size: 0.7rem;
    padding: 0.25rem 0.625rem;
  }
}

@media (max-width: 719px) {
  .plan-card {
    order: 0;
    padding: 1.75rem 1.25rem;
  }

  .pricing-compare__hint {
    display: block;
  }

  .pricing-table {
    min-width: 560px;
  }

  .pricing-table th,
  .pricing-table td {
    padding: 0.65rem 0.8rem;
    font-size: 0.82rem;
  }
}

@media (max-width: 480px) {
  .pricing {
    padding: 4rem 1rem;
  }

  .hero-cta-group {
    width: 100%;
  }

  .hero-cta,
  .hero-cta-secondary {
    width: 100%;
    max-width: 320px;
    box-sizing: border-box;
  }

  .nav-inner {
    padding: 0 0.5rem;
  }

  .nav-cta-btn {
    padding: 0.45rem 0.75rem;
    font-size: 0.78rem;
  }

  .plan-amount--text {
    font-size: 1.45rem;
  }
}

.screenshots-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 6rem 1.5rem;
}

.screenshots-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 3rem;
}

.screenshots-header .section-title {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.screenshots-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

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

.screenshot-card {
  border: 1px solid var(--borde);
  border-radius: 8px;
  overflow: hidden;
  background: var(--fila-alterna);
  transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .screenshot-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--sombra-md);
  }
}

.screenshot-card img {
  width: 100%;
  height: auto;
}

.screenshot-label {
  padding: 0.875rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--texto);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.screenshot-label::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--verde);
}

.footer {
  border-top: 1px solid var(--borde);
  padding: 3rem 1.5rem;
  text-align: center;
  background: var(--verde-surface);
}

.footer-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  margin: 0 auto 1rem;
}

.footer-domain {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--texto);
  margin-bottom: 0.35rem;
}

.footer-contact {
  font-size: 0.85rem;
  color: var(--texto-secundario);
}

.footer-contact a {
  color: var(--texto);
  font-weight: 600;
  text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
  .footer-contact a:hover {
    text-decoration: underline;
  }
}

.footer-line {
  width: 48px;
  height: 2px;
  background: var(--verde);
  border-radius: 2px;
  margin: 1.5rem auto 0;
  opacity: 0.4;
}

.hero-logo-wrap {
  will-change: transform;
}

.hero-parallax {
  will-change: transform;
}

.card-glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(360px circle at var(--glow-x, 50%) var(--glow-y, 50%), rgba(45, 188, 102, 0.16), rgba(45, 188, 102, 0) 70%);
  opacity: 0;
  transition: opacity 280ms var(--ease-out);
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .plan-card:hover .card-glow {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-progress-bar {
    transition: none;
  }

  .card-glow {
    display: none;
  }
}

html.theme-transitioning body,
html.theme-transitioning .nav,
html.theme-transitioning .hero-band,
html.theme-transitioning .bs-section,
html.theme-transitioning .section,
html.theme-transitioning .surface-blanco,
html.theme-transitioning .surface-verde,
html.theme-transitioning .pc,
html.theme-transitioning .bento-card,
html.theme-transitioning .bento-visual,
html.theme-transitioning .rubros,
html.theme-transitioning .rubro,
html.theme-transitioning .also,
html.theme-transitioning .local-first,
html.theme-transitioning .pricing,
html.theme-transitioning .plan-card,
html.theme-transitioning .screenshots,
html.theme-transitioning .screenshot-card,
html.theme-transitioning .footer,
html.theme-transitioning .k-key,
html.theme-transitioning .pos-cart-sim,
html.theme-transitioning .arqueo-summary,
html.theme-transitioning .stats-chart-wrap,
html.theme-transitioning .sqlite-shield,
html.theme-transitioning .backup-log-item {
  transition: background-color 280ms cubic-bezier(0.16, 1, 0.3, 1),
              border-color 280ms cubic-bezier(0.16, 1, 0.3, 1),
              color 200ms cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 280ms cubic-bezier(0.16, 1, 0.3, 1) !important;
  transition-delay: 0s !important;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation: none;
  mix-blend-mode: normal;
}

::view-transition-old(root) {
  z-index: 1;
}

::view-transition-new(root) {
  z-index: 9999;
}

html[data-theme="dark"] {
  --fondo: #0B130E;
  --white: #132219;
  --canvas-alt: #0E1D14;
  --texto: #F4F6F4;
  --texto-secundario: #A3B8AC;
  --texto-terciario: #6E8276;
  --ink: #F4F6F4;
  --text: #A3B8AC;
  --muted: #86EFAC;
  --verde: #34D375;
  --verde-hover: #4ADE80;
  --verde-pressed: #22C55E;
  --verde-oscuro: #86EFAC;
  --verde-surface: #0E1D14;
  --verde-claro: rgba(52, 211, 117, 0.15);
  --verde-10: rgba(52, 211, 117, 0.15);
  --verde-glow: rgba(52, 211, 117, 0.20);
  --verde-borde: rgba(52, 211, 117, 0.28);
  --fila-alterna: #111E16;
  --borde: rgba(255, 255, 255, 0.10);
  --borde-sutil: rgba(255, 255, 255, 0.08);
  --hair: rgba(255, 255, 255, 0.08);
  --hair-2: rgba(255, 255, 255, 0.14);
  --hair-verde: rgba(52, 211, 117, 0.3);
  --sombra-xs: 0 1px 2px rgba(0, 0, 0, 0.4);
  --sombra-sm: 0 2px 8px rgba(0, 0, 0, 0.5);
  --sombra-md: 0 4px 16px rgba(0, 0, 0, 0.6);
  --sombra-lg: 0 8px 32px rgba(0, 0, 0, 0.7);
  --sombra-verde: 0 4px 24px rgba(52, 211, 117, 0.25);
  --sh-pop: 0 20px 56px -20px rgba(0, 0, 0, 0.7), 0 0 0 1px var(--hair);

  color-scheme: dark;
}

html[data-theme="dark"] body {
  background: #0B130E;
  color: #F4F6F4;
}

html[data-theme="dark"] .nav {
  background: rgba(15, 23, 42, 0.75);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.16), 0 12px 32px -4px rgba(0, 0, 0, 0.5);
}

html[data-theme="dark"] .nav.scrolled {
  background: rgba(15, 23, 42, 0.88);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.2), 0 16px 40px -4px rgba(0, 0, 0, 0.6);
}

html[data-theme="dark"] .nav-progress {
  background: rgba(255, 255, 255, 0.06);
}

html[data-theme="dark"] .nav-name {
  color: #F4F6F4;
}

html[data-theme="dark"] .nav-links a {
  color: #A3B8AC;
}

html[data-theme="dark"] .nav-links a:hover {
  color: #34D375;
  background: rgba(52, 211, 117, 0.15);
}

html[data-theme="dark"] .nav-theme-toggle {
  color: #A3B8AC;
  border-color: rgba(255, 255, 255, 0.14);
}

html[data-theme="dark"] .hero-band {
  background: #0E1D14;
}

html[data-theme="dark"] .hero::before {
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(34, 197, 94, 0.32) 0%, rgba(34, 197, 94, 0.18) 40%, rgba(34, 197, 94, 0.05) 65%, transparent 80%);
}

html[data-theme="dark"] .hero-title {
  color: #F4F6F4;
}

html[data-theme="dark"] .hero-sub {
  color: #A3B8AC;
}

html[data-theme="dark"] .hero-cta-secondary {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  color: #F4F6F4;
}

@media (hover: hover) and (pointer: fine) {
  html[data-theme="dark"] .hero-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--verde);
    color: var(--verde);
  }
}

html[data-theme="dark"] .hero-chip {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: #F4F6F4;
}

html[data-theme="dark"] .surface-blanco {
  background: #0B130E;
}

html[data-theme="dark"] .surface-verde {
  background: #0E1D14;
}

html[data-theme="dark"] .pc {
  background: #132219;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 2px 8px rgba(0, 0, 0, 0.4);
}

html[data-theme="dark"] .pc h3 {
  color: #F4F6F4;
}

html[data-theme="dark"] .pc q {
  color: #A3B8AC;
}

html[data-theme="dark"] .pc__log {
  background: rgba(254, 228, 226, 0.12);
  border-color: rgba(240, 68, 56, 0.3);
  color: #FCA5A5;
}

html[data-theme="dark"] .pc__failure-pill {
  background: rgba(180, 35, 24, 0.18);
  border-color: rgba(180, 35, 24, 0.35);
  color: #FCA5A5;
}

html[data-theme="dark"] .pc__yes {
  background: #020617;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

html[data-theme="dark"] .pc__proof {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #F8FAFC;
}

html[data-theme="dark"] .bento-card {
  background: #132219;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 2px 8px rgba(0, 0, 0, 0.4);
}

@media (hover: hover) and (pointer: fine) {
  html[data-theme="dark"] .bento-card:hover {
    box-shadow: 0 0 0 1px var(--verde), 0 12px 32px rgba(0, 0, 0, 0.6);
  }
}

html[data-theme="dark"] .bento-card h3 {
  color: #F4F6F4;
}

html[data-theme="dark"] .bento-card p {
  color: #A3B8AC;
}

html[data-theme="dark"] .bento-badge {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: #CBD5E1;
}

html[data-theme="dark"] .k-key__kbd {
  background: #1B2F23;
  border-color: rgba(52, 211, 117, 0.3);
  color: #F4F6F4;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.5);
}

html[data-theme="dark"] .pos-cart-sim {
  background: #0E1D14;
  border-color: rgba(255, 255, 255, 0.1);
}

html[data-theme="dark"] .pos-cart-sim__header {
  color: #A3B8AC;
}

html[data-theme="dark"] .pos-cart-sim__pill {
  background: rgba(52, 211, 117, 0.15);
  color: #86EFAC;
}

html[data-theme="dark"] .pos-cart-sim__item {
  color: #A3B8AC;
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

html[data-theme="dark"] .pos-cart-sim__item b {
  color: #F4F6F4;
}

html[data-theme="dark"] .pos-cart-sim__total {
  color: #A3B8AC;
  border-top-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .pos-cart-sim__total b {
  color: #F4F6F4;
}

html[data-theme="dark"] .barcode-svg {
  filter: invert(1) brightness(1.2);
}

html[data-theme="dark"] .bento-chip--fiado {
  background: #0E1D14;
  border-color: rgba(52, 211, 117, 0.25);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

html[data-theme="dark"] .chip-user-info strong {
  color: #F4F6F4;
}

html[data-theme="dark"] .chip-user-info span {
  color: #A3B8AC;
}

html[data-theme="dark"] .chip-balance-label {
  color: #A3B8AC;
}

html[data-theme="dark"] .chip-avatar {
  background: rgba(52, 211, 117, 0.18);
  color: #86EFAC;
}

html[data-theme="dark"] .fiado-timeline {
  color: #A3B8AC;
}

html[data-theme="dark"] .arqueo-summary {
  background: #0E1D14;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

html[data-theme="dark"] .arqueo-header-row strong {
  color: #F4F6F4;
}

html[data-theme="dark"] .badge-exact {
  background: rgba(52, 211, 117, 0.15);
  color: #86EFAC;
}

html[data-theme="dark"] .arqueo-values {
  background: #182A20;
  border-color: rgba(52, 211, 117, 0.25);
  color: #F4F6F4;
}

html[data-theme="dark"] .arqueo-values span {
  color: #A3B8AC;
}

html[data-theme="dark"] .arqueo-values strong {
  color: #F4F6F4;
}

html[data-theme="dark"] .arqueo-methods {
  color: #A3B8AC;
}

html[data-theme="dark"] .arqueo-item {
  color: #F4F6F4;
}

html[data-theme="dark"] .arqueo-item b {
  color: #86EFAC;
}

html[data-theme="dark"] .stats-chart-wrap,
html[data-theme="dark"] .stats-rank-wrap {
  background: #0E1D14;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

html[data-theme="dark"] .chart-title {
  color: #A3B8AC;
}

html[data-theme="dark"] .chart-total {
  color: #F4F6F4;
}

html[data-theme="dark"] .chart-growth {
  background: rgba(52, 211, 117, 0.15);
  color: #86EFAC;
}

html[data-theme="dark"] .chart-peak-tag rect {
  fill: #86EFAC;
}

html[data-theme="dark"] .chart-peak-tag text {
  fill: #0B130E;
}

html[data-theme="dark"] .chart-peak-dot {
  fill: #86EFAC;
  stroke: #0B130E;
}

html[data-theme="dark"] .chart-day-peak {
  fill: #86EFAC !important;
}

html[data-theme="dark"] .rank-header {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .rank-title {
  color: #F4F6F4;
}

html[data-theme="dark"] .rank-subtitle {
  color: #A3B8AC;
}

html[data-theme="dark"] .rank-item {
  border-bottom-color: rgba(255, 255, 255, 0.06);
  background: transparent;
}

html[data-theme="dark"] .rank-item::before {
  background: rgba(255, 255, 255, 0.06);
}

html[data-theme="dark"] .rank-name {
  color: #F4F6F4;
}

html[data-theme="dark"] .rank-margin {
  background: rgba(52, 211, 117, 0.15);
  color: #86EFAC;
}

html[data-theme="dark"] .backup-dashboard {
  background: #0E1D14;
  border-color: rgba(255, 255, 255, 0.1);
}

html[data-theme="dark"] .sqlite-shield {
  background: #0E1D14;
  border-color: rgba(52, 211, 117, 0.25);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

html[data-theme="dark"] .sqlite-shield-info strong {
  color: #F4F6F4;
}

html[data-theme="dark"] .sqlite-shield-info span {
  color: #86EFAC;
}

html[data-theme="dark"] .sqlite-tag-tech {
  background: rgba(52, 211, 117, 0.15);
  color: #86EFAC;
  border-color: rgba(52, 211, 117, 0.3);
}

html[data-theme="dark"] .sqlite-tag-status {
  color: #A3B8AC;
}

html[data-theme="dark"] .backup-log-item {
  background: #132219;
  border-color: rgba(255, 255, 255, 0.1);
}

html[data-theme="dark"] .backup-header span {
  color: #A3B8AC;
}

html[data-theme="dark"] .backup-status-chip {
  background: rgba(52, 211, 117, 0.15);
  color: #86EFAC;
}

html[data-theme="dark"] .backup-log-list {
  color: #A3B8AC;
}

html[data-theme="dark"] .backup-log-item span {
  color: #F4F6F4;
}

html[data-theme="dark"] .rubros {
  background: #132219;
  border-top-color: rgba(255, 255, 255, 0.08);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

html[data-theme="dark"] .rubro {
  border-right-color: rgba(255, 255, 255, 0.08);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .rubro:hover {
  background: #1B2F23;
}

html[data-theme="dark"] .rubro h3 {
  color: #F4F6F4;
}

html[data-theme="dark"] .rubro p {
  color: #A3B8AC;
}

html[data-theme="dark"] .rubro__badge {
  background: rgba(52, 211, 117, 0.15);
  color: #86EFAC;
}

html[data-theme="dark"] .rubro__tags li {
  color: #A3B8AC;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: none;
}

html[data-theme="dark"] .rubro:hover .rubro__tags li {
  border-color: rgba(52, 211, 117, 0.35);
  background: rgba(52, 211, 117, 0.12);
  color: #F4F6F4;
}

html[data-theme="dark"] .also-box {
  background: #132219;
  border-color: rgba(255, 255, 255, 0.10);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
}

html[data-theme="dark"] .also-label {
  color: #F4F6F4;
}

html[data-theme="dark"] .also-marquee .chip {
  background: #0E1D14;
  border-color: rgba(255, 255, 255, 0.10);
  color: #E2E8F0;
}

html[data-theme="dark"] .also-marquee .chip:hover {
  background: #182A20;
  border-color: var(--verde);
  color: #86EFAC;
  box-shadow: 0 4px 16px rgba(52, 211, 117, 0.28);
}

html[data-theme="dark"] .tlink {
  color: #86EFAC;
}

html[data-theme="dark"] .local-first {
  background: #07190F;
}

html[data-theme="dark"] .local-first-title {
  color: #FFFFFF !important;
}

html[data-theme="dark"] .local-first-text {
  color: #D1FAE5 !important;
}

html[data-theme="dark"] .local-badge {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
  color: #D1FAE5 !important;
}

html[data-theme="dark"] .plan-card {
  background: #132219;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 2px 8px rgba(0, 0, 0, 0.4);
}

@media (hover: hover) and (pointer: fine) {
  html[data-theme="dark"] .plan-card:hover {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16), 0 8px 32px rgba(0, 0, 0, 0.6);
  }
}

html[data-theme="dark"] .plan-card-destacado {
  box-shadow: 0 0 0 2px var(--verde), 0 8px 32px rgba(52, 211, 117, 0.25);
}

html[data-theme="dark"] .plan-name {
  color: #F8FAFC;
}

html[data-theme="dark"] .plan-amount {
  color: #F4F6F4;
}

html[data-theme="dark"] .plan-period {
  color: #A3B8AC;
}

html[data-theme="dark"] .plan-note {
  color: #A3B8AC;
}

html[data-theme="dark"] .plan-garantia {
  color: #86EFAC;
}

html[data-theme="dark"] .plan-features li {
  color: #A3B8AC;
}

html[data-theme="dark"] .plan-features li::before {
  color: #4ADE80;
}

html[data-theme="dark"] .plan-cta {
  background: #1E293B;
  border-color: rgba(255, 255, 255, 0.14);
  color: #F8FAFC;
}

@media (hover: hover) and (pointer: fine) {
  html[data-theme="dark"] .plan-cta:hover {
    background: #283548;
    border-color: rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
  }
}

html[data-theme="dark"] .plan-badge--neutral {
  background: rgba(255, 255, 255, 0.12);
  color: #F4F6F4;
}

html[data-theme="dark"] .pricing {
  border-top-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .pricing-note p {
  color: #A3B8AC;
}

html[data-theme="dark"] .pricing-compare__title {
  color: #86EFAC;
}

html[data-theme="dark"] .pricing-compare__subtitle {
  color: #A3B8AC;
}

html[data-theme="dark"] .pricing-compare__hint {
  color: #86EFAC;
}

html[data-theme="dark"] .pricing-compare__scroll {
  background: #0E1D14;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

html[data-theme="dark"] .pricing-table th,
html[data-theme="dark"] .pricing-table td {
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

html[data-theme="dark"] .pricing-table thead th {
  background: #07150C;
  color: #D1FAE5;
}

html[data-theme="dark"] .pricing-table__th-featured {
  background: #14532D;
  color: #FFFFFF;
}

html[data-theme="dark"] .pricing-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}

html[data-theme="dark"] .pricing-table__group td {
  background: rgba(52, 211, 117, 0.12);
  color: #86EFAC;
  border-bottom-color: rgba(52, 211, 117, 0.2);
}

html[data-theme="dark"] .pricing-icon--check {
  color: #86EFAC;
}

html[data-theme="dark"] .pricing-icon--cross {
  color: rgba(255, 255, 255, 0.25);
  opacity: 0.7;
}

html[data-theme="dark"] .pricing-compare__footnote {
  color: #A3B8AC;
}

html[data-theme="dark"] .pricing-compare__footnote strong {
  color: #86EFAC;
}

html[data-theme="dark"] .screenshot-card {
  background: #132219;
  border-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .screenshot-label {
  color: #F4F6F4;
}

html[data-theme="dark"] .footer {
  background: #07150C;
  border-top-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .footer-domain {
  color: #86EFAC;
}

html[data-theme="dark"] .footer-contact {
  color: #A3B8AC;
}

html[data-theme="dark"] .footer-contact a {
  color: #86EFAC;
}

@media (max-width: 680px) {
  .nav-links {
    display: none;
  }
  .nav {
    top: 0.75rem;
    width: calc(100% - 1.5rem);
  }
  .nav-inner {
    padding: 0 0.5rem 0 1rem;
    height: 3.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .plan-card-tenant::before {
    animation: none;
  }
  .also-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
  }
  .also-marquee {
    mask-image: none;
    -webkit-mask-image: none;
  }
  html.theme-transitioning body,
  html.theme-transitioning .nav,
  html.theme-transitioning .pc,
  html.theme-transitioning .bento-card,
  html.theme-transitioning .plan-card {
    transition: none !important;
  }
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation-duration: 0s !important;
  }
}

