/* Hallmark · theme: deep-obsidian · brand: tiendaix · font: geist, plus-jakarta-sans · floor: clean */
/* Critique: Contemporary Latin American mobile commerce portal, focused on WhatsApp conversion, disciplined typography and zero AI-slop chrome */

:root {
  /* =========================================================
     1. LIENZO Y SUPERFICIES (DEEP OBSIDIAN COMMERCE)
     ========================================================= */
  --txl-canvas: #090e1a;
  --txl-surface-1: #111a2e;
  --txl-surface-2: #18243d;
  --txl-surface-subtle: #0f1626;
  --txl-surface-glass: #0c1424;
  --txl-surface-backdrop: rgba(9, 14, 26, 0.85);
  --txl-surface-badge: #111a2e;
  --txl-surface-input: #0d1527;
  --txl-surface-accent-soft: rgba(252, 163, 17, 0.12);
  --txl-hero-glow: #152442;

  /* =========================================================
     2. LÍMITES Y BORDES EDITORIALES
     ========================================================= */
  --txl-border-subtle: rgba(255, 255, 255, 0.08);
  --txl-border-card: rgba(255, 255, 255, 0.12);
  --txl-border-elevated: rgba(255, 255, 255, 0.2);
  --txl-border-focus: #fca311;
  --txl-border-accent-subtle: rgba(252, 163, 17, 0.36);

  /* =========================================================
     3. MARCA Y ACENTO VIBRANTE
     ========================================================= */
  --txl-accent: #fca311;
  --txl-accent-hover: #ffb735;
  --txl-accent-glow: rgba(252, 163, 17, 0.24);
  --txl-accent-contrast: #090e1a;
  --txl-whatsapp: #25d366;
  --txl-whatsapp-hover: #22bf5b;
  --txl-whatsapp-contrast: #090e1a;
  --txl-error: #f43f5e;
  --txl-error-soft: rgba(244, 63, 94, 0.12);

  /* =========================================================
     4. TIPOGRAFÍA Y JERARQUÍA (EXACTAMENTE 2 FAMILIAS)
     ========================================================= */
  --txl-font-display: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --txl-font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --txl-text-primary: #f5f8ff;
  --txl-text-body: #cbd5e1;
  --txl-text-muted: #94a3b8;
  --txl-text-dim: #687690;

  /* =========================================================
     5. GEOMETRÍA, RADIUS Y CONTENEDOR
     ========================================================= */
  --txl-radius-sm: 8px;
  --txl-radius-md: 12px;
  --txl-radius-lg: 20px;
  --txl-radius-xl: 28px;
  --txl-radius-pill: 9999px;
  --txl-container-max: 1200px;

  /* =========================================================
     6. SOMBRAS SOBRIAS (NO GLOW ARTIFICIAL)
     ========================================================= */
  --txl-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.24);
  --txl-shadow-md: 0 8px 24px rgba(0, 0, 0, 0.36);
  --txl-shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.52);
  --txl-shadow-button: 0 4px 20px rgba(252, 163, 17, 0.2);
  --txl-shadow-whatsapp: 0 4px 20px rgba(37, 211, 102, 0.24);
  --txl-shadow-dock: 0 -8px 28px rgba(0, 0, 0, 0.55);
}

/* =========================================================
   RESETEO BASE Y SUELO DE CALIDAD (THE FLOOR)
   ========================================================= */
html, body {
  overflow-x: clip !important;
  background-color: var(--txl-canvas) !important;
  color: var(--txl-text-body) !important;
  font-family: var(--txl-font-body) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding: 0;
  min-width: 320px;
}

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

/* Tipografía de Encabezados (Geist) */
h1, h2, h3, h4, h5, h6,
.txl-page h1, .txl-page h2, .txl-page h3 {
  font-family: var(--txl-font-display) !important;
  color: var(--txl-text-primary);
  letter-spacing: -0.035em;
  font-weight: 700;
  overflow-wrap: break-word;
  min-width: 0;
  text-wrap: balance;
  margin: 0;
}

