@charset "utf-8";
/**
 * TIENDA IX — SISTEMA DE DISEÑO OBSIDIAN / MIDNIGHT PROFESSIONAL
 * Replicado del ADN Visual de Propositix / Autorix
 * Adaptado a Mobile-First Commerce, Storefront Theme System y Merchant Cockpit
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
  /* =========================================================
     1. ELEVACIÓN Y SUPERFICIES (MIDNIGHT OBSIDIAN)
     ========================================================= */
  --bg-canvas: #0b1320;
  --bg-primary: #0b1320;
  --bg-card: #2a384f;            /* Superficie Nivel 1 */
  --bg-secondary: #2a384f;
  --bg-subcard: #152031;         /* Superficie Nivel 2 */
  --bg-card-hover: #374763;
  --bg-input: #0b1320;

  /* =========================================================
     2. ACENTOS Y MARCA
     ========================================================= */
  --accent-active: #4edea3;       /* Menta Alta Fidelidad */
  --accent-active-hover: #3ecc93;
  --accent-active-text: #0b1320;  /* Ratio WCAG AAA */
  --blue-action: #2563eb;
  --blue-action-hover: #1d4ed8;
  --purple-subtle: #8083ff;      /* Solo complementario sutil */
  --gold-warm: #f59e0b;          /* Alertas / Destacados */
  --warning: #f59e0b;
  --danger: #f43f5e;             /* Errores / Peligro */
  --danger-hover: #e11d48;

  /* =========================================================
     3. DELIMITADORES Y BORDES EDITORIALES
     ========================================================= */
  --border-subtle: rgba(70, 69, 84, 0.35);
  --border-card: rgba(70, 69, 84, 0.35);
  --border-header: rgba(255, 255, 255, 0.05);
  --border-active: rgba(78, 222, 167, 0.5);

  /* =========================================================
     4. TIPOGRAFÍA Y TEXTOS
     ========================================================= */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --text-main: #ffffff;
  --text-primary: #d8e3fb;
  --text-muted: #c7c4d7;
  --text-secondary: #c7c4d7;
  --text-tertiary: #8b9bb4;

  /* =========================================================
     5. GEOMETRÍA Y RADIUS
     ========================================================= */
  --radius-card: 1rem;       /* 16px */
  --radius-subcard: 0.75rem; /* 12px */
  --radius-input: 0.625rem;  /* 10px */
  --radius-button: 0.625rem; /* 10px */
  --radius-pill: 9999px;

  /* =========================================================
     6. SOMBRAS SOBRIAS (NO GLOW PROTAGONISTA)
     ========================================================= */
  --shadow-card: 0 20px 25px -5px rgba(0, 0, 0, 0.35), 0 10px 10px -5px rgba(0, 0, 0, 0.25);
  --shadow-subtle: 0 4px 12px rgba(0, 0, 0, 0.2);
  --shadow-accent-subtle: 0 2px 8px rgba(78, 222, 167, 0.25);
}

/* =========================================================
   RESETEO BASE GLOBAL
   ========================================================= */
html, body {
  background-color: var(--bg-canvas) !important;
  color: var(--text-main) !important;
  font-family: var(--font-body) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: var(--font-heading) !important;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.font-mono-metric {
  font-family: var(--font-mono) !important;
  font-feature-settings: 'tnum' on, 'lnum' on;
}

/* =========================================================
   HEADER STICKY (FROSTED GLASS CON CENTRADO ABSOLUTO)
   ========================================================= */
header.app-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 0.75rem 1rem;
  background-color: rgba(11, 19, 32, 0.95) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-header);
}

.header-container {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

.header-center-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* =========================================================
   SIDEBAR DESKTOP (OBSIDIAN 260px)
   ========================================================= */
aside.app-sidebar {
  background-color: var(--bg-card) !important; /* #2a384f */
  border-right: 1px solid var(--border-subtle) !important;
  width: 260px;
  min-height: 100vh;
  flex-shrink: 0;
}

aside.app-sidebar nav a {
  background-color: transparent !important;
  color: var(--text-primary) !important; /* #d8e3fb */
  border: 1px solid transparent !important;
  border-radius: var(--radius-subcard);
  margin-bottom: 4px !important;
  padding: 0.5rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 500;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

aside.app-sidebar nav a:hover {
  color: #ffffff !important;
  background-color: var(--bg-subcard) !important; /* #152031 */
}

/* Item Activo Sidebar (Pill Menta con alto contraste) */
aside.app-sidebar nav a.active,
aside.app-sidebar nav a[data-active="true"] {
  background-color: var(--accent-active) !important; /* #4edea3 */
  color: var(--accent-active-text) !important;       /* #0b1320 */
  border: 1px solid var(--accent-active) !important;
  font-weight: 800 !important;
  box-shadow: var(--shadow-accent-subtle) !important;
}

aside.app-sidebar nav a.active i,
aside.app-sidebar nav a.active svg {
  color: var(--accent-active-text) !important;
  stroke: var(--accent-active-text) !important;
}

/* =========================================================
   NAVEGACIÓN MÓVIL (BOTTOM NAVIGATION PERSISTENTE)
   ========================================================= */
nav.app-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background-color: rgba(11, 19, 32, 0.95) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-subtle);
  padding: 0.5rem 0.75rem calc(0.5rem + env(safe-area-inset-bottom, 0px));
}

.bottom-nav-container {
  display: flex;
  align-items: center;
  justify-content: space-around;
  max-width: 500px;
  margin: 0 auto;
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
}

.bottom-nav-item i,
.bottom-nav-item svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke: currentColor;
}

.bottom-nav-item.active {
  color: var(--accent-active) !important;
  font-weight: 700;
}

