/* =====================================================================
   SYNCOPS LAUNDRY ERP — PÁGINA DE INICIO (ESTILO VAULT DASHBOARDPACK)
   Inspirado en Vault Dashboard: tipografía Inter + JetBrains Mono,
   tarjeta flotante con métricas financieras en RD$, rejillas modulares,
   modo oscuro nativo y estética ultra-limpia sin emojis.
   100% RESPONSIVE EN CUALQUIER DISPOSITIVO (SMARTPHONE, TABLET, DESKTOP)
   ===================================================================== */

:root {
  --lp-bg: #FFFFFF;
  --lp-bg-muted: #F8FAFC;
  --lp-bg-card: #FFFFFF;
  --lp-border: #E2E8F0;
  --lp-border-subtle: #F1F5F9;
  --lp-text: #0F172A;
  --lp-text-muted: #64748B;
  --lp-text-light: #94A3B8;
  --lp-primary: #059669;
  --lp-primary-hover: #047857;
  --lp-primary-subtle: #ECFDF5;
  --lp-primary-border: #A7F3D0;
  --lp-blue: #2563EB;
  --lp-blue-subtle: #EFF6FF;
  --lp-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --lp-shadow-card: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --lp-shadow-hover: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --lp-shadow-float: 0 25px 50px -12px rgba(5, 150, 105, 0.15);
}

[data-theme="dark"],
html.dark {
  --lp-bg: #090D16;
  --lp-bg-muted: #0F172A;
  --lp-bg-card: #131C31;
  --lp-border: #1E293B;
  --lp-border-subtle: #172033;
  --lp-text: #F8FAFC;
  --lp-text-muted: #94A3B8;
  --lp-text-light: #64748B;
  --lp-primary: #10B981;
  --lp-primary-hover: #059669;
  --lp-primary-subtle: rgba(16, 185, 129, 0.12);
  --lp-primary-border: rgba(16, 185, 129, 0.25);
  --lp-blue: #3B82F6;
  --lp-blue-subtle: rgba(59, 130, 246, 0.12);
  --lp-shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  --lp-shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.4);
  --lp-shadow-float: 0 25px 50px -12px rgba(16, 185, 129, 0.2);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

body.lp-body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--lp-bg);
  color: var(--lp-text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  touch-action: manipulation;
  transition: background-color 0.25s ease, color 0.25s ease;
}

/* Bloqueo de scroll cuando el drawer móvil está abierto */
body.lp-menu-open {
  overflow: hidden;
  height: 100vh;
}

.font-mono {
  font-family: 'JetBrains Mono', monospace;
}

/* =====================================================================
   NAVBAR & HEADER
   ===================================================================== */
.lp-navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--lp-border);
  padding-top: env(safe-area-inset-top, 0px);
  transition: background 0.25s ease, border-color 0.25s ease;
}

[data-theme="dark"] .lp-navbar,
html.dark .lp-navbar {
  background: rgba(9, 13, 22, 0.88);
}

.lp-navbar-inner {
  max-width: 1320px;
  margin: 0 auto;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0 max(1.5rem, env(safe-area-inset-right, 0px)) 0 max(1.5rem, env(safe-area-inset-left, 0px));
  transition: height 0.2s ease, padding 0.2s ease;
}

.lp-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--lp-text);
  flex-shrink: 0;
  margin-right: 1.25rem;
}

.lp-brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--lp-primary);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.3);
  flex-shrink: 0;
}

.lp-brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.lp-brand-tag {
  font-size: 0.62rem;
  font-weight: 700;
  background: var(--lp-primary-subtle);
  color: var(--lp-primary);
  border: 1px solid var(--lp-primary-border);
  padding: 2px 7px;
  border-radius: 99px;
  letter-spacing: 0.05em;
  margin-left: 0.25rem;
  margin-right: 0.5rem;
  white-space: nowrap;
}

.lp-nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.25vw, 1.5rem);
  flex: 1;
  justify-content: center;
}

.lp-nav-link {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--lp-text-muted);
  text-decoration: none;
  transition: color 0.15s ease, background-color 0.15s ease;
  white-space: nowrap;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
}

.lp-nav-link:hover {
  color: var(--lp-text);
  background-color: var(--lp-bg-muted);
}

.lp-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  margin-left: auto;
}


.lp-theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--lp-border);
  background: transparent;
  color: var(--lp-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.lp-theme-toggle:hover {
  color: var(--lp-text);
  border-color: var(--lp-text-light);
  background: var(--lp-bg-muted);
}

.lp-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid var(--lp-border);
  background: var(--lp-bg-card);
  color: var(--lp-text);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.lp-btn-outline:hover {
  border-color: var(--lp-text-light);
  background: var(--lp-bg-muted);
}

.lp-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.25rem;
  font-size: 0.86rem;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  background: var(--lp-primary);
  color: #FFFFFF !important;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.25);
}