p {
  margin: 0;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* Números y Cifras Tabulares (Sin 3ra fuente) */
.txl-numeric,
.txl-phone-number,
.txl-stat-value,
.txl-price-number {
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

/* Accesibilidad Inmediata: Focus Visible (Floor 6) */
:focus-visible {
  outline: 2px solid var(--txl-border-focus) !important;
  outline-offset: 3px !important;
}

button:focus:not(:focus-visible),
a:focus:not(:focus-visible) {
  outline: none;
}

/* Contenedor Unificado (Capped & Centred - Floor 14) */
.landing-container {
  width: 100%;
  max-width: var(--txl-container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

@media (max-width: 640px) {
  .landing-container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* =========================================================
   CABECERA GLOBAL (COMPACTA, ROBUSTA, SINGLE-LINE)
   ========================================================= */
.txl-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: var(--txl-surface-glass);
  border-bottom: 1px solid var(--txl-border-subtle);
  transition: background-color 180ms ease, border-color 180ms ease;
}

.txl-header-inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

@media (max-width: 768px) {
  .txl-header-inner {
    height: 56px;
    gap: 12px;
  }
}

/* Logotipo Oficial */
.txl-brand {
  display: inline-flex;
  align-items: center;
  font-family: var(--txl-font-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--txl-text-primary) !important;
  line-height: 1;
  flex-shrink: 0;
  text-decoration: none;
}

.txl-brand-logo {
  height: 40px;
  width: auto;
  max-width: 140px;
  display: block;
  object-fit: contain;
}

@media (max-width: 640px) {
  .txl-brand-logo {
    height: 32px;
    max-width: 110px;
  }
}

.txl-orange {
  color: var(--txl-accent);
}

/* Navegación Desktop */
.txl-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 32px);
  margin-left: auto;
}

.txl-nav a {
  color: var(--txl-text-body);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  padding: 8px 0;
  position: relative;
  transition: color 180ms ease;
}

.txl-nav a:hover {
  color: var(--txl-accent);
}

.txl-nav a.active {
  color: var(--txl-accent) !important;
}

/* Lado Derecho de Cabecera */
.txl-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Asesor en Cabecera (Multiusuario) */
.txl-header-advisor {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 4px 4px;
  background-color: var(--txl-surface-1);
  border: 1px solid var(--txl-border-subtle);
  border-radius: var(--txl-radius-pill);
  transition: transform 180ms ease, border-color 180ms ease;
}

.txl-header-advisor:hover {
  transform: translateY(-1px);
  border-color: var(--txl-border-accent-subtle);
}

.txl-header-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--txl-accent);
  flex-shrink: 0;
}

.txl-header-avatar-initials {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--txl-surface-2);
  border: 1.5px solid var(--txl-accent);
  color: var(--txl-accent);
  font-family: var(--txl-font-display);
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.txl-header-name {
  color: var(--txl-text-primary);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 520px) {
  .txl-header-advisor {
    padding: 4px;
  }
  .txl-header-name {
    display: none;
  }
}

/* Botón Hamburguesa Móvil */
.txl-menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--txl-border-subtle);
  border-radius: var(--txl-radius-sm);
  color: var(--txl-text-primary);
  padding: 8px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
}

.txl-menu-toggle svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
}

@media (max-width: 1023px) {
  .txl-nav {
    display: none;
  }
  .txl-menu-toggle {
    display: inline-flex;
  }
}

/* Cajón Lateral de Navegación Móvil (Drawer) */
.txl-drawer-overlay {
  position: fixed;
  inset: 0;
  background-color: var(--txl-surface-backdrop);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}

.txl-drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.txl-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 85vw);
  background-color: var(--txl-surface-1);
  border-left: 1px solid var(--txl-border-card);
  z-index: 100;
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1), visibility 220ms ease;
  display: flex;
  flex-direction: column;
  padding: 24px 20px;
  overflow-y: auto;
}

.txl-drawer.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.txl-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--txl-border-subtle);
}

.txl-drawer-close {
  background-color: var(--txl-surface-2);
  border: 1px solid var(--txl-border-elevated);
  border-radius: var(--txl-radius-sm);
  color: var(--txl-text-primary);
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.txl-drawer-close:hover {
  background-color: var(--txl-surface-1);
  border-color: var(--txl-border-accent-subtle);
  color: var(--txl-accent);
}

.txl-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 0;
}

