/* ==========================================================================
   SOMOS MARKETING PERÚ E.I.R.L. — DESIGN SYSTEM & ESTILOS PROFESIONALES
   SaaS Premium con Micro-Interacciones y Transiciones Fluidas
   RUC: 20615554384 | Lima, Perú
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. PROTECCIÓN ANTI-COPIA Y ANTI-SCRAPING — SOMOS MARKETING PERÚ E.I.R.L.
   -------------------------------------------------------------------------- */

/* Bloquear selección de texto en toda la página */
* {
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
}

/* Permitir selección en inputs, textareas y DATOS DE CONTACTO / RUC / LEGALES */
input, textarea, select, [contenteditable="true"],
.copyable, .contact-data, .selectable, [data-copyable],
.trust-pill, .ruc-badge, .contact-value, .bank-data, .brand-text,
.footer-contact, .company-legal-info, [data-selectable],
.hero-trust-badge, .header-actions, .brand-name, .brand-tagline,
.top-trust-bar, .contact-box, .account-number, .selectable-data,
.copy-ruc-btn, .step-6-card-cta, .exit-intent-card {
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
  user-select: text !important;
}

.copy-ruc-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(30, 58, 138, 0.08);
  color: #1e3a8a;
  border: 1px solid rgba(30, 58, 138, 0.25);
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none !important;
}
.copy-ruc-btn:hover {
  background: #1e3a8a;
  color: #ffffff;
  border-color: #1e3a8a;
}
.copy-ruc-btn.copied {
  background: #059669;
  color: #ffffff;
  border-color: #059669;
}

/* Bloquear arrastre de imágenes */
img, svg {
  -webkit-user-drag: none !important;
  -khtml-user-drag: none !important;
  -moz-user-drag: none !important;
  -o-user-drag: none !important;
  user-drag: none !important;
  pointer-events: none !important;
}

/* Restaurar pointer-events solo para elementos interactivos */
a img, button img, .gallery-card img, .step-img, .hero-phone-device-frame img,
.mascot-img-banner {
  pointer-events: auto !important;
}

/* Capa de protección sobre imágenes sensibles (superpuesta transparente) */
.img-protect-wrap {
  position: relative;
  display: inline-block;
}
.img-protect-wrap::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 10;
  background: transparent;
  cursor: default;
}

/* Prevenir highlight de texto al hacer clic múltiple */
body {
  -webkit-tap-highlight-color: transparent;
}

/* --------------------------------------------------------------------------
   1. VARIABLES DE DISEÑO (DESIGN TOKENS)
   -------------------------------------------------------------------------- */
:root {
  /* Paleta Corporativa de Autoridad (Regla 60-30-10) */
  --bg-body: #ffffff;
  --bg-surface: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-alt: #f1f5f9;
  --bg-dark: #090e17;
  --bg-dark-card: #0f172a;
  --bg-dark-surface: #1e293b;

  /* Colores de Marca y Confianza */
  --primary: #1e3a8a;
  /* Azul corporativo profundo (autoridad / SUNAT) */
  --primary-hover: #172554;
  --primary-light: #3b82f6;
  --primary-subtle: #eff6ff;
  --primary-border: #bfdbfe;

  --accent-crimson: #c81517;
  /* Carmesí oficial de Somos Marketing Perú */
  --accent-crimson-dark: #a30e10;
  --accent-crimson-subtle: #fef2f2;
  --accent-crimson-border: #fecaca;

  --whatsapp: #25d366;
  /* Verde exclusivo WhatsApp y validación bancaria */
  --whatsapp-hover: #1ebc57;
  --whatsapp-subtle: #ecfdf5;
  --whatsapp-border: #a7f3d0;

  /* Textos y Contraste */
  --text-main: #0f172a;
  /* Pizarra oscuro de máxima legibilidad */
  --text-muted: #475569;
  /* Gris balanceado para párrafos */
  --text-subtle: #64748b;
  /* Metadatos y notas */
  --text-light: #94a3b8;
  --text-white: #ffffff;

  /* Bordes Suaves y Limpios */
  --border-light: #e2e8f0;
  --border-subtle: #f1f5f9;
  --border-dark: #1e293b;

  /* Tipografías */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Plus Jakarta Sans', var(--font-sans);
  --font-mono: 'JetBrains Mono', monospace;

  /* Sombras y Efectos 3D */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06);
  --shadow-card: 0 12px 32px -4px rgba(15, 23, 42, 0.08), 0 4px 12px rgba(15, 23, 42, 0.03);
  --shadow-card-hover: 0 20px 40px -8px rgba(15, 23, 42, 0.14), 0 8px 16px rgba(15, 23, 42, 0.04);
  --shadow-3d: 0 14px 28px -6px rgba(15, 23, 42, 0.15), 0 6px 12px rgba(15, 23, 42, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.9);
  --shadow-3d-crimson: 0 12px 24px -4px rgba(200, 21, 23, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.4);
  --shadow-3d-green: 0 12px 24px -4px rgba(16, 185, 129, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.4);

  /* Radios de Borde */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Ancho de Contenedor */
  --container-max: 1220px;
  --header-height: 74px;
  --top-bar-height: 38px;
}

/* --------------------------------------------------------------------------
   2. RESET & BASE (PREVENCIÓN DE TRASLAPES)
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: light;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* Compensación de anclas para el navbar fijo (evita que los títulos queden tapados) */
section,
[id] {
  scroll-margin-top: calc(var(--header-height) + var(--top-bar-height) + 16px);
}

img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

/* --------------------------------------------------------------------------
   3. CONTENEDORES Y ESTRUCTURA DE SECCIONES (CENTRADO Y ESPACIOS)
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section-container {
  padding-top: 76px;
  padding-bottom: 76px;
  position: relative;
  width: 100%;
}

.section-container-compact {
  padding-top: 36px;
  padding-bottom: 36px;
}

.section-bg-white {
  background-color: #ffffff;
}

.section-bg-subtle {
  background-color: #f8fafc;
}

@media (max-width: 768px) {
  .section-container {
    padding-top: 52px;
    padding-bottom: 52px;
  }
  .section-container-compact {
    padding-top: 26px;
    padding-bottom: 26px;
  }
}

.section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 44px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background-color: var(--primary-subtle);
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 720px;
}

.highlight-red {
  color: var(--accent-crimson);
}

/* Grids Generales */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* --------------------------------------------------------------------------
   4. BARRA SUPERIOR DE CONFIANZA & HEADER FIJO
   -------------------------------------------------------------------------- */
.top-trust-bar {
  background-color: #0b111e;
  color: #94a3b8;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  height: var(--top-bar-height);
  display: flex;
  align-items: center;
  position: relative;
  z-index: 101;
}

.top-trust-container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.trust-label {
  color: #64748b;
  font-weight: 600;
  font-size: 0.69rem;
  letter-spacing: 0.06em;
}

.trust-val {
  color: #f1f5f9;
  font-weight: 700;
}

.trust-separator {
  color: #334155;
  font-weight: 800;
  user-select: none;
}

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  z-index: 100;
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: all 0.25s ease;
}

.header-container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text-main);
  line-height: 1.15;
}

.brand-tagline {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-link {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 7px 11px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background-color: var(--primary-subtle);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 10px 8px;
  transition: all 0.25s ease;
  touch-action: manipulation;
}

.mobile-toggle span {
  width: 22px;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: all 0.25s ease;
  transform-origin: center;
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Drawer Móvil */
.mobile-drawer {
  display: none;
  position: fixed;
  top: calc(var(--header-height) + var(--top-bar-height));
  left: 0;
  width: 100%;
  height: calc(100vh - var(--header-height) - var(--top-bar-height));
  background-color: #ffffff;
  z-index: 99;
  flex-direction: column;
  padding: 20px 16px;
  overflow-y: auto;
  border-top: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  -webkit-overflow-scrolling: touch;
}

.mobile-drawer.active {
  display: flex;
}

.mobile-drawer .nav-link {
  font-size: 1.05rem;
  padding: 14px 16px;
  min-height: 48px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border-subtle);
  touch-action: manipulation;
}

body.mobile-menu-open {
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   5. BOTONES (ESTILO SHIMMER & ELEVACIÓN)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.2;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--accent-crimson);
  color: #ffffff;
  border-color: var(--accent-crimson);
  box-shadow: 0 4px 14px rgba(200, 21, 23, 0.3);
}

.btn-primary:hover {
  background-color: var(--accent-crimson-dark);
  border-color: var(--accent-crimson-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(200, 21, 23, 0.4);
}

.btn-secondary {
  background-color: #ffffff;
  color: var(--text-main);
  border-color: var(--border-light);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  border-color: var(--primary-light);
  color: var(--primary);
  background-color: var(--primary-subtle);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: var(--whatsapp);
  color: #ffffff;
  border-color: var(--whatsapp);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-hover);
  border-color: var(--whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.btn-lg {
  padding: 15px 32px;
  font-size: 1rem;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.82rem;
}

.btn-block {
  width: 100%;
}

.btn-arrow {
  font-size: 1.15rem;
  transition: transform 0.2s ease;
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   6. SECCIÓN HERO CON STICKERS Y CARDS 3D DE ALTO IMPACTO
   -------------------------------------------------------------------------- */
.hero-section {
  padding-top: 64px;
  padding-bottom: 84px;
  background: radial-gradient(circle at 50% 0%, #eff6ff 0%, #ffffff 75%);
  position: relative;
  overflow: hidden;
}

.hero-mesh-canvas,
.section-mesh-canvas {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none !important;
  z-index: 1 !important;
  opacity: 0.70;
}

.hero-section > .container,
.section-container > .container,
.blog-section > .container {
  position: relative !important;
  z-index: 2 !important;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 52px;
  align-items: center;
}

/* ==========================================================================
   HERO COCKPIT DUAL: HEADER EDITORIAL + STAGE SHOWROOM INTERACTIVO
   ========================================================================== */

/* Trust Badge (Error 9 & Error 6 UX Peak: Reseñas y Estrellas junto al Título) */
.hero-trust-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 9999px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.stars-gold {
  color: #f59e0b;
  font-size: 0.95rem;
  letter-spacing: 1px;
}

.trust-rating {
  font-size: 0.82rem;
  font-weight: 800;
  color: #0f172a;
}

.trust-sep {
  color: #cbd5e1;
  font-weight: 600;
}

.trust-clients {
  font-size: 0.8rem;
  font-weight: 600;
  color: #475569;
}

.trust-ruc {
  font-size: 0.74rem;
  font-weight: 700;
  color: #1e40af;
  background: #eff6ff;
  padding: 2px 8px;
  border-radius: 4px;
}

/* Inclusiones Clave del Hero (Error 10 & Solicitud de Contenido) */
.hero-inclusions-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  max-width: 900px;
  margin: 0 auto 28px auto;
}

.inclusion-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.02);
  transition: all 0.2s ease;
}

.inclusion-pill:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.inclusion-pill .pill-icon {
  color: #059669;
  font-weight: 800;
  font-size: 0.85rem;
}

.inclusion-pill.inclusion-highlight {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1e3a8a;
  font-weight: 700;
}

.inclusion-pill.inclusion-highlight .pill-icon {
  color: #2563eb;
}

.btn-hero-primary {
  flex-direction: column !important;
  justify-content: center !important;
  padding: 13px 32px !important;
  text-align: center !important;
}

.btn-hero-sub {
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 0.9;
  letter-spacing: 0.02em;
  margin-top: 2px;
}

.hero-header-center {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 36px auto;
}

.hero-eyebrow-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 18px;
  border-radius: 9999px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  margin-bottom: 20px;
}

.eyebrow-text {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #475569;
}

.hero-header-center .hero-title {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.18;
  color: #0f172a;
  margin-bottom: 18px;
}

.dynamic-text-rotator {
  display: inline-block;
  color: #1e3a8a;
  border-bottom: 3px solid #2563eb;
  padding-bottom: 2px;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.dynamic-text-rotator.fade-out {
  opacity: 0;
  transform: translateY(-8px);
}

.dynamic-text-rotator.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.hero-header-center .hero-lead-clean {
  font-size: 1.08rem;
  line-height: 1.68;
  color: #1e293b;
  max-width: 780px;
  margin: 0 auto 26px auto;
  font-weight: 500;
}

/* Hook Comercial: Fórmula de Crecimiento Mayorista */
.hero-formula-banner {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 14px 20px;
  margin: 16px auto 22px auto;
  max-width: 860px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: left;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.hero-formula-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: #f1f5f9;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}

.hero-formula-text {
  font-size: 0.88rem;
  color: #334155;
  line-height: 1.55;
}

.hero-formula-text strong {
  color: #0f172a;
}

/* Pareja de CTAs Comerciales de Alta Conversión */
.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  background: #0f172a;
  color: #ffffff;
  border: 1px solid #0f172a;
  padding: 14px 30px;
  border-radius: 9999px;
  font-weight: 800;
  font-size: 1.02rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.16);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.btn-hero-primary:hover {
  background: #1e3a8a;
  border-color: #1e3a8a;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(30, 58, 138, 0.22);
  color: #ffffff;
}

.btn-hero-quote {
  background: #1e3a8a;
  color: #ffffff;
  border: 1px solid #1e40af;
  padding: 15px 30px;
  border-radius: 9999px;
  font-weight: 800;
  font-size: 1.02rem;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  box-shadow: 0 10px 25px -5px rgba(30, 58, 138, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  cursor: pointer;
  line-height: 1.2;
}

.btn-hero-quote:hover {
  background: #172554;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -4px rgba(30, 58, 138, 0.45);
  color: #ffffff;
}

.btn-hero-secondary {
  background: #ffffff;
  color: #047857;
  border: 1.5px solid #a7f3d0;
  padding: 14px 28px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.98rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  text-decoration: none;
}

.btn-hero-secondary:hover {
  background: #ecfdf5;
  border-color: #059669;
  color: #065f46;
  transform: translateY(-2px);
}

/* Micro-Garantías de Confianza */
.hero-trust-notes {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #64748b;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.trust-note-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.trust-note-dot {
  color: #cbd5e1;
  user-select: none;
}

/* Showroom Stage: Selector de Pasos Minimalista Estilo Shupatto */
.hero-stage-selector {
  max-width: 920px;
  margin: 0 auto 20px auto;
  padding: 6px;
  background: #f1f5f9;
  border-radius: 9999px;
  border: 1px solid #e2e8f0;
  box-shadow: inset 0 1px 3px rgba(15, 23, 42, 0.04);
}

/* ======================================================================
   EMBUDO OMNICANAL DE CAPTACIÓN: REDES SOCIALES ➔ WEB / WHATSAPP ➔ CAJA
   ====================================================================== */
.omnichannel-funnel-strip {
  max-width: 1080px;
  margin: 0 auto 24px auto;
  background: #ffffff;
  border: 1.5px solid #dbeafe;
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 4px 18px rgba(30, 58, 138, 0.05);
}

.omnichannel-funnel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eff6ff;
}

.omnichannel-funnel-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #1e3a8a;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.01em;
}

.omnichannel-funnel-tag {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 9999px;
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.omnichannel-funnel-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 12px;
  align-items: center;
}

@media (max-width: 900px) {
  .omnichannel-funnel-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.omnichannel-node {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 14px;
  transition: all 0.2s ease;
}

.omnichannel-node:hover {
  border-color: #93c5fd;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}

.omnichannel-node-badge {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 4px;
  padding: 2px 8px;
  border-radius: 6px;
}

.badge-meta-tiktok {
  background: #f1f5f9;
  color: #1e293b;
  border: 1px solid #cbd5e1;
}

.badge-channel-web {
  background: #eff6ff;
  color: #1e3a8a;
  border: 1px solid #bfdbfe;
}

.badge-channel-wa {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.badge-convergencia {
  background: #f8fafc;
  color: #0f172a;
  border: 1px solid #cbd5e1;
}

.omnichannel-node-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.omnichannel-node-desc {
  font-size: 0.78rem;
  color: #475569;
  line-height: 1.45;
  margin: 0;
}

.omnichannel-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 1.2rem;
  font-weight: 800;
}

@media (max-width: 900px) {
  .omnichannel-arrow {
    transform: rotate(90deg);
    margin: 2px 0;
  }
}

/* Stepper Maestro del Simulador en 10 Pasos Operativos */
.hero-master-stepper-outer {
  position: relative;
  max-width: 1220px;
  margin: 0 auto 30px auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-master-stepper-wrapper {
  position: relative;
  flex: 1;
  min-width: 0;
  padding: 6px 10px;
  background: #ffffff;
  border-radius: 9999px;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}
.hero-master-stepper-wrapper::-webkit-scrollbar {
  height: 4px;
}
.hero-master-stepper-wrapper::-webkit-scrollbar-track {
  background: transparent;
}
.hero-master-stepper-wrapper::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.hero-stepper-nav-arrow {
  display: flex;
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  color: #0f172a;
  font-size: 1.3rem;
  font-weight: 800;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 5;
  user-select: none;
  line-height: 1;
  flex-shrink: 0;
}

.hero-stepper-nav-arrow:hover {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
  transform: scale(1.05);
}

.hero-stepper-progress-track {
  position: absolute;
  top: 50%;
  left: 36px;
  right: 36px;
  height: 3px;
  background: #f1f5f9;
  border-radius: 9999px;
  transform: translateY(-50%);
  z-index: 1;
  pointer-events: none;
}

.hero-stepper-progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #2563eb, #1e3a8a);
  border-radius: 9999px;
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-master-stepper {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  width: max-content;
  min-width: 100%;
}

.stepper-node-btn {
  flex: 0 0 auto;
  white-space: nowrap;
  border: 1.5px solid transparent;
  background: #ffffff;
  padding: 5px 10px;
  border-radius: 9999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #64748b;
  font-family: inherit;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.stepper-node-btn:hover {
  color: #1e293b;
  background: #f8fafc;
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.stepper-node-btn .node-indicator {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 1.5px solid #cbd5e1;
  color: #475569;
  font-size: 0.74rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  line-height: 1;
}

.stepper-node-btn .node-label {
  font-size: 0.77rem;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}

/* Estado Activo (Paso actual) */
.stepper-node-btn.active {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
}

.stepper-node-btn.active .node-indicator {
  background: #ffffff;
  border-color: #ffffff;
  color: #0f172a;
  box-shadow: none;
}

.stepper-node-btn.active .node-label {
  color: #ffffff;
  font-weight: 800;
}

/* Estado Completado (Pasos previos) */
.stepper-node-btn.completed {
  color: #334155;
  background: #f8fafc;
  border-color: #cbd5e1;
}

.stepper-node-btn.completed .node-indicator {
  background: #334155;
  border-color: #334155;
  color: #ffffff;
}

.stepper-node-btn.completed .node-label {
  color: #334155;
  font-weight: 700;
}

/* Responsive para pantallas medianas y móviles */
@media (max-width: 1024px) {
  .hero-master-stepper-wrapper {
    border-radius: 9999px;
    padding: 6px 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
  }
  .hero-stepper-progress-track {
    display: none;
  }
  .hero-master-stepper {
    width: max-content;
    gap: 6px;
  }
  .stepper-node-btn {
    flex: 0 0 auto;
    padding: 6px 12px;
  }
}

.stage-pills-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  flex-wrap: wrap;
}

.stage-pill-btn {
  flex: 1;
  min-width: 120px;
  border: none;
  background: transparent;
  padding: 8px 12px;
  border-radius: 9999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #64748b;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.stage-pill-btn .pill-number {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #475569;
  font-size: 0.74rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.stage-pill-btn:hover {
  color: #1e293b;
  background: rgba(255, 255, 255, 0.6);
}

.stage-pill-btn.active {
  background: #ffffff;
  color: #0f172a;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.stage-pill-btn.active .pill-number {
  background: #0f172a;
  color: #ffffff;
}

.stage-pill-btn.completed .pill-number {
  background: #10b981;
  color: #ffffff;
}

/* Botones de Navegación Limpios de la Card */
.btn-card-nav {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 18px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-card-nav:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
}

.btn-card-nav-primary {
  background: #0f172a;
  border: 1px solid #0f172a;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 10px 22px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.btn-card-nav-primary:hover {
  background: #1e293b;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.22);
}

/* Grid Dual: Card a la Izquierda + Celular 3D a la Derecha */
.hero-dual-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: center;
}

/* Card Dinámica Interactiva */
.hero-dynamic-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1.5px solid #cbd5e1;
  padding: 30px 34px;
  min-height: 570px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.hero-dynamic-card:hover {
  box-shadow: 0 16px 40px -12px rgba(15, 23, 42, 0.12);
}

.hero-card-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.role-badge {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  background: #f1f5f9;
  color: #0f172a;
  border: 1px solid #cbd5e1;
}

.role-cliente {
  background: #eff6ff;
  color: #1e3a8a;
  border: 1px solid #bfdbfe;
}

.role-admin {
  background: #fdf2f8;
  color: #9d174d;
  border: 1px solid #fbcfe8;
}

.role-sistema {
  background: #f5f3ff;
  color: #5b21b6;
  border: 1px solid #ddd6fe;
}

.role-almacen {
  background: #f8fafc;
  color: #0f172a;
  border: 1px solid #cbd5e1;
}

.role-sunat {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.role-shalom {
  background: #fffbeb;
  color: #92400e;
  border: 1px solid #fde68a;
}

.role-destino {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.step-counter-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 800;
  color: #334155;
  background: #f1f5f9;
  padding: 4px 10px;
  border-radius: 9999px;
  border: 1px solid #e2e8f0;
}

.hero-card-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
  line-height: 1.25;
}

.hero-card-subtitle {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 18px;
}

.hero-card-fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
  background: #f8fafc;
  border-radius: 12px;
  padding: 16px 18px;
  border: 1px solid #e2e8f0;
}

.card-field-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px dashed #e2e8f0;
}

.card-field-row:last-child {
  border-bottom: none;
}

.field-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #64748b;
}

.field-value {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  text-align: right;
}

.field-value.highlight-green {
  color: #047857;
  font-weight: 800;
}

.field-value.highlight-blue {
  color: #1e3a8a;
  font-weight: 800;
}

.field-value.highlight-amber {
  color: #0f172a;
  font-weight: 800;
}

.hero-card-alert {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 22px;
}

.alert-info {
  background: #f8fafc;
  color: #1e3a8a;
  border: 1px solid #bfdbfe;
}

.alert-warning {
  background: #f8fafc;
  color: #0f172a;
  border: 1px solid #cbd5e1;
}

.alert-success {
  background: #f8fafc;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.hero-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.btn-autoplay {
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  color: #334155;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 10px;
  padding: 8px 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-autoplay:hover,
.btn-autoplay.active {
  background: #f1f5f9;
  border-color: #0f172a;
  color: #0f172a;
}

.hero-card-footer-trust {
  font-size: 0.76rem;
  color: #94a3b8;
  font-weight: 600;
  text-align: center;
  border-top: 1px solid #f1f5f9;
  padding-top: 14px;
}

/* Paneles de Interacción Dinámica para Pasos 3 y 4 en Hero Dynamic Card */
.step-interactive-panel {
  margin-top: 14px;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.05);
}

.step-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.step-panel-title {
  font-size: 0.78rem;
  font-weight: 800;
  color: #334155;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.step-panel-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 9999px;
  background: #f1f5f9;
  color: #475569;
}

.step-panel-badge.badge-green {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.step-panel-badge.badge-blue {
  background: #eff6ff;
  color: #1e3a8a;
  border: 1px solid #bfdbfe;
}

.scenario-toggles-row {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.btn-scenario {
  flex: 1;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  color: #475569;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  min-height: 44px;
}

.btn-scenario:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.btn-scenario.active {
  background: #ffffff;
  border-color: #0284c7;
  color: #0369a1;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.15);
  font-weight: 800;
}

.btn-scenario.active.btn-scenario-ok {
  border-color: #059669;
  color: #047857;
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.15);
}

.btn-scenario.active.btn-scenario-short {
  border-color: #d97706;
  color: #b45309;
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.15);
}

.scenario-content-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #334155;
  animation: fadeInScenario 0.25s ease-out;
}