.lp-btn-primary:hover {
  background: var(--lp-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
}

/* Textos adaptables del botón principal */
.lp-btn-text-full {
  display: inline;
}

.lp-btn-text-compact {
  display: none;
}

/* Botón Hamburger Móvil */
.lp-mobile-menu-btn {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--lp-border);
  background: transparent;
  color: var(--lp-text);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.lp-mobile-menu-btn:hover {
  background: var(--lp-bg-muted);
  border-color: var(--lp-text-light);
}

.lp-menu-icon-bars {
  display: block;
}

.lp-menu-icon-close {
  display: none;
}

.lp-mobile-menu-btn.active .lp-menu-icon-bars {
  display: none;
}

.lp-mobile-menu-btn.active .lp-menu-icon-close {
  display: block;
}

/* =====================================================================
   MENÚ MÓVIL (SLIDE DRAWER + BACKDROP)
   ===================================================================== */
.lp-mobile-menu-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.lp-mobile-menu-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.lp-mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 85vw);
  background: var(--lp-bg-card);
  border-left: 1px solid var(--lp-border);
  z-index: 999;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.2);
}

.lp-mobile-menu.active {
  transform: translateX(0);
}

.lp-mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.25rem 1rem;
  border-bottom: 1px solid var(--lp-border);
}

.lp-mobile-close-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--lp-border);
  background: var(--lp-bg-muted);
  color: var(--lp-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.lp-mobile-close-btn:hover {
  color: var(--lp-text);
  border-color: var(--lp-text-light);
}

.lp-mobile-nav-links {
  display: flex;
  flex-direction: column;
  padding: 1rem 0.75rem;
  gap: 0.35rem;
  flex: 1;
  overflow-y: auto;
}

.lp-mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  color: var(--lp-text);
  font-size: 0.92rem;
  font-weight: 600;
  transition: all 0.15s ease;
}

.lp-mobile-nav-link svg {
  color: var(--lp-text-muted);
  flex-shrink: 0;
  transition: color 0.15s ease;
}

.lp-mobile-nav-link:hover,
.lp-mobile-nav-link:active {
  background: var(--lp-primary-subtle);
  color: var(--lp-primary);
}

.lp-mobile-nav-link:hover svg,
.lp-mobile-nav-link:active svg {
  color: var(--lp-primary);
}

.lp-mobile-menu-actions {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--lp-border);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  background: var(--lp-bg);
}

.lp-mobile-btn {
  width: 100%;
  justify-content: center;
  padding: 0.65rem 1rem;
  font-size: 0.88rem;
}

.lp-mobile-menu-footer {
  padding: 0.75rem 1.25rem 1.25rem;
  text-align: center;
  font-size: 0.72rem;
  color: var(--lp-text-light);
  background: var(--lp-bg);
}

/* =====================================================================
   HERO SECTION
   ===================================================================== */
.lp-hero {
  max-width: 1240px;
  margin: 0 auto;
  padding: 5rem 1.5rem 4rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

.lp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--lp-primary-subtle);
  color: var(--lp-primary);
  border: 1px solid var(--lp-primary-border);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.85rem;
  border-radius: 99px;
  margin-bottom: 1.25rem;
}

.lp-hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--lp-text);
  margin-bottom: 1.25rem;
}

.lp-hero-title span {
  color: var(--lp-primary);
}

.lp-hero-desc {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--lp-text-muted);
  margin-bottom: 2rem;
  max-width: 540px;
}

.lp-hero-ctas {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.lp-hero-btn-lg {
  padding: 0.75rem 1.75rem;
  font-size: 0.95rem;
  border-radius: 9px;
}

/* =====================================================================
   HERO CARD (TARJETA FINANCIERA FLOTANTE EN VIVO)
   ===================================================================== */
.lp-hero-card {
  background: var(--lp-bg-card);
  border: 1px solid var(--lp-border);
  border-radius: 14px;
  padding: 1.75rem;
  box-shadow: var(--lp-shadow-float);
  position: relative;
  width: 100%;
  box-sizing: border-box;
  transition: transform 0.2s ease;
}

.lp-hero-card:hover {
  transform: translateY(-2px);
}

.lp-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.25rem;
}

.lp-card-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--lp-text-muted);
}

.lp-card-store {
  font-size: 0.72rem;
  color: var(--lp-text-light);
  font-weight: 500;
}

.lp-card-amount {
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--lp-text);
  margin-top: 0.2rem;
  word-break: break-word;
}

.lp-card-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--lp-primary-subtle);
  color: var(--lp-primary);
  border: 1px solid var(--lp-primary-border);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: 6px;
  margin-top: 0.4rem;
}

/* SPARKLINE BARS */
.lp-sparkline-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 72px;
  margin: 1.5rem 0 1.25rem;
}

.lp-bar {
  flex: 1;
  background: var(--lp-primary-subtle);
  border-radius: 3px;
  transition: height 0.4s ease, background-color 0.2s ease;
  min-height: 8px;
}

.lp-bar:hover {
  background: var(--lp-primary);
}

.lp-card-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  border-top: 1px solid var(--lp-border);
  padding-top: 1.25rem;
}

.lp-metric-item-label {
  font-size: 0.72rem;
  color: var(--lp-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
  white-space: nowrap;
}

.lp-metric-item-val {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--lp-primary);
  margin-top: 2px;
  white-space: nowrap;
}