.txl-drawer-links a {
  padding: 12px 16px;
  border-radius: var(--txl-radius-md);
  font-size: 15px;
  font-weight: 600;
  color: var(--txl-text-body);
  transition: background-color 160ms ease, color 160ms ease;
}

.txl-drawer-links a:hover,
.txl-drawer-links a.active {
  background-color: var(--txl-surface-2);
  color: var(--txl-accent);
}

/* =========================================================
   BOTONES Y ACCIONES PRIMARIAS (SIN TRANSITION: ALL)
   ========================================================= */
.txl-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  border-radius: var(--txl-radius-pill);
  background-color: var(--txl-accent);
  color: var(--txl-accent-contrast) !important;
  padding: 12px 24px;
  font-family: var(--txl-font-body);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
  box-shadow: var(--txl-shadow-button);
  border: none;
  cursor: pointer;
  transition: background-color 180ms ease, transform 180ms ease;
}

.txl-button:hover {
  background-color: var(--txl-accent-hover);
  transform: translateY(-2px);
}

.txl-button:active {
  transform: translateY(0);
}

.txl-button-small {
  font-size: 13px;
  padding: 8px 16px;
  min-height: 38px;
}

.txl-button-secondary {
  background-color: var(--txl-surface-1);
  color: var(--txl-text-primary) !important;
  border: 1px solid var(--txl-border-card);
  box-shadow: var(--txl-shadow-sm);
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.txl-button-secondary:hover {
  background-color: var(--txl-surface-2);
  border-color: var(--txl-border-accent-subtle);
  transform: translateY(-2px);
}

.txl-button-whatsapp {
  background-color: var(--txl-whatsapp);
  color: var(--txl-whatsapp-contrast) !important;
  box-shadow: var(--txl-shadow-whatsapp);
}

.txl-button-whatsapp:hover {
  background-color: var(--txl-whatsapp-hover);
}

.txl-text-link {
  color: var(--txl-text-primary);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 180ms ease;
}

.txl-text-link:hover {
  color: var(--txl-accent);
}

.txl-text-link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  transition: transform 180ms ease;
}

.txl-text-link:hover svg {
  transform: translateX(4px);
}

/* =========================================================
   HERO ALINEADO A LA IZQUIERDA (VIDEO <= 50% EN DESKTOP)
   ========================================================= */
.txl-hero {
  padding: clamp(48px, 6vw, 76px) 0 clamp(40px, 5vw, 64px);
  background: radial-gradient(ellipse at 20% 20%, var(--txl-hero-glow) 0%, var(--txl-canvas) 72%);
  text-align: left;
}

.txl-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
}

.txl-hero-content {
  max-width: 620px;
  text-align: left;
}

.txl-hero h1 {
  font-size: clamp(32px, 4.4vw, 54px);
  line-height: 1.12;
  color: var(--txl-text-primary);
  margin-bottom: 20px;
  text-align: left;
}

.txl-lead {
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.65;
  color: var(--txl-text-body);
  max-width: 560px;
  margin: 0 0 28px 0;
  text-align: left;
}

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

.txl-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
}

.txl-hero-badge-note {
  font-size: 13px;
  color: var(--txl-text-muted);
  text-align: left;
}

/* Columna de Demostración en Video (máx. 500px, < 50% del contenedor) */
.txl-hero-media {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.txl-panoramic-stage {
  width: 100%;
  max-width: 500px;
  border-radius: var(--txl-radius-xl);
  background-color: var(--txl-surface-1);
  border: 1px solid var(--txl-border-card);
  padding: 8px;
}

@media (max-width: 960px) {
  .txl-hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .txl-hero-content {
    max-width: 100%;
  }

  .txl-hero-media {
    justify-content: flex-start;
  }

  .txl-panoramic-stage {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .txl-panoramic-stage {
    padding: 8px;
    border-radius: var(--txl-radius-lg);
  }

  .txl-hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .txl-hero-buttons .txl-button {
    width: 100%;
  }
}

.txl-video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--txl-radius-lg);
  overflow: hidden;
  background-color: var(--txl-surface-input);
}

.txl-video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: transform 300ms ease;
}

.txl-video-container:hover .txl-video-poster {
  transform: scale(1.015);
}

.txl-video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background-color: var(--txl-accent);
  color: var(--txl-accent-contrast);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  box-shadow: var(--txl-shadow-md);
  transition: transform 180ms ease, background-color 180ms ease;
  z-index: 2;
}