@keyframes fadeInScenario {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.ocr-demo-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #0a2540;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 44px;
  margin-bottom: 10px;
}

.ocr-demo-btn:hover {
  background: #1e3a8a;
  box-shadow: 0 4px 14px rgba(30, 58, 138, 0.25);
  transform: translateY(-1px);
}

.ocr-result-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  border-bottom: 1px dashed #e2e8f0;
  font-size: 0.8rem;
}

.ocr-result-item:last-child {
  border-bottom: none;
}

.ocr-pulse-scanning {
  display: inline-block;
  animation: ocrScanGlow 1.2s infinite ease-in-out;
}

@keyframes ocrScanGlow {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Teléfono 3D: Barra de Estado en Vivo */
.hero-phone-live-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(10px);
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.15);
  white-space: nowrap;
}

/* Barra de selección de vista: Pantalla HD vs Modelo 3D */
.hero-view-toggle-bar {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  border-radius: 9999px;
  padding: 4px;
  margin-bottom: 16px;
  border: 1px solid #e2e8f0;
}

.btn-view-toggle {
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748b;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.btn-view-toggle:hover {
  color: #1e293b;
}

.btn-view-toggle.active {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
  font-weight: 800;
}

/* Marco Físico de Celular Inteligente (Alta Fidelidad - Funciona 100% en file:// y Web) */
.hero-phone-device-frame {
  position: relative;
  width: 320px;
  max-width: 100%;
  height: auto;
  box-sizing: border-box;
  background: #0f172a;
  border-radius: 46px;
  padding: 10px 10px 8px 10px;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.35), 0 0 0 2px rgba(255, 255, 255, 0.14), inset 0 0 0 2px #334155;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto 12px auto;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
  user-select: none;
}

.hero-phone-device-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 64px -12px rgba(15, 23, 42, 0.42);
}

.hero-phone-device-frame.phone-screen-clicked {
  transform: scale(0.985);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.35);
}

/* Dynamic Island: seamlessly integrated in vector screens */
.phone-dynamic-island {
  display: none !important;
}

/* Viewport de Pantalla Móvil HD */
.phone-screen-viewport {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 1170 / 2532;
  border-radius: 36px;
  overflow: hidden;
  background: #0f172a;
  cursor: pointer;
  transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.phone-screen-viewport:active {
  transform: scale(0.988);
}

.phone-screen-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: opacity 0.2s ease, transform 0.2s ease;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  filter: contrast(102%) saturate(102%);
}

/* Touch Hint Flotante */
.phone-touch-hint {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(10px);
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 0.74rem;
  font-weight: 700;
  pointer-events: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  animation: pulseHint 2.4s infinite;
  white-space: nowrap;
}

@keyframes pulseHint {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.95; }
  50% { transform: translateX(-50%) translateY(-3px); opacity: 1; }
}

/* Marca Oficial en el Bisel Inferior del Celular */
.phone-bezel-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding-top: 8px;
  padding-bottom: 2px;
  font-size: 0.68rem;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.5px;
  user-select: none;
  box-sizing: border-box;
}

.bezel-logo-mini {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  object-fit: cover;
  display: inline-block;
}

/* Botón de inspección y ampliación HD */
.btn-phone-zoom-inspect {
  position: absolute;
  top: 14px;
  right: 18px;
  z-index: 25;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.2s ease;
}

.btn-phone-zoom-inspect:hover {
  background: #1e3a8a;
  border-color: #60a5fa;
  transform: scale(1.05);
}

/* Barra inferior Home */
.phone-home-indicator {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 4px;
  background: rgba(15, 23, 42, 0.85);
  border-radius: 4px;
  z-index: 10;
  pointer-events: none;
}

/* Barra de Mini-Pasos Directa bajo el Celular */
.phone-quick-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: 12px auto 6px auto;
  padding: 6px 10px;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  max-width: 440px;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.phone-quick-node {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  font-size: 0.76rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.phone-quick-node:hover {
  background: rgba(37, 99, 235, 0.35);
  color: #ffffff;
  border-color: #3b82f6;
  transform: scale(1.1);
}

.phone-quick-node.active {
  background: #2563eb;
  color: #ffffff;
  border-color: #60a5fa;
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.65);
  transform: scale(1.12);
}

.phone-quick-node.completed {
  background: rgba(16, 185, 129, 0.22);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.45);
}

/* Barra de Progreso de Auto-Demo */
.autoplay-progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(15, 23, 42, 0.08);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 8px;
  display: none;
}

.autoplay-progress-bar.active {
  display: block;
}

.autoplay-progress-fill {
  height: 100%;
  width: 0%;
  background: #2563eb;
  transition: width 0.1s linear;
}

/* Responsividad para móviles del Hero B2B Premium */
@media (max-width: 992px) {
  .hero-header-center .hero-title {
    font-size: 2.2rem;
  }

  .hero-dual-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-stage-selector {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 16px;
  }

  .stage-pills-track {
    min-width: 580px;
  }
}

@media (max-width: 640px) {
  .hero-header-center .hero-title {
    font-size: 1.85rem;
    line-height: 1.24;
  }

  .hero-lead-clean {
    font-size: 0.96rem;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    justify-content: center;
  }

  .hero-trust-notes {
    font-size: 0.76rem;
    flex-direction: column;
    gap: 6px;
  }

  .trust-note-dot {
    display: none;
  }

  .hero-dynamic-card {
    padding: 22px 18px;
    border-radius: 18px;
  }

  .hero-phone-device-frame {
    width: 290px;
    height: 590px;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border-radius: var(--radius-full);
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: var(--accent-crimson);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
  margin-bottom: 18px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-crimson);
  box-shadow: 0 0 8px rgba(200, 21, 23, 0.6);
}

.hero-title {
  font-family: var(--font-display);
  font-size: 2.85rem;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--text-main);
  margin-bottom: 20px;
}

.hero-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 620px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
}

.hero-micro-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  width: 100%;
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-val {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1.1;
}

.metric-lbl {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 2px;
}

/* Tarjeta Hero Visual con Insignias Flotantes 3D */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-card-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: visible;
  background: #ffffff;
  padding: 10px;
  border: 2px solid var(--border-light);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease;
}

.hero-main-img {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow-md);
  display: block;
}

/* Insignias Flotantes 3D en Hero */
.hero-floating-badge {
  position: absolute;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-3d);
  z-index: 10;
  pointer-events: none;
}

.hero-floating-badge strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text-main);
  line-height: 1.2;
}

.hero-floating-badge small {
  display: block;
  font-size: 0.74rem;
  color: var(--text-muted);
}

.hero-floating-badge.top-right {
  top: -24px;
  right: -24px;
  border-left: 4px solid #10b981;
}

.hero-floating-badge.bottom-left {
  bottom: -24px;
  left: -24px;
  border-left: 4px solid #c81517;
}

.badge-icon-check {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ecfdf5;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1rem;
}

.badge-icon-truck {
  font-size: 1.5rem;
}

/* --------------------------------------------------------------------------
   7. STICKERS Y ETIQUETAS 3D (EFECTO RELIEVE & MASCOTAS)
   -------------------------------------------------------------------------- */
.sticker-3d {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  border: 1.5px solid #cbd5e1;
  box-shadow: var(--shadow-3d);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: default;
}

.sticker-3d:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 32px -6px rgba(15, 23, 42, 0.2);
}

.sticker-3d.crimson {
  background: linear-gradient(180deg, #c81517 0%, #991b1b 100%);
  border-color: #7f1d1d;
  color: #ffffff;
  box-shadow: var(--shadow-3d-crimson);
}

.sticker-3d.green {
  background: linear-gradient(180deg, #10b981 0%, #047857 100%);
  border-color: #065f46;
  color: #ffffff;
  box-shadow: var(--shadow-3d-green);
}

.mascot-lineup-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #ffffff;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.mascot-img-thumb {
  height: 52px;
  width: auto;
  border-radius: 12px;
  object-fit: contain;
}

.mascot-speech-bubble {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 9999px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* --------------------------------------------------------------------------
   8. HOJA DE RUTA LOGÍSTICA (6 PASOS REALES)
   -------------------------------------------------------------------------- */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.step-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--primary-light);
}

.step-number-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(30, 58, 138, 0.3);
  z-index: 5;
}

.step-img-wrap {
  width: 100%;
  height: 190px;
  overflow: hidden;
  background-color: var(--bg-subtle);
  position: relative;
}

.step-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.step-card:hover .step-img {
  transform: scale(1.05);
}

.step-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 10px;
  line-height: 1.3;
}

.step-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.step-footer-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-subtle);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  align-self: flex-start;
}

/* --------------------------------------------------------------------------
   9. EL GRAN CONTRASTE (TABLA COMPARATIVA DE COSTOS)
   -------------------------------------------------------------------------- */
.contrast-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.contrast-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 36px;
  border: 2px solid var(--border-light);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.contrast-card.traditional {
  border-color: #fecaca;
  background: #ffffff;
}

.contrast-card.digital {
  border-color: #a7f3d0;
  background: #ffffff;
  box-shadow: 0 16px 36px -4px rgba(16, 185, 129, 0.12);
}

.contrast-header {
  margin-bottom: 24px;
}

.badge-status {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.badge-status.danger {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.badge-status.success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.contrast-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}

.contrast-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.cost-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
  flex-grow: 1;
}

.cost-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--border-light);
  font-size: 0.9rem;
}

.cost-name {
  color: var(--text-main);
  font-weight: 600;
}

.cost-value.bad {
  color: #dc2626;
  font-weight: 700;
  text-align: right;
}

.cost-value.good {
  color: #059669;
  font-weight: 700;
  text-align: right;
}

.cost-total-box {
  padding: 18px 22px;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}

.cost-total-box.bad {
  background: #fef2f2;
  border: 1.5px solid #fecaca;
  color: #991b1b;
}

.cost-total-box.good {
  background: #ecfdf5;
  border: 1.5px solid #a7f3d0;
  color: #065f46;
}

.cost-total-box span {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cost-total-box strong {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 900;
}

/* --------------------------------------------------------------------------
   10. CALCULADORA INTERACTIVA DE AHORRO Y RENTABILIDAD (ROI)
   -------------------------------------------------------------------------- */
.calculator-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  padding: 44px;
  max-width: 980px;
  margin: 0 auto;
}

.calculator-slider-wrap {
  margin-bottom: 36px;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.slider-label {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
}

.slider-amount {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--primary);
}

.calculator-range {
  width: 100%;
  height: 10px;
  border-radius: 5px;
  background: #e2e8f0;
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.calculator-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent-crimson);
  border: 3px solid #ffffff;
  box-shadow: 0 4px 12px rgba(200, 21, 23, 0.4);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.calculator-range::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.slider-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 10px;
}

.calculator-results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.calc-result-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.calc-result-card.bad {
  background: #fff8f8;
  border-color: #fee2e2;
}

.calc-result-card.good.highlight {
  background: #ecfdf5;
  border-color: #a7f3d0;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.15);
}

.calc-icon {
  font-size: 1.8rem;
  line-height: 1;
}

.calc-info {
  display: flex;
  flex-direction: column;
}

.calc-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.calc-amount {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.2;
}

.calc-result-card.bad .calc-amount {
  color: #dc2626;
}

.calc-result-card.good .calc-amount {
  color: #059669;
}

.calc-info small {
  font-size: 0.76rem;
  color: var(--text-subtle);
  margin-top: 2px;
}

.calculator-footer-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

/* --------------------------------------------------------------------------
   11. LOS 7 MÓDULOS DE LA SOLUCIÓN DIGITAL
   -------------------------------------------------------------------------- */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.module-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.module-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--primary-light);
}

.module-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.module-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 10px;
  line-height: 1.3;
}

.module-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   12. OPERACIÓN REAL: CASO ROSARIOS PERUANOS (MAGDALENA)
   -------------------------------------------------------------------------- */
.proof-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.proof-visuals {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.proof-img-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.proof-img-card:first-child {
  grid-column: span 2;
}

.proof-img-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--primary-light);
}

.proof-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.proof-img-card:first-child .proof-img {
  height: 240px;
}

.proof-img-caption {
  padding: 10px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-main);
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
}

.proof-card-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-card);
}

/* --------------------------------------------------------------------------
   13. PLANES DE IMPLEMENTACIÓN LLAVE EN MANO
   -------------------------------------------------------------------------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

/* Tarjeta de Precio Único Integral */
.pricing-single-container {
  max-width: 960px;
  margin: 0 auto;
}

.pricing-single-card {
  background: #ffffff;
  border: 2px solid var(--primary);
  border-radius: var(--radius-xl);
  padding: 44px 40px;
  box-shadow: 0 20px 48px -8px rgba(30, 58, 138, 0.12), 0 8px 24px rgba(15, 23, 42, 0.04);
  position: relative;
  overflow: hidden;
}

.pricing-plan-switcher {
  display: flex;
  background: #f1f5f9;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-full);
  padding: 4px;
  max-width: 480px;
  margin: 0 auto 28px;
}

.pricing-plan-pill {
  flex: 1;
  border: none;
  background: transparent;
  color: #64748b;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.pricing-plan-pill.active {
  background: #ffffff;
  color: #1e3a8a;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.pricing-single-badge-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

.pricing-single-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 32px;
}

.pricing-single-title-box {
  flex: 1;
  min-width: 300px;
}

.pricing-single-title-box h3 {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.2;
  margin-bottom: 10px;
}

.pricing-single-title-box p {
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.pricing-single-price-box {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 22px 28px;
  text-align: right;
  min-width: 290px;
}

.price-original-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 6px;
}

.price-original {
  font-size: 1.05rem;
  color: #94a3b8;
  text-decoration: line-through;
  font-weight: 600;
}

.price-discount-tag {
  display: inline-block;
  background: #fee2e2;
  color: #dc2626;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
}

.price-main-display {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 6px;
  margin-bottom: 6px;
}

.price-main-display .currency {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: #059669;
}

.price-main-display .amount {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 900;
  color: #059669;
  line-height: 1;
}

.price-main-display .period {
  font-size: 0.9rem;
  font-weight: 700;
  color: #059669;
}

.price-recurring-box {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.82rem;
  color: #1e3a8a;
  text-align: right;
  margin-top: 8px;
}

.pricing-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 32px;
  margin-bottom: 34px;
}

.pricing-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.93rem;
  color: var(--text-main);
  line-height: 1.5;
}

.pricing-feature-item .check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ecfdf5;
  color: #059669;
  font-size: 0.85rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-single-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

@media (max-width: 768px) {
  .pricing-single-card {
    padding: 28px 20px;
  }

  .pricing-single-header {
    flex-direction: column;
  }

  .pricing-single-price-box {
    width: 100%;
    text-align: left;
  }

  .price-original-wrap,
  .price-main-display,
  .price-recurring-box {
    justify-content: flex-start;
    text-align: left;
  }

  .pricing-features-grid {
    grid-template-columns: 1fr;
  }

  .pricing-single-footer {
    flex-direction: column;
    align-items: stretch;
  }
}

.pricing-card {
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--primary-light);
}

.pricing-card.featured {
  border-color: var(--accent-crimson);
  box-shadow: 0 16px 36px -4px rgba(200, 21, 23, 0.15);
  transform: scale(1.03);
}

.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-6px);
}

.plan-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--bg-subtle);
  color: var(--text-muted);
  align-self: flex-start;
  margin-bottom: 14px;
}

.plan-badge.featured {
  background: var(--accent-crimson);
  color: #ffffff;
}

.plan-name {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 8px;
}

.plan-target {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
  min-height: 48px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}

.plan-price .currency {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
}

.plan-price .amount {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1;
}

.pricing-card.featured .plan-price .amount {
  color: var(--accent-crimson);
}

.plan-price .period {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex-grow: 1;
  font-size: 0.88rem;
  color: var(--text-main);
}

.plan-features li {
  line-height: 1.45;
}

.plan-action {
  margin-top: auto;
}

/* --------------------------------------------------------------------------
   14. PREGUNTAS FRECUENTES (FAQ ACORDEÓN)
   -------------------------------------------------------------------------- */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: border-color 0.2s ease;
}

.faq-item.active {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: #ffffff;
  border: none;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-icon {
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--primary);
  transition: transform 0.2s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 24px 22px 24px;
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  display: block;
}

/* --------------------------------------------------------------------------
   15. FOOTER CORPORATIVO
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--bg-dark);
  color: #cbd5e1;
  padding-top: 72px;
  padding-bottom: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 56px;
}

.footer-desc {
  font-size: 0.88rem;
  line-height: 1.65;
  color: #94a3b8;
  margin-bottom: 20px;
}

.footer-fiscal-info {
  font-size: 0.82rem;
  line-height: 1.6;
  color: #64748b;
}

.footer-fiscal-info strong {
  color: #e2e8f0;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.88rem;
  color: #94a3b8;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-badges {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   16. MODALES Y FORMULARIOS (PROFORMA, LIBRO RECLAMACIONES, LIGHTBOX)
   -------------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(9, 14, 23, 0.75);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.active {
  display: flex;
}

.modal-content {
  background: #ffffff;
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.4);
  width: 100%;
  max-width: 660px;
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid var(--border-light);
  animation: modalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(15px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-header {
  padding: 24px 28px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: sticky;
  top: 0;
  background: #ffffff;
  z-index: 10;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
}

.modal-close:hover {
  color: var(--text-main);
}

.modal-body {
  padding: 28px;
}

.form-section-title {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--primary);
  margin: 18px 0 12px 0;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-subtle);
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-light);
  font-size: 0.92rem;
  color: var(--text-main);
  background: #ffffff;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-subtle);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-main);
  cursor: pointer;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.proforma-summary-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-top: 18px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.summary-row.total {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--primary);
  padding-top: 8px;
  border-top: 1px solid var(--border-light);
  margin-top: 8px;
  margin-bottom: 0;
}

/* ==========================================================================
   MODAL DE COTIZACIÓN FORMAL (#projectModal) - ARQUITECTURA AMPLIA & B2B
   ========================================================================== */