/* =====================================================================
   KEY STATS STRIP
   ===================================================================== */
.lp-stats-strip {
  border-top: 1px solid var(--lp-border);
  border-bottom: 1px solid var(--lp-border);
  background: var(--lp-bg-muted);
}

.lp-stats-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 2.25rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.lp-stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--lp-primary);
  line-height: 1;
}

.lp-stat-label {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--lp-text-muted);
  margin-top: 0.45rem;
}

/* =====================================================================
   SECCIONES COMUNES
   ===================================================================== */
.lp-section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.lp-section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.lp-section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--lp-bg-muted);
  color: var(--lp-text-muted);
  border: 1px solid var(--lp-border);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 99px;
  margin-bottom: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.lp-section-title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--lp-text);
  margin-bottom: 0.85rem;
}

.lp-section-sub {
  font-size: 1rem;
  color: var(--lp-text-muted);
  line-height: 1.6;
}

/* =====================================================================
   FEATURES GRID (6 CARDS)
   ===================================================================== */
.lp-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.lp-feature-card {
  background: var(--lp-bg-card);
  border: 1px solid var(--lp-border);
  border-radius: 12px;
  padding: 1.75rem;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.lp-feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--lp-primary-border);
  box-shadow: var(--lp-shadow-hover);
}

.lp-feature-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--lp-primary-subtle);
  color: var(--lp-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.lp-feature-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--lp-text);
  margin-bottom: 0.5rem;
}

.lp-feature-card-desc {
  font-size: 0.85rem;
  color: var(--lp-text-muted);
  line-height: 1.6;
}

/* =====================================================================
   13 MÓDULOS GRID
   ===================================================================== */
.lp-modules-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.lp-module-card {
  background: var(--lp-bg-card);
  border: 1px solid var(--lp-border);
  border-radius: 10px;
  padding: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--lp-text);
  transition: all 0.2s ease;
}

.lp-module-card:hover {
  transform: translateY(-2px);
  border-color: var(--lp-primary);
  box-shadow: var(--lp-shadow-card);
}

.lp-module-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--lp-primary-subtle);
  color: var(--lp-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lp-module-info h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--lp-text);
  margin-bottom: 0.2rem;
}

.lp-module-info p {
  font-size: 0.76rem;
  color: var(--lp-text-muted);
  line-height: 1.4;
}

/* =====================================================================
   ¿POR QUÉ SYNCOPS?
   ===================================================================== */
.lp-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.lp-why-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--lp-primary-subtle);
  color: var(--lp-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.lp-why-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--lp-text);
  margin-bottom: 0.6rem;
}

.lp-why-desc {
  font-size: 0.88rem;
  color: var(--lp-text-muted);
  line-height: 1.6;
}

/* =====================================================================
   TECH STACK STRIP
   ===================================================================== */
.lp-tech-strip {
  border-top: 1px solid var(--lp-border);
  border-bottom: 1px solid var(--lp-border);
  background: var(--lp-bg-muted);
  padding: 2rem 1.5rem;
}

.lp-tech-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.lp-tech-pill {
  background: var(--lp-bg-card);
  border: 1px solid var(--lp-border);
  border-radius: 8px;
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--lp-text);
  white-space: nowrap;
}

/* =====================================================================
   PRICING SECTION
   ===================================================================== */
.lp-pricing-toggle-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.lp-toggle-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--lp-text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

.lp-toggle-label.active {
  color: var(--lp-text);
}

.lp-discount-badge {
  background: var(--lp-blue-subtle);
  color: var(--lp-blue);
  border: 1px solid rgba(37, 99, 235, 0.25);
  padding: 0.15rem 0.45rem;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 700;
  margin-left: 0.35rem;
  display: inline-block;
  vertical-align: middle;
}

.lp-switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 24px;
  flex-shrink: 0;
}

.lp-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.lp-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: var(--lp-border);
  transition: .3s;
  border-radius: 99px;
}

.lp-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: #FFFFFF;
  transition: .3s;
  border-radius: 50%;
}

input:checked + .lp-slider {
  background-color: var(--lp-primary);
}

input:checked + .lp-slider:before {
  transform: translateX(22px);
}

.lp-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.lp-pricing-card {
  background: var(--lp-bg-card);
  border: 1px solid var(--lp-border);
  border-radius: 14px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.2s ease;
}

.lp-pricing-card.featured {
  border: 2px solid var(--lp-primary);
  box-shadow: 0 10px 30px -5px rgba(5, 150, 105, 0.15);
}

.lp-featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--lp-primary);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 99px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.lp-plan-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--lp-text);
  margin-bottom: 0.25rem;
}

.lp-plan-desc {
  font-size: 0.82rem;
  color: var(--lp-text-muted);
  margin-bottom: 1.25rem;
}

.lp-plan-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--lp-text);
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 1.5rem;
}

.lp-plan-period {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--lp-text-muted);
}

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

.lp-plan-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--lp-text-muted);
  line-height: 1.4;
}