.txl-video-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.08);
  background-color: var(--txl-accent-hover);
}

.txl-video-play-btn svg {
  width: 28px;
  height: 28px;
  margin-left: 4px;
  fill: currentColor;
}

.txl-video-badge {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background-color: var(--txl-surface-badge);
  color: var(--txl-text-primary);
  padding: 4px 8px;
  border-radius: var(--txl-radius-sm);
  font-size: 11px;
  font-weight: 700;
  border: 1px solid var(--txl-border-subtle);
  z-index: 2;
}

.txl-video-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* =========================================================
   SECCIONES COMERCIALES Y RITMO EDITORIAL
   ========================================================= */
.txl-section {
  padding: clamp(64px, 8vw, 112px) 0;
}

.txl-section-alt {
  background-color: var(--txl-surface-subtle);
  color: var(--txl-text-body);
}

.txl-section-head {
  max-width: 720px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.txl-section-head-center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.txl-section-head h2 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  color: var(--txl-text-primary);
  margin-bottom: 16px;
}

.txl-section-head p {
  font-size: 16px;
  color: var(--txl-text-muted);
}

/* Sección Contraste / Problema */
.txl-contrast-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

@media (max-width: 860px) {
  .txl-contrast-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.txl-contrast-grid h2 {
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.2;
}

.txl-contrast-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.txl-contrast-copy p {
  color: var(--txl-text-body);
}

/* Grilla de 3 Beneficios Principales (Sin 01-04 Clichés) */
.txl-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

@media (max-width: 900px) {
  .txl-benefit-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.txl-benefit-card {
  background-color: var(--txl-surface-1);
  color: var(--txl-text-body);
  border: 1px solid var(--txl-border-card);
  border-radius: var(--txl-radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.txl-benefit-card:hover {
  transform: translateY(-2px);
  border-color: var(--txl-border-accent-subtle);
}

.txl-benefit-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--txl-radius-md);
  background-color: var(--txl-surface-accent-soft);
  color: var(--txl-accent);
  display: grid;
  place-items: center;
  margin-bottom: 8px;
}

.txl-benefit-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
}

.txl-benefit-card h3 {
  font-size: 20px;
  color: var(--txl-text-primary);
  line-height: 1.3;
}

.txl-benefit-card p {
  font-size: 14px;
  color: var(--txl-text-muted);
  line-height: 1.65;
}

/* Sección Cómo Funciona (Línea de Tiempo Funcional) */
.txl-timeline-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  position: relative;
}

@media (max-width: 900px) {
  .txl-timeline-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.txl-timeline-step {
  background-color: var(--txl-surface-1);
  color: var(--txl-text-body);
  border: 1px solid var(--txl-border-card);
  border-radius: var(--txl-radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.txl-step-number {
  font-family: var(--txl-font-display);
  font-size: clamp(32px, 3.5vw, 40px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  color: var(--txl-accent);
  display: block;
}

.txl-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--txl-surface-2);
  border: 1px solid var(--txl-border-accent-subtle);
  color: var(--txl-accent);
  font-family: var(--txl-font-display);
  font-size: 13px;
  font-weight: 700;
}

.txl-timeline-step h3 {
  font-size: 19px;
  color: var(--txl-text-primary);
}

.txl-timeline-step p {
  font-size: 14px;
  color: var(--txl-text-muted);
}

/* Demostración Visual del Producto */
.txl-demo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

@media (max-width: 860px) {
  .txl-demo-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.txl-demo-device {
  background-color: var(--txl-surface-1);
  border: 1px solid var(--txl-border-card);
  border-radius: var(--txl-radius-xl);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.txl-demo-device img {
  border-radius: var(--txl-radius-md);
  max-height: 480px;
  object-fit: contain;
}

/* =========================================================
   MÓDULO DE ASESOR Y ATRIBUCIÓN (DES-ANIDADO)
   ========================================================= */
.txl-advisor-card {
  max-width: 820px;
  margin: 0 auto;
  background: linear-gradient(180deg, var(--txl-surface-2) 0%, var(--txl-surface-1) 100%);
  border: 1px solid var(--txl-border-card);
  border-radius: var(--txl-radius-xl);
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

@media (max-width: 860px) {
  .txl-advisor-card {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
  }
}

.txl-advisor-main {
  display: flex;
  align-items: center;
  gap: 24px;
  min-width: 0;
  flex: 1;
}

@media (max-width: 860px) {
  .txl-advisor-main {
    flex-direction: column;
    gap: 16px;
  }
}

.txl-advisor-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.txl-advisor-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--txl-accent);
  box-shadow: 0 0 0 4px var(--txl-accent-glow);
}

.txl-advisor-avatar-initials {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background-color: var(--txl-surface-subtle);
  border: 2px solid var(--txl-accent);
  box-shadow: 0 0 0 4px var(--txl-accent-glow);
  color: var(--txl-accent);
  font-family: var(--txl-font-display);
  font-size: 26px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.txl-advisor-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.txl-advisor-role {
  font-size: 12px;
  color: var(--txl-accent);
  font-weight: 600;
}

.txl-advisor-name {
  font-size: clamp(20px, 2.4vw, 28px);
  color: var(--txl-text-primary);
  line-height: 1.2;
}

.txl-advisor-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--txl-text-body);
  max-width: 440px;
}

.txl-advisor-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 8px 12px;
  background-color: var(--txl-surface-input);
  border: 1px solid var(--txl-border-subtle);
  border-radius: var(--txl-radius-sm);
  width: fit-content;
}

@media (max-width: 860px) {
  .txl-advisor-phone {
    margin-left: auto;
    margin-right: auto;
  }
}

.txl-advisor-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
  min-width: 220px;
}