#projectModal .modal-content {
  max-width: 880px;
  width: 95%;
  border-radius: var(--radius-lg);
  border: 1px solid #cbd5e1;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.35);
}

#projectModal .modal-header {
  padding: 24px 32px 20px 32px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

#projectModal .modal-body {
  padding: 28px 32px 32px 32px;
}

.project-license-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.license-option-card {
  display: block;
  padding: 16px 18px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
}

.license-option-card:hover {
  border-color: #1e3a8a;
  background: #ffffff;
}

.license-option-card.selected {
  border: 2px solid #2563eb;
  background: #eff6ff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.08);
}

.license-option-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
}

@media (max-width: 768px) {
  #projectModal .modal-content {
    max-width: 100%;
    width: 100%;
    margin: 8px;
    border-radius: var(--radius-md);
  }

  #projectModal .modal-header {
    padding: 18px 20px;
  }

  #projectModal .modal-body {
    padding: 20px 16px;
  }

  .project-license-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  #projectModal .form-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  #projectModal .form-actions {
    flex-direction: column;
  }

  #projectModal .form-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* --------------------------------------------------------------------------
   17. BOTÓN FLOTANTE DE WHATSAPP
   -------------------------------------------------------------------------- */
.whatsapp-floating-button {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: var(--whatsapp);
  color: #ffffff;
  border-radius: var(--radius-full);
  padding: 12px 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.92rem;
  z-index: 90;
  transition: all 0.25s ease;
}

.whatsapp-floating-button:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
  background-color: var(--whatsapp-hover);
}

.whatsapp-floating-icon {
  font-size: 1.3rem;
  line-height: 1;
}

/* --------------------------------------------------------------------------
   18. TRANSICIONES FLUIDAS, MOCKUP SCROLL & SHOWCASE
   -------------------------------------------------------------------------- */
.reveal-section,
.reveal-item {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-from-left {
  transform: translateX(-35px);
}

.reveal-from-right {
  transform: translateX(35px);
}

.reveal-active {
  opacity: 1 !important;
  transform: translate(0, 0) scale(1) !important;
}

.delay-100 {
  transition-delay: 100ms;
}

.delay-150 {
  transition-delay: 150ms;
}

.delay-200 {
  transition-delay: 200ms;
}

.delay-250 {
  transition-delay: 250ms;
}

.delay-300 {
  transition-delay: 300ms;
}

.delay-350 {
  transition-delay: 350ms;
}

.delay-400 {
  transition-delay: 400ms;
}

@keyframes floatSlow {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-8px);
  }
}

.animate-float-slow {
  animation: floatSlow 4.5s ease-in-out infinite;
}

.animate-float-reverse {
  animation: floatSlow 5s ease-in-out infinite reverse;
}

@keyframes shimmerSweep {
  100% {
    transform: translateX(100%);
  }
}

.shimmer-button {
  position: relative;
  overflow: hidden;
}

.shimmer-button::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transform: translateX(-100%);
  background-image: linear-gradient(90deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.28) 50%,
      rgba(255, 255, 255, 0) 100%);
  animation: shimmerSweep 2.8s infinite;
  pointer-events: none;
}

.glow-hover {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glow-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px -8px rgba(200, 21, 23, 0.22);
}

.mockup-scroll-frame {
  height: 290px;
  overflow: hidden;
  position: relative;
  border-radius: 14px;
  background-color: #f1f5f9;
  border: 1px solid var(--border-light);
  cursor: pointer;
}

.web-scroll-track {
  width: 100%;
  transform: translateY(0);
  transition: transform 4.5s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
  display: block;
}

.mockup-scroll-frame:hover .web-scroll-track,
.gallery-card:hover .web-scroll-track {
  transform: translateY(calc(-100% + 290px));
}

.scroll-hint {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 6px;
  pointer-events: none;
  transition: opacity 0.3s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  z-index: 5;
  white-space: nowrap;
}

.mockup-scroll-frame:hover .scroll-hint,
.gallery-card:hover .scroll-hint {
  opacity: 0;
}

.category-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 32px;
}

.category-pill {
  padding: 10px 20px;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 700;
  border: 1.5px solid var(--border-light);
  background: #ffffff;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.category-pill:hover {
  border-color: var(--primary-light);
  color: var(--primary);
  background: var(--primary-subtle);
}

.category-pill.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(30, 58, 138, 0.25);
}

.tag-system {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background-color: #f1f5f9;
  color: #0f172a;
  border: 1px solid #cbd5e1;
}

.tag-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background-color: #eff6ff;
  color: #1e3a8a;
  border: 1px solid #bfdbfe;
}

.system-client-alias {
  font-size: 0.78rem;
  background: #f8fafc;
  color: #475569;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  font-weight: 600;
}

.showcase-impact-callout {
  margin-top: 14px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.84rem;
  color: #1e293b;
  line-height: 1.5;
}

.showcase-impact-callout strong {
  color: #0f172a;
}

.gallery-category-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  background-color: #f1f5f9;
  color: #1e3a8a;
  border: 1px solid #cbd5e1;
  margin-bottom: 8px;
}

.gallery-category-tag.tag-verified {
  background-color: #eff6ff;
  color: #1e3a8a;
  border: 1px solid #bfdbfe;
}

.reading-guide-strip {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 12px 20px;
  margin: 0 auto 20px;
  max-width: 900px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.84rem;
  color: #0f172a;
}

.reading-guide-strip strong {
  color: #0f172a;
}

.reading-guide-badge {
  font-size: 0.72rem;
  background: #eff6ff;
  color: #1e3a8a;
  border: 1px solid #bfdbfe;
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.integration-card-subtitle {
  font-size: 0.78rem;
  color: #1e3a8a;
  font-weight: 700;
  display: block;
}

.badge-pill-navy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: #eff6ff;
  color: #1e3a8a;
  border: 1.5px solid #bfdbfe;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.badge-pill-navy:hover {
  background: #dbeafe;
  border-color: #93c5fd;
}

.badge-pill-slate {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: #f1f5f9;
  color: #0f172a;
  border: 1.5px solid #cbd5e1;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.badge-pill-slate:hover {
  background: #e2e8f0;
  border-color: #94a3b8;
}

.badge-pill-emerald {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: #ecfdf5;
  color: #065f46;
  border: 1.5px solid #a7f3d0;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.badge-pill-emerald:hover {
  background: #d1fae5;
  border-color: #6ee7b7;
}

.calc-business-selector {
  margin-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.calc-type-btn {
  padding: 10px 20px;
  border-radius: 9999px;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.calc-type-btn:hover {
  border-color: #1e3a8a;
  color: #1e3a8a;
  background: #f8fafc;
}

.calc-type-btn.active {
  border-color: #1e3a8a;
  background: #1e3a8a;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.2);
}

.calculator-cta-box {
  margin-top: 24px;
  padding: 22px 26px;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.calculator-cta-title {
  font-weight: 800;
  font-size: 1.05rem;
  color: #0f172a;
}

.calculator-cta-subtitle {
  font-size: 0.88rem;
  color: #475569;
  margin-top: 3px;
}

.flip-card-back .cost-total-box.good {
  background: rgba(16, 185, 129, 0.15) !important;
  border: 1px solid #10b981 !important;
  color: #a7f3d0 !important;
}

.flip-card-back .cost-total-box.good strong {
  color: #34d399 !important;
}

.showcase-split-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  padding: 36px;
  align-items: center;
}

.showcase-info-box h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
  line-height: 1.25;
}

.showcase-info-box p {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.showcase-specs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 28px;
}

.spec-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-subtle);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
}

.spec-check {
  color: #10b981;
  font-weight: 800;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
  background: #ffffff;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.comparison-table th,
.comparison-table td {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border-light);
}

.comparison-table th {
  background-color: #f8fafc;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--text-main);
  font-size: 0.95rem;
}

.comparison-table th.col-highlight {
  background-color: var(--primary);
  color: #ffffff;
}

.comparison-table td.col-highlight {
  background-color: #f8faff;
  font-weight: 700;
  color: var(--primary);
  border-left: 2px solid var(--primary);
  border-right: 2px solid var(--primary);
}

.tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.tag-bad {
  background-color: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.tag-good {
  background-color: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.roles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.role-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.role-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--primary-light);
}

.role-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.role-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
}

.role-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.3;
}

.role-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.role-benefit {
  background: var(--bg-subtle);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  color: #065f46;
  display: flex;
  align-items: center;
  gap: 6px;
}

.advisory-box {
  background: linear-gradient(135deg, #090e17 0%, #0f172a 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  align-items: center;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.advisory-box::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(200, 21, 23, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.advisory-img-wrap {
  position: relative;
}

.advisory-img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 3px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
  object-fit: cover;
}

.advisory-badge {
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-crimson);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 16px;
  border-radius: 9999px;
  box-shadow: 0 4px 14px rgba(200, 21, 23, 0.4);
  white-space: nowrap;
}

.advisory-content h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.advisory-role {
  color: #94a3b8;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.advisory-quote {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #e2e8f0;
  font-style: italic;
  margin-bottom: 28px;
  border-left: 3px solid var(--accent-crimson);
  padding-left: 20px;
}

.advisory-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.kpi-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px;
  border-radius: var(--radius-md);
  text-align: center;
}

.kpi-number {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  color: #38bdf8;
  margin-bottom: 4px;
}

.kpi-label {
  font-size: 0.8rem;
  color: #cbd5e1;
  font-weight: 600;
}

.consultancy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.consultancy-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.consultancy-role-title {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 4px;
}

.consultancy-role-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.consultancy-role-price {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1.05rem;
  color: #dc2626;
  white-space: nowrap;
}

.consultancy-summary-box {
  background: #f8fafc;
  border: 2px dashed #cbd5e1;
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.consultancy-summary-total {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  color: #dc2626;
}

/* --------------------------------------------------------------------------
   19. RESPONSIVE MEDIA QUERIES (DESKTOP, TABLET & MOBILE)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-content {
    align-items: center;
    text-align: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-micro-metrics {
    justify-content: center;
  }

  .hero-card-frame {
    max-width: 540px;
    margin: 0 auto;
  }

  .showcase-split-container {
    grid-template-columns: 1fr;
  }

  .roadmap-grid,
  .grid-3,
  .modules-grid,
  .roles-grid,
  .pricing-grid,
  .consultancy-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contrast-grid,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .advisory-box {
    grid-template-columns: 1fr;
    padding: 40px 32px;
    text-align: center;
  }

  .advisory-img-wrap {
    max-width: 260px;
    margin: 0 auto;
  }

  .advisory-quote {
    border-left: none;
    border-top: 2px solid var(--accent-crimson);
    padding-left: 0;
    padding-top: 16px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --container-padding: 16px;
    --section-spacing: 56px;
  }

  .container {
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
  }

  .top-trust-bar {
    display: none;
  }

  .nav-menu {
    display: none;
  }

  .mobile-toggle {
    display: flex;
    min-height: 44px;
    min-width: 44px;
    align-items: center;
    justify-content: center;
  }

  .hero-title {
    font-size: 2.15rem;
  }

  .section-title {
    font-size: 1.85rem;
  }

  .roadmap-grid,
  .grid-3,
  .modules-grid,
  .roles-grid,
  .pricing-grid,
  .consultancy-grid,
  .calculator-results-grid,
  .advisory-kpis {
    grid-template-columns: 1fr;
  }

  .calculator-box {
    padding: 20px 16px;
    border-radius: 18px;
  }

  .calculator-cta-box {
    padding: 16px !important;
  }

  .calculator-cta-box .btn {
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .calc-type-btn {
    flex: 1 1 calc(50% - 10px);
    text-align: center;
    min-height: 44px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .hero-floating-badge.top-right {
    top: -12px;
    right: 0;
  }

  .hero-floating-badge.bottom-left {
    bottom: -12px;
    left: 0;
  }

  .consultancy-summary-box {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  :root {
    --container-padding: 14px;
    --section-spacing: 48px;
  }

  .calc-type-btn {
    flex: 1 1 100%;
  }

  .slider-header {
    flex-direction: column;
    align-items: flex-start !important;
  }

  .hero-device-toggle {
    width: 100%;
    justify-content: center;
  }
}

/* --------------------------------------------------------------------------
   20. CLASES ADICIONALES PARA ALINEACIÓN, 3D STICKERS Y MASCOTAS
   -------------------------------------------------------------------------- */
.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-col.brand-col {
  display: flex;
  flex-direction: column;
}

.feature-item {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.modal-success-pane {
  text-align: center;
  padding: 30px 20px;
}

.proof-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.showcase-visual-box {
  width: 100%;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.whatsapp-floating-text {
  font-size: 0.92rem;
  font-weight: 800;
}

/* 3D Stickers and Badges Enriched */
.badge-3d-cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.sticker-3d-glow {
  box-shadow: 0 0 20px rgba(200, 21, 23, 0.35), var(--shadow-3d);
}

.sticker-3d-glow-green {
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.35), var(--shadow-3d);
}

.mascot-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.mascot-interactive-wrap {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-light);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mascot-interactive-wrap:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-card-hover);
}

.mascot-img-banner {
  height: 54px;
  width: auto;
  border-radius: 12px;
  object-fit: contain;
}

.bubble-text {
  font-size: 0.82rem;
  font-weight: 800;
  color: #065f46;
}

.peeking-mascot-sticker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1.5px solid #bfdbfe;
  box-shadow: var(--shadow-3d);
  margin-bottom: 12px;
}

.peeking-mascot-img {
  height: 38px;
  width: auto;
  border-radius: 8px;
}

/* ==========================================================================
   ENHANCED 3D STICKERS, BADGES & LAYOUT ALIGNMENTS (SOMOS MARKETING PERÚ)
   ========================================================================== */

/* 3D Glossy Badges & Stickers */
.badge-3d {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 9999px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  border: 1.5px solid #cbd5e1;
  color: var(--text-main);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.9);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
}

.badge-3d:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12), inset 0 1px 1px rgba(255, 255, 255, 1);
}

.badge-3d-crimson {
  background: linear-gradient(180deg, #dc2626 0%, #b91c1c 100%);
  border-color: #991b1b;
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(220, 38, 38, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.35);
}

.badge-3d-green {
  background: linear-gradient(180deg, #10b981 0%, #059669 100%);
  border-color: #047857;
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.35);
}

.badge-3d-blue {
  background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
  border-color: #1e40af;
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.35);
}

.sticker-3d-mascot {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  padding: 6px 16px 6px 8px;
  border-radius: 9999px;
  border: 1.5px solid #bfdbfe;
  box-shadow: 0 6px 16px rgba(30, 58, 138, 0.12), inset 0 1px 1px #ffffff;
  white-space: nowrap;
}

.mascot-peek-img {
  height: 38px;
  width: auto;
  border-radius: 8px;
  object-fit: contain;
}



/* Hero Section Enhancements */
.hero-section {
  padding-top: 56px;
  padding-bottom: 76px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 2.85rem;
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -0.025em;
  color: var(--text-main);
  margin: 16px 0 20px 0;
}

.hero-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 620px;
  margin-bottom: 28px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.hero-trust-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-muted);
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
  width: 100%;
}

.hero-trust-bullet {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.bullet-icon {
  color: #10b981;
  font-weight: 900;
}

/* Hero Right Visual Card (Apple / Clean SaaS Frame) */
.hero-visual-frame {
  background: #ffffff;
  border-radius: 20px;
  border: 2px solid var(--border-light);
  box-shadow: 0 20px 50px -10px rgba(15, 23, 42, 0.15), 0 10px 20px rgba(15, 23, 42, 0.05);
  overflow: visible;
  position: relative;
  padding: 10px;
}

.hero-visual-card {
  background: #0f172a;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  background: #090e17;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  color: #94a3b8;
  font-weight: 700;
}

.card-top-dots {
  display: flex;
  gap: 6px;
}

.card-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.card-dot.red {
  background: #ef4444;
}

.card-dot.yellow {
  background: #f59e0b;
}

.card-dot.green {
  background: #10b981;
}

.hero-visual-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.card-bottom-panel {
  padding: 18px 20px;
  background: #090e17;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-verified-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: #ffffff;
  font-weight: 700;
}

.card-verified-tag small {
  display: block;
  font-size: 0.74rem;
  color: #94a3b8;
  font-weight: 500;
}

.card-amount-tag {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 900;
  color: #34d399;
}

/* Floating 3D Badges on Hero Card */
.hero-floating-sticker {
  position: absolute;
  z-index: 15;
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: 12px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 16px 32px -4px rgba(15, 23, 42, 0.18), inset 0 1px 1px #ffffff;
}

.hero-floating-sticker strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text-main);
  line-height: 1.2;
}

.hero-floating-sticker small {
  display: block;
  font-size: 0.74rem;
  color: var(--text-muted);
}

.hero-floating-sticker.top-left-pos {
  top: -24px;
  left: -20px;
  border-left: 4px solid #10b981;
}

.hero-floating-sticker.bottom-right-pos {
  bottom: -24px;
  right: -20px;
  border-left: 4px solid #c81517;
}

/* Mascot Lineup Banner */
.mascot-banner-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: 9999px;
  padding: 8px 24px 8px 12px;
  box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.08);
  margin: 0 auto 36px auto;
  max-width: 860px;
}

.mascot-banner-img {
  height: 58px;
  width: auto;
  border-radius: 12px;
  object-fit: contain;
}

.mascot-bubble {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-size: 0.88rem;
  font-weight: 800;
  padding: 8px 18px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}


/* === PERFECT ALIGNMENT & 3D STICKERS ENGINE === */

/* ==========================================================================
   PERFECT ALIGNMENT & 3D STICKERS ENGINE (CRISP VANILLA CSS)
   ========================================================================== */

/* Top Trust Bar Single-Line Container */
.top-trust-bar {
  background-color: #090e17;
  color: #cbd5e1;
  font-size: 0.74rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  height: 38px !important;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 101;
  white-space: nowrap !important;
  overflow: hidden !important;
}

.top-trust-container {
  width: 100%;
  max-width: 1340px !important;
  margin: 0 auto;
  padding: 0 24px;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
  gap: 16px !important;
}

/* Site Header & Single-Line Navbar */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  z-index: 100;
  height: 74px;
  display: flex;
  align-items: center;
}

.header-container {
  width: 100%;
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-logo {
  flex-shrink: 0;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  flex-wrap: nowrap;
  flex-shrink: 0;
}

.nav-link {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-muted);
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background-color: var(--primary-subtle);
}

.site-header .nav-link.nav-link-demo {
  color: #1e3a8a;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  padding: 6px 12px;
  font-weight: 800;
}

.site-header .nav-link.nav-link-demo:hover {
  background: #e2e8f0;
  border-color: #94a3b8;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* ==========================================================================
   AJUSTE DE NAVEGACIÓN PRECISA PARA PANTALLAS ENTRE 1024PX Y 1280PX (1 FILA EXACTA)
   ========================================================================== */
@media (max-width: 1280px) and (min-width: 1025px) {
  .site-header .header-container {
    padding: 0 16px;
    gap: 10px;
  }

  .site-header .brand-text .brand-tagline {
    display: none;
  }

  .site-header .nav-menu {
    gap: 4px;
  }

  .site-header .nav-link {
    font-size: 0.78rem;
    padding: 6px 8px;
  }

  .site-header .header-actions {
    gap: 8px;
  }

  .site-header .header-actions .btn {
    padding: 7px 12px;
    font-size: 0.80rem;
  }
}

/* Breakpoint natural para menú móvil: 1024px */
@media (max-width: 1024px) {
  :root {
    --top-bar-height: 0px;
  }

  .top-trust-bar {
    display: none !important;
  }

  .site-header .nav-menu {
    display: none !important;
  }

  .site-header .mobile-toggle {
    display: flex !important;
    min-height: 44px;
    min-width: 44px;
    align-items: center;
    justify-content: center;
  }
}

/* Optimización para teléfonos móviles (< 640px) */
@media (max-width: 640px) {
  .site-header .header-container {
    padding: 0 12px;
  }

  .site-header .brand-text .brand-name {
    font-size: 0.85rem;
  }

  .site-header .brand-text .brand-tagline {
    display: none;
  }

  /* En mobile el botón WA del header se vuelve compacto (sólo ícono + texto corto) */
  .site-header .header-actions .btn-sm {
    display: inline-flex !important; /* Mantener visible pero comprimido */
    padding: 8px 12px !important;
    font-size: 0.75rem !important;
    gap: 5px !important;
  }

  .site-header .header-actions .btn-whatsapp {
    display: inline-flex;
    padding: 8px 12px;
    font-size: 0.75rem;
  }

  /* Ocultar el texto del botón WA, solo mostrar icono en pantallas muy pequeñas */
  .site-header .header-actions .btn-whatsapp .btn-text-mobile-hide {
    display: none;
  }
}

/* Para pantallas muy pequeñas (< 420px): ocultar texto del botón WA del header */
@media (max-width: 420px) {
  .site-header .header-actions .btn-sm .btn-label {
    display: none;
  }

  /* Solo queda el ícono WhatsApp en header — más espacio para logo */
  .site-header .header-actions .btn-sm {
    padding: 8px 10px !important;
    min-width: 40px;
    justify-content: center;
  }
}

/* --------------------------------------------------------------------------
   3D STICKERS & BADGES ENGINE
   -------------------------------------------------------------------------- */
.badge-3d-cluster {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 10px !important;
  margin-bottom: 18px !important;
  width: 100%;
}

.badge-3d,
.sticker-3d {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  padding: 7px 16px !important;
  border-radius: 9999px !important;
  font-size: 0.80rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%) !important;
  border: 2px solid #ffffff !important;
  color: #1e293b !important;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.12), 0 1px 2px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9), inset 0 -2px 0 rgba(0, 0, 0, 0.12) !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  cursor: default;
  white-space: nowrap !important;
  user-select: none;
}