.lp-plan-feature-item svg {
  color: var(--lp-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

/* =====================================================================
   SECCIÓN: CONTACTO & ASESORÍA
   ===================================================================== */
.lp-contact-section {
  padding-top: 3.5rem;
  padding-bottom: 5rem;
}

.lp-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
  align-items: flex-start;
}

.lp-contact-info-col {
  display: flex;
  flex-direction: column;
}

.lp-contact-title {
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--lp-text);
  margin-bottom: 0.85rem;
  line-height: 1.15;
}

.lp-gradient-text {
  background: linear-gradient(135deg, #2563EB 0%, #7C3AED 50%, #06B6D4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.lp-contact-desc {
  font-size: 1.05rem;
  color: var(--lp-text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* LISTA DE TARJETAS DE CONTACTO */
.lp-contact-cards-list {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.lp-contact-card {
  background: var(--lp-bg-card);
  border: 1px solid var(--lp-border);
  border-radius: 16px;
  padding: 1.35rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--lp-shadow-sm);
}

.lp-contact-card-link {
  cursor: pointer;
}

.lp-contact-card-link:hover {
  transform: translateY(-2px);
  border-color: var(--lp-blue);
  box-shadow: var(--lp-shadow-hover);
}

.lp-contact-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lp-contact-card-icon.icon-purple {
  background: #EDE9FE;
  color: #7C3AED;
}

.lp-contact-card-icon.icon-blue {
  background: #E0F2FE;
  color: #0284C7;
}

.lp-contact-card-icon.icon-green {
  background: #DCFCE7;
  color: #16A34A;
}

[data-theme="dark"] .lp-contact-card-icon.icon-purple,
html.dark .lp-contact-card-icon.icon-purple {
  background: rgba(124, 58, 237, 0.2);
  color: #C4B5FD;
}

[data-theme="dark"] .lp-contact-card-icon.icon-blue,
html.dark .lp-contact-card-icon.icon-blue {
  background: rgba(2, 132, 199, 0.2);
  color: #7DD3FC;
}

[data-theme="dark"] .lp-contact-card-icon.icon-green,
html.dark .lp-contact-card-icon.icon-green {
  background: rgba(22, 163, 74, 0.2);
  color: #86EFAC;
}

.lp-contact-card-content {
  flex: 1;
}

.lp-contact-card-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--lp-text);
  margin-bottom: 0.2rem;
}

.lp-contact-card-highlight {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--lp-text);
  margin-bottom: 0.2rem;
}

.lp-contact-card-sub {
  font-size: 0.82rem;
  color: var(--lp-text-muted);
  line-height: 1.4;
}

.lp-contact-badge-online {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #DCFCE7;
  color: #166534;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 99px;
}

.lp-contact-badge-online::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22C55E;
}

[data-theme="dark"] .lp-contact-badge-online,
html.dark .lp-contact-badge-online {
  background: rgba(34, 197, 94, 0.2);
  color: #86EFAC;
}

/* TARJETA DEL FORMULARIO */
.lp-contact-form-card {
  background: var(--lp-bg-card);
  border: 1px solid var(--lp-border);
  border-radius: 20px;
  padding: 2.5rem 2.25rem;
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.06);
  position: relative;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lp-contact-form-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.lp-form-header-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #F3E8FF;
  color: #9333EA;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

[data-theme="dark"] .lp-form-header-icon,
html.dark .lp-form-header-icon {
  background: rgba(147, 51, 234, 0.22);
  color: #D8B4FE;
}

.lp-contact-form-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--lp-text);
  letter-spacing: -0.02em;
}

.lp-form-group {
  margin-bottom: 1.25rem;
}

.lp-form-label {
  display: block;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--lp-text-muted);
  margin-bottom: 0.5rem;
}

.lp-form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--lp-text);
  background: var(--lp-bg);
  border: 1.5px solid var(--lp-border);
  border-radius: 10px;
  transition: all 0.2s ease;
  outline: none;
}

.lp-form-control:focus {
  border-color: #3B82F6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
  background: var(--lp-bg-card);
}

.lp-select-wrapper {
  position: relative;
  width: 100%;
}

.lp-form-select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.75rem;
  cursor: pointer;
}

.lp-select-arrow {
  position: absolute;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--lp-text-muted);
}

.lp-form-textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.5;
}

.lp-btn-contact-submit {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.95rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
  background: linear-gradient(135deg, #4F46E5 0%, #2563EB 50%, #06B6D4 100%);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.28);
  margin-top: 0.5rem;
}

.lp-btn-contact-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.38);
  filter: brightness(1.06);
}

.lp-btn-contact-submit:active {
  transform: translateY(0);
}

.lp-contact-terms {
  font-size: 0.78rem;
  color: var(--lp-text-muted);
  text-align: center;
  margin-top: 1.15rem;
  line-height: 1.5;
}

.lp-contact-terms-link {
  color: var(--lp-blue);
  text-decoration: underline;
}

/* ÉXITO */
.lp-contact-success-box {
  margin-top: 1.25rem;
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: 12px;
  padding: 1.15rem;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.lp-contact-success-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #22C55E;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lp-contact-success-box strong {
  color: #166534;
  font-size: 0.92rem;
  display: block;
  margin-bottom: 0.25rem;
}