@media (max-width: 860px) {
  .txl-advisor-actions {
    width: 100%;
    min-width: 0;
  }
}

/* =========================================================
   ACTIVACIÓN Y CÓDIGO DE INVITACIÓN
   ========================================================= */
.txl-activation-box {
  max-width: 760px;
  margin: 0 auto;
  background-color: var(--txl-surface-1);
  border: 1px solid var(--txl-border-card);
  border-radius: var(--txl-radius-xl);
  padding: clamp(32px, 5vw, 56px) 24px;
  text-align: center;
}

.txl-activation-box h2 {
  font-size: clamp(26px, 3.8vw, 38px);
  margin-bottom: 16px;
}

.txl-activation-box p {
  color: var(--txl-text-body);
  max-width: 580px;
  margin: 0 auto 28px;
}

.txl-sponsor-form {
  max-width: 460px;
  margin: 28px auto 0;
  display: flex;
  gap: 8px;
}

@media (max-width: 600px) {
  .txl-sponsor-form {
    flex-direction: column;
  }
}

.txl-sponsor-input {
  flex: 1;
  min-width: 0;
  padding: 12px 16px;
  border-radius: var(--txl-radius-md);
  border: 1px solid var(--txl-border-card);
  background-color: var(--txl-surface-input);
  color: var(--txl-text-primary);
  font-family: inherit;
  font-size: 14px;
}

.txl-sponsor-input:focus {
  border-color: var(--txl-border-focus);
}

/* =========================================================
   ACORDEÓN FAQ (ACCESIBLE CON :FOCUS-VISIBLE)
   ========================================================= */
.txl-faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.txl-faq-list details {
  background-color: var(--txl-surface-1);
  border: 1px solid var(--txl-border-card);
  border-radius: var(--txl-radius-md);
  overflow: hidden;
  transition: border-color 180ms ease;
}

.txl-faq-list details[open] {
  border-color: var(--txl-border-elevated);
}

.txl-faq-list summary {
  list-style: none;
  cursor: pointer;
  color: var(--txl-text-primary);
  font-size: 16px;
  font-weight: 600;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
}

.txl-faq-list summary::-webkit-details-marker {
  display: none;
}

.txl-faq-arrow {
  width: 18px;
  height: 18px;
  stroke: var(--txl-accent);
  transition: transform 180ms ease;
  flex-shrink: 0;
}

.txl-faq-list details[open] .txl-faq-arrow {
  transform: rotate(180deg);
}

.txl-faq-content {
  padding: 0 24px 20px;
  color: var(--txl-text-body);
  font-size: 14px;
  line-height: 1.7;
}

/* =========================================================
   PIE DE PÁGINA (4 COLUMNAS SEMÁNTICAS)
   ========================================================= */