.badge-3d:hover,
.sticker-3d:hover {
  transform: translateY(-3px) scale(1.03) !important;
  box-shadow: 0 10px 20px -2px rgba(15, 23, 42, 0.18), 0 4px 8px -2px rgba(15, 23, 42, 0.1), inset 0 1px 0 rgba(255, 255, 255, 1) !important;
}

.badge-3d-crimson,
.sticker-3d.crimson {
  background: linear-gradient(180deg, #e11d48 0%, #be123c 60%, #9f1239 100%) !important;
  border-color: #ffffff !important;
  color: #ffffff !important;
  box-shadow: 0 6px 14px rgba(225, 29, 72, 0.35), 0 2px 4px rgba(159, 18, 57, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 -2px 0 rgba(0, 0, 0, 0.25) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.badge-3d-green,
.sticker-3d.green {
  background: linear-gradient(180deg, #10b981 0%, #059669 60%, #047857 100%) !important;
  border-color: #ffffff !important;
  color: #ffffff !important;
  box-shadow: 0 6px 14px rgba(16, 185, 129, 0.35), 0 2px 4px rgba(4, 120, 87, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 -2px 0 rgba(0, 0, 0, 0.25) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.badge-3d-blue,
.sticker-3d.blue {
  background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 60%, #1e40af 100%) !important;
  border-color: #ffffff !important;
  color: #ffffff !important;
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.35), 0 2px 4px rgba(30, 64, 175, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 -2px 0 rgba(0, 0, 0, 0.25) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.badge-3d-amber,
.sticker-3d.amber {
  background: linear-gradient(180deg, #f59e0b 0%, #d97706 60%, #b45309 100%) !important;
  border-color: #ffffff !important;
  color: #ffffff !important;
  box-shadow: 0 6px 14px rgba(245, 158, 11, 0.35), 0 2px 4px rgba(180, 83, 9, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 -2px 0 rgba(0, 0, 0, 0.25) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.sticker-3d-mascot,
.peeking-mascot-sticker {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  background: #ffffff !important;
  border: 2.5px solid #ffffff !important;
  border-radius: 9999px !important;
  padding: 4px 14px 4px 6px !important;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.14), inset 0 1px 0 #ffffff !important;
  cursor: pointer;
  transition: transform 0.3s ease !important;
}

.sticker-3d-mascot:hover,
.peeking-mascot-sticker:hover {
  transform: translateY(-3px) scale(1.04) !important;
}

.mascot-peek-img,
.peeking-mascot-img {
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 1.5px solid #e2e8f0 !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) !important;
}

/* Hero Section Crisp Layout */
.hero-section {
  padding-top: 52px !important;
  padding-bottom: 72px !important;
  background: radial-gradient(circle at 50% 0%, #eff6ff 0%, #ffffff 80%) !important;
  position: relative;
  overflow: visible !important;
}

.hero-grid {
  display: grid !important;
  grid-template-columns: 1.12fr 0.88fr !important;
  gap: 48px !important;
  align-items: center !important;
  max-width: 1340px !important;
}

.hero-content {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  text-align: left !important;
}

.hero-title {
  font-family: var(--font-display) !important;
  font-size: 2.85rem !important;
  font-weight: 900 !important;
  line-height: 1.14 !important;
  letter-spacing: -0.025em !important;
  color: var(--text-main) !important;
  margin-bottom: 18px !important;
}

.hero-description {
  font-size: 1.08rem !important;
  line-height: 1.7 !important;
  color: var(--text-muted) !important;
  max-width: 620px !important;
  margin-bottom: 28px !important;
}

.hero-ctas {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 14px !important;
  margin-bottom: 28px !important;
}

.hero-trust-bullets {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 12px !important;
  padding-top: 20px !important;
  border-top: 1px solid var(--border-light) !important;
  width: 100% !important;
}

.hero-trust-bullet {
  background: #ffffff !important;
  border: 1px solid var(--border-light) !important;
  border-radius: 10px !important;
  padding: 10px 14px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  color: var(--text-main) !important;
  box-shadow: var(--shadow-xs) !important;
  white-space: nowrap !important;
}

.hero-trust-bullet .bullet-icon {
  color: #10b981 !important;
  font-size: 1rem !important;
  font-weight: 900 !important;
}

.hero-lead-clean {
  font-size: 1.15rem !important;
  font-weight: 600 !important;
  color: #334155 !important;
  line-height: 1.55 !important;
  max-width: 620px !important;
  margin-bottom: 26px !important;
}

/* ==========================================================================
   HERO 3D SCENE & INTERACTIVE PHONE (SOMOS MARKETING PERÚ)
   ========================================================================== */
.hero-3d-scene {
  perspective: 1200px !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  position: relative !important;
  padding: 30px 10px !important;
  width: 100% !important;
}

.hero-phone-3d {
  position: relative !important;
  width: 320px !important;
  transform-style: preserve-3d !important;
  transform: rotateY(-8deg) rotateX(4deg) !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  filter: drop-shadow(0 30px 50px rgba(15, 23, 42, 0.22)) !important;
}

.hero-phone-3d:hover {
  transform: rotateY(-2deg) rotateX(2deg) scale(1.02) !important;
}

/* Realistic Smartphone Chassis */
.phone-chassis {
  background: #0f172a !important;
  border-radius: 46px !important;
  border: 4px solid #334155 !important;
  box-shadow: 0 0 0 2px #1e293b, inset 0 0 0 2px #020617 !important;
  padding: 10px 8px 14px 8px !important;
  position: relative !important;
  overflow: hidden !important;
  transform-style: preserve-3d !important;
}

/* Dynamic Island */
.phone-dynamic-island {
  position: absolute !important;
  top: 14px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 92px !important;
  height: 22px !important;
  background: #000000 !important;
  border-radius: 20px !important;
  z-index: 50 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  padding-right: 8px !important;
}

.island-camera {
  width: 9px !important;
  height: 9px !important;
  border-radius: 50% !important;
  background: #1e293b !important;
  border: 1.5px solid #0f172a !important;
}

/* Phone Screen Content */
.phone-screen-content {
  background: #efeae2 !important;
  border-radius: 36px !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  min-height: 480px !important;
  position: relative !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}

/* WhatsApp Screen Header */
.wa-screen-header {
  background: #075e54 !important;
  padding: 34px 12px 10px 12px !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15) !important;
}

.wa-header-left {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  width: 100% !important;
}

.wa-back-btn {
  font-size: 1.1rem !important;
  color: #ffffff !important;
  line-height: 1 !important;
  cursor: pointer !important;
}

.wa-avatar-badge {
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  background: #ffffff !important;
  flex-shrink: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.wa-avatar-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.wa-header-info {
  display: flex !important;
  flex-direction: column !important;
}

.wa-contact-name {
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  line-height: 1.2 !important;
}

.wa-status-text {
  font-size: 0.65rem !important;
  color: #a7f3d0 !important;
  font-weight: 500 !important;
}

/* WhatsApp Chat Timeline */
.wa-chat-body {
  padding: 12px 10px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  background-color: #efeae2 !important;
  background-image: radial-gradient(#d1d5db 0.75px, transparent 0.75px) !important;
  background-size: 16px 16px !important;
  flex: 1 !important;
}

.wa-date-divider {
  text-align: center !important;
  margin: 2px 0 !important;
}

.wa-date-divider span {
  background: rgba(255, 255, 255, 0.9) !important;
  padding: 3px 10px !important;
  border-radius: 6px !important;
  font-size: 0.65rem !important;
  color: #64748b !important;
  font-weight: 600 !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

.wa-bubble {
  max-width: 90% !important;
  padding: 8px 10px !important;
  border-radius: 8px !important;
  font-size: 0.74rem !important;
  line-height: 1.35 !important;
  position: relative !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
}

.wa-bubble-client {
  align-self: flex-end !important;
  background: #e7ffdb !important;
  color: #111827 !important;
  border-top-right-radius: 2px !important;
}

.wa-voucher-thumb {
  margin-top: 6px !important;
  background: #ffffff !important;
  border-radius: 6px !important;
  padding: 5px 8px !important;
  border: 1px solid #bbf7d0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
}

.thumb-badge {
  font-weight: 700 !important;
  color: #047857 !important;
  font-size: 0.72rem !important;
}

.thumb-meta {
  font-size: 0.62rem !important;
  color: #6b7280 !important;
  text-align: right !important;
}

.wa-bubble-bot {
  align-self: flex-start !important;
  background: #ffffff !important;
  color: #111827 !important;
  border-top-left-radius: 2px !important;
}

.wa-bot-badge {
  font-size: 0.66rem !important;
  font-weight: 700 !important;
  color: #2563eb !important;
  margin-bottom: 4px !important;
}

/* Stepper PDF Card */
.wa-pdf-card {
  margin-top: 8px !important;
  background: #f8fafc !important;
  border: 1.5px solid #bfdbfe !important;
  border-radius: 8px !important;
  padding: 8px !important;
  display: flex !important;
  gap: 8px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.wa-pdf-card:hover {
  border-color: #2563eb !important;
  background: #eff6ff !important;
  transform: scale(1.02) !important;
}

.wa-pdf-icon {
  font-size: 1.3rem !important;
}

.wa-pdf-info {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  flex: 1 !important;
}

.wa-pdf-name {
  font-size: 0.70rem !important;
  font-weight: 700 !important;
  color: #1e3a8a !important;
  line-height: 1.2 !important;
}

.wa-pdf-meta {
  font-size: 0.60rem !important;
  color: #64748b !important;
}

.wa-pdf-stepper-mini {
  display: flex !important;
  gap: 4px !important;
  margin-top: 4px !important;
  flex-wrap: wrap !important;
}

.step-mini {
  font-size: 0.58rem !important;
  font-weight: 700 !important;
  padding: 2px 5px !important;
  border-radius: 4px !important;
}

.step-mini.done {
  background: #dcfce7 !important;
  color: #15803d !important;
}

.step-mini.active {
  background: #dbeafe !important;
  color: #1d4ed8 !important;
  border: 1px solid #93c5fd !important;
}

/* ==========================================================================
   HERO 3D REAL-TIME MODEL VIEWER STYLES
   ========================================================================== */
.hero-model-container {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  z-index: 20 !important;
  filter: drop-shadow(0 25px 45px rgba(15, 23, 42, 0.22)) !important;
}

.model-interaction-hint {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: rgba(15, 23, 42, 0.80) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  color: #ffffff !important;
  padding: 6px 14px !important;
  border-radius: 20px !important;
  font-size: 0.74rem !important;
  font-weight: 600 !important;
  margin-top: -8px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  pointer-events: none !important;
  animation: pulseHint 3s infinite ease-in-out !important;
  z-index: 30 !important;
}

@keyframes pulseHint {

  0%,
  100% {
    opacity: 0.85;
    transform: translateY(0);
  }

  50% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

/* Glassmorphic Floating Pills */
.hero-glass-pill {
  position: absolute !important;
  z-index: 40 !important;
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.95) !important;
  border-radius: 16px !important;
  padding: 10px 14px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.22), 0 0 0 1px rgba(0, 0, 0, 0.04) !important;
  transition: transform 0.3s ease !important;
}

.pill-icon-circle {
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 800 !important;
  font-size: 1rem !important;
  flex-shrink: 0 !important;
}

.pill-icon-circle.green {
  background: #dcfce7 !important;
  color: #16a34a !important;
}

.pill-icon-circle.orange {
  background: #ffedd5 !important;
  color: #ea580c !important;
}

.pill-text-col {
  display: flex !important;
  flex-direction: column !important;
}

.pill-title {
  font-size: 0.82rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  line-height: 1.2 !important;
}

.pill-check {
  color: #16a34a !important;
}

.pill-amount {
  font-size: 1.05rem !important;
  font-weight: 900 !important;
  color: #15803d !important;
  line-height: 1.2 !important;
  letter-spacing: -0.02em !important;
}

.pill-guide {
  font-size: 0.78rem !important;
  color: #1e293b !important;
  line-height: 1.2 !important;
}

.pill-sub {
  font-size: 0.65rem !important;
  color: #64748b !important;
  font-weight: 500 !important;
}

.pill-voucher {
  top: 36px !important;
  left: -42px !important;
  transform: translateZ(40px) !important;
  animation: floatPill1 4.5s ease-in-out infinite alternate !important;
}

.pill-shalom {
  bottom: 26px !important;
  right: -42px !important;
  transform: translateZ(50px) !important;
  animation: floatPill2 5s ease-in-out infinite alternate !important;
}

@keyframes floatPill1 {
  0% {
    transform: translateZ(40px) translateY(0px);
  }

  100% {
    transform: translateZ(40px) translateY(-8px);
  }
}

@keyframes floatPill2 {
  0% {
    transform: translateZ(50px) translateY(0px);
  }

  100% {
    transform: translateZ(50px) translateY(8px);
  }
}

@media (max-width: 768px) {
  .hero-phone-3d {
    width: 290px !important;
    transform: none !important;
  }

  .pill-voucher {
    left: -10px !important;
    top: 10px !important;
  }

  .pill-shalom {
    right: -10px !important;
    bottom: 10px !important;
  }
}

/* Section Header Unification */
.section-header {
  text-align: center !important;
  max-width: 840px !important;
  margin: 0 auto 48px auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

/* ==========================================================================
   NUEVOS ESTILOS: HERO SOBRIO, INTERACTIVIDAD DINÁMICA & BLOG DE CASOS
   ========================================================================== */

/* Hero Executive Pill */
.hero-executive-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: #ffffff;
  border: 1.5px solid #bfdbfe;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.08);
  margin-bottom: 22px;
}

.executive-pill-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2563eb;
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.6);
  animation: pulseDot 2s infinite;
}

.executive-pill-text {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #1e3a8a;
  text-transform: uppercase;
}

/* Dynamic Words Rotator */
.dynamic-text-rotator {
  display: inline-block;
  color: #1e3a8a;
  border-bottom: 3px solid #2563eb;
  padding-bottom: 2px;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.dynamic-text-rotator.fade-out {
  opacity: 0;
  transform: translateY(-8px);
}

.dynamic-text-rotator.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* 3D Flip Cards (Antes vs. Después) */
.flip-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 36px;
}

.flip-card-container {
  perspective: 1200px;
  min-height: 400px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: left;
  transition: transform 0.8s cubic-bezier(0.2, 0.85, 0.4, 1.2);
  transform-style: preserve-3d;
  border-radius: var(--radius-xl);
  cursor: pointer;
}

.flip-card-container:hover .flip-card-inner,
.flip-card-container.is-flipped .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: var(--radius-xl);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px -4px rgba(15, 23, 42, 0.08);
}

.flip-card-front {
  background: #ffffff;
  border: 2px solid #fee2e2;
}

.flip-card-front .flip-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  background: #fee2e2;
  color: #dc2626;
  margin-bottom: 14px;
}

.flip-card-back {
  background: linear-gradient(145deg, #1e3a8a 0%, #0f172a 100%);
  color: #ffffff;
  border: 2px solid #3b82f6;
  transform: rotateY(180deg);
}

.flip-card-back .flip-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  background: #059669;
  color: #ffffff;
  margin-bottom: 14px;
}

.flip-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.3;
}

.flip-card-front .flip-card-title {
  color: var(--text-main);
}

.flip-card-back .flip-card-title {
  color: #ffffff;
}

.flip-card-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.flip-card-front .flip-card-desc {
  color: var(--text-muted);
}

.flip-card-back .flip-card-desc {
  color: #cbd5e1;
}

.flip-hint {
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

.flip-card-front .flip-hint {
  color: #dc2626;
}

.flip-card-back .flip-hint {
  color: #38bdf8;
}

/* ==========================================================================
   BLOG INTERACTIVO DE CASOS DE ÉXITO & ESTADOS FINANCIEROS
   ========================================================================== */
.blog-section {
  padding: 84px 0;
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.blog-filter-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.blog-filter-btn {
  padding: 8px 18px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.25s ease;
}

.blog-filter-btn:hover,
.blog-filter-btn.active {
  background: #1e3a8a;
  color: #ffffff;
  border-color: #1e3a8a;
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.2);
}

.blog-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.blog-case-card {
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.blog-case-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px -6px rgba(15, 23, 42, 0.12);
  border-color: #3b82f6;
}

.blog-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.blog-badge-category {
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  background: #eff6ff;
  color: #1d4ed8;
}

.blog-badge-savings {
  font-size: 0.74rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  background: #ecfdf5;
  color: #059669;
}

.blog-case-title {
  font-family: var(--font-display);
  font-size: 1.34rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.32;
  margin-bottom: 12px;
}

.blog-case-snippet {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 22px;
  flex-grow: 1;
}

.blog-case-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid var(--border-light);
}

.blog-read-link {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 800;
  color: #1e3a8a;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  border: none;
  background: transparent;
  padding: 0;
  transition: all 0.2s ease;
}

.blog-read-link:hover {
  color: #2563eb;
  transform: translateX(3px);
}

/* Modal Reader de Artículos de Negocio */
.article-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}

.article-modal-backdrop.active {
  display: flex;
}

.article-modal-container {
  background: #ffffff;
  border-radius: var(--radius-xl);
  max-width: 880px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.3);
  position: relative;
  padding: 42px 40px;
}

.article-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  transition: all 0.2s ease;
  line-height: 1;
}

.article-close-btn:hover {
  color: #0f172a;
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.financial-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.88rem;
  border-radius: 8px;
  overflow: hidden;
}

.financial-table th,
.financial-table td {
  padding: 12px 16px;
  border: 1px solid #e2e8f0;
  text-align: left;
}

.financial-table th {
  background: #f8fafc;
  font-weight: 800;
  color: #1e3a8a;
}

.financial-table tr.highlight-total {
  background: #eff6ff;
  font-weight: 800;
}

.financial-table tr.savings-row {
  background: #ecfdf5;
  color: #059669;
  font-weight: 900;
  font-size: 0.95rem;
}

.financial-table .num-bad {
  color: #dc2626;
  font-weight: 700;
}

.financial-table .num-good {
  color: #059669;
  font-weight: 700;
}

.financial-table tr.table-total-row {
  background: #f1f5f9;
  font-weight: 800;
  border-top: 2px solid #cbd5e1;
}

/* Scroll reveals (Directional) */
.reveal-from-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-from-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-from-bottom {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-visible {
  opacity: 1 !important;
  transform: translate(0, 0) scale(1) !important;
}

/* Corrección de Anchos y Prevención de Descuadre Responsive */
.section-container {
  width: 100% !important;
  max-width: 100vw !important;
  overflow-x: hidden !important;
}

.container {
  width: 100% !important;
  max-width: var(--container-max) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
}

@media (max-width: 900px) {
  .flip-cards-grid {
    grid-template-columns: 1fr !important;
  }

  .blog-cards-grid {
    grid-template-columns: 1fr !important;
  }

  .article-modal-container {
    padding: 28px 20px !important;
  }
}

/* ==========================================================================
   16. ESTILOS DE INFOGRAFÍA EDITORIAL POR CAPAS (SOMOS MARKETING PERÚ)
   ========================================================================== */
.article-modal-container.infographic-mode {
  max-width: 1240px !important;
  width: 95vw !important;
  padding: 28px 32px !important;
  background: #fdfbf7 !important;
  /* Tono editorial premium */
}

.infographic-sheet {
  font-family: var(--font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  color: #1e293b;
}

/* Cabecera Editorial Superior (Fuera del Canvas para máxima visibilidad) */
.infographic-editorial-header {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid #0f172a;
}

.infographic-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0f172a;
  color: #38bdf8;
  padding: 5px 14px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.infographic-brand-badge .brand-badge-sep {
  color: #64748b;
}

.infographic-main-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.1rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.2;
  margin: 0 0 8px 0;
  letter-spacing: -0.5px;
}

.infographic-lead-text {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.6;
  margin: 0;
  border-left: 3.5px solid #2563eb;
  padding-left: 14px;
}

/* ==========================================================================
   STAGE VISUAL PANORÁMICO: ILUSTRACIÓN ISOMÉTRICA COMPLETA Y NÍTIDA
   ========================================================================== */
.infographic-canvas-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 540px;
  max-height: 720px;
  border-radius: 16px;
  overflow: hidden;
  border: 2.5px solid #0f172a;
  background: #cbd5e1;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.25);
  margin-bottom: 24px;
}

/* Imagen Isométrica de Fondo: Visible al 100% sin recortes */
.infographic-canvas-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #cbd5e1;
  z-index: 1;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.infographic-canvas-stage:hover .infographic-canvas-bg {
  transform: scale(1.015);
}

/* Barra Superior HUD con Chips Flotantes Translúcidos */
.infographic-hud-bar {
  position: absolute;
  top: 14px;
  left: 18px;
  right: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 20;
  pointer-events: none;
  gap: 10px;
  flex-wrap: wrap;
}

.infographic-hud-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  pointer-events: auto;
}

.infographic-hud-chip {
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(10px);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 24px;
  font-size: 0.74rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s ease;
}

.infographic-hud-chip:hover {
  background: #1e3a8a;
  border-color: #38bdf8;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(30, 58, 138, 0.4);
}

.infographic-hud-chip.highlight {
  background: rgba(5, 150, 105, 0.9);
  border-color: #34d399;
}

.infographic-hud-btn {
  pointer-events: auto;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(10px);
  color: #38bdf8;
  border: 1.5px solid #38bdf8;
  padding: 6px 14px;
  border-radius: 24px;
  font-size: 0.74rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.infographic-hud-btn:hover {
  background: #38bdf8;
  color: #0f172a;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(56, 189, 248, 0.4);
}

/* Pie de Barra Flotante HUD */
.infographic-hud-footer {
  position: absolute;
  bottom: 14px;
  left: 18px;
  right: 18px;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(10px);
  color: #f1f5f9;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 0.76rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 20;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   PINES INTERACTIVOS SOBRE EL CORTE ISOMÉTRICO (MICRO-ANIMACIONES)
   ========================================================================== */
.hotspot-pin-container {
  position: absolute;
  z-index: 25;
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: auto;
}

.hotspot-pin-container:hover,
.hotspot-pin-container.active {
  transform: translate(-50%, -50%) scale(1.15);
  z-index: 50;
}

.hotspot-pin-beacon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #1e3a8a;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.95rem;
  border: 2.5px solid #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
  position: relative;
  transition: all 0.3s ease;
}

.hotspot-pin-container:hover .hotspot-pin-beacon,
.hotspot-pin-container.active .hotspot-pin-beacon {
  background: #2563eb;
  border-color: #38bdf8;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.6);
}

.hotspot-pin-beacon::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid #38bdf8;
  animation: radarWave 2s cubic-bezier(0.25, 1, 0.5, 1) infinite;
}

@keyframes radarWave {
  0% {
    transform: scale(1);
    opacity: 0.9;
  }

  70% {
    transform: scale(2.2);
    opacity: 0;
  }

  100% {
    transform: scale(2.6);
    opacity: 0;
  }
}

.hotspot-pin-label {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 5px;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(6px);
  color: #ffffff;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 800;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.25);
  letter-spacing: 0.3px;
}

.hotspot-pin-card {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 270px;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(12px);
  color: #ffffff;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 0.77rem;
  line-height: 1.5;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.55);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1.5px solid #38bdf8;
  z-index: 60;
}

.hotspot-pin-container:hover .hotspot-pin-card,
.hotspot-pin-container.active .hotspot-pin-card {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.hotspot-pin-card h5 {
  color: #38bdf8;
  font-size: 0.84rem;
  font-weight: 800;
  margin: 0 0 4px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   GRILLA DE EVIDENCIAS & DETALLES EN CAPAS INFERIORES (CSS GRID 3 COLS)
   ========================================================================== */
.infographic-evidence-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
  margin-bottom: 24px;
}

.evidence-grid-card {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
}

.evidence-grid-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
  border-color: #2563eb;
}

.evidence-card-badge {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #1e3a8a;
  margin-bottom: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.evidence-card-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 10px;
  line-height: 1.3;
}

/* Animaciones de Salto Ondulado */
@keyframes waveJump {
  0% {
    transform: translateY(0) scale(1);
  }

  25% {
    transform: translateY(-10px) scale(1.03);
  }

  50% {
    transform: translateY(-3px) scale(1.01);
  }

  100% {
    transform: translateY(-6px) scale(1.02);
  }
}

/* Línea de Tiempo Superior (Hitos Cronológicos) */
.infographic-timeline-wrap {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  padding: 18px 24px;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.infographic-timeline-title {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #1e3a8a;
  letter-spacing: 1px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.infographic-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
}

.timeline-step {
  position: relative;
  text-align: left;
}

.timeline-year {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 900;
  color: #c81517;
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}

.timeline-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}

.timeline-desc {
  font-size: 0.74rem;
  color: #64748b;
  line-height: 1.45;
}

/* Responsividad */
@media (max-width: 1024px) {
  .infographic-canvas-stage {
    min-height: 400px;
    max-height: none;
  }

  .infographic-evidence-grid {
    grid-template-columns: 1fr;
  }

  .infographic-timeline {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   INTERACTIVE WHATSAPP BUSINESS SIMULATOR & REAL-TIME PDF DOWNLOAD MODAL
   ========================================================================== */
.hero-live-sim-btn {
  margin-top: 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  padding: 10px 20px !important;
  border-radius: 30px !important;
  font-size: 0.86rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  box-shadow: 0 10px 25px -5px rgba(5, 150, 105, 0.45), 0 0 0 1px rgba(5, 150, 105, 0.2) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  z-index: 30 !important;
}

.hero-live-sim-btn:hover {
  transform: translateY(-2px) scale(1.03) !important;
  box-shadow: 0 16px 32px -6px rgba(5, 150, 105, 0.55), 0 0 16px rgba(16, 185, 129, 0.4) !important;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
}

.sim-pulse-dot {
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background: #a7f3d0 !important;
  box-shadow: 0 0 8px #a7f3d0 !important;
  animation: pulseDot 1.5s infinite ease-in-out !important;
}

@keyframes pulseDot {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.35);
    opacity: 0.6;
  }
}

/* WhatsApp Simulator Modal Container */
.whatsapp-sim-container {
  width: 100% !important;
  max-width: 520px !important;
  height: 90vh !important;
  max-height: 740px !important;
  background: #efeae2 !important;
  border-radius: 24px !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1) !important;
  animation: modalScaleUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
  position: relative !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}

@keyframes modalScaleUp {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(20px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Header */
.wa-sim-header {
  background: #008069 !important;
  padding: 14px 18px !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15) !important;
  z-index: 10 !important;
}

.wa-sim-user {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.wa-sim-avatar {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  overflow: hidden !important;
  position: relative !important;
  border: 1.5px solid rgba(255, 255, 255, 0.3) !important;
  flex-shrink: 0 !important;
}

.wa-sim-avatar img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.wa-sim-online-dot {
  position: absolute !important;
  bottom: 2px !important;
  right: 2px !important;
  width: 10px !important;
  height: 10px !important;
  border-radius: 50% !important;
  background: #10b981 !important;
  border: 2px solid #008069 !important;
}

.wa-sim-info {
  display: flex !important;
  flex-direction: column !important;
}

.wa-sim-name {
  font-size: 0.96rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
}

.wa-sim-verified {
  background: #10b981 !important;
  color: #ffffff !important;
  font-size: 0.65rem !important;
  width: 15px !important;
  height: 15px !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 900 !important;
}

.wa-sim-status {
  font-size: 0.72rem !important;
  color: #d1fae5 !important;
}

.wa-sim-header-actions {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.wa-sim-btn-download-top {
  background: rgba(255, 255, 255, 0.18) !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  color: #ffffff !important;
  padding: 6px 12px !important;
  border-radius: 16px !important;
  font-size: 0.76rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.wa-sim-btn-download-top:hover {
  background: #ffffff !important;
  color: #008069 !important;
}

.wa-sim-close {
  background: none !important;
  border: none !important;
  color: #ffffff !important;
  font-size: 1.5rem !important;
  cursor: pointer !important;
  line-height: 1 !important;
  opacity: 0.85 !important;
  transition: opacity 0.2s ease !important;
}

.wa-sim-close:hover {
  opacity: 1 !important;
}

/* Chat Body */
.wa-sim-body {
  flex: 1 !important;
  padding: 16px 14px !important;
  overflow-y: auto !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  background-color: #efeae2 !important;
  background-image: radial-gradient(#d1d5db 0.75px, transparent 0.75px) !important;
  background-size: 16px 16px !important;
}

.wa-sim-date {
  text-align: center !important;
  margin: 4px 0 !important;
}

.wa-sim-date span {
  background: rgba(255, 255, 255, 0.9) !important;
  padding: 4px 12px !important;
  border-radius: 8px !important;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  color: #64748b !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06) !important;
}

/* Chat Bubbles */
.wa-sim-msg {
  display: flex !important;
  width: 100% !important;
}

.wa-sim-msg-client {
  justify-content: flex-end !important;
}

.wa-sim-msg-bot {
  justify-content: flex-start !important;
}

.wa-sim-bubble {
  max-width: 88% !important;
  padding: 10px 12px !important;
  border-radius: 12px !important;
  position: relative !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12) !important;
  font-size: 0.86rem !important;
  line-height: 1.4 !important;
}

.wa-sim-msg-client .wa-sim-bubble {
  background: #d9fdd3 !important;
  color: #111827 !important;
  border-top-right-radius: 2px !important;
}

.wa-sim-msg-bot .wa-sim-bubble {
  background: #ffffff !important;
  color: #111827 !important;
  border-top-left-radius: 2px !important;
}

.wa-sim-time {
  display: block !important;
  text-align: right !important;
  font-size: 0.65rem !important;
  color: #64748b !important;
  margin-top: 4px !important;
}

.wa-ticks {
  color: #3b82f6 !important;
  font-weight: 800 !important;
  margin-left: 2px !important;
}

/* Badges inside Bot Bubbles */
.wa-bot-badge {
  display: inline-block !important;
  font-size: 0.7rem !important;
  font-weight: 800 !important;
  color: #1d4ed8 !important;
  background: #eff6ff !important;
  padding: 2px 8px !important;
  border-radius: 6px !important;
  margin-bottom: 6px !important;
  border: 1px solid #bfdbfe !important;
}

.wa-shalom-badge {
  display: inline-block !important;
  font-size: 0.7rem !important;
  font-weight: 800 !important;
  color: #c2410c !important;
  background: #fff7ed !important;
  padding: 2px 8px !important;
  border-radius: 6px !important;
  margin-bottom: 6px !important;
  border: 1px solid #fed7aa !important;
}

/* Voucher Subcard */
.wa-sim-voucher-card {
  margin-top: 8px !important;
  background: #ffffff !important;
  border-radius: 8px !important;
  padding: 8px 10px !important;
  border: 1.5px solid #86efac !important;
}

.wa-sim-vcard-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 4px !important;
}

.vcard-banco {
  font-weight: 900 !important;
  font-size: 0.85rem !important;
  color: #002a8f !important;
}

.vcard-tag {
  font-size: 0.65rem !important;
  background: #dcfce7 !important;
  color: #15803d !important;
  font-weight: 700 !important;
  padding: 2px 6px !important;
  border-radius: 4px !important;
}

.vcard-amount {
  font-size: 1.25rem !important;
  font-weight: 900 !important;
  color: #047857 !important;
  line-height: 1.2 !important;
}

.vcard-op {
  font-size: 0.72rem !important;
  color: #374151 !important;
  margin-top: 2px !important;
}

.vcard-status {
  font-size: 0.68rem !important;
  color: #16a34a !important;
  font-weight: 700 !important;
  margin-top: 4px !important;
}

/* PDF Card Bubble */
.wa-pdf-bubble {
  background: #f0fdf4 !important;
  border: 1.5px solid #86efac !important;
}

.wa-pdf-card {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  background: #ffffff !important;
  padding: 10px 12px !important;
  border-radius: 8px !important;
  border: 1px solid #d1fae5 !important;
}

.wa-pdf-icon {
  font-size: 1.8rem !important;
}

.wa-pdf-title {
  font-weight: 800 !important;
  font-size: 0.86rem !important;
  color: #15803d !important;
}

.wa-pdf-meta {
  font-size: 0.7rem !important;
  color: #4b5563 !important;
}

.wa-stepper-pills {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  margin: 10px 0 !important;
}

.step-pill {
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  padding: 3px 8px !important;
  border-radius: 6px !important;
}

.step-pill.done {
  background: #dcfce7 !important;
  color: #15803d !important;
  border: 1px solid #86efac !important;
}

.step-pill.active {
  background: #ffedd5 !important;
  color: #c2410c !important;
  border: 1px solid #fed7aa !important;
}

.btn-download-pdf-order {
  width: 100% !important;
  background: linear-gradient(135deg, #15803d 0%, #166534 100%) !important;
  color: #ffffff !important;
  border: none !important;
  padding: 10px 14px !important;
  border-radius: 8px !important;
  font-weight: 800 !important;
  font-size: 0.84rem !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  box-shadow: 0 4px 12px rgba(21, 128, 61, 0.3) !important;
  transition: all 0.2s ease !important;
}

.btn-download-pdf-order:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(21, 128, 61, 0.45) !important;
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%) !important;
}

/* Shalom Card */
.wa-shalom-card {
  margin-top: 8px !important;
  background: #ffffff !important;
  padding: 10px 12px !important;
  border-radius: 8px !important;
  border: 1.5px solid #fed7aa !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 5px !important;
}

.shalom-row {
  display: flex !important;
  justify-content: space-between !important;
  font-size: 0.78rem !important;
  color: #374151 !important;
}

.pin-highlight {
  background: #fef08a !important;
  color: #854d0e !important;
  padding: 1px 6px !important;
  border-radius: 4px !important;
  font-size: 0.88rem !important;
  font-family: monospace !important;
}

/* Typing indicator */
.wa-typing-bubble {
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  padding: 8px 12px !important;
}

.typing-dot {
  width: 7px !important;
  height: 7px !important;
  background: #9ca3af !important;
  border-radius: 50% !important;
  animation: typingBounce 1.4s infinite ease-in-out !important;
}

.typing-dot:nth-child(2) {
  animation-delay: 0.2s !important;
}

.typing-dot:nth-child(3) {
  animation-delay: 0.4s !important;
}

@keyframes typingBounce {

  0%,
  60%,
  100% {
    transform: translateY(0);
  }

  30% {
    transform: translateY(-5px);
    background: #4b5563;
  }
}

/* Quick Action Chips */
.wa-sim-chips {
  padding: 8px 14px !important;
  background: #f3f4f6 !important;
  display: flex !important;
  gap: 8px !important;
  overflow-x: auto !important;
  border-top: 1px solid #e5e7eb !important;
  border-bottom: 1px solid #e5e7eb !important;
}

.wa-chip {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #1e293b !important;
  padding: 6px 12px !important;
  border-radius: 16px !important;
  font-size: 0.74rem !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

.wa-chip:hover {
  background: #008069 !important;
  color: #ffffff !important;
  border-color: #008069 !important;
}

/* Footer / Input */
.wa-sim-footer {
  background: #f0f2f5 !important;
  padding: 10px 14px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.wa-sim-footer input {
  flex: 1 !important;
  background: #ffffff !important;
  border: 1px solid #d1d5db !important;
  border-radius: 20px !important;
  padding: 10px 16px !important;
  font-size: 0.86rem !important;
  color: #111827 !important;
  outline: none !important;
}

.wa-sim-footer input:focus {
  border-color: #008069 !important;
}

.wa-sim-send {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  background: #008069 !important;
  color: #ffffff !important;
  border: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  flex-shrink: 0 !important;
}

.wa-sim-send:hover {
  background: #00a884 !important;
  transform: scale(1.05) !important;
}

/* Toast */
.sim-live-toast {
  position: fixed !important;
  bottom: 30px !important;
  left: 50% !important;
  transform: translateX(-50%) translateY(100px) !important;
  background: rgba(15, 23, 42, 0.94) !important;
  backdrop-filter: blur(10px) !important;
  color: #ffffff !important;
  padding: 12px 24px !important;
  border-radius: 30px !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  z-index: 99999 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}


/* ==========================================================================
   INTERACTIVE 3D IPHONE & MARCA BLANCA SIMULATOR (HERO SECTION)
   ========================================================================== */
.hero-3d-scene {
  position: relative !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  min-height: 580px !important;
}

.hero-model-container {
  position: relative !important;
  width: 100% !important;
  max-width: 440px !important;
  height: auto !important;
  min-height: 640px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-items: center !important;
  margin: 0 auto !important;
}

/* Indicador flotante sutil debajo del iPhone 3D (en flujo normal sin superposición) */
.hero-3d-hint-badge {
  position: relative !important;
  bottom: auto !important;
  left: auto !important;
  transform: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  font-size: 0.82rem;
  cursor: pointer;
  z-index: 10;
  white-space: nowrap;
  transition: all 0.25s ease;
  user-select: none;
  margin-top: 10px;
  margin-bottom: 8px;
}

.hero-3d-hint-badge:hover {
  background: rgba(15, 23, 42, 0.98);
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  border-color: rgba(37, 99, 235, 0.5);
}

.hint-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: hintDotPulse 2s infinite;
}

@keyframes hintDotPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }

  70% {
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.hint-text strong {
  color: #60a5fa;
}

.hint-step-tag {
  background: rgba(37, 99, 235, 0.3);
  color: #93c5fd;
  font-weight: 700;
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(59, 130, 246, 0.4);
}

/* ==========================================================================
/* ==========================================================================
   LÍNEA DE PROCESO AUTOMÁTICO DEL SIMULADOR 3D (1 SOLO CLIC)
   ========================================================================== */
.hero-3d-stepper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 6px 14px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
  margin-bottom: 12px;
  z-index: 10;
}

.timeline-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.35);
  border-radius: 9999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #4ade80;
  text-transform: uppercase;
}

.stepper-arrow {
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 800;
  user-select: none;
}

.stepper-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  border: 1px solid transparent;
  color: #94a3b8;
  padding: 6px 14px;
  border-radius: 9999px;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s ease-in-out;
  outline: none;
}