.lp-contact-success-box p {
  color: #15803D;
  font-size: 0.84rem;
  line-height: 1.45;
  margin: 0;
}

[data-theme="dark"] .lp-contact-success-box,
html.dark .lp-contact-success-box {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.3);
}

[data-theme="dark"] .lp-contact-success-box strong,
html.dark .lp-contact-success-box strong {
  color: #4ADE80;
}

[data-theme="dark"] .lp-contact-success-box p,
html.dark .lp-contact-success-box p {
  color: #86EFAC;
}

@media (max-width: 960px) {
  .lp-contact-grid {
    grid-template-columns: 1fr;
    gap: 2.75rem;
  }
}

@media (max-width: 540px) {
  .lp-contact-form-card {
    padding: 1.65rem 1.25rem;
    border-radius: 16px;
  }
  .lp-contact-card {
    padding: 1.15rem 1.15rem;
  }
  .lp-contact-title {
    font-size: 1.85rem;
  }
}

/* =====================================================================
   FOOTER
   ===================================================================== */

.lp-footer {
  background: var(--lp-bg-muted);
  border-top: 1px solid var(--lp-border);
  padding: 4rem 1.5rem 2.5rem;
  margin-top: 4rem;
}

.lp-footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

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

.lp-footer-col h5 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--lp-text);
  margin-bottom: 1rem;
}

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

.lp-footer-link {
  font-size: 0.82rem;
  color: var(--lp-text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.lp-footer-link:hover {
  color: var(--lp-primary);
}

.lp-footer-bottom {
  max-width: 1240px;
  margin: 0 auto;
  border-top: 1px solid var(--lp-border);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--lp-text-light);
  flex-wrap: wrap;
  gap: 1rem;
}

/* =====================================================================
   MEDIA QUERIES — ADAPTACIÓN RESPONSIVE COMPLETA
   ===================================================================== */

/* 1. PANTALLAS MEDIANAS (<= 1200px) */
@media (max-width: 1200px) {
  .lp-navbar-inner {
    gap: 1rem;
    padding: 0 1.25rem;
  }

  .lp-brand {
    margin-right: 0.75rem;
  }

  .lp-brand-tag {
    display: none;
  }

  .lp-nav-links {
    gap: 0.85rem;
  }

  .lp-nav-link {
    font-size: 0.82rem;
    padding: 0.3rem 0.45rem;
  }
}

@media (max-width: 1100px) {
  .lp-modules-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 2. TABLET HORIZONTAL / BREAKPOINT DE NAVEGACIÓN (<= 1040px) */
@media (max-width: 1040px) {
  .lp-nav-links {
    display: none;
  }

  .lp-mobile-menu-btn {
    display: inline-flex;
  }

  #navBtnLogin {
    display: none;
  }

  .lp-brand-tag {
    display: none;
  }

  .lp-hero {
    grid-template-columns: 1fr;
    padding: 3.5rem 1.5rem 2.5rem;
    gap: 2.5rem;
  }

  .lp-pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
    gap: 1.5rem;
  }
}

/* 3. TABLET VERTICAL (<= 860px) */
@media (max-width: 860px) {
  .lp-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lp-footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}


/* 4. TABLET PEQUEÑO & SMARTPHONE VERTICAL (<= 768px) */
@media (max-width: 768px) {
  .lp-hero {
    padding: 2.75rem 1rem 2rem;
    gap: 2rem;
  }

  .lp-hero-badge {
    font-size: 0.74rem;
    padding: 0.25rem 0.65rem;
    margin-bottom: 0.85rem;
  }

  .lp-hero-title {
    font-size: clamp(1.85rem, 6vw, 2.5rem);
    margin-bottom: 1rem;
  }

  .lp-hero-desc {
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 1.5rem;
  }

  .lp-stats-inner {
    grid-template-columns: repeat(2, 1fr);
    padding: 1.75rem 1rem;
    gap: 1.25rem;
  }

  .lp-section {
    padding: 3.5rem 1rem;
  }

  .lp-section-header {
    margin-bottom: 2rem;
  }

  .lp-section-title {
    font-size: clamp(1.6rem, 4.8vw, 2rem);
  }

  .lp-section-sub {
    font-size: 0.92rem;
  }

  .lp-modules-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .lp-why-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .lp-tech-strip {
    padding: 1.5rem 1rem;
  }

  .lp-footer {
    padding: 3rem 1rem 2rem;
    margin-top: 3rem;
  }
}