.txl-footer {
  background-color: var(--txl-surface-subtle);
  color: var(--txl-text-body);
  border-top: 1px solid var(--txl-border-subtle);
  padding: 60px 0 32px;
}

.txl-footer-columns {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 24px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--txl-border-subtle);
}

@media (max-width: 900px) {
  .txl-footer-columns {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .txl-footer-columns {
    grid-template-columns: minmax(0, 1fr);
  }
}

.txl-footer-col h3 {
  font-size: 13px;
  font-weight: 700;
  color: var(--txl-text-primary);
  margin-bottom: 16px;
}

.txl-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.txl-footer-col a {
  color: var(--txl-text-muted);
  font-size: 13px;
  transition: color 180ms ease;
}

.txl-footer-col a:hover {
  color: var(--txl-accent);
}

.txl-footer-desc {
  font-size: 13px;
  color: var(--txl-text-muted);
  line-height: 1.6;
  margin-top: 12px;
}

.txl-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  font-size: 12px;
  color: var(--txl-text-dim);
}

@media (max-width: 640px) {
  .txl-footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* =========================================================
   BOTÓN FLOTANTE DE CONTACTO WHATSAPP (DESKTOP)
   ========================================================= */
.txl-floating-contact {
  position: fixed;
  z-index: 90;
  right: 24px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--txl-surface-1);
  color: var(--txl-text-primary) !important;
  border: 1px solid var(--txl-border-card);
  padding: 12px 20px;
  border-radius: var(--txl-radius-pill);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease;
}

.txl-floating-contact:hover {
  transform: translateY(-2px);
  border-color: var(--txl-whatsapp);
  color: var(--txl-whatsapp) !important;
}

.txl-floating-contact svg {
  width: 20px;
  height: 20px;
  fill: var(--txl-whatsapp);
  flex-shrink: 0;
}

/* =========================================================
   DOCK DE CONVERSIÓN MÓVIL (MOBILE BOTTOM DOCK)
   ========================================================= */
.txl-mobile-dock {
  display: none;
}

@media (max-width: 768px) {
  body.txl-page {
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .txl-mobile-dock {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 45;
    background-color: var(--txl-surface-glass);
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    box-shadow: var(--txl-shadow-dock);
  }

  .txl-mobile-dock-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 440px;
    margin: 0 auto;
  }

  .txl-dock-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: var(--txl-accent);
    color: var(--txl-accent-contrast) !important;
    padding: 12px 16px;
    border-radius: var(--txl-radius-pill);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    min-height: 48px;
    box-shadow: var(--txl-shadow-button);
    transition: background-color 160ms ease;
  }

  .txl-dock-wa {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--txl-surface-1);
    color: var(--txl-whatsapp) !important;
    border: 1px solid var(--txl-whatsapp);
    text-decoration: none;
    box-shadow: var(--txl-shadow-sm);
    flex-shrink: 0;
  }

  .txl-floating-contact {
    display: none !important;
  }
}

/* =========================================================
   MIGAS DE PAN Y SPOKES COMERCIALES
   ========================================================= */
.txl-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--txl-text-muted);
  margin-bottom: 24px;
}

.txl-breadcrumb a {
  color: var(--txl-text-muted);
  transition: color 160ms ease;
}

.txl-breadcrumb a:hover {
  color: var(--txl-accent);
}

.txl-breadcrumb-sep {
  color: var(--txl-text-dim);
}

.txl-breadcrumb-current {
  color: var(--txl-text-primary);
  font-weight: 600;
}

/* Bloque Semántico AEO / GEO (Respuesta Directa de IA) */
.txl-answer-block {
  background-color: var(--txl-surface-1);
  color: var(--txl-text-body);
  border: 1px solid var(--txl-border-card);
  border-radius: var(--txl-radius-md);
  padding: 20px 24px;
  margin: 32px 0;
}

.txl-answer-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--txl-accent);
  margin-bottom: 8px;
}

.txl-answer-text {
  font-size: 14px;
  line-height: 1.65;
  color: var(--txl-text-body);
}

/* =========================================================
   COMPONENTES AUXILIARES PARA SPOKES COMERCIALES
   ========================================================= */
.txl-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}