.stepper-tab:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.stepper-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  font-size: 0.7rem;
  font-weight: 800;
  color: #ffffff;
  transition: all 0.22s ease;
}

.stepper-tab.active {
  background: #2563eb;
  color: #ffffff;
  border-color: rgba(96, 165, 250, 0.5);
  box-shadow: 0 0 16px rgba(37, 99, 235, 0.45);
}

.stepper-tab.active .stepper-num {
  background: #ffffff;
  color: #1d4ed8;
}

.stepper-tab.completed {
  background: rgba(16, 185, 129, 0.18);
  border-color: rgba(16, 185, 129, 0.45);
  color: #34d399;
}

.stepper-tab.completed .stepper-num {
  background: #10b981;
  color: #ffffff;
}

/* Barra de Controles Inferiores del Celular 3D */
.hero-3d-controls-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 420px;
  margin-top: 10px;
  z-index: 10;
}

.btn-3d-ctrl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e2e8f0;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  outline: none;
}

.btn-3d-ctrl:hover {
  background: rgba(30, 41, 59, 0.95);
  color: #ffffff;
  border-color: rgba(96, 165, 250, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.btn-3d-ctrl.active {
  border-color: #10b981;
  color: #34d399;
  background: rgba(6, 78, 59, 0.85);
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.35);
}

.btn-3d-ctrl-primary {
  background: #16a34a !important;
  color: #ffffff !important;
  border-color: #22c55e !important;
  font-weight: 700 !important;
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.45) !important;
}

.btn-3d-ctrl-primary:hover {
  background: #15803d !important;
  transform: translateY(-2px) scale(1.03) !important;
  box-shadow: 0 0 30px rgba(34, 197, 94, 0.7) !important;
}

.btn-3d-ctrl-pdf {
  background: #2563eb !important;
  color: #ffffff !important;
  border-color: #3b82f6 !important;
  box-shadow: 0 0 18px rgba(37, 99, 235, 0.45) !important;
}

.btn-3d-ctrl-pdf:hover {
  background: #1d4ed8 !important;
  transform: translateY(-2px) scale(1.03) !important;
  box-shadow: 0 0 26px rgba(37, 99, 235, 0.65) !important;
}

@media (max-width: 640px) {
  .hero-3d-stepper {
    flex-wrap: wrap;
    border-radius: 16px;
    padding: 6px;
    gap: 4px;
    max-width: 95vw;
  }

  .stepper-tab {
    padding: 5px 10px;
    font-size: 0.72rem;
  }

  .hero-3d-controls-bar {
    flex-wrap: wrap;
    gap: 6px;
  }

  .btn-3d-ctrl {
    padding: 6px 10px;
    font-size: 0.74rem;
  }
}

/* Status Bar & Dynamic Island */
.psi-status-bar {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  height: 26px !important;
  padding: 0 12px !important;
  background: #005c4b !important;
  color: #ffffff !important;
  font-size: 9.5px !important;
  font-weight: 700 !important;
  flex-shrink: 0 !important;
  z-index: 5 !important;
}

.psi-time {
  font-size: 9.5px !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
}