/* 5. SMARTPHONES ESTÁNDAR (<= 640px) */
@media (max-width: 640px) {
  .lp-navbar-inner {
    height: 58px;
    padding-left: max(0.85rem, env(safe-area-inset-left, 0px));
    padding-right: max(0.85rem, env(safe-area-inset-right, 0px));
  }

  .lp-brand-tag {
    display: none !important;
  }

  .lp-brand-name {
    font-size: 1.05rem;
  }

  .lp-brand-icon {
    width: 32px;
    height: 32px;
  }

  .lp-nav-actions {
    gap: 0.45rem;
  }

  .lp-btn-text-full {
    display: none !important;
  }

  .lp-btn-text-compact {
    display: inline !important;
  }

  .lp-btn-primary {
    padding: 0.42rem 0.75rem;
    font-size: 0.8rem;
    gap: 0.35rem;
    border-radius: 8px;
  }

  .lp-theme-toggle {
    width: 34px;
    height: 34px;
  }

  .lp-mobile-menu-btn {
    width: 34px;
    height: 34px;
  }

  .lp-hero-card {
    padding: 1.25rem 1rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
  }

  .lp-card-amount {
    font-size: clamp(1.65rem, 5.8vw, 2.1rem);
  }

  .lp-sparkline-bars {
    height: 48px;
    margin: 0.85rem 0;
    gap: 3px;
  }

  .lp-card-metrics-grid {
    gap: 0.4rem;
    padding-top: 0.85rem;
  }

  .lp-metric-item-label {
    font-size: 0.62rem;
  }

  .lp-metric-item-val {
    font-size: clamp(0.72rem, 2.8vw, 0.85rem);
  }

  .lp-features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .lp-footer-bottom {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    gap: 0.75rem;
    padding-top: 1.5rem;
  }

  .lp-footer-bottom div {
    display: flex;
    gap: 1rem;
    justify-content: center;
  }

  .lp-footer-link {
    margin-left: 0 !important;
  }
}

/* 6. SMARTPHONES COMPACTOS & BOTONES HERO FULL WIDTH (<= 540px) */
@media (max-width: 540px) {
  .lp-hero {
    padding: 1.75rem 1rem 3rem;
    gap: 1.75rem;
  }

  .lp-hero-title {
    font-size: clamp(1.6rem, 7.2vw, 2.05rem);
    line-height: 1.18;
  }

  .lp-hero-desc {
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
  }

  .lp-hero-ctas {
    flex-direction: column;
    width: 100%;
    gap: 0.65rem;
  }

  .lp-hero-btn-lg {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 0.75rem 1.25rem;
    font-size: 0.92rem;
  }

  .lp-modules-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .lp-module-card {
    padding: 0.9rem 1rem;
    gap: 0.75rem;
  }

  .lp-module-icon-box {
    width: 32px;
    height: 32px;
  }

  .lp-module-icon-box svg {
    width: 16px;
    height: 16px;
  }

  .lp-module-info h4 {
    font-size: 0.88rem;
  }

  .lp-module-info p {
    font-size: 0.75rem;
  }
}

/* 7. SMARTPHONES PEQUEÑOS (<= 480px) */
@media (max-width: 480px) {
  .lp-section {
    padding: 2.75rem 1rem;
  }

  .lp-section-header {
    margin-bottom: 1.75rem;
  }

  .lp-stats-inner {
    gap: 1rem;
    padding: 1.25rem 0.75rem;
  }

  .lp-stat-number {
    font-size: 1.85rem;
  }

  .lp-stat-label {
    font-size: 0.76rem;
    margin-top: 0.25rem;
  }

  .lp-feature-card {
    padding: 1.25rem 1rem;
  }

  .lp-feature-icon-box {
    width: 38px;
    height: 38px;
    margin-bottom: 0.85rem;
  }

  .lp-feature-card-title {
    font-size: 1.02rem;
  }

  .lp-feature-card-desc {
    font-size: 0.83rem;
  }

  .lp-why-icon-box {
    width: 44px;
    height: 44px;
    margin-bottom: 0.85rem;
  }

  .lp-why-title {
    font-size: 1.08rem;
  }

  .lp-why-desc {
    font-size: 0.84rem;
  }

  .lp-tech-inner {
    gap: 0.45rem;
  }

  .lp-tech-pill {
    padding: 0.35rem 0.7rem;
    font-size: 0.74rem;
  }

  .lp-pricing-toggle-box {
    gap: 0.5rem;
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
  }

  .lp-toggle-label {
    font-size: 0.82rem;
  }

  .lp-pricing-card {
    padding: 1.35rem 1.15rem;
  }

  .lp-plan-name {
    font-size: 1.15rem;
  }

  .lp-plan-price {
    font-size: clamp(1.85rem, 6vw, 2.3rem);
    margin-bottom: 1.25rem;
  }

  .lp-plan-period {
    font-size: 0.78rem;
  }

  .lp-plan-features {
    gap: 0.65rem;
    margin-bottom: 1.5rem;
  }

  .lp-plan-feature-item {
    font-size: 0.82rem;
  }
}

/* 8. SMARTPHONES ULTRA-ESTRECHOS (<= 420px) */
@media (max-width: 420px) {
  .lp-brand-tag {
    display: none;
  }

  .lp-brand-name {
    font-size: 1.05rem;
  }

  .lp-nav-actions {
    gap: 0.45rem;
  }
}

/* 9. PANTALLAS EXTRA PEQUEÑAS (<= 360px) */
@media (max-width: 360px) {
  .lp-card-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lp-card-metrics-grid > div:last-child {
    grid-column: span 2;
  }

  .lp-btn-primary {
    padding: 0.4rem 0.65rem;
    font-size: 0.78rem;
  }

  .lp-btn-primary svg {
    display: none;
  }
}