.bottom-nav-item.active i,
.bottom-nav-item.active svg {
  color: var(--accent-active) !important;
  stroke: var(--accent-active) !important;
}

/* =========================================================
   DRAWER / MENÚ MÓVIL MODAL (#navigationMenu)
   ========================================================= */
#navigationMenu {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: rgba(42, 56, 79, 0.98) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

#navigationMenu nav a {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  border-radius: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.2s ease;
}

#navigationMenu nav a:hover {
  background-color: var(--bg-subcard);
  color: #ffffff;
}

#navigationMenu nav a.active {
  background-color: var(--accent-active) !important;
  color: var(--accent-active-text) !important;
  font-weight: 800;
  box-shadow: var(--shadow-accent-subtle);
}

#navigationMenu nav a.active i,
#navigationMenu nav a.active svg {
  color: var(--accent-active-text) !important;
  stroke: var(--accent-active-text) !important;
}

/* =========================================================
   TARJETAS Y CONTENEDORES (OBSIDIAN CARDS)
   ========================================================= */
/* Nivel 1: Tarjeta Principal */
.obsidian-card {
  background-color: var(--bg-card) !important; /* #2a384f */
  border: 1px solid var(--border-subtle) !important;
  border-radius: var(--radius-card) !important; /* 16px */
  box-shadow: var(--shadow-card) !important;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.obsidian-card:hover {
  border-color: rgba(255, 255, 255, 0.15) !important;
}

/* Nivel 2: Sub-tarjeta o Contenedor Interno */
.obsidian-subcard {
  background-color: var(--bg-subcard) !important; /* #152031 */
  border: 1px solid var(--border-subtle) !important;
  border-radius: var(--radius-subcard) !important; /* 12px */
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.obsidian-subcard:hover {
  background-color: #1a273b !important;
}

/* =========================================================
   FORMULARIOS, INPUTS Y CONTROLES
   ========================================================= */
.obsidian-input {
  background-color: var(--bg-canvas) !important; /* #0b1320 */
  border: 1px solid var(--border-subtle) !important;
  color: var(--text-primary) !important;
  border-radius: var(--radius-input) !important; /* 10px */
  padding: 0.625rem 0.875rem !important;
  font-size: 0.875rem !important;
  outline: none !important;
  font-family: var(--font-body) !important;
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.obsidian-input::placeholder {
  color: var(--text-muted) !important;
  opacity: 0.7;
}

.obsidian-input:focus {
  border-color: var(--accent-active) !important;
  box-shadow: 0 0 0 3px rgba(78, 222, 167, 0.15) !important;
}

.obsidian-input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.obsidian-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.375rem;
}

/* =========================================================
   BOTONES
   ========================================================= */
/* Primario de Acento (Menta #4edea3) */
.btn-obsidian-accent {
  background-color: var(--accent-active) !important;
  color: var(--accent-active-text) !important;
  font-weight: 800 !important;
  border-radius: var(--radius-button) !important;
  padding: 0.625rem 1.25rem !important;
  border: 1px solid var(--accent-active) !important;
  box-shadow: var(--shadow-accent-subtle) !important;
  transition: all 0.2s ease !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font-body) !important;
  font-size: 0.875rem;
}

.btn-obsidian-accent:hover {
  background-color: var(--accent-active-hover) !important;
  transform: translateY(-1px);
}

.btn-obsidian-accent:active {
  transform: translateY(0);
}

/* Primario Alternativo (Azul Acción #2563eb) */
.btn-obsidian-primary {
  background-color: var(--blue-action) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  border-radius: var(--radius-button) !important;
  padding: 0.625rem 1.25rem !important;
  border: none !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25) !important;
  transition: all 0.2s ease !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  text-decoration: none;
  font-size: 0.875rem;
}

.btn-obsidian-primary:hover {
  background-color: var(--blue-action-hover) !important;
  transform: translateY(-1px);
}

/* Secundario (Superficie Nivel 2 #152031) */
.btn-obsidian-secondary {
  background-color: var(--bg-subcard) !important;
  color: var(--text-primary) !important;
  font-weight: 600 !important;
  border-radius: var(--radius-button) !important;
  padding: 0.625rem 1rem !important;
  border: 1px solid var(--border-subtle) !important;
  transition: all 0.2s ease !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  text-decoration: none;
  font-size: 0.875rem;
}