.psi-dynamic-island {
  width: 62px !important;
  height: 14px !important;
  background: #000000 !important;
  border-radius: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  padding-right: 6px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4) !important;
}

.psi-cam-dot {
  width: 5px !important;
  height: 5px !important;
  border-radius: 50% !important;
  background: #0f172a !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
}

.psi-indicators {
  display: flex !important;
  gap: 3px !important;
  font-size: 8.5px !important;
  align-items: center !important;
}

.psi-battery {
  font-size: 9.5px !important;
}

/* WhatsApp Header Marca Blanca */
.psi-wa-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 5px 8px 6px !important;
  background: #008069 !important;
  color: #ffffff !important;
  flex-shrink: 0 !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}

.psi-header-left {
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  min-width: 0 !important;
  flex: 1 !important;
}

.psi-back-arrow {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  line-height: 1 !important;
  margin-right: -1px !important;
  cursor: pointer !important;
}

.psi-avatar {
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  color: #008069 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 13px !important;
  position: relative !important;
  flex-shrink: 0 !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15) !important;
}

.psi-online-badge {
  position: absolute !important;
  bottom: -1px !important;
  right: -1px !important;
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background: #25d366 !important;
  border: 1.5px solid #ffffff !important;
}

.psi-header-info {
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
}

.psi-name {
  font-size: 9.8px !important;
  font-weight: 800 !important;
  display: flex !important;
  align-items: center !important;
  gap: 3px !important;
  white-space: nowrap !important;
  color: #ffffff !important;
  letter-spacing: -0.01em !important;
}

.psi-verified {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 11px !important;
  height: 11px !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  color: #008069 !important;
  font-size: 7.5px !important;
  font-weight: 900 !important;
}

.psi-status {
  font-size: 7.8px !important;
  color: rgba(255, 255, 255, 0.88) !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.psi-header-icons {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  color: #ffffff !important;
  font-size: 11px !important;
  padding-right: 2px !important;
}

.psi-h-icon {
  opacity: 0.9 !important;
  cursor: pointer !important;
}

/* WhatsApp Chat Body */
.psi-chat-body {
  flex: 1 !important;
  overflow-y: auto !important;
  padding: 6px 7px !important;
  background-color: #efeae2 !important;
  background-image: radial-gradient(#cbd5e1 0.75px, transparent 0.75px) !important;
  background-size: 12px 12px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  scroll-behavior: smooth !important;
}

.psi-chat-body::-webkit-scrollbar {
  width: 3px !important;
}

.psi-chat-body::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2) !important;
  border-radius: 3px !important;
}

.psi-date-divider {
  display: flex !important;
  justify-content: center !important;
  margin: 1px 0 !important;
}

.psi-date-divider span {
  background: rgba(255, 255, 255, 0.92) !important;
  padding: 2px 7px !important;
  border-radius: 6px !important;
  font-size: 7.5px !important;
  font-weight: 700 !important;
  color: #64748b !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06) !important;
}

/* Chat Bubbles */
.psi-bubble {
  max-width: 96% !important;
  padding: 6px 8px !important;
  border-radius: 8px !important;
  font-size: 8.8px !important;
  line-height: 1.35 !important;
  position: relative !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08) !important;
}

.psi-client {
  align-self: flex-end !important;
  background: #d9fdd3 !important;
  border-top-right-radius: 2px !important;
  color: #111827 !important;
}

.psi-bot {
  align-self: flex-start !important;
  background: #ffffff !important;
  border-top-left-radius: 2px !important;
  color: #111827 !important;
  border-left: 3px solid #10b981 !important;
  animation: psiSlideIn 0.3s ease-out !important;
}

.psi-bubble-welcome {
  border-left: 3px solid #3b82f6 !important;
}

.psi-quote-box {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 5px !important;
  padding: 4px 6px !important;
  margin-top: 3px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 1.5px !important;
  font-size: 7.6px !important;
  color: #334155 !important;
}

.psi-qb-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

#psiBotResponse {
  display: none !important;
}

#psiBotResponse.active {
  display: block !important;
}

#psiShalomResponse {
  display: none !important;
}

#psiShalomResponse.active {
  display: block !important;
}

@keyframes psiSlideIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.psi-msg-text {
  margin: 0 0 4px 0 !important;
  font-size: 8.5px !important;
  color: #1f2937 !important;
}

/* Voucher Card inside Bubble */
.psi-voucher-card {
  background: #ffffff !important;
  border: 1px solid #a7f3d0 !important;
  border-radius: 6px !important;
  padding: 5px 7px !important;
  margin-top: 2px !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
}

.psi-vc-head {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 2px !important;
}

.psi-bcp-badge {
  background: #002a8f !important;
  color: #ffffff !important;
  font-size: 7px !important;
  font-weight: 900 !important;
  padding: 1px 3.5px !important;
  border-radius: 3px !important;
}

.psi-vc-tag {
  font-size: 6.8px !important;
  font-weight: 800 !important;
  color: #059669 !important;
  letter-spacing: 0.02em !important;
}

.psi-vc-amount {
  font-family: var(--font-mono), monospace !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  color: #065f46 !important;
  line-height: 1.2 !important;
}

.psi-vc-op {
  font-size: 7.4px !important;
  color: #4b5563 !important;
  margin-top: 1px !important;
}

.psi-vc-check {
  font-size: 7.4px !important;
  font-weight: 700 !important;
  color: #059669 !important;
  margin-top: 1px !important;
}

.psi-time-stamp {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  gap: 3px !important;
  font-size: 7.2px !important;
  color: #9ca3af !important;
  margin-top: 2px !important;
}

.psi-ticks {
  color: #3b82f6 !important;
  font-weight: 800 !important;
}

/* Action Button inside 3D Phone */
.psi-action-row {
  display: flex !important;
  justify-content: center !important;
  margin: 3px 0 !important;
  width: 100% !important;
}

.psi-action-row.hidden {
  display: none !important;
}

.btn-psi-action {
  width: 100% !important;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  color: #ffffff !important;
  font-size: 8.6px !important;
  font-weight: 800 !important;
  padding: 7px 9px !important;
  border-radius: 16px !important;
  border: none !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  box-shadow: 0 3px 12px rgba(16, 185, 129, 0.45) !important;
  animation: psiGlow 1.8s infinite ease-in-out !important;
  transition: transform 0.2s ease, filter 0.2s ease !important;
}

.btn-psi-action:hover {
  transform: scale(1.02) !important;
  filter: brightness(1.08) !important;
}

@keyframes psiGlow {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6), 0 3px 10px rgba(16, 185, 129, 0.35);
  }

  50% {
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0), 0 4px 14px rgba(16, 185, 129, 0.55);
  }
}

/* Typing Indicator inside Phone */
.psi-typing-row {
  display: none !important;
  align-items: center !important;
  gap: 5px !important;
  padding: 4px 7px !important;
  background: rgba(255, 255, 255, 0.95) !important;
  border-radius: 10px !important;
  align-self: flex-start !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
}

.psi-typing-row.active {
  display: flex !important;
}

.psi-typing-bubble {
  display: flex !important;
  gap: 2.5px !important;
}

.psi-dot {
  width: 4px !important;
  height: 4px !important;
  border-radius: 50% !important;
  background: #10b981 !important;
  animation: psiBounce 1.2s infinite ease-in-out !important;
}

.psi-dot:nth-child(2) {
  animation-delay: 0.2s !important;
}

.psi-dot:nth-child(3) {
  animation-delay: 0.4s !important;
}

@keyframes psiBounce {

  0%,
  80%,
  100% {
    transform: scale(0.6);
    opacity: 0.5;
  }

  40% {
    transform: scale(1.1);
    opacity: 1;
  }
}

.psi-typing-text {
  font-size: 7.5px !important;
  font-weight: 700 !important;
  color: #059669 !important;
}

/* Bot Badges & PDF Card */
.psi-bot-badge {
  display: inline-block !important;
  background: #ecfdf5 !important;
  color: #065f46 !important;
  font-size: 6.8px !important;
  font-weight: 800 !important;
  padding: 1.5px 4px !important;
  border-radius: 3.5px !important;
  margin-bottom: 2.5px !important;
  border: 1px solid #a7f3d0 !important;
}

.psi-pdf-card {
  background: #f8fafc !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 6px !important;
  padding: 5px 6px !important;
  margin-top: 3px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 3.5px !important;
}

.psi-pdf-top {
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
}

.psi-pdf-icon {
  font-size: 14px !important;
}

.psi-pdf-filename {
  font-size: 8px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.psi-pdf-meta {
  font-size: 6.8px !important;
  color: #64748b !important;
}

.psi-stepper-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 2.5px !important;
  margin: 1.5px 0 !important;
}

.psi-step {
  font-size: 6.6px !important;
  font-weight: 700 !important;
  padding: 2px 3px !important;
  border-radius: 3px !important;
  text-align: center !important;
  white-space: nowrap !important;
}

.psi-step.done {
  background: #ecfdf5 !important;
  color: #047857 !important;
  border: 1px solid #a7f3d0 !important;
}

.psi-step.active {
  background: #fef3c7 !important;
  color: #b45309 !important;
  border: 1px solid #fde68a !important;
}

.btn-psi-pdf-download {
  width: 100% !important;
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%) !important;
  color: #ffffff !important;
  font-size: 8.2px !important;
  font-weight: 800 !important;
  padding: 6px 7px !important;
  border-radius: 5px !important;
  border: none !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  box-shadow: 0 2px 7px rgba(30, 58, 138, 0.35) !important;
  transition: all 0.2s ease !important;
}

.btn-psi-pdf-download:hover {
  transform: translateY(-1px) !important;
  filter: brightness(1.08) !important;
  box-shadow: 0 3px 10px rgba(30, 58, 138, 0.45) !important;
}

/* Shalom Dispatch Card */
.psi-shalom-badge {
  display: inline-block !important;
  background: #fff7ed !important;
  color: #c2410c !important;
  font-size: 6.8px !important;
  font-weight: 800 !important;
  padding: 1.5px 4px !important;
  border-radius: 3.5px !important;
  margin-bottom: 2.5px !important;
  border: 1px solid #fed7aa !important;
}

.psi-shalom-card {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 5px !important;
  padding: 4.5px 5.5px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
}

.psi-shalom-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  font-size: 7.4px !important;
  color: #475569 !important;
}

.psi-pin-box {
  background: #fef3c7 !important;
  color: #92400e !important;
  font-weight: 900 !important;
  padding: 1.5px 3.5px !important;
  border-radius: 3px !important;
  border: 1px solid #fde68a !important;
  font-family: var(--font-mono), monospace !important;
  font-size: 7.8px !important;
}

.psi-reset-wrap {
  display: flex !important;
  justify-content: center !important;
  margin-top: 4px !important;
}

.btn-psi-reset {
  background: #f1f5f9 !important;
  color: #475569 !important;
  border: 1px solid #cbd5e1 !important;
  font-size: 7.2px !important;
  font-weight: 700 !important;
  padding: 2.5px 7px !important;
  border-radius: 10px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.btn-psi-reset:hover {
  background: #e2e8f0 !important;
  color: #0f172a !important;
}

/* Footer / Input Bar & Home Pill */
.psi-footer-bar {
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  padding: 4px 8px !important;
  background: #f0f2f5 !important;
  border-top: 1px solid #e2e8f0 !important;
  flex-shrink: 0 !important;
}

.psi-fake-input {
  flex: 1 !important;
  background: #ffffff !important;
  border: 1px solid #d1d5db !important;
  border-radius: 12px !important;
  padding: 3px 8px !important;
  font-size: 7.8px !important;
  color: #9ca3af !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.psi-send-circle {
  width: 22px !important;
  height: 22px !important;
  border-radius: 50% !important;
  background: #008069 !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 8px !important;
  flex-shrink: 0 !important;
}

.psi-home-bar {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  height: 10px !important;
  background: #f0f2f5 !important;
  flex-shrink: 0 !important;
}

.psi-home-pill {
  width: 70px !important;
  height: 3px !important;
  border-radius: 3px !important;
  background: #0f172a !important;
}

/* ==========================================================================
   BARRA DE CONTROLES 3D (ENFOQUE FRONTAL, GIRO 360° Y BOTÓN CON IA)
   ========================================================================== */
.hero-3d-controls-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 4px;
  margin-bottom: 8px;
  position: relative;
  z-index: 20;
  flex-wrap: wrap;
  width: 100%;
}

.btn-3d-ctrl {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  color: #1e293b;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 99px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-3d-ctrl:hover {
  background: #f8fafc;
  border-color: #2563eb;
  color: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.2);
}

.btn-3d-ctrl.btn-3d-ctrl-primary {
  background: #059669;
  color: #ffffff;
  border-color: #047857;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
}

.btn-3d-ctrl.btn-3d-ctrl-primary:hover {
  background: #047857;
  border-color: #065f46;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(5, 150, 105, 0.5);
}

.btn-3d-ctrl.active {
  background: #1e3a8a;
  color: #ffffff;
  border-color: #1d4ed8;
  box-shadow: 0 4px 14px rgba(30, 58, 138, 0.35);
}

/* --------------------------------------------------------------------------
   FRANJA DE ENLACE: 4 PILARES TECNOLÓGICOS (EDITORIAL SHUPATTO / B2B)
   -------------------------------------------------------------------------- */
.trust-infra-section {
  padding: 32px 0;
  background-color: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.trust-infra-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 1024px) {
  .trust-infra-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .trust-infra-grid {
    grid-template-columns: 1fr;
  }
}

.trust-infra-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
}

.trust-infra-card:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
  box-shadow: 0 8px 18px -4px rgba(15, 23, 42, 0.08);
}

.trust-infra-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #dbeafe;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-infra-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.trust-infra-title {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
}

.trust-infra-sub {
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.35;
}

.trust-infra-meta {
  font-size: 0.69rem;
  font-weight: 700;
  color: #059669;
  letter-spacing: 0.02em;
}

/* Grid de 7 pilares (trust banner) */
.trust-infra-grid-7 {
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
}
.trust-infra-grid-7 .trust-infra-card {
  flex-direction: column;
  align-items: flex-start;
  padding: 14px 14px;
  gap: 10px;
}
@media (max-width: 1280px) {
  .trust-infra-grid-7 { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
  .trust-infra-grid-7 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .trust-infra-grid-7 { grid-template-columns: 1fr; }
}

/* Hero badge strip de 7 sistemas */
.hero-systems-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 20px 0 8px;
}

.sys-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 13px;
  border-radius: 100px;
  letter-spacing: 0.01em;
  transition: all 0.2s ease;
}
.sys-badge:hover {
  background: #dbeafe;
  border-color: #93c5fd;
}

/* ==========================================================================
   SECCIÓN 2: COMPARACIÓN DE MODELO DE NEGOCIO (VS)
   ========================================================================== */
.comparison-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  max-width: 1000px;
  margin: 40px auto 0;
}

@media (max-width: 768px) {
  .comparison-grid {
    flex-direction: column;
    gap: 20px;
  }
}

.comparison-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px 28px;
  flex: 1;
  width: 100%;
  box-shadow: 0 4px 6px rgba(15, 23, 42, 0.03);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.traditional-model {
  border-top: 4px solid #ef4444;
}

.digital-model {
  border-top: 4px solid #10b981;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.1);
  transform: scale(1.02);
  z-index: 2;
}

@media (max-width: 768px) {
  .digital-model {
    transform: none;
  }
}

.comparison-header {
  margin-bottom: 24px;
}

.comparison-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.badge-red {
  background: #fee2e2;
  color: #b91c1c;
}

.badge-green {
  background: #d1fae5;
  color: #047857;
}

.comparison-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.comparison-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.comparison-list li {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.5;
  padding-left: 24px;
  position: relative;
}

.traditional-model .comparison-list li::before {
  content: '✕';
  position: absolute;
  left: 0;
  color: #ef4444;
  font-weight: bold;
}

.digital-model .comparison-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: bold;
}

.comparison-result {
  font-size: 0.85rem;
  font-weight: 700;
  padding: 14px;
  border-radius: 8px;
  text-align: center;
  margin-top: auto;
}

.result-negative {
  background: #f8fafc;
  color: #64748b;
}

.result-positive {
  background: #10b981;
  color: #ffffff;
}

.comparison-vs {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: #cbd5e1;
  background: #ffffff;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid #e2e8f0;
  flex-shrink: 0;
  z-index: 1;
}

/* ==========================================================================
   SECCIÓN 3: RUBROS COMERCIALES
   ========================================================================== */
.rubros-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

@media (max-width: 1024px) {
  .rubros-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .rubros-grid {
    grid-template-columns: 1fr;
  }
}

.rubro-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  transition: all 0.2s ease;
}

.rubro-card:hover {
  transform: translateY(-3px);
  border-color: #3b82f6;
  box-shadow: 0 8px 16px rgba(59, 130, 246, 0.08);
  background: #ffffff;
}

.rubro-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.rubro-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
}

.rubro-desc {
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.5;
  margin: 0;
}

/* ==========================================================================
   SECCIÓN 4: HOJA DE RUTA OPERATIVA (TIMELINE DE 10 PASOS)
   ========================================================================== */
.timeline-section {
  background-color: #f8fafc;
  padding: 60px 0;
  border-bottom: 1px solid var(--border-light);
}

.timeline-container {
  max-width: 900px;
  margin: 50px auto 0;
  position: relative;
  padding: 0 20px;
}

/* La línea central */
.timeline-container::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: #cbd5e1;
  transform: translateX(-50%);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

/* El círculo del medio (Número) */
.timeline-marker {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: #1e40af;
  border: 4px solid #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 800;
  font-size: 1.1rem;
  z-index: 2;
  box-shadow: 0 4px 6px rgba(15, 23, 42, 0.1);
}

.timeline-content {
  width: 45%;
  background: #ffffff;
  padding: 24px 28px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px rgba(15, 23, 42, 0.03);
  position: relative;
}

/* Flechita apuntando a la línea central */
.timeline-content::before {
  content: '';
  position: absolute;
  top: 20px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

.timeline-item:nth-child(odd) .timeline-content::before {
  right: -10px;
  border-left: 10px solid #ffffff;
  filter: drop-shadow(2px 0px 1px rgba(226, 232, 240, 1));
}

.timeline-item:nth-child(even) .timeline-content::before {
  left: -10px;
  border-right: 10px solid #ffffff;
  filter: drop-shadow(-2px 0px 1px rgba(226, 232, 240, 1));
}

.timeline-content h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin-top: 0;
  margin-bottom: 8px;
}

.timeline-content p {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.5;
  margin: 0;
}

.timeline-actor-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}

.actor-cliente { background: #dcfce7; color: #166534; }
.actor-bot { background: #e0e7ff; color: #3730a3; }
.actor-admin { background: #ffedd5; color: #9a3412; }
.actor-shalom { background: #fef08a; color: #854d0e; }

/* Responsive Timeline */
@media (max-width: 768px) {
  .timeline-container::before {
    left: 20px;
  }
  .timeline-marker {
    left: 20px;
  }
  .timeline-item {
    flex-direction: column !important;
    align-items: flex-end;
  }
  .timeline-content {
    width: calc(100% - 60px);
  }
  .timeline-item:nth-child(odd) .timeline-content::before,
  .timeline-item:nth-child(even) .timeline-content::before {
    left: -10px;
    right: auto;
    border-right: 10px solid #ffffff;
    border-left: none;
    filter: drop-shadow(-2px 0px 1px rgba(226, 232, 240, 1));
  }
}


/* --------------------------------------------------------------------------
   SECCIÓN 5 (ANTES 3): LOS 7 SISTEMAS — GRID DE CARDS CON FUNCIONALIDADES
   -------------------------------------------------------------------------- */

.systems-grid-7 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

@media (max-width: 1100px) {
  .systems-grid-7 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .systems-grid-7 { grid-template-columns: 1fr; }
}

.system-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  position: relative;
  overflow: hidden;
}

.system-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #1e3a8a 0%, #3b82f6 100%);
  border-radius: 4px 0 0 4px;
}

.system-card:hover {
  transform: translateY(-3px);
  border-color: #bfdbfe;
  box-shadow: 0 12px 32px -8px rgba(30, 58, 138, 0.1);
}

.system-card-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.system-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: #dbeafe;
  line-height: 1;
  flex-shrink: 0;
  letter-spacing: -0.04em;
  min-width: 44px;
}

.system-header-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.system-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #3b82f6;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.system-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin: 0;
}

.system-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.system-features li {
  font-size: 0.82rem;
  color: #334155;
  line-height: 1.45;
  padding-left: 18px;
  position: relative;
}

.system-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #059669;
  font-weight: 700;
  font-size: 0.78rem;
}

.system-features li strong {
  color: #1e3a8a;
  font-weight: 700;
}

.system-tech-tag {
  font-size: 0.69rem;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.04em;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
  margin-top: auto;
}

/* --------------------------------------------------------------------------
   SECCIÓN 3 (anterior): MAPA DE CONCEPTOS CLAVE (MATRIZ 3x2 PERFECTA & ANTI-ARCOÍRIS)
   -------------------------------------------------------------------------- */