/* =====================================================================
   SCROLL MARGIN OFFSET PARA NAVEGACIÓN PRECISA
   ===================================================================== */
.lp-section,
.lp-tech-section,
#caracteristicas,
#modulos,
#por-que,
#tecnologia,
#planes,
#faq,
#contacto {
  scroll-margin-top: 5.5rem;
}

/* =====================================================================
   SECCIÓN TECNOLOGÍA & ARQUITECTURA ENTERPRISE
   ===================================================================== */
.lp-tech-section {
  background: var(--lp-bg);
  border-top: none;
  border-bottom: none;
  padding: 5rem 1.5rem;
}

.lp-tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
}

.lp-tech-card {
  background: var(--lp-bg-card);
  border: 1px solid var(--lp-border);
  border-radius: 1rem;
  padding: 1.35rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  box-shadow: var(--lp-shadow-sm);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.22s ease, 
              box-shadow 0.22s ease;
  position: relative;
  overflow: hidden;
}

.lp-tech-card:hover {
  transform: translateY(-4px);
  border-color: var(--lp-primary-border);
  box-shadow: var(--lp-shadow-hover);
}

.lp-tech-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid transparent;
  transition: transform 0.2s ease;
}

.lp-tech-card:hover .lp-tech-icon-wrapper {
  transform: scale(1.08);
}

/* Variantes de Color para Iconos Tecnológicos */
.tech-icon-purple {
  background: rgba(147, 51, 234, 0.12);
  color: #9333EA;
  border-color: rgba(147, 51, 234, 0.25);
}
.tech-icon-blue {
  background: rgba(37, 99, 235, 0.12);
  color: #2563EB;
  border-color: rgba(37, 99, 235, 0.25);
}
.tech-icon-emerald {
  background: rgba(5, 150, 105, 0.12);
  color: #059669;
  border-color: rgba(5, 150, 105, 0.25);
}
.tech-icon-amber {
  background: rgba(217, 119, 6, 0.12);
  color: #D97706;
  border-color: rgba(217, 119, 6, 0.25);
}
.tech-icon-cyan {
  background: rgba(8, 145, 178, 0.12);
  color: #0891B2;
  border-color: rgba(8, 145, 178, 0.25);
}
.tech-icon-amber-warm {
  background: rgba(234, 88, 12, 0.12);
  color: #EA580C;
  border-color: rgba(234, 88, 12, 0.25);
}
.tech-icon-rose {
  background: rgba(225, 29, 72, 0.12);
  color: #E11D48;
  border-color: rgba(225, 29, 72, 0.25);
}
.tech-icon-indigo {
  background: rgba(79, 70, 229, 0.12);
  color: #4F46E5;
  border-color: rgba(79, 70, 229, 0.25);
}

/* Modo oscuro adaptado */
[data-theme="dark"] .tech-icon-purple, html.dark .tech-icon-purple {
  color: #C084FC;
  background: rgba(192, 132, 252, 0.15);
  border-color: rgba(192, 132, 252, 0.3);
}
[data-theme="dark"] .tech-icon-blue, html.dark .tech-icon-blue {
  color: #60A5FA;
  background: rgba(96, 165, 250, 0.15);
  border-color: rgba(96, 165, 250, 0.3);
}
[data-theme="dark"] .tech-icon-emerald, html.dark .tech-icon-emerald {
  color: #34D399;
  background: rgba(52, 211, 153, 0.15);
  border-color: rgba(52, 211, 153, 0.3);
}
[data-theme="dark"] .tech-icon-amber, html.dark .tech-icon-amber {
  color: #FBBF24;
  background: rgba(251, 191, 36, 0.15);
  border-color: rgba(251, 191, 36, 0.3);
}
[data-theme="dark"] .tech-icon-cyan, html.dark .tech-icon-cyan {
  color: #22D3EE;
  background: rgba(34, 211, 238, 0.15);
  border-color: rgba(34, 211, 238, 0.3);
}
[data-theme="dark"] .tech-icon-amber-warm, html.dark .tech-icon-amber-warm {
  color: #FB923C;
  background: rgba(251, 146, 60, 0.15);
  border-color: rgba(251, 146, 60, 0.3);
}
[data-theme="dark"] .tech-icon-rose, html.dark .tech-icon-rose {
  color: #FB7185;
  background: rgba(251, 113, 133, 0.15);
  border-color: rgba(251, 113, 133, 0.3);
}
[data-theme="dark"] .tech-icon-indigo, html.dark .tech-icon-indigo {
  color: #818CF8;
  background: rgba(129, 140, 248, 0.15);
  border-color: rgba(129, 140, 248, 0.3);
}

.lp-tech-card-content {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.lp-tech-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.lp-tech-card-name {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--lp-text);
  margin: 0;
  line-height: 1.25;
}

.lp-tech-badge {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  background: var(--lp-bg-muted);
  border: 1px solid var(--lp-border);
  color: var(--lp-text-muted);
  letter-spacing: 0.02em;
}