.txl-trust span {
  font-size: 12px;
  color: var(--txl-text-muted);
  padding: 8px 12px;
  background-color: var(--txl-surface-1);
  border: 1px solid var(--txl-border-subtle);
  border-radius: var(--txl-radius-pill);
}

.txl-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.txl-feature-card {
  background-color: var(--txl-surface-1);
  color: var(--txl-text-body);
  border: 1px solid var(--txl-border-card);
  border-radius: var(--txl-radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.txl-feature-card:hover {
  transform: translateY(-2px);
  border-color: var(--txl-border-accent-subtle);
}

.txl-feature-card-no {
  font-family: var(--txl-font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--txl-accent);
}

.txl-feature-card h3 {
  font-size: 18px;
  color: var(--txl-text-primary);
}

.txl-feature-card p {
  font-size: 14px;
  color: var(--txl-text-muted);
  line-height: 1.6;
}

.txl-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.txl-steps article {
  background-color: var(--txl-surface-1);
  color: var(--txl-text-body);
  border: 1px solid var(--txl-border-card);
  border-radius: var(--txl-radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.txl-steps article > span {
  font-family: var(--txl-font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--txl-accent);
}

.txl-callout {
  background-color: var(--txl-surface-1);
  border: 1px solid var(--txl-border-accent-subtle);
  border-radius: var(--txl-radius-lg);
  padding: 24px 28px;
  margin: 32px 0;
}

.txl-callout h3 {
  font-size: 18px;
  color: var(--txl-text-primary);
  margin-bottom: 12px;
}

.txl-internal-links {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.txl-internal-link-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--txl-accent);
  font-size: 14px;
  font-weight: 600;
  transition: transform 160ms ease, color 160ms ease;
}

.txl-internal-link-item:hover {
  color: var(--txl-accent-hover);
  transform: translateX(4px);
}

.txl-bottom {
  padding: clamp(64px, 8vw, 100px) 0;
  background: radial-gradient(ellipse at 50% 0%, var(--txl-surface-2) 0%, var(--txl-canvas) 70%);
  text-align: center;
}

.txl-bottom h2 {
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 16px;
  color: var(--txl-text-primary);
}

.txl-bottom h2 em {
  font-style: normal;
  display: block;
}

.txl-bottom p {
  font-size: 16px;
  color: var(--txl-text-body);
  max-width: 600px;
  margin: 0 auto 28px;
}

/* Acciones y cabecera de Spokes */
.txl-hero-copy {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.txl-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

@media (max-width: 640px) {
  .txl-actions {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
  }
  .txl-actions .txl-button,
  .txl-actions .txl-button-secondary {
    width: 100%;
  }
}

/* Tarjetas y sub-tarjetas para comparativas y funciones en Spokes */
.txl-subcard {
  background-color: var(--txl-surface-input);
  color: var(--txl-text-body);
  border: 1px solid var(--txl-border-subtle);
  border-radius: var(--txl-radius-md);
  padding: 16px;
}

.txl-subcard strong {
  color: var(--txl-text-primary);
  font-size: 15px;
  display: block;
  margin-bottom: 8px;
}

.txl-subcard span {
  color: var(--txl-text-muted);
  font-size: 13px;
  line-height: 1.6;
}

.txl-compare-bad {
  background-color: var(--txl-surface-input);
  border: 1px solid var(--txl-border-subtle);
  border-radius: var(--txl-radius-md);
  padding: 16px;
}

.txl-compare-bad strong {
  color: var(--txl-error);
  font-size: 14px;
  display: block;
  margin-bottom: 4px;
}

.txl-compare-bad span {
  color: var(--txl-text-muted);
  font-size: 13px;
  line-height: 1.6;
}

.txl-compare-good {
  background-color: var(--txl-surface-2);
  border: 1px solid var(--txl-border-accent-subtle);
  border-radius: var(--txl-radius-md);
  padding: 16px;
}

.txl-compare-good strong {
  color: var(--txl-accent);
  font-size: 14px;
  display: block;
  margin-bottom: 4px;
}

.txl-compare-good span {
  color: var(--txl-text-body);
  font-size: 13px;
  line-height: 1.6;
}

/* =========================================================
   REDUCCIÓN DE MOVIMIENTO (HALLMARK FLOOR 7)
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