.concept-map-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

@media (max-width: 992px) {
  .concept-map-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .concept-map-grid {
    grid-template-columns: 1fr;
  }
}

.concept-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.concept-card:hover {
  transform: translateY(-3px);
  border-color: #cbd5e1;
  box-shadow: 0 10px 24px -4px rgba(15, 23, 42, 0.08);
}

.concept-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.concept-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #f1f5f9;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
}

.concept-tag {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: #f1f5f9;
  color: #0f172a;
  border: 1px solid #cbd5e1;
}

.concept-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
  line-height: 1.3;
}

.concept-lead {
  font-size: 0.88rem;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: 12px;
  line-height: 1.4;
}

.concept-desc {
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.concept-callout {
  background: #f8fafc;
  border-radius: 8px;
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  font-size: 0.82rem;
  color: #1e293b;
  line-height: 1.5;
}

.concept-callout strong {
  color: #0f172a;
}

/* 3. Sección Costos Transparentes de Infraestructura de Terceros */
.costs-transparency-card {
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 20px;
  padding: 32px;
  margin-top: 36px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
}

.costs-header-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  padding: 18px 24px;
  border-radius: 14px;
  border-left: 5px solid #2563eb;
  margin-bottom: 24px;
}

.costs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.cost-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
}

.cost-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.cost-badge {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 99px;
  background: #dbeafe;
  color: #1e40af;
}

.cost-item-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: #0f172a;
}

.cost-item-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: #1e3a8a;
  margin: 6px 0;
}

.cost-item-sub {
  font-size: 0.78rem;
  color: #64748b;
  margin-bottom: 8px;
}

.cost-item-desc {
  font-size: 0.82rem;
  color: #334155;
  line-height: 1.45;
  margin-top: auto;
}

.costs-savings-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
  background: #f1f5f9;
  padding: 20px;
  border-radius: 14px;
}

@media (max-width: 768px) {
  .costs-savings-comparison {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   4. TEORÍA DE AGENTES DE BOTONES: RESPLANDOR RADIANTE & MICRO-BOUNCE JUMP
   ========================================================================== */
@keyframes buttonAgentJump {

  0%,
  100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 0 22px rgba(34, 197, 94, 0.6), 0 4px 12px rgba(15, 23, 42, 0.15);
  }

  50% {
    transform: translateY(-6px) scale(1.035);
    box-shadow: 0 0 38px rgba(34, 197, 94, 0.95), 0 10px 24px rgba(34, 197, 94, 0.4), 0 0 15px rgba(234, 179, 8, 0.5);
  }
}

.button-agent-glow {
  animation: buttonAgentJump 2.2s infinite ease-in-out !important;
  border: 1.5px solid rgba(34, 197, 94, 0.7) !important;
  background: rgba(15, 23, 42, 0.92) !important;
  backdrop-filter: blur(12px) !important;
  color: #ffffff !important;
}

.button-agent-glow:hover {
  animation-play-state: paused !important;
  transform: translateY(-4px) scale(1.05) !important;
  box-shadow: 0 0 45px rgba(34, 197, 94, 1), 0 12px 28px rgba(34, 197, 94, 0.5) !important;
}

/* ==========================================================================
   5. SEGURIDAD Y BLINDAJE VISUAL ANTI-SCRAPING & ANTI-COPIA
   (Arquitectura homologada al 100% con Rosarios Peruanos)
   ========================================================================== */
img, picture, svg, video, canvas, model-viewer {
  -webkit-user-drag: none !important;
  -khtml-user-drag: none !important;
  -moz-user-drag: none !important;
  -o-user-drag: none !important;
  user-drag: none !important;
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
  -webkit-touch-callout: none !important;
}

/* body.page-protected-blur: Protección Integral Anti-Captura, Anti-Scraping y Anti-Copia (Textos + Medios) */
body.page-protected-blur > header,
body.page-protected-blur > main,
body.page-protected-blur > footer,
body.page-protected-blur > aside,
body.page-protected-blur > .mobile-drawer,
body.page-protected-blur > .modal-backdrop,
body.page-protected-blur > .article-modal-backdrop,
body.page-protected-blur > .mobile-sticky-cta-bar,
body.page-protected-blur > .whatsapp-floating-button {
  filter: blur(20px) grayscale(0.9) !important;
  pointer-events: none !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  transition: filter 0.2s ease;
}

/* --------------------------------------------------------------------------
   MOTOR 3D — CUBO GIRATORIO OFICIAL SOMOS MARKETING PERÚ
   -------------------------------------------------------------------------- */
.cube-3d-wrapper {
  position: relative;
  display: inline-block;
  perspective: 600px;
  -webkit-perspective: 600px;
  user-select: none;
}

.cube-3d-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  animation: rotateCube3D 14s linear infinite;
  will-change: transform;
}

.cube-3d-wrapper:hover .cube-3d-inner {
  animation-play-state: paused;
}

@keyframes rotateCube3D {
  0%   { transform: rotateX(-22deg) rotateY(0deg); }
  15%  { transform: rotateX(-38deg) rotateY(60deg); }   /* conejito visible */
  30%  { transform: rotateX(6deg)   rotateY(120deg); }  /* dinamico lateral */
  50%  { transform: rotateX(-22deg) rotateY(180deg); }
  65%  { transform: rotateX(-38deg) rotateY(240deg); }  /* conejito visible */
  80%  { transform: rotateX(6deg)   rotateY(300deg); }  /* dinamico lateral */
  100% { transform: rotateX(-22deg) rotateY(360deg); }
}

/* Cuando el mouse controla la rotación, elimina la animación para que el JS tome el control */
.cube-3d-inner.cube-mouse-active {
  animation: none !important;
}

.cube-face {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 6px;
  box-shadow: inset 0 0 10px rgba(15, 23, 42, 0.06);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Diseños individuales oficiales para cada cara del cubo */
.cube-face.cube-front {
  background-image: url('../assets/brand/cube-face-somos-oficial.png');
}

.cube-face.cube-right {
  background-image: url('../assets/brand/cube-face-mk-oficial.png');
}

.cube-face.cube-top {
  background-image: url('../assets/brand/cube-face-peru.png');
}

.cube-face.cube-left {
  background-image: url('../assets/brand/cube-face-mk-oficial.png');
}

.cube-face.cube-back {
  background-image: url('../assets/brand/cube-face-somos-oficial.png');
}

.cube-face.cube-bottom {
  background-image: url('../assets/brand/cube-face-peru.png');
}

/* 1. Cubo 3D en el Navbar (Tamaño elegante 42px) */
.nav-cube {
  width: 42px;
  height: 42px;
  margin-right: 2px;
  flex-shrink: 0;
}

.nav-cube .cube-face {
  border-radius: 4px;
}

.nav-cube .cube-front  { transform: translateZ(21px); }
.nav-cube .cube-back   { transform: rotateY(180deg) translateZ(21px); }
.nav-cube .cube-right  { transform: rotateY(90deg) translateZ(21px); }
.nav-cube .cube-left   { transform: rotateY(-90deg) translateZ(21px); }
.nav-cube .cube-top    { transform: rotateX(90deg) translateZ(21px); }
.nav-cube .cube-bottom { transform: rotateX(-90deg) rotateZ(180deg) translateZ(21px); }

@media (max-width: 640px) {
  .nav-cube {
    width: 36px;
    height: 36px;
  }
  .nav-cube .cube-front  { transform: translateZ(18px); }
  .nav-cube .cube-back   { transform: rotateY(180deg) translateZ(18px); }
  .nav-cube .cube-right  { transform: rotateY(90deg) translateZ(18px); }
  .nav-cube .cube-left   { transform: rotateY(-90deg) translateZ(18px); }
  .nav-cube .cube-top    { transform: rotateX(90deg) translateZ(18px); }
  .nav-cube .cube-bottom { transform: rotateX(-90deg) rotateZ(180deg) translateZ(18px); }
}

/* 2. Overlay de Protección de Contenido con Cubo 3D Centrado */
.protection-blur-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 999990;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
}

body.page-protected-blur .protection-blur-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  cursor: pointer;
}

.protection-blur-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  text-align: center;
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
}

body.page-protected-blur .protection-blur-content {
  transform: scale(1);
}

/* Cubo 3D Central del Blur (Grande y Elegante) con Física Suave y Estela */
.blur-cube {
  width: 130px;
  height: 130px;
  /* Espacio extra para que el corazón y las caras en 3D no se recorten */
  padding: 20px;
  margin: -20px;
  box-sizing: content-box;
  overflow: visible;
  perspective: 900px;
  filter: drop-shadow(0 25px 35px rgba(0, 0, 0, 0.45));
  will-change: transform;
  transition: transform 0.08s linear;
}

/* Partícula de Estela Luminosa elegante detrás del cubo */
.blur-cube-trail {
  position: fixed;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.85) 0%, rgba(200, 21, 23, 0.6) 50%, rgba(255, 255, 255, 0) 100%);
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.8), 0 0 30px rgba(200, 21, 23, 0.5);
  pointer-events: none;
  z-index: 999991;
  opacity: 0.8;
  transform: translate(-50%, -50%) scale(1);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease-out;
}

.blur-cube .cube-face {
  border-radius: 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
}

.blur-cube .cube-front  { transform: translateZ(65px); }
.blur-cube .cube-back   { transform: rotateY(180deg) translateZ(65px); }
.blur-cube .cube-right  { transform: rotateY(90deg) translateZ(65px); }
.blur-cube .cube-left   { transform: rotateY(-90deg) translateZ(65px); }
.blur-cube .cube-top    { transform: rotateX(90deg) translateZ(65px); }
.blur-cube .cube-bottom { transform: rotateX(-90deg) rotateZ(180deg) translateZ(65px); }

.protection-blur-badge {
  background: rgba(15, 23, 42, 0.94);
  color: #ffffff;
  padding: 16px 32px;
  border-radius: 9999px;
  border: 1px solid rgba(59, 130, 246, 0.5);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.55), 0 0 20px rgba(59, 130, 246, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans, system-ui, -apple-system, sans-serif);
}

.protection-blur-badge span {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #ffffff;
}

.protection-blur-badge small {
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: 0.02em;
}

@media (max-width: 640px) {
  .blur-cube {
    width: 90px;
    height: 90px;
    padding: 14px;
    margin: -14px;
  }
  .blur-cube .cube-front  { transform: translateZ(45px); }
  .blur-cube .cube-back   { transform: rotateY(180deg) translateZ(45px); }
  .blur-cube .cube-right  { transform: rotateY(90deg) translateZ(45px); }
  .blur-cube .cube-left   { transform: rotateY(-90deg) translateZ(45px); }
  .blur-cube .cube-top    { transform: rotateX(90deg) translateZ(45px); }
  .blur-cube .cube-bottom { transform: rotateX(-90deg) translateZ(45px); }

  .protection-blur-badge {
    padding: 14px 20px;
    max-width: 90vw;
  }
  .protection-blur-badge span {
    font-size: 12px;
    line-height: 1.3;
  }
  .protection-blur-badge small {
    font-size: 10px;
  }
}

/* Bloqueo total de guardado vía impresión (Ctrl+P / Imprimir como PDF) */
@media print {
  html, body {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
  }
}

/* --------------------------------------------------------------------------
   ARQUITECTURA DE CONTENIDO — 7 SISTEMAS DE SOFTWARE EMPRESARIAL
   -------------------------------------------------------------------------- */
.systems-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.system-detail-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.system-detail-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--primary-light);
}

.system-card-top {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}

.system-card-num {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #eff6ff;
  color: #1e3a8a;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid #bfdbfe;
}

.system-card-headings h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
  line-height: 1.25;
}

.system-client-alias {
  display: inline-block;
  font-size: 0.8rem;
  color: #475569;
  font-style: italic;
  background: #f8fafc;
  padding: 2px 8px;
  border-radius: 6px;
  border-left: 3px solid #3b82f6;
}

.system-features-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex-grow: 1;
}

.system-features-list li {
  font-size: 0.86rem;
  color: #334155;
  line-height: 1.45;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.system-features-list li .feat-check {
  color: #059669;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

.system-card-footer {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #64748b;
}

/* --------------------------------------------------------------------------
   FINANCIAL CONTRAST: SOFTWARE FACTORY VS COSTO OPERATIVO TRADICIONAL
   -------------------------------------------------------------------------- */
.contrast-financial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 36px;
}

@media (max-width: 900px) {
  .contrast-financial-grid {
    grid-template-columns: 1fr;
  }
}

.contrast-card-box {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}

.contrast-card-box.agency-card {
  border-top: 5px solid #3b82f6;
}

.contrast-card-box.payroll-card {
  border-top: 5px solid #e11d48;
}

.contrast-box-header {
  margin-bottom: 18px;
}

.contrast-box-header .contrast-badge {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: 6px;
  margin-bottom: 8px;
}

.contrast-badge-agency {
  background: #eff6ff;
  color: #1e40af;
}

.contrast-badge-payroll {
  background: #fee2e2;
  color: #991b1b;
}

.contrast-box-header h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.3;
}

.contrast-table-rates {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
  margin-bottom: 18px;
}

.contrast-table-rates tr {
  border-bottom: 1px solid #f1f5f9;
}

.contrast-table-rates td {
  padding: 9px 4px;
  vertical-align: top;
}

.contrast-table-rates td:last-child {
  text-align: right;
  font-weight: 700;
  color: #1e293b;
  white-space: nowrap;
}

.contrast-summary-footer {
  margin-top: auto;
  background: #f8fafc;
  border-radius: 10px;
  padding: 16px;
  border: 1px solid #e2e8f0;
}

.contrast-summary-footer .total-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
}

.contrast-summary-footer .time-line {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.4;
}

.smkp-solution-pill {
  margin-top: 12px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 8px;
  padding: 12px;
  font-size: 0.84rem;
  color: #065f46;
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   TABLA COMPARATIVA DE LOS 7 SISTEMAS VS ALTERNATIVAS DE MERCADO
   -------------------------------------------------------------------------- */
.systems-comparison-table-wrap {
  width: 100%;
  overflow-x: auto;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  margin-top: 28px;
}

.systems-comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  min-width: 760px;
}

.systems-comparison-table th {
  background: #f8fafc;
  padding: 14px 18px;
  text-align: left;
  font-weight: 800;
  color: var(--text-main);
  border-bottom: 2px solid #e2e8f0;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.systems-comparison-table td {
  padding: 14px 18px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}

.systems-comparison-table tr:hover td {
  background: #fafafa;
}

.systems-comparison-table .sys-col-name {
  font-weight: 700;
  color: #1e3a8a;
  display: flex;
  align-items: center;
  gap: 10px;
}

.systems-comparison-table .sys-col-alt {
  color: #475569;
  font-weight: 500;
}

.systems-comparison-table .sys-col-cost-alt {
  color: #dc2626;
  font-weight: 700;
  background: #fef2f2;
  padding: 4px 8px;
  border-radius: 6px;
  display: inline-block;
}

.systems-comparison-table .sys-col-smkp {
  color: #047857;
  font-weight: 700;
  background: #ecfdf5;
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid #a7f3d0;
  display: inline-block;
}

.systems-comparison-table tfoot td {
  background: #f8fafc;
  font-weight: 800;
  font-size: 0.95rem;
  border-top: 2px solid #cbd5e1;
}

/* --------------------------------------------------------------------------
   6 CONFIGURACIONES E INTEGRACIONES OFICIALES EN PLATAFORMAS
   -------------------------------------------------------------------------- */
.platform-integrations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.integration-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.integration-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
  border-color: #93c5fd;
}

.integration-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.integration-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #eff6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  border: 1px solid #dbeafe;
}

.integration-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.3;
}

.integration-card-body {
  font-size: 0.86rem;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 14px;
  flex-grow: 1;
}

.integration-card-specs {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.82rem;
  color: #334155;
  border-top: 1px solid #f1f5f9;
  padding-top: 12px;
}

.integration-card-specs li {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.integration-card-specs li span.check {
  color: #10b981;
  font-weight: 800;
}

/* --------------------------------------------------------------------------
   PREVIEW CARD DEL PANEL CONTABLE ADMINISTRATIVO (administracion.html)
   -------------------------------------------------------------------------- */
.admin-demo-preview-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 16px;
  padding: 32px 28px;
  color: #f8fafc;
  margin-top: 36px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

@media (max-width: 900px) {
  .admin-demo-preview-card {
    grid-template-columns: 1fr;
    padding: 24px 20px;
  }
}

.admin-demo-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.admin-demo-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 10px;
}

.admin-demo-desc {
  font-size: 0.9rem;
  color: #cbd5e1;
  line-height: 1.55;
  margin-bottom: 18px;
}

.admin-demo-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.admin-demo-pill-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  color: #e2e8f0;
}

.admin-demo-visual {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-demo-metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.admin-demo-metric-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 12px;
  border-radius: 8px;
  text-align: center;
}

.admin-demo-metric-box .num {
  font-size: 1.15rem;
  font-weight: 800;
  color: #38bdf8;
  display: block;
}

.admin-demo-metric-box .lbl {
  font-size: 0.72rem;
  color: #94a3b8;
}

/* ==========================================================================
   DIRECTRICES UI/UX DE ALTA CONVERSIÓN (INSPIRADO EN UXPEAK REDESIGN)
   ========================================================================== */

/* 1. Barra Inferior Persistente de Conversión en Móviles (Sticky Bottom Bar) */
.mobile-sticky-cta-bar {
  display: none;
}

@media (max-width: 768px) {
  .mobile-sticky-cta-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid #e2e8f0;
    padding: 10px 16px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    z-index: 9999;
    gap: 12px;
  }

  .mobile-sticky-cta-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
  }

  .mobile-sticky-badge {
    font-size: 0.7rem;
    font-weight: 800;
    color: #059669;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
  }

  .mobile-sticky-title {
    font-size: 0.84rem;
    font-weight: 800;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mobile-sticky-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
  }

  .mobile-sticky-btn-primary {
    background: #2563eb;
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 800;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 44px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
    transition: transform 0.15s ease, background 0.15s ease;
  }

  .mobile-sticky-btn-primary:active {
    transform: scale(0.96);
    background: #1d4ed8;
  }

  .mobile-sticky-btn-wa {
    background: #10b981;
    color: #ffffff;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    text-decoration: none;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
  }

  .mobile-sticky-btn-wa:active {
    transform: scale(0.96);
  }

  /* Ajuste para que el botón flotante de WhatsApp no colisione en móviles */
  .whatsapp-floating-button {
    bottom: calc(76px + env(safe-area-inset-bottom, 0px)) !important;
    right: 14px !important;
    padding: 8px 14px !important;
    font-size: 0.82rem !important;
  }
}

/* 2. Microinteracciones Táctiles y Eliminación de Dividers Oscuros */
button,
.btn,
.category-pill,
.inclusion-pill {
  transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

button:active,
.btn:active {
  transform: scale(0.97) !important;
}

/* Píldoras de categoría con ergonomía táctil (mínimo 44px en mobile) */
.category-pill {
  min-height: 42px;
  white-space: nowrap;
  padding: 10px 18px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.86rem;
  color: #334155;
  cursor: pointer;
}

.category-pill:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.category-pill.active {
  background: #1e3a8a;
  color: #ffffff;
  border-color: #1e3a8a;
  box-shadow: 0 4px 14px rgba(30, 58, 138, 0.25);
}

/* 3. Divisores y Separadores Suaves (Anti-Líneas Duras) */
hr,
.section-divider {
  border: none;
  height: 1px;
  background: #f1f5f9;
  margin: 32px 0;
}

/* ======================================================================
   BLOQUE 3: FLUJO DE PROCESO MAESTRO DE NEGOCIO OMNICANAL (10 ETAPAS)
   Diseño B2B Ejecutivo: Paleta sobria (Slate, Navy, Emerald), sin AI Slop
   ====================================================================== */
.master-flow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.flow-step-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease, box-shadow 0.2s ease;
}

.flow-step-card:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.07);
}

.flow-step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.flow-step-badge {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  color: #0f172a;
  border: 1px solid #cbd5e1;
}

.flow-step-badge.badge-cliente {
  background: #f8fafc;
  color: #0f172a;
  border-color: #cbd5e1;
}

.flow-step-badge.badge-sistema {
  background: #eff6ff;
  color: #1e3a8a;
  border-color: #bfdbfe;
}

.flow-step-badge.badge-almacen {
  background: #f1f5f9;
  color: #1e293b;
  border-color: #cbd5e1;
}

.flow-step-badge.badge-sunat {
  background: #f8fafc;
  color: #0f172a;
  border-color: #94a3b8;
}

.flow-step-badge.badge-logistica {
  background: #f1f5f9;
  color: #1e293b;
  border-color: #cbd5e1;
}

.flow-step-badge.badge-exito {
  background: #ecfdf5;
  color: #047857;
  border-color: #a7f3d0;
}