.lp-tech-card-desc {
  font-size: 0.85rem;
  color: var(--lp-text-muted);
  line-height: 1.55;
  margin: 0;
}

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

@media (max-width: 640px) {
  .lp-tech-section {
    padding: 3.5rem 1rem;
  }
  .lp-tech-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* =====================================================================
   10. MODALES LEGALES: TÉRMINOS DE SERVICIO Y POLÍTICA DE PRIVACIDAD
   ===================================================================== */
.lp-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
}

.lp-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.lp-modal-dialog {
  background: var(--lp-bg-card);
  border: 1px solid var(--lp-border);
  border-radius: 1.25rem;
  width: 100%;
  max-width: 800px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  transform: scale(0.96) translateY(12px);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.lp-modal-overlay.active .lp-modal-dialog {
  transform: scale(1) translateY(0);
}

.lp-modal-header {
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--lp-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--lp-bg-muted);
  gap: 1rem;
}

.lp-modal-header-info {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.lp-modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: fit-content;
  padding: 0.2rem 0.6rem;
  background: var(--lp-primary-subtle);
  color: var(--lp-primary);
  border: 1px solid var(--lp-primary-border);
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.lp-modal-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--lp-text);
  margin: 0;
  line-height: 1.25;
}

.lp-modal-close-btn {
  background: transparent;
  border: 1px solid transparent;
  width: 38px;
  height: 38px;
  border-radius: 0.5rem;
  color: var(--lp-text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.lp-modal-close-btn:hover {
  background: var(--lp-border);
  color: var(--lp-text);
  border-color: var(--lp-border);
}

.lp-modal-body {
  padding: 1.75rem;
  overflow-y: auto;
  color: var(--lp-text);
  font-size: 0.92rem;
  line-height: 1.68;
  scrollbar-width: thin;
  scrollbar-color: var(--lp-border) transparent;
}

.lp-modal-body::-webkit-scrollbar {
  width: 6px;
}
.lp-modal-body::-webkit-scrollbar-thumb {
  background-color: var(--lp-border);
  border-radius: 3px;
}

.lp-modal-section {
  margin-bottom: 1.75rem;
}

.lp-modal-section:last-child {
  margin-bottom: 0;
}

.lp-modal-section h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--lp-text);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lp-modal-section-num {
  font-family: 'JetBrains Mono', monospace;
  color: var(--lp-primary);
  font-weight: 700;
}

.lp-modal-section p {
  color: var(--lp-text-muted);
  margin-bottom: 0.65rem;
}

.lp-modal-section ul {
  padding-left: 1.35rem;
  margin-bottom: 0.65rem;
  color: var(--lp-text-muted);
}

.lp-modal-section li {
  margin-bottom: 0.35rem;
}

.lp-modal-callout {
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  background: var(--lp-bg-muted);
  border-left: 4px solid var(--lp-primary);
  margin: 1.15rem 0;
  font-size: 0.88rem;
  color: var(--lp-text);
}

.lp-modal-footer {
  padding: 1rem 1.75rem;
  border-top: 1px solid var(--lp-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--lp-bg-muted);
  gap: 1rem;
}

.lp-modal-footer-meta {
  font-size: 0.78rem;
  color: var(--lp-text-muted);
  font-family: 'JetBrains Mono', monospace;
}

.lp-modal-footer-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lp-btn-outline-sm {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--lp-border);
  border-radius: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--lp-text);
  background: var(--lp-bg-card);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

.lp-btn-outline-sm:hover {
  background: var(--lp-bg);
  border-color: var(--lp-text-light);
}

.lp-footer-bottom-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 640px) {
  .lp-modal-overlay {
    padding: 0.65rem;
  }
  .lp-modal-dialog {
    max-height: 94vh;
    border-radius: 1rem;
  }
  .lp-modal-header {
    padding: 1rem 1.15rem;
  }
  .lp-modal-title {
    font-size: 1.1rem;
  }
  .lp-modal-body {
    padding: 1.15rem;
  }
  .lp-modal-footer {
    padding: 0.85rem 1.15rem;
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 0.65rem;
  }
  .lp-modal-footer-actions {
    flex-direction: column;
    width: 100%;
  }
  .lp-modal-footer-actions > * {
    width: 100%;
    justify-content: center;
  }
  .lp-modal-footer-meta {
    text-align: center;
  }
  .lp-footer-bottom-links {
    justify-content: center;
    gap: 0.75rem;
  }
}

/* =====================================================================
   UTILIDADES SEMÁNTICAS (BUENAS PRÁCTICAS — CERO CSS INLINE)
   ===================================================================== */
.is-hidden {
  display: none !important;
}

.lp-btn-block {
  width: 100% !important;
  justify-content: center !important;
}

.lp-contact-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.lp-mobile-legal-links {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 0.5rem;
  font-size: 0.82rem;
}

.lp-mobile-legal-link {
  color: var(--lp-text-muted);
  text-decoration: underline;
}

.lp-mobile-legal-separator {
  color: var(--lp-text-light);
}

.lp-footer-static {
  cursor: default;
}

.lp-btn-modal-action {
  padding: 0.5rem 1.15rem;
  font-size: 0.85rem;
}