.btn-obsidian-secondary:hover {
  background-color: var(--bg-card-hover) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

/* Peligro / Salir / Cancelar */
.btn-obsidian-danger {
  background-color: rgba(244, 63, 94, 0.12) !important;
  color: #f43f5e !important;
  border: 1px solid rgba(244, 63, 94, 0.3) !important;
  font-weight: 600 !important;
  border-radius: var(--radius-button) !important;
  padding: 0.625rem 1rem !important;
  transition: all 0.2s ease !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  text-decoration: none;
  font-size: 0.875rem;
}

.btn-obsidian-danger:hover {
  background-color: rgba(244, 63, 94, 0.22) !important;
  border-color: rgba(244, 63, 94, 0.5) !important;
}

/* =========================================================
   BADGES Y PILLS SEMÁNTICOS
   ========================================================= */
.badge-emerald {
  background-color: rgba(78, 222, 167, 0.12) !important;
  color: #4edea3 !important;
  border: 1px solid rgba(78, 222, 167, 0.3) !important;
  border-radius: var(--radius-pill);
  padding: 0.2rem 0.625rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.badge-amber {
  background-color: rgba(245, 158, 11, 0.12) !important;
  color: #fbbf24 !important;
  border: 1px solid rgba(245, 158, 11, 0.3) !important;
  border-radius: var(--radius-pill);
  padding: 0.2rem 0.625rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.badge-rose {
  background-color: rgba(244, 63, 94, 0.12) !important;
  color: #f43f5e !important;
  border: 1px solid rgba(244, 63, 94, 0.3) !important;
  border-radius: var(--radius-pill);
  padding: 0.2rem 0.625rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.badge-blue {
  background-color: rgba(37, 99, 235, 0.12) !important;
  color: #93c5fd !important;
  border: 1px solid rgba(37, 99, 235, 0.3) !important;
  border-radius: var(--radius-pill);
  padding: 0.2rem 0.625rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.badge-neutral {
  background-color: rgba(199, 196, 215, 0.12) !important;
  color: #c7c4d7 !important;
  border: 1px solid rgba(199, 196, 215, 0.2) !important;
  border-radius: var(--radius-pill);
  padding: 0.2rem 0.625rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* =========================================================
   BOTTOM SHEET & MODAL SYSTEM
   ========================================================= */
.bottom-sheet {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateY(100%);
  background-color: var(--bg-card) !important;
  border-top: 1px solid var(--border-subtle) !important;
}

.bottom-sheet.open {
  transform: translateY(0);
}

.sheet-backdrop {
  transition: opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
  background-color: rgba(11, 19, 32, 0.85);
  backdrop-filter: blur(8px);
}

.sheet-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

/* =========================================================
   UTILITARIOS Y ACCESIBILIDAD
   ========================================================= */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.pb-safe {
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.pt-safe {
  padding-top: env(safe-area-inset-top, 0px);
}

/* =========================================================
   TIENDAIX SAAS 10M — ARQUITECTURA VISUAL DE ALTA GAMA
   Paleta Oficial:
   - Azul Profundo: #14213D
   - Negro: #000000
   - Naranja: #FCA311
   - Blanco: #FFFFFF
   - Gris Claro: #E5E5E5
   ========================================================= */

:root {
  --tx-blue-deep: #14213D;
  --tx-blue-dark: #0A1120;
  --tx-blue-surface: #182748;
  --tx-blue-elevated: #1E3159;
  --tx-black: #000000;
  --tx-black-void: #05080F;
  --tx-orange: #FCA311;
  --tx-orange-hover: #E5920C;
  --tx-white: #FFFFFF;
  --tx-gray-light: #E5E5E5;
  --tx-gray-muted: #A3A3A3;
  --tx-border-subtle: rgba(255, 255, 255, 0.08);
  --tx-border-specular: rgba(255, 255, 255, 0.14);
  --tx-border-orange: rgba(252, 163, 17, 0.35);
  
  --spring-easing: cubic-bezier(0.16, 1, 0.3, 1);
  --spring-duration: 280ms;
}

/* Grano analógico subconsciente 2.2% */
.film-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 99;
  opacity: 0.022;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Iluminación Ambiental Volumétrica */
.ambient-glow {
  background: 
    radial-gradient(circle at 50% 0%, rgba(20, 33, 61, 0.6) 0%, rgba(5, 8, 15, 0) 70%),
    radial-gradient(circle at 85% 15%, rgba(252, 163, 17, 0.04) 0%, rgba(5, 8, 15, 0) 50%),
    radial-gradient(circle at 15% 55%, rgba(20, 33, 61, 0.35) 0%, rgba(5, 8, 15, 0) 60%);
}

.ambient-glow-hero {
  background: 
    radial-gradient(circle at 50% -10%, rgba(20, 33, 61, 0.85) 0%, rgba(5, 8, 15, 0) 70%),
    radial-gradient(circle at 80% 25%, rgba(252, 163, 17, 0.05) 0%, rgba(5, 8, 15, 0) 50%),
    radial-gradient(circle at 15% 65%, rgba(20, 33, 61, 0.40) 0%, rgba(5, 8, 15, 0) 60%);
}

/* Titulares Shimmer */
.headline-shimmer {
  background: linear-gradient(180deg, #FFFFFF 30%, rgba(229, 229, 229, 0.70) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.headline-orange-shimmer {
  background: linear-gradient(180deg, #FFFFFF 20%, #FCA311 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Estructura Double-Bezel */
.bezel-outer {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--tx-border-subtle);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.bezel-inner {
  background: linear-gradient(180deg, rgba(24, 39, 72, 0.85) 0%, rgba(15, 26, 48, 0.95) 100%);
  border: 1px solid var(--tx-border-subtle);
  box-shadow: inset 0 1px 0 var(--tx-border-specular), 0 16px 40px rgba(0, 0, 0, 0.4);
}

/* Tarjeta Premium Elevada */
.card-premium {
  background: linear-gradient(180deg, #182748 0%, #0F1A30 100%);
  border: 1px solid var(--tx-border-subtle);
  box-shadow: 
    inset 0 1px 0 var(--tx-border-specular),
    0 16px 40px rgba(0, 0, 0, 0.35);
  transition: all var(--spring-duration) var(--spring-easing);
}

.card-premium:hover {
  background: linear-gradient(180deg, #1E3159 0%, #13213D 100%);
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.20),
    0 22px 50px rgba(0, 0, 0, 0.50);
}

/* Tarjeta de Contraste Luminoso Editorial */
.surface-light-editorial {
  background: linear-gradient(180deg, #FFFFFF 0%, #E5E5E5 100%);
  color: #14213D;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
}

/* Hardware Bezel */
.hardware-bezel {
  border: 1px solid var(--tx-border-subtle);
  box-shadow: inset 0 1px 0 var(--tx-border-specular), 0 8px 32px rgba(0, 0, 0, 0.4);
  background: rgba(20, 33, 61, 0.4);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* Arquitectura de Botones Button-in-Button */
.btn-saas-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: var(--tx-orange);
  color: #000000;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  padding: 0.5rem 0.55rem 0.5rem 1.4rem;
  border-radius: 9999px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 24px rgba(252, 163, 17, 0.25);
  transition: all var(--spring-duration) var(--spring-easing);
  cursor: pointer;
}

.btn-saas-primary:hover {
  background-color: #FFB433;
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(252, 163, 17, 0.40);
}

.btn-saas-sphere {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  transition: transform var(--spring-duration) var(--spring-easing), background-color 200ms ease;
}

.btn-saas-primary:hover .btn-saas-sphere {
  transform: translate(2px, -2px);
  background: rgba(0, 0, 0, 0.20);
}

/* Botón Secundario SaaS */
.btn-saas-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--tx-gray-light);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.625rem 1.4rem;
  border-radius: 9999px;
  border: 1px solid var(--tx-border-subtle);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-decoration: none;
  transition: all var(--spring-duration) var(--spring-easing);
  cursor: pointer;
}

.btn-saas-secondary:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #FFFFFF;
  border-color: var(--tx-border-specular);
  transform: translateY(-1px);
}

/* Badges Semánticos SaaS */
.badge-saas-orange {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: 'JetBrains Mono', monospace;
  background-color: rgba(252, 163, 17, 0.12);
  color: var(--tx-orange);
  border: 1px solid var(--tx-border-orange);
}

.badge-saas-blue {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: 'JetBrains Mono', monospace;
  background-color: rgba(20, 33, 61, 0.50);
  color: var(--tx-gray-light);
  border: 1px solid var(--tx-border-subtle);
}

/* Cinemática Spring Physics */
.spring-ease {
  transition-timing-function: var(--spring-easing) !important;
  transition-duration: var(--spring-duration) !important;
}

@media (prefers-reduced-motion: reduce) {
  .spring-ease,
  .btn-saas-primary,
  .btn-saas-sphere,
  .card-premium,
  .accordion-content {
    transition: none !important;
    transform: none !important;
  }
}

/* ==============================================================================
   TIENDAIX — ARQUITECTURA DE CONTENEDOR DESKTOP 80% VIEWPORT
   Contenido centrado al 80% en PC con 10% de margen a cada lado.
   Fondos, texturas e iluminación ambiental permanecen al 100% de la pantalla.
   Mobile y tablet conservan distribución fluida 100% con márgenes responsivos.
   ============================================================================== */
.landing-container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

@media (min-width: 1024px) {
  .landing-container {
    width: 80% !important;
    max-width: 80vw !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* TIENDAIX LANDING COMERCIAL — COMPONENTES AISLADOS DE LA APLICACIÓN */
.txl-page{--txl-navy:#14213D;--txl-orange:#FCA311;--txl-white:#FFFFFF;--txl-light:#E5E5E5;background:#080D18!important;color:var(--txl-light)!important;font-family:'Plus Jakarta Sans',sans-serif!important;margin:0;min-width:320px;overflow-x:hidden}
.txl-page *{box-sizing:border-box}
.txl-page h1,.txl-page h2,.txl-page h3{font-family:Geist,sans-serif!important;letter-spacing:-.042em;font-weight:700}
.txl-page a{text-decoration:none}
.txl-page .landing-container{width:calc(100% - 40px);max-width:1200px;margin-left:auto;margin-right:auto}
.txl-header{position:sticky;top:0;z-index:40;background:rgba(8,13,24,.96);backdrop-filter:blur(15px);border-bottom:1px solid rgba(255,255,255,.09)}
.txl-header-inner{height:74px;display:flex;align-items:center;justify-content:space-between;gap:28px}
.txl-brand{display:inline-flex;white-space:nowrap;flex-shrink:0;font-family:Geist,sans-serif;font-size:26px;letter-spacing:-.055em;font-weight:800;color:#fff!important;line-height:1}
.txl-orange{color:#FCA311}
.txl-nav{display:flex;gap:clamp(16px,2.3vw,38px);align-items:center;margin-left:auto}
.txl-nav a{color:#D0D5DF;font-size:13px;font-weight:600;white-space:nowrap}
.txl-nav a:hover,.txl-text-link:hover{color:#FCA311}
.txl-button{display:inline-flex;align-items:center;justify-content:space-between;gap:25px;border-radius:999px;background:#FCA311;color:#111!important;padding:16px 19px 16px 25px;font-size:15px;font-weight:800;line-height:1.3;white-space:nowrap;transition:background .2s,transform .2s;box-shadow:0 8px 35px rgba(252,163,17,.13)}
.txl-button:hover{background:#FFB735;transform:translateY(-2px)}
.txl-button span{display:grid;place-items:center;width:29px;height:29px;border-radius:50%;background:rgba(0,0,0,.12);font-size:19px}
.txl-button-small{font-size:13px;padding:9px 10px 9px 19px;gap:12px}
.txl-button-small span{width:27px;height:27px}
.txl-hero{padding:clamp(70px,9vw,132px) 0 100px;background:radial-gradient(ellipse at 75% 25%,#172849 0%,#080D18 58%)}
.txl-hero-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr);align-items:center;gap:clamp(36px,5vw,90px)}
.txl-eyebrow{color:#FCA311!important;text-transform:uppercase;letter-spacing:.13em;font-size:11px;font-weight:800;margin:0 0 22px}
.txl-hero h1{font-size:clamp(44px,5.3vw,82px);line-height:1.08;margin:0 0 27px;color:#fff;max-width:760px}
.txl-hero h1 em,.txl-bottom h2 em{font-style:normal;color:#FCA311}
.txl-lead{font-size:clamp(16px,1.45vw,20px);line-height:1.75;max-width:630px;color:#CBD2DF;margin:0}
.txl-actions{display:flex;flex-wrap:wrap;gap:24px;align-items:center;margin-top:34px}
.txl-text-link{color:#fff;font-size:14px;font-weight:700;display:inline-flex;align-items:center;gap:10px}
.txl-trust{display:flex;flex-wrap:wrap;gap:10px;margin-top:42px}
.txl-trust span{font-size:11px;color:#C7D1E2;padding:8px 12px;border:1px solid rgba(255,255,255,.14);border-radius:99px}
.txl-hero-visual{position:relative;max-width:410px;width:100%;justify-self:center}
.txl-screen{padding:15px;background:linear-gradient(145deg,#1C2C4D,#0A1222);border:1px solid rgba(255,255,255,.16);border-radius:32px;box-shadow:0 32px 90px rgba(0,0,0,.55)}
.txl-screen-top{display:flex;align-items:center;gap:9px;padding:3px 5px 13px;color:#B4BFD0;font-size:11px;letter-spacing:.02em}
.txl-status-dot{background:#FCA311;width:7px;height:7px;border-radius:50%}
.txl-screen img{width:100%;height:auto;max-height:530px;object-fit:cover;object-position:top;border-radius:19px;display:block}
.txl-visual-note{position:absolute;left:-24px;right:32px;bottom:-30px;padding:18px 22px;background:#14213D;border:1px solid rgba(252,163,17,.36);border-radius:16px;box-shadow:0 15px 40px rgba(0,0,0,.38);display:flex;flex-direction:column;gap:5px}
.txl-visual-note strong{color:#fff;font-size:14px}.txl-visual-note span{color:#C7D1E2;font-size:12px}
.txl-section{padding:clamp(78px,9vw,138px) 0}
.txl-section-head{max-width:720px;margin-bottom:55px}
.txl-section-head h2,.txl-contrast h2,.txl-demo h2,.txl-activation h2,.txl-bottom h2{font-size:clamp(34px,4.4vw,61px);line-height:1.12;margin:0 0 22px;color:#fff}
.txl-section-head h2 span,.txl-contrast h2 span,.txl-how h2 span{color:#FCA311}
.txl-section-head>p:last-child,.txl-contrast p:not(.txl-eyebrow),.txl-demo p:not(.txl-eyebrow),.txl-activation-inner>p:not(.txl-eyebrow),.txl-bottom p{font-size:16px;color:#C8D1DF;line-height:1.8;max-width:650px}
.txl-benefits{background:#0C1425}
.txl-benefit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.txl-benefit{background:linear-gradient(155deg,#1A2A49,#111B2F);border:1px solid rgba(255,255,255,.08);border-radius:22px;padding:clamp(26px,3.3vw,45px);min-height:235px}
.txl-benefit-no{display:block;color:#FCA311;font-weight:700;font-size:12px;margin-bottom:34px}
.txl-benefit h3,.txl-steps h3{font-size:clamp(20px,2vw,28px);color:#fff;line-height:1.2;margin:0 0 13px}
.txl-benefit p,.txl-steps p{font-size:14px;line-height:1.8;color:#C9D3E0;margin:0;max-width:340px}
.txl-contrast{background:#E5E5E5;color:#14213D}
.txl-contrast-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:clamp(35px,8vw,120px);align-items:center}
.txl-contrast h2{color:#14213D}.txl-contrast h2 span{color:#9A5B00}.txl-contrast .txl-eyebrow{color:#9A5B00!important}
.txl-contrast p:not(.txl-eyebrow){color:#3F4E65}.txl-contrast .txl-text-link{color:#14213D}
.txl-how{background:#0B1322}
.txl-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.txl-steps article{padding:28px 12px 0 0;border-top:1px solid rgba(252,163,17,.55)}
.txl-steps article>span{font-size:14px;color:#FCA311;font-weight:800;display:block;margin-bottom:35px}
.txl-demo{background:linear-gradient(145deg,#132441,#080D18)}
.txl-demo-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(35px,7vw,100px);align-items:center}
.txl-demo .txl-button{margin-top:22px}
.txl-demo-panel{display:flex;align-items:center;gap:22px;background:#182748;border:1px solid rgba(255,255,255,.12);padding:24px;border-radius:26px}
.txl-demo-panel img{display:block;width:46%;max-height:370px;object-fit:contain;object-position:top;border-radius:15px}
.txl-demo-panel>div{display:flex;flex-direction:column;gap:10px}.txl-demo-panel strong{font-size:22px;color:#fff;line-height:1.25}.txl-demo-panel span{font-size:13px;color:#C9D3E0}
.txl-activation{background:#FCA311;color:#111}
.txl-activation-inner{text-align:center;max-width:740px!important}
.txl-activation .txl-eyebrow{color:#14213D!important}
.txl-activation h2{color:#111}.txl-activation-inner>p:not(.txl-eyebrow){color:#283145;margin-left:auto;margin-right:auto}
.txl-activation .txl-button{background:#14213D;color:#fff!important;margin-top:20px}.txl-activation .txl-button span{background:rgba(255,255,255,.13)}
.txl-advisor-line{margin:20px auto 0;font-size:14px;color:#14213D}
.txl-sponsor-entry{max-width:530px;margin:32px auto 0}.txl-sponsor-entry label{display:block;font-size:12px;font-weight:700;margin-bottom:12px;color:#14213D}
.txl-sponsor-entry form{display:flex;gap:8px}.txl-sponsor-entry input{min-width:0;flex:1;padding:14px 16px;border-radius:10px;border:1px solid #14213D;background:#fff;color:#14213D;font:inherit;font-size:13px}.txl-sponsor-entry button{background:#14213D;border:0;color:#fff;border-radius:10px;padding:12px 17px;font-weight:700;cursor:pointer}
.txl-header-right{display:flex;align-items:center;gap:14px}
.txl-header-advisor{display:inline-flex;align-items:center;gap:10px;padding:4px 14px 4px 5px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.12);border-radius:999px;text-decoration:none;transition:background .2s,border-color .2s,transform .2s;box-shadow:inset 0 1px 0 rgba(255,255,255,.07)}
.txl-header-advisor:hover{background:rgba(255,255,255,.08);border-color:rgba(252,163,17,.4);transform:translateY(-1px)}
.txl-header-avatar{width:32px;height:32px;border-radius:50%;object-fit:cover;border:1.5px solid #FCA311;display:block;flex-shrink:0}
.txl-header-name{color:#fff;font-family:'Plus Jakarta Sans',sans-serif;font-size:13px;font-weight:600;white-space:nowrap;max-width:150px;overflow:hidden;text-overflow:ellipsis}
.txl-section-head-center{text-align:center;margin-left:auto;margin-right:auto}
.txl-section-head-center p{margin-left:auto;margin-right:auto}
.txl-advisor-section{background:radial-gradient(ellipse at 50% 20%,#16243D 0%,#090F1C 72%);padding:clamp(75px,8vw,125px) 0}
.txl-advisor-outer{background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.08);box-shadow:0 24px 60px rgba(0,0,0,.45);border-radius:28px;padding:12px;max-width:880px;margin:0 auto}
.txl-advisor-card{background:linear-gradient(180deg,#1C2C4A 0%,#10192A 100%);border:1px solid rgba(255,255,255,.09);border-radius:20px;box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 16px 40px rgba(0,0,0,.35);padding:36px 42px;display:flex;align-items:center;justify-content:space-between;gap:36px}
.txl-advisor-main{display:flex;align-items:center;gap:24px;min-width:0;flex:1}
.txl-advisor-avatar-wrap{position:relative;flex-shrink:0}
.txl-advisor-avatar{width:92px;height:92px;border-radius:50%;object-fit:cover;border:2.5px solid #FCA311;box-shadow:0 0 0 4px rgba(252,163,17,.16),0 12px 28px rgba(0,0,0,.45);display:block}
.txl-advisor-info{display:flex;flex-direction:column;gap:6px;min-width:0}
.txl-advisor-role{display:inline-block;font-family:'JetBrains Mono',monospace;font-size:11px;text-transform:uppercase;letter-spacing:.12em;color:#FCA311;font-weight:700}
.txl-advisor-name{font-family:Geist,sans-serif!important;font-size:clamp(22px,2.3vw,30px);font-weight:700;color:#fff;line-height:1.2;margin:0;letter-spacing:-.035em}
.txl-advisor-desc{font-family:'Plus Jakarta Sans',sans-serif;font-size:14px;line-height:1.6;color:#CBD2DF;margin:4px 0 0;max-width:440px}
.txl-advisor-phone{display:inline-flex;align-items:center;gap:8px;margin-top:10px;padding:7px 14px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);border-radius:8px;width:fit-content}
.txl-phone-label{font-size:12px;color:#94A3B8;font-weight:500}
.txl-phone-number{font-family:'JetBrains Mono',monospace;font-size:13px;color:#fff;font-weight:600;letter-spacing:.02em}
.txl-phone-unavailable{background:rgba(239,68,68,.08);border-color:rgba(239,68,68,.2)}
.txl-phone-unavailable-text{font-size:12px;color:#FCA5A5;font-style:italic}
.txl-advisor-actions{display:flex;flex-direction:column;gap:12px;flex-shrink:0;min-width:210px}
.txl-button-secondary{display:inline-flex;align-items:center;justify-content:space-between;gap:20px;border-radius:999px;background:rgba(20,33,61,.85);color:#fff!important;border:1px solid rgba(255,255,255,.16);padding:14px 18px 14px 22px;font-size:14px;font-weight:700;line-height:1.3;white-space:nowrap;transition:all .2s cubic-bezier(.16,1,.3,1);box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 8px 24px rgba(0,0,0,.25)}
.txl-button-secondary:hover{background:#1C2E52;border-color:rgba(252,163,17,.5);transform:translateY(-2px);box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 12px 30px rgba(0,0,0,.35)}
.txl-button-secondary span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:rgba(255,255,255,.1);font-size:17px;color:#fff}
.txl-faq{background:#080D18}.txl-faq-list{max-width:850px}.txl-faq-list details{border-bottom:1px solid rgba(255,255,255,.18)}.txl-faq-list summary{list-style:none;cursor:pointer;color:#fff;font-size:16px;font-weight:700;padding:23px 35px 23px 0;position:relative}.txl-faq-list summary::-webkit-details-marker{display:none}.txl-faq-list summary:after{content:'+';position:absolute;right:5px;top:18px;color:#FCA311;font-size:23px}.txl-faq-list details[open] summary:after{content:'−'}.txl-faq-list details p{color:#C7D1E2;line-height:1.8;font-size:14px;max-width:720px;margin:0 0 22px}
.txl-bottom{padding:110px 0;background:radial-gradient(ellipse at 50% 0%,#1A3155,#0A1120 65%);text-align:center}.txl-bottom h2{max-width:850px;margin-left:auto;margin-right:auto}.txl-bottom p{margin:0 auto 28px}
.txl-footer{background:#070C15;border-top:1px solid rgba(255,255,255,.1);padding:30px 0}.txl-footer-inner{display:flex;gap:24px;justify-content:space-between;align-items:center}.txl-footer .txl-brand{font-size:20px}.txl-footer span,.txl-footer nav a{font-size:12px;color:#A3B1C5}.txl-footer nav{display:flex;gap:18px}
.txl-floating-contact{position:fixed;z-index:30;right:22px;bottom:18px;background:#14213D;color:#fff!important;padding:13px 18px;border-radius:99px;border:1px solid #FCA311;font-size:13px;font-weight:800;box-shadow:0 8px 30px rgba(0,0,0,.4)}
.txl-floating-contact span{color:#FCA311}
@media(min-width:1024px){.txl-page .landing-container{width:80%!important;max-width:80vw!important}}
@media(max-width:1023px){.txl-page .landing-container{width:calc(100% - 44px)!important;max-width:760px!important}.txl-nav{display:none}.txl-hero-grid{grid-template-columns:1fr}.txl-hero-visual{max-width:370px}.txl-hero-copy{max-width:700px}.txl-contrast-grid,.txl-demo-grid{grid-template-columns:1fr}}
@media(max-width:640px){.txl-page .landing-container{width:calc(100% - 36px)!important}.txl-header-inner{height:64px;gap:12px}.txl-brand{font-size:23px}.txl-button-small{padding:10px 14px;font-size:12px}.txl-button-small span{display:none}.txl-hero{padding:65px 0 95px}.txl-hero h1{font-size:clamp(40px,10.6vw,55px)}.txl-lead{font-size:16px}.txl-actions{flex-direction:column;align-items:stretch;gap:20px}.txl-actions .txl-button{width:100%}.txl-trust{margin-top:28px}.txl-visual-note{left:8px;right:8px}.txl-section{padding:70px 0}.txl-section-head{margin-bottom:35px}.txl-benefit-grid,.txl-steps{grid-template-columns:1fr}.txl-benefit{min-height:0}.txl-benefit-no{margin-bottom:22px}.txl-demo-panel{padding:15px;gap:13px}.txl-demo-panel strong{font-size:17px}txl-activation .txl-button{width:100%}.txl-sponsor-entry form{flex-direction:column}.txl-sponsor-entry button{padding:14px}.txl-footer-inner{flex-wrap:wrap}.txl-bottom{padding:80px 0}.txl-floating-contact{font-size:11px;padding:10px 14px}}
@media(prefers-reduced-motion:reduce){.txl-button{transition:none}.txl-button:hover{transform:none}}

/* TiendaIX beneficio-first — adaptación a la nueva estructura editorial */
.txl-contrast-grid > div:first-child h2 { white-space: normal; }
.txl-contrast-grid > div:first-child h2 span { display:block; }
.txl-contrast-grid > div:nth-child(2) p + p { margin-top: 18px; }
.txl-contrast-grid > div:nth-child(2) .txl-text-link { margin-top: 23px; }
.txl-benefits .txl-section-head h2 span { color:#FCA311; }
.txl-demo-grid > div:first-child .txl-button { margin-top:28px; }
.txl-screen img { object-fit:contain; max-height:540px; background:#0A1222; }
.txl-demo-panel img { object-fit:contain; }
@media (max-width:640px) {
  .txl-contrast h2 { font-size:clamp(32px,9vw,45px); }
  .txl-demo-panel { align-items:center; }
  .txl-hero h1 { overflow-wrap:normal; }
}


@media(max-width:860px){
  .txl-advisor-card{flex-direction:column;align-items:stretch;padding:28px 22px;gap:24px}
  .txl-advisor-main{flex-direction:column;align-items:center;text-align:center;gap:16px}
  .txl-advisor-phone{margin:10px auto 0}
  .txl-advisor-desc{max-width:100%}
  .txl-advisor-actions{flex-direction:column;width:100%;min-width:0}
  .txl-advisor-actions .txl-button,.txl-advisor-actions .txl-button-secondary{width:100%;justify-content:center}
}
@media(max-width:640px){
  .txl-header-inner{height:62px!important;gap:8px!important}
  .txl-header-right{gap:8px}
  .txl-header-advisor{padding:3px 8px 3px 3px;gap:6px}
  .txl-header-avatar{width:28px;height:28px}
  .txl-header-name{font-size:11px;max-width:85px}
  .txl-advisor-outer{padding:8px;border-radius:24px}
  .txl-advisor-avatar{width:76px;height:76px}
}
@media(max-width:420px){
  .txl-header-name{display:none}
  .txl-header-advisor{padding:2px}
}


/* =========================================================
   TIENDAIX SAAS 10M — COMPONENTES MODULARES SPOKES Y SEO
   ========================================================= */

/* Migas de Pan (Breadcrumbs) */
.txl-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: #A3B1C5;
  margin-bottom: 22px;
}
.txl-breadcrumb a {
  color: #A3B1C5;
  text-decoration: none;
  transition: color 0.2s ease;
}
.txl-breadcrumb a:hover {
  color: #FCA311;
}
.txl-breadcrumb-sep {
  color: rgba(255, 255, 255, 0.3);
  font-size: 11px;
}
.txl-breadcrumb-current {
  color: #FFFFFF;
  font-weight: 600;
}

/* Bloque AEO / GEO (Respuesta Directa de IA) */
.txl-answer-block {
  background: linear-gradient(135deg, rgba(20, 33, 61, 0.88) 0%, rgba(10, 17, 32, 0.96) 100%);
  border: 1px solid rgba(252, 163, 17, 0.35);
  border-left: 4px solid #FCA311;
  border-radius: 14px;
  padding: 20px 24px;
  margin: 28px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.txl-answer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #FCA311;
  margin-bottom: 10px;
}
.txl-answer-text {
  font-size: 15px;
  line-height: 1.65;
  color: #E5E5E5;
  margin: 0;
}

/* Reproductor de Video Hero (Vimeo 28s) */
.txl-video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  overflow: hidden;
  background: #080D18;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.55);
}
.txl-video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.txl-video-container:hover .txl-video-poster {
  transform: scale(1.02);
}
.txl-video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #FCA311;
  color: #14213D;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 30px rgba(252, 163, 17, 0.5);
  transition: transform 0.2s ease, background 0.2s ease;
  z-index: 2;
}
.txl-video-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: #FFAE33;
}
.txl-video-play-btn svg {
  width: 26px;
  height: 26px;
  margin-left: 3px;
  fill: #14213D;
}
.txl-video-badge {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(8, 13, 24, 0.88);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 2;
}
.txl-video-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Grilla de Características y Beneficios Spoke */
.txl-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 36px;
}
.txl-feature-card {
  background: linear-gradient(145deg, #1C2C4D, #0A1222);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.txl-feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(252, 163, 17, 0.4);
}
.txl-feature-card-no {
  font-size: 12px;
  font-weight: 800;
  color: #FCA311;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  display: block;
}
.txl-feature-card h3 {
  font-size: 19px;
  color: #FFFFFF;
  margin: 0 0 12px;
  line-height: 1.3;
}
.txl-feature-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #B4BFD0;
  margin: 0;
}

/* Callout Box Destacado */
.txl-callout {
  background: rgba(20, 33, 61, 0.6);
  border: 1px dashed rgba(252, 163, 17, 0.35);
  border-radius: 16px;
  padding: 24px 28px;
  margin: 32px 0;
}
.txl-callout h3 {
  font-size: 18px;
  color: #FCA311;
  margin: 0 0 10px;
}
.txl-callout p {
  font-size: 14px;
  line-height: 1.65;
  color: #D0D5DF;
  margin: 0;
}

/* Enlaces Internos Contextuales */
.txl-internal-links {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.txl-internal-link-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #FCA311;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, color 0.15s ease;
}
.txl-internal-link-item:hover {
  color: #FFAE33;
  transform: translateX(4px);
}

/* Footer Enriquecido de 4 Columnas */
.txl-footer-columns {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  padding: 40px 0 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 24px;
}
@media (max-width: 900px) {
  .txl-footer-columns {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .txl-footer-columns {
    grid-template-columns: 1fr;
  }
}
.txl-footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.txl-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.txl-footer-col a {
  color: #A3B1C5;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s ease;
}
.txl-footer-col a:hover {
  color: #FCA311;
}
.txl-footer-desc {
  font-size: 13px;
  color: #8E9BAE;
  line-height: 1.6;
  margin: 12px 0 0;
}
.txl-nav a.active {
  color: #FCA311 !important;
  font-weight: 700;
}

/* =========================================================
   TIENDAIX CRO FASE 11 — OPTIMIZACIÓN MÓVIL 390PX Y CONVERSIÓN
   ========================================================= */

/* 1. Navegación Móvil Horizontal (SaaS Pill Strip) */
.txl-mobile-nav {
  display: none;
}

@media (max-width: 1023px) {
  .txl-mobile-nav {
    display: block;
    background: rgba(8, 13, 24, 0.94);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: sticky;
    top: 62px;
    z-index: 38;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .txl-mobile-nav::-webkit-scrollbar {
    display: none;
  }
  .txl-mobile-nav-inner {
    display: flex;
    gap: 8px;
    padding: 10px 0;
    white-space: nowrap;
  }
  .txl-mobile-nav a {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    border-radius: 99px;
    font-size: 12px;
    font-weight: 600;
    color: #A3B1C5;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    transition: all 0.2s ease;
    min-height: 32px;
  }
  .txl-mobile-nav a:hover,
  .txl-mobile-nav a:focus {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.1);
  }
  .txl-mobile-nav a.active {
    color: #0B1320 !important;
    background: #FCA311 !important;
    border-color: #FCA311 !important;
    font-weight: 700;
    box-shadow: 0 2px 10px rgba(252, 163, 17, 0.3);
  }
}

/* 2. Dock Persistente de Conversión Móvil (Sticky Bottom) */
.txl-mobile-dock {
  display: none;
}

@media (max-width: 768px) {
  body.txl-page {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
  }
  .txl-mobile-dock {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 45;
    background: rgba(8, 13, 24, 0.96);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 18px calc(10px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.45);
  }
  .txl-mobile-dock-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 480px;
    margin: 0 auto;
  }
  .txl-dock-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #FCA311;
    color: #0B1320 !important;
    padding: 13px 18px;
    border-radius: 99px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 4px 18px rgba(252, 163, 17, 0.28);
    transition: transform 0.15s ease, background 0.15s ease;
    min-height: 48px;
    box-sizing: border-box;
  }
  .txl-dock-btn:active {
    transform: scale(0.98);
  }
  .txl-dock-btn small {
    font-size: 11px;
    font-weight: 600;
    opacity: 0.85;
  }
  .txl-dock-wa {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    background: #14213D;
    color: #25D366 !important;
    border: 1px solid rgba(37, 211, 102, 0.35);
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    transition: transform 0.15s ease;
  }
  .txl-dock-wa:active {
    transform: scale(0.95);
  }
  /* En móviles con dock, ocultar el botón flotante tradicional para evitar solapamientos */
  .txl-floating-contact {
    display: none !important;
  }
}

/* 3. Ergonomía Táctil y Antidesbordamiento 390px */
@media (max-width: 480px) {
  html, body {
    overflow-x: hidden !important;
  }
  .landing-container {
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box !important;
  }
  .txl-hero h1 {
    font-size: clamp(28px, 8.5vw, 36px) !important;
    line-height: 1.18 !important;
  }
  .txl-lead {
    font-size: 15px !important;
    line-height: 1.6 !important;
  }
  .txl-button {
    min-height: 48px !important;
    font-size: 14px !important;
    padding: 13px 20px !important;
  }
  .txl-button-small {
    min-height: 42px !important;
    padding: 9px 13px !important;
    font-size: 12px !important;
  }
  .txl-feature-card, .txl-benefit, .txl-step {
    padding: 20px 18px !important;
  }
}