.flow-step-icon-wrap {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.flow-step-title {
  font-size: 0.98rem;
  color: #0f172a;
  margin-bottom: 8px;
  font-weight: 800;
  line-height: 1.35;
}

.flow-step-desc {
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.55;
  margin: 0;
}

.flow-status-token {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.76rem;
  font-weight: 700;
  background: #f1f5f9;
  color: #0f172a;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid #cbd5e1;
  display: inline-block;
}

.flow-status-token.token-success {
  background: #ecfdf5;
  color: #047857;
  border-color: #a7f3d0;
}

/* Matriz de Estados Operativos */
.flow-status-matrix {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.flow-matrix-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 14px;
}

.flow-matrix-title {
  font-size: 1.12rem;
  color: #0f172a;
  margin: 0 0 4px 0;
  font-weight: 800;
}

.flow-matrix-subtitle {
  font-size: 0.85rem;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

.flow-matrix-shield-badge {
  background: #f1f5f9;
  color: #0f172a;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.flow-matrix-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.flow-matrix-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.84rem;
  text-align: left;
}

.flow-matrix-table th {
  background: #0f172a;
  color: #ffffff;
  padding: 12px 14px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.flow-matrix-table th:first-child {
  border-radius: 8px 0 0 0;
}

.flow-matrix-table th:last-child {
  border-radius: 0 8px 0 0;
}

.flow-matrix-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}

.flow-matrix-table tr:nth-child(even) td {
  background: #fafafa;
}

.flow-matrix-table tr:hover td {
  background: #f8fafc;
}

.flow-matrix-table tr.row-completed td {
  background: #f0fdf4;
}

.matrix-code-badge {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 800;
  color: #0f172a;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-block;
  white-space: nowrap;
}

.matrix-code-badge.badge-success {
  background: #ecfdf5;
  color: #047857;
  border-color: #a7f3d0;
}

.matrix-desc-text {
  color: #334155;
  font-size: 0.85rem;
  line-height: 1.45;
}

.matrix-actor-text {
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 600;
}

.matrix-guarantee-text {
  color: #047857;
  font-weight: 700;
  font-size: 0.84rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ======================================================================
   PILARES DE INFRAESTRUCTURA DE CONFIANZA
   ====================================================================== */
.trust-pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.trust-pillar-card {
  background: #ffffff;
  padding: 18px 20px;
  border-radius: 12px;
  border: 1.5px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.trust-pillar-card:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.trust-pillar-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 10px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.trust-pillar-card:hover .trust-pillar-icon {
  transform: scale(1.08);
}

.trust-pillar-title {
  display: block;
  font-size: 0.94rem;
  color: #0f172a;
  font-weight: 800;
}

.trust-pillar-sub {
  font-size: 0.82rem;
  color: #64748b;
  display: block;
  margin-top: 2px;
  line-height: 1.35;
}

/* ======================================================================
   BOTÓN DE ACCIÓN EN DICCIONARIO DE CONCEPTOS
   ====================================================================== */
.concept-action-btn {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #1e3a8a;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 44px;
  width: 100%;
}

.concept-action-btn:hover {
  background: #1e3a8a;
  color: #ffffff;
  border-color: #1e3a8a;
}

/* ======================================================================
   INTERACTIVIDAD EN FLUJO MAESTRO DE 10 PASOS
   ====================================================================== */
.flow-step-card {
  cursor: pointer;
}

.flow-step-card:hover {
  transform: translateY(-3px);
  border-color: #2563eb;
  box-shadow: 0 10px 24px -4px rgba(37, 99, 235, 0.12);
}

.flow-step-jump-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #1e3a8a;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  align-self: flex-start;
  min-height: 44px;
  width: 100%;
}

.flow-step-jump-btn:hover {
  background: #1e3a8a;
  color: #ffffff;
  border-color: #1e3a8a;
}

.flow-matrix-scroll-hint {
  display: none;
  font-size: 0.82rem;
  font-weight: 600;
  color: #475569;
  text-align: center;
  padding: 10px 14px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  margin-bottom: 14px;
}

@media (max-width: 768px) {
  .flow-matrix-scroll-hint {
    display: block;
  }
}

/* ======================================================================
   RIEL RESPONSIVE TÁCTIL PARA LAS PESTAÑAS DE LOS 7 SISTEMAS
   ====================================================================== */
@media (max-width: 992px) {
  .category-pills-wrap {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    justify-content: flex-start !important;
    padding: 6px 16px 14px 16px;
    margin-left: -16px;
    margin-right: -16px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .category-pills-wrap::-webkit-scrollbar {
    display: none;
  }
  .category-pill {
    white-space: nowrap !important;
    flex-shrink: 0;
    min-height: 44px;
  }
}

/* ======================================================================
   ESTILOS PERFECCIONADOS PARA GALERÍA DE TIENDAS VIRTUALES
   ====================================================================== */
.gallery-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 16px;
}

.gallery-card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding-top: 14px;
}

.gallery-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 6px 0 6px;
  color: var(--text-main);
  line-height: 1.35;
}

.gallery-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
  flex-grow: 1;
}

.gallery-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 10px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #1e3a8a;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 44px;
  margin-top: auto;
}

.gallery-action-btn:hover {
  background: #1e3a8a;
  color: #ffffff;
  border-color: #1e3a8a;
}

/* Soporte de scroll táctil en maquetas */
.mockup-scroll-frame.is-scrolled .web-scroll-track {
  transform: translateY(calc(-100% + 290px));
}

.mockup-scroll-frame.is-scrolled .scroll-hint {
  opacity: 0;
}

/* ======================================================================
   BOTÓN DE SALTO EN HOJA DE RUTA LOGÍSTICA (ALMACÉN DE LIMA)
   ====================================================================== */
.step-card {
  cursor: pointer;
}

.step-jump-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 9px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #1e3a8a;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 44px;
  margin-top: 14px;
}

.step-jump-btn:hover {
  background: #1e3a8a;
  color: #ffffff;
  border-color: #1e3a8a;
}

/* ======================================================================
   TARJETAS 3D FLIP TÁCTILES Y ACCESIBLES
   ====================================================================== */
.flip-card-container:focus {
  outline: 2px solid #2563eb;
  outline-offset: 4px;
  border-radius: var(--radius-xl);
}



/* ======================================================================
   BLOQUE DE CORRECCIONES RESPONSIVE — SOMOS MARKETING PERU E.I.R.L.
   Fixes consolidados para movil (v20.15+)
   ====================================================================== */

/* A) HEADER RESPONSIVE PROFESIONAL (MÓVIL & TABLET: <= 1024px) */
@media (max-width: 1024px) {
  .site-header {
    height: auto !important;
    min-height: 60px !important;
    padding: 8px 0 !important;
  }
  .site-header .header-container {
    padding: 0 16px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
  }
  .site-header .brand-logo {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-shrink: 0 !important;
  }
  .site-header .brand-text {
    display: flex !important;
    flex-direction: column !important;
  }
  .site-header .brand-name {
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.01em !important;
    white-space: nowrap !important;
  }
  .site-header .brand-tagline {
    font-size: 0.65rem !important;
    font-weight: 700 !important;
    color: var(--primary) !important;
    letter-spacing: 0.05em !important;
    display: block !important;
  }
  .site-header .header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-shrink: 0 !important;
  }
  /* Botón Cotizar Proyecto en Header */
  .site-header .header-btn-cotizar,
  .header-btn-cotizar {
    display: inline-flex !important;
    padding: 7px 12px !important;
    font-size: 0.78rem !important;
    border-radius: var(--radius-full) !important;
    white-space: nowrap !important;
    height: 38px !important;
    align-items: center !important;
  }
  /* Botón WhatsApp */
  .site-header .header-actions .btn-whatsapp.btn-sm {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 10px !important;
    font-size: 0.76rem !important;
    height: 38px !important;
    border-radius: var(--radius-full) !important;
    flex-shrink: 0 !important;
  }
  /* Botón Hamburguesa Toggle */
  .site-header .mobile-toggle,
  .mobile-toggle {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    background: #f8fafc !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    padding: 6px !important;
    gap: 4px !important;
    flex-shrink: 0 !important;
    z-index: 101 !important;
  }
  .site-header .mobile-toggle span,
  .mobile-toggle span {
    display: block !important;
    width: 18px !important;
    height: 2px !important;
    background-color: #0f172a !important;
    border-radius: 2px !important;
  }
  /* Menú desplegable Drawer */
  .mobile-drawer {
    top: 72px !important;
    height: calc(100vh - 72px) !important;
    z-index: 9999 !important;
    background-color: #ffffff !important;
  }
}

/* Modo Celular Compacto (<= 520px): Cubo + Marca ARRIBA como fila completa, botones y hamburguesa ABAJO */
@media (max-width: 520px) {
  .site-header {
    padding: 10px 0 8px 0 !important;
  }
  .site-header .header-container {
    padding: 0 12px !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
  }
  .site-header .brand-logo {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    padding-bottom: 6px !important;
    border-bottom: 1px solid rgba(226, 232, 240, 0.6) !important;
    margin: 0 auto !important;
  }
  .site-header .brand-text {
    align-items: center !important;
    text-align: center !important;
  }
  .site-header .brand-name {
    font-size: 0.92rem !important;
    text-align: center !important;
  }
  .site-header .brand-tagline {
    font-size: 0.64rem !important;
    display: block !important;
    text-align: center !important;
  }
  .site-header .header-actions {
    width: 100% !important;
    justify-content: space-between !important;
    gap: 6px !important;
  }
  .site-header .header-btn-cotizar,
  .header-btn-cotizar {
    flex: 1 1 auto !important;
    justify-content: center !important;
    font-size: 0.76rem !important;
    padding: 6px 10px !important;
    height: 36px !important;
  }
  .site-header .header-actions .btn-whatsapp.btn-sm {
    flex: 0 0 auto !important;
    padding: 0 10px !important;
    font-size: 0.74rem !important;
    height: 36px !important;
  }
  .site-header .header-actions .btn-whatsapp.btn-sm .btn-label {
    display: inline !important;
    font-size: 0.72rem !important;
  }
  .site-header .mobile-toggle,
  .mobile-toggle {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    flex: 0 0 auto !important;
  }
  .mobile-drawer {
    top: 98px !important;
    height: calc(100vh - 98px) !important;
  }

  /* Optimización visual del Hero en celular antes del 3D */
  .hero-trust-badge {
    padding: 8px 12px !important;
    gap: 6px !important;
    max-width: 100% !important;
    font-size: 0.76rem !important;
  }
  .hero-trust-badge .trust-clients {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    margin-top: 2px !important;
  }
  .hero-inclusions-bar {
    gap: 6px !important;
    margin-bottom: 20px !important;
  }
  .inclusion-pill {
    padding: 5px 10px !important;
    font-size: 0.74rem !important;
  }
  .hero-formula-banner {
    flex-direction: column !important;
    text-align: center !important;
    padding: 12px 14px !important;
  }
  .hero-formula-icon {
    margin: 0 auto 6px auto !important;
  }
  .hero-formula-text {
    font-size: 0.82rem !important;
    line-height: 1.45 !important;
  }
  .hero-cta-group {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }
  .hero-cta-group .btn-hero-primary,
  .hero-cta-group .btn-hero-quote,
  .hero-cta-group .btn-hero-secondary {
    width: 100% !important;
    box-sizing: border-box !important;
    justify-content: center !important;
    text-align: center !important;
  }

  /* Barra Inferior Sticky en Móvil: Infraestructura arriba, botones organizados y no redundantes */
  .mobile-sticky-cta-bar {
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 8px 14px calc(8px + env(safe-area-inset-bottom, 0px)) 14px !important;
    gap: 6px !important;
  }
  .mobile-sticky-cta-info {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
  }
  .mobile-sticky-title {
    font-size: 0.78rem !important;
    font-weight: 800 !important;
  }
  .mobile-sticky-actions {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }
  .mobile-sticky-btn-primary {
    flex: 1 1 auto !important;
    padding: 10px !important;
    font-size: 0.84rem !important;
    text-align: center !important;
    border-radius: 8px !important;
  }
  .mobile-sticky-btn-wa {
    flex: 0 0 42px !important;
    height: 42px !important;
    border-radius: 8px !important;
/* ======================================================================
   BLOQUE MAESTRO RESPONSIVE MOBILE & TABLET (FIXES VISUALES AUDITADOS)
   ====================================================================== */

/* 1. Reset Global y Antidesbordes Horizontales */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
}

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

/* 2. Tipografías Fluidas y Ruptura de Palabras para Evitar Truncamientos */
h1, h2, h3, h4, h5, h6,
.section-title,
.hero-title,
.hero-card-title,
.flip-card-title,
.pricing-title,
.roi-card-title,
.blog-card-title {
  overflow-wrap: break-word !important;
  word-wrap: break-word !important;
  word-break: break-word !important;
  hyphens: auto;
}

/* 3. Reglas para Tablets y Móviles (<= 768px) */
@media (max-width: 768px) {
  /* Contenedores con acolchado seguro */
  .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* Títulos de sección fluidos */
  .section-title {
    font-size: clamp(1.4rem, 5.5vw, 1.95rem) !important;
    line-height: 1.25 !important;
  }
  .section-subtitle {
    font-size: 0.92rem !important;
    line-height: 1.5 !important;
  }

  /* Hero Dual Cockpit: Sin huecos enormes en el teléfono 3D/HD */
  .hero-dual-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .hero-card-side {
    width: 100% !important;
  }
  .hero-dynamic-card {
    min-height: auto !important;
    padding: 18px 14px !important;
    border-radius: 16px !important;
  }
  /* Tipografía interna de la card en móvil */
  .hero-card-title {
    font-size: 1.1rem !important;
    line-height: 1.3 !important;
    margin-bottom: 6px !important;
  }
  .hero-card-subtitle {
    font-size: 0.82rem !important;
    line-height: 1.45 !important;
    margin-bottom: 12px !important;
  }
  .hero-card-fields {
    padding: 12px 12px !important;
    gap: 8px !important;
    margin-bottom: 12px !important;
  }
  .card-field-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 2px !important;
    padding: 6px 0 !important;
  }
  .field-label {
    font-size: 0.73rem !important;
  }
  .field-value {
    font-size: 0.82rem !important;
    text-align: left !important;
  }
  .hero-card-alert {
    font-size: 0.78rem !important;
    padding: 10px 12px !important;
    margin-bottom: 14px !important;
    line-height: 1.4 !important;
  }
  .hero-card-actions {
    gap: 8px !important;
    margin-bottom: 12px !important;
    flex-wrap: wrap !important;
  }
  .hero-card-actions .btn {
    font-size: 0.78rem !important;
    padding: 7px 12px !important;
  }
  .btn-autoplay {
    font-size: 0.76rem !important;
    padding: 7px 12px !important;
  }
  .hero-card-top-bar {
    margin-bottom: 12px !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
  }
  .role-badge {
    font-size: 0.68rem !important;
    padding: 4px 8px !important;
  }
  .step-counter-pill {
    font-size: 0.68rem !important;
    padding: 3px 8px !important;
  }
  .hero-card-footer-trust {
    font-size: 0.68rem !important;
    padding-top: 10px !important;
  }
  /* Step interactive panel en móvil */
  .step-interactive-panel {
    padding: 10px 12px !important;
  }
  .step-panel-title {
    font-size: 0.72rem !important;
  }
  .hero-phone-side {
    width: 100% !important;
    min-height: auto !important;
    padding: 10px 0 !important;
  }
  .hero-3d-scene {
    min-height: auto !important;
    padding: 0 !important;
  }
  .hero-model-container {
    min-height: auto !important;
    width: 100% !important;
  }
  .hero-phone-device-frame {
    margin: 0 auto 10px auto !important;
    max-width: 320px !important;
    width: 92% !important;
    height: auto !important;
    max-height: none !important;
    border-radius: 38px !important;
    padding: 8px 8px 6px 8px !important;
  }
  .phone-screen-viewport {
    border-radius: 30px !important;
    aspect-ratio: 1170 / 2532 !important;
    width: 100% !important;
    height: auto !important;
  }
  .phone-quick-stepper {
    max-width: 100% !important;
    padding: 6px 8px !important;
    margin: 10px auto 6px auto !important;
  }
  .hero-3d-controls-bar {
    max-width: 100% !important;
    gap: 6px !important;
  }
  .hero-3d-controls-bar .btn-3d-ctrl {
    padding: 6px 10px !important;
    font-size: 0.76rem !important;
  }

  /* 3D Flip Cards (Antes vs. Después): Convertir a tarjetas fluidas sin desborde */
  .flip-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .flip-card-container {
    perspective: none !important;
    min-height: auto !important;
    height: auto !important;
  }
  .flip-card-inner {
    position: relative !important;
    height: auto !important;
    transform: none !important;
    transform-style: flat !important;
    transition: none !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
  }
  .flip-card-front,
  .flip-card-back {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    min-height: auto !important;
    backface-visibility: visible !important;
    -webkit-backface-visibility: visible !important;
    transform: none !important;
    border-radius: 14px !important;
    padding: 20px 16px !important;
  }
  .flip-card-front .flip-hint,
  .flip-card-back .flip-hint {
    display: none !important;
  }

  /* Tablas de Flujo y Comparativas: Scroll táctil suave con indicador */
  .flow-matrix-table-wrap,
  .comparison-table-wrap,
  .order-steps-table-wrap {
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding-bottom: 8px !important;
  }
  .flow-matrix-table,
  .comparison-table {
    min-width: 580px !important;
  }

  /* Cards de Precios y ROI: Precios y Descuentos en bloque vertical ordenado */
  .pricing-card {
    padding: 22px 16px !important;
  }
  .pricing-price-row,
  .cost-comparison-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }
  .pricing-price {
    font-size: 2.1rem !important;
    line-height: 1.1 !important;
  }

  /* WhatsApp flotante para no colisionar con sticky bar */
  .whatsapp-floating-button {
    bottom: calc(82px + env(safe-area-inset-bottom, 0px)) !important;
    right: 12px !important;
    padding: 8px 12px !important;
    font-size: 0.78rem !important;
  }
}

/* 4. Modo Celular Ultra Compacto (<= 520px) */
@media (max-width: 520px) {
  /* Cabecera centrada: Cubo + Somos Marketing arriba, acciones abajo */
  .site-header {
    padding: 8px 0 !important;
  }
  .site-header .header-container {
    padding: 0 10px !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
  }
  .site-header .brand-logo {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    margin: 0 auto !important;
    padding-bottom: 6px !important;
    border-bottom: 1px solid rgba(226, 232, 240, 0.6) !important;
  }
  .site-header .brand-text {
    align-items: center !important;
    text-align: center !important;
  }
  .site-header .brand-name {
    font-size: 0.92rem !important;
    text-align: center !important;
  }
  .site-header .brand-tagline {
    font-size: 0.64rem !important;
    text-align: center !important;
  }
  .site-header .header-actions {
    width: 100% !important;
    justify-content: space-between !important;
    gap: 6px !important;
  }
  .site-header .header-btn-cotizar {
    flex: 1 1 auto !important;
    font-size: 0.76rem !important;
    padding: 6px 10px !important;
    height: 36px !important;
  }
  .site-header .header-actions .btn-whatsapp.btn-sm {
    flex: 0 0 auto !important;
    padding: 0 10px !important;
    font-size: 0.74rem !important;
    height: 36px !important;
  }

  /* Hero Section Elements */
  .hero-title {
    font-size: 1.7rem !important;
    line-height: 1.18 !important;
  }
  .hero-lead-clean {
    font-size: 0.92rem !important;
    line-height: 1.45 !important;
  }
  .hero-cta-group {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }
  .hero-cta-group .btn-hero-primary,
  .hero-cta-group .btn-hero-quote,
  .hero-cta-group .btn-hero-secondary {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
  }

  /* Hero Dynamic Card ultra compacto (520px) */
  .hero-dynamic-card {
    padding: 14px 12px !important;
  }
  .hero-card-title {
    font-size: 1rem !important;
  }
  .hero-card-subtitle {
    font-size: 0.78rem !important;
    margin-bottom: 10px !important;
  }
  .hero-card-fields {
    padding: 10px !important;
    gap: 6px !important;
  }
  .field-label {
    font-size: 0.69rem !important;
  }
  .field-value {
    font-size: 0.78rem !important;
  }
  .hero-card-actions {
    gap: 6px !important;
  }
  .hero-card-actions .btn,
  .btn-autoplay {
    font-size: 0.74rem !important;
    padding: 6px 10px !important;
  }

  /* Sticky Footer Móvil */
  .mobile-sticky-cta-bar {
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px)) 12px !important;
    gap: 6px !important;
  }
  .mobile-sticky-cta-info {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
  }
  .mobile-sticky-actions {
    width: 100% !important;
    display: flex !important;
    gap: 8px !important;
  }
  .mobile-sticky-btn-primary {
    flex: 1 1 auto !important;
    font-size: 0.82rem !important;
    padding: 9px !important;
  }
  .mobile-sticky-btn-wa {
    flex: 0 0 40px !important;
    height: 40px !important;
  }
}
/* FIN BLOQUE MAESTRO RESPONSIVE */
