/* ═══════════════════════════════════════════════════════════
   TEXEIRA MARKETING DIGITAL — landing.css
   CSS organizado y documentado
   Prefijo tx- para evitar conflictos con WordPress / tema / plugins
═══════════════════════════════════════════════════════════ */


/* =========================================================
   1. RESET BÁSICO
   - Normaliza box model
   - Evita márgenes/paddings raros del navegador
========================================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

img, video {
  max-width: 100%;
}

button, input, textarea, select {
  font-family: inherit;
}


/* =========================================================
   2. VARIABLES GLOBALES
   - Colores
   - Radios
   - Espaciados
   - Tipografías
========================================================= */
:root {
  --c1: #00d4ff;
  --c2: #0050ff;
  --c3: #7c3aed;

  --c-dark:  #03060f;
  --c-dark2: #070d1e;
  --c-dark3: #0b1428;

  --c-card:   rgba(10, 16, 35, 0.85);
  --c-text:   #e8f0fe;
  --c-soft:   #8da4c4;
  --c-muted:  #4e6580;

  --c-border:  rgba(0, 212, 255, 0.12);
  --c-border2: rgba(0, 212, 255, 0.28);
  --c-glow:    rgba(0, 212, 255, 0.18);

  --r: 14px;
  --gap: 24px;

  --tr: all 0.3s cubic-bezier(.4,0,.2,1);

  --font-display: 'Syne', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}


/* =========================================================
   3. BASE GLOBAL DEL SITIO
   - Fondo general
   - Tipografía base
   - Comportamiento de scroll
========================================================= */
html {
  scroll-behavior: smooth;
}

html, body,
#page, .site, .site-content,
.ast-container, .ast-separate-container, .ast-plain-container,
#primary, #tx-main, main.tx-page {
  background: var(--c-dark) !important;
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}

/* Fondo decorativo general */
body {
  background:
    radial-gradient(ellipse at 10% 0%, rgba(0,212,255,.07) 0%, transparent 40%),
    radial-gradient(ellipse at 90% 10%, rgba(124,58,237,.08) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 60%, rgba(0,80,255,.05) 0%, transparent 40%),
    var(--c-dark) !important;
}

/* Grilla sutil fija de fondo */
#tx-main::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(0,212,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,58,237,.02) 1px, transparent 1px);
  background-size: 72px 72px;
}

#tx-main > * {
  position: relative;
  z-index: 1;
}


/* =========================================================
   4. TIPOGRAFÍA GLOBAL
   - Títulos
   - Párrafos
========================================================= */
#tx-main h1,
#tx-main h2,
#tx-main h3,
#tx-main h4 {
  font-family: var(--font-display);
  color: var(--c-text) !important;
  line-height: 1.15;
}

#tx-main p,
#tx-main li,
#tx-main span,
#tx-main label {
  color: var(--c-soft);
}


/* =========================================================
   5. CONTENEDOR GENERAL
   - Define ancho máximo del contenido
========================================================= */
.tx-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}


/* =========================================================
   6. UTILIDADES REUTILIZABLES
   - Eyebrow
   - H2
   - descripción de secciones
   - highlight
   - links tipo flecha
========================================================= */
.tx-eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--c1) !important;
  margin-bottom: 12px;
}

.tx-h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--c-text) !important;
  margin-bottom: 16px;
}

.tx-section-desc {
  color: var(--c-soft) !important;
  font-size: 1.05rem;
  max-width: 660px;
  margin: 0 auto;
  line-height: 1.75;
}

.tx-section-head {
  text-align: center;
  margin-bottom: 52px;
}

.tx-highlight {
  background: linear-gradient(90deg, var(--c1) 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tx-link-arrow {
  font-size: .9rem;
  font-weight: 600;
  color: var(--c1) !important;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  padding-top: 16px;
  transition: gap .2s;
}

.tx-link-arrow:hover {
  gap: 8px;
}


/* =========================================================
   7. ANIMACIONES
   - Orbes
   - carrusel horizontal
   - fade-up
   - glow botones
   - scroll indicador
========================================================= */
@keyframes tx-orb-float {
  0%,100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.04); }
}

@keyframes tx-scroll-loop {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes tx-fade-up {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes tx-glow-pulse {
  0%,100% { box-shadow: 0 0 22px rgba(0,212,255,.22); }
  50% { box-shadow: 0 0 36px rgba(124,58,237,.28), 0 0 60px rgba(0,212,255,.12); }
}

@keyframes tx-scroll-dot {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}

/* Reveal tipo AOS */
[data-aos] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .55s ease calc(var(--delay, 0s)), transform .55s ease calc(var(--delay, 0s));
}

[data-aos].tx-visible {
  opacity: 1;
  transform: translateY(0);
}


/* =========================================================
   8. BOTONES GLOBALES
   - primario
   - ghost
   - outline
========================================================= */
.tx-btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  background: linear-gradient(135deg, var(--c1) 0%, var(--c2) 100%);
  color: #fff !important;
  border: none;
  cursor: pointer;
  transition: var(--tr);
  animation: tx-glow-pulse 2.5s infinite;
  white-space: nowrap;
}

.tx-btn-hero:hover {
  transform: translateY(-3px);
  filter: brightness(1.1);
}

.tx-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  background: transparent;
  color: var(--c-text) !important;
  border: 1px solid var(--c-border2);
  cursor: pointer;
  transition: var(--tr);
  white-space: nowrap;
}

.tx-btn-ghost:hover {
  background: rgba(0,212,255,.08);
  border-color: var(--c1);
  color: var(--c1) !important;
}

.tx-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  border: 1px solid var(--c-border2);
  color: var(--c1) !important;
  background: rgba(0,212,255,.06);
  transition: var(--tr);
  margin-top: 20px;
}

.tx-btn-outline:hover {
  background: rgba(0,212,255,.14);
  border-color: var(--c1);
}


/* =========================================================
   9. HEADER
   - Logo
   - Menú desktop
   - Menú mobile
========================================================= */
.tx-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(3,6,15,.82) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--c-border);
  box-shadow: 0 4px 24px rgba(0,0,0,.3);
}

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

.tx-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}

.tx-logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--c2) 0%, var(--c1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 0 16px rgba(0,212,255,.25);
}

.tx-logo-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  color: var(--c-text) !important;
  display: block;
}

.tx-logo-tagline {
  font-size: 10.5px;
  color: var(--c-soft) !important;
  display: block;
  letter-spacing: .3px;
  line-height: 1.35;
}

.tx-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.tx-nav a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--c-soft) !important;
  text-decoration: none;
  transition: color .2s;
  position: relative;
}

.tx-nav a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--c1);
  transition: width .25s ease;
  border-radius: 2px;
}

.tx-nav a:hover {
  color: var(--c-text) !important;
}

.tx-nav a:hover::after {
  width: 100%;
}

.tx-cta-header {
  padding: 9px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: .88rem;
  background: linear-gradient(135deg, var(--c1) 0%, var(--c2) 100%);
  color: #fff !important;
  border: none;
  cursor: pointer;
  transition: var(--tr);
  white-space: nowrap;
}

.tx-cta-header:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 18px rgba(0,212,255,.3);
}

.tx-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.tx-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c-text);
  border-radius: 2px;
  transition: var(--tr);
}

.tx-mobile-nav {
  display: none;
  flex-direction: column;
  background: rgba(3,6,15,.96);
  padding: 16px 24px 24px;
  border-bottom: 1px solid var(--c-border);
  gap: 4px;
}

.tx-mobile-nav.open {
  display: flex;
}

.tx-mobile-nav a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--c-soft) !important;
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
}

.tx-mobile-nav a:hover {
  color: var(--c1) !important;
}

.tx-mobile-nav .tx-cta-header {
  margin-top: 12px;
  text-align: center;
}

@media (max-width: 980px) {
  .tx-logo-tagline { display: none; }
}

@media (max-width: 860px) {
  .tx-nav,
  .tx-header-inner > .tx-cta-header {
    display: none;
  }

  .tx-hamburger {
    display: flex;
  }
}


/* =========================================================
   10. HERO
========================================================= */
.tx-hero {
  position: relative;
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
}

.tx-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.tx-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}

.tx-orb-1 {
  width: 600px;
  height: 600px;
  top: -20%;
  right: -10%;
  background: radial-gradient(circle, rgba(0,212,255,.14) 0%, transparent 70%);
  animation: tx-orb-float 8s ease-in-out infinite;
}

.tx-orb-2 {
  width: 500px;
  height: 500px;
  bottom: -15%;
  left: -8%;
  background: radial-gradient(circle, rgba(124,58,237,.12) 0%, transparent 70%);
  animation: tx-orb-float 10s ease-in-out infinite reverse;
}

.tx-orb-3 {
  width: 300px;
  height: 300px;
  top: 30%;
  left: 40%;
  background: radial-gradient(circle, rgba(0,80,255,.08) 0%, transparent 70%);
  animation: tx-orb-float 6s ease-in-out infinite 2s;
}

.tx-orb-4 {
  width: 500px;
  height: 500px;
  top: -30%;
  left: 0;
  background: radial-gradient(circle, rgba(0,212,255,.12) 0%, transparent 70%);
  animation: tx-orb-float 9s ease-in-out infinite;
}

.tx-orb-5 {
  width: 400px;
  height: 400px;
  bottom: -20%;
  right: 10%;
  background: radial-gradient(circle, rgba(124,58,237,.10) 0%, transparent 70%);
  animation: tx-orb-float 7s ease-in-out infinite reverse;
}

.tx-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}

.tx-hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.tx-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,212,255,.10);
  border: 1px solid rgba(0,212,255,.22);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--c1) !important;
  margin-bottom: 24px;
  animation: tx-fade-up .6s ease both;
}

.tx-hero-h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--c-text) !important;
  margin-bottom: 24px;
  animation: tx-fade-up .7s ease .1s both;
}

.tx-hero-desc {
  font-size: 1.1rem;
  color: var(--c-soft) !important;
  line-height: 1.75;
  max-width: 580px;
  margin-bottom: 36px;
  animation: tx-fade-up .7s ease .2s both;
}

.tx-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 52px;
  animation: tx-fade-up .7s ease .3s both;
}

.tx-hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  animation: tx-fade-up .7s ease .45s both;
}

.tx-stat {
  display: flex;
  flex-direction: column;
}

.tx-stat-n {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--c-text) !important;
  line-height: 1;
}

.tx-stat-l {
  font-size: .78rem;
  color: var(--c-soft) !important;
  margin-top: 2px;
}

.tx-stat-div {
  width: 1px;
  height: 36px;
  background: var(--c-border);
}

.tx-hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  width: 28px;
  height: 44px;
  border: 2px solid rgba(255,255,255,.2);
  border-radius: 14px;
}

.tx-scroll-dot {
  width: 5px;
  height: 5px;
  background: var(--c1);
  border-radius: 50%;
  margin-top: 7px;
  animation: tx-scroll-dot 1.5s infinite;
}

@media (max-width: 768px) {
  .tx-hero {
    min-height: auto;
    padding: 100px 0 60px;
  }

  .tx-hero-h1 { font-size: 2.4rem; }
  .tx-hero-stats { gap: 14px; }
}


/* =========================================================
   11. BARRA DE TECNOLOGÍAS
========================================================= */
.tx-tech-bar {
  padding: 20px 0;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  background: rgba(255,255,255,.015) !important;
  overflow: hidden;
}

.tx-tech-label {
  text-align: center;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--c-muted) !important;
  margin-bottom: 14px;
}

.tx-tech-overflow {
  overflow: hidden;
}

.tx-tech-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: tx-scroll-loop 120s linear infinite;
}

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

.tx-tech-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--c-border);
  background: rgba(0,212,255,.04);
  font-size: .82rem;
  font-weight: 600;
  color: var(--c-soft) !important;
  white-space: nowrap;
  transition: border-color .2s, background .2s;
}

.tx-tech-chip:hover {
  border-color: var(--c-border2);
  background: rgba(0,212,255,.09);
  color: var(--c-text) !important;
}

.tx-tech-chip span {
  font-size: 1.1rem;
}


/* =========================================================
   12. SECCIONES BASE
========================================================= */
.tx-section {
  padding: 96px 0;
}

.tx-section-dark {
  background: rgba(5,8,20,.6) !important;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}

.tx-section-agenda {
  background: rgba(0,212,255,.025) !important;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}


/* =========================================================
   13. AUDIENCIAS
========================================================= */
.tx-audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}

.tx-aud-card {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  transition: var(--tr);
  backdrop-filter: blur(8px);
}

.tx-aud-card:hover {
  transform: translateY(-6px);
  border-color: var(--c-border2);
  box-shadow: 0 16px 40px rgba(0,0,0,.35), 0 0 20px var(--c-glow);
}

.tx-aud-icon {
  font-size: 2.6rem;
  margin-bottom: 16px;
}

.tx-aud-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-text) !important;
  margin-bottom: 10px;
}

.tx-aud-card p {
  font-size: .9rem;
  color: var(--c-soft) !important;
  line-height: 1.65;
}

@media (max-width: 900px) {
  .tx-audience-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 500px) {
  .tx-audience-grid { grid-template-columns: 1fr; }
}


/* =========================================================
   14. SERVICIOS
========================================================= */
.tx-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.tx-svc-card {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r);
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: var(--tr);
  position: relative;
  overflow: hidden;
  min-height: 100%;
}

.tx-svc-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--c1), var(--c3));
  opacity: 0;
  transition: opacity .3s;
}

.tx-svc-card:hover {
  transform: translateY(-6px);
  border-color: var(--c-border2);
}

.tx-svc-card:hover::before {
  opacity: 1;
}

.tx-svc-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(0,212,255,.1);
  border: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c1);
  margin-bottom: 20px;
  transition: background .2s;
}

.tx-svc-card:hover .tx-svc-icon {
  background: rgba(0,212,255,.18);
}

.tx-svc-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-text) !important;
  margin-bottom: 10px;
}

.tx-svc-card > p {
  font-size: .9rem;
  color: var(--c-soft) !important;
  line-height: 1.65;
  margin-bottom: 16px;
}

.tx-svc-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 20px;
  flex: 1;
}

.tx-svc-list li {
  font-size: .85rem;
  color: var(--c-soft) !important;
  padding: 5px 0 5px 18px;
  position: relative;
}

.tx-svc-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--c1) !important;
  font-weight: 700;
}

.tx-svc-price {
  font-size: .82rem;
  color: var(--c-muted) !important;
  border-top: 1px solid var(--c-border);
  padding-top: 14px;
  margin-top: auto;
}

.tx-svc-price strong {
  color: var(--c1) !important;
  font-size: .95rem;
}

.tx-svc-cta-card {
  background: linear-gradient(135deg, rgba(0,80,255,.12) 0%, rgba(124,58,237,.10) 100%) !important;
  border-color: rgba(124,58,237,.28) !important;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.tx-svc-cta-card .tx-svc-icon {
  margin: 0 auto 20px;
  background: rgba(124,58,237,.15);
  border-color: rgba(124,58,237,.3);
  color: #a78bfa;
}

@media (max-width: 900px) {
  .tx-services-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 560px) {
  .tx-services-grid { grid-template-columns: 1fr; }
}


/* =========================================================
   15. CTA INTERMEDIO
========================================================= */
.tx-cta-mid {
  background: linear-gradient(135deg, rgba(0,80,255,.18) 0%, rgba(0,212,255,.10) 50%, rgba(124,58,237,.12) 100%) !important;
  border-top: 1px solid rgba(0,212,255,.18);
  border-bottom: 1px solid rgba(0,212,255,.18);
  padding: 64px 0;
}

.tx-cta-mid-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.tx-cta-mid-text h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--c-text) !important;
  margin-bottom: 10px;
}

.tx-cta-mid-text p {
  color: var(--c-soft) !important;
  max-width: 480px;
}

.tx-cta-mid-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

@media (max-width: 720px) {
  .tx-cta-mid-inner {
    flex-direction: column;
    text-align: center;
  }

  .tx-cta-mid-text p { max-width: 100%; }
  .tx-cta-mid-actions { justify-content: center; }
}


/* =========================================================
   16. PLANES / TABS
========================================================= */
.tx-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--c-border);
}

.tx-tab {
  padding: 11px 20px;
  border-radius: 8px 8px 0 0;
  border: 1px solid transparent;
  border-bottom: none;
  background: transparent;
  color: var(--c-soft) !important;
  font-weight: 600;
  font-size: .88rem;
  cursor: pointer;
  transition: var(--tr);
  position: relative;
  bottom: -1px;
}

.tx-tab:hover {
  color: var(--c-text) !important;
  background: rgba(0,212,255,.06);
}

.tx-tab.active {
  background: var(--c-dark3) !important;
  border-color: var(--c-border);
  color: var(--c1) !important;
  border-bottom-color: var(--c-dark3) !important;
}

.tx-tab-panel {
  display: none;
}

.tx-tab-panel.active {
  display: block;
  animation: tx-fade-up .35s ease both;
}

.tx-plans-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: var(--gap);
}

.tx-plan-card {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r);
  padding: 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--tr);
}

.tx-plan-card:hover {
  transform: translateY(-5px);
  border-color: var(--c-border2);
  box-shadow: 0 16px 40px rgba(0,0,0,.3), 0 0 18px var(--c-glow);
}

.tx-plan-featured {
  border-color: rgba(0,212,255,.38) !important;
  background: linear-gradient(180deg, rgba(16,27,60,.96) 0%, rgba(10,19,46,.98) 100%) !important;
  box-shadow: 0 0 0 1px rgba(0,212,255,.08), 0 0 30px rgba(0,212,255,.12);
}

.tx-plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--c1), var(--c2));
  color: #fff !important;
  font-size: .72rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.tx-plan-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-text) !important;
  margin-bottom: 12px;
}

.tx-plan-price-box {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--c-border);
}

.tx-pusd {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--c1) !important;
  display: block;
}

.tx-puyu {
  font-size: .8rem;
  color: var(--c-muted) !important;
  margin-top: 3px;
  display: block;
}

.tx-plan-card > p {
  font-size: .88rem;
  color: var(--c-soft) !important;
  line-height: 1.6;
  margin-bottom: 14px;
}

.tx-plan-list {
  list-style: none;
  padding: 0;
  margin-bottom: 24px;
  flex: 1;
}

.tx-plan-list li {
  font-size: .85rem;
  color: var(--c-soft) !important;
  padding: 5px 0 5px 18px;
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,.04);
}

.tx-plan-list li::before {
  content:"✓";
  position:absolute;
  left:0;
  color: var(--c1) !important;
  font-weight:700;
}

.tx-btn-plan {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--c1) 0%, var(--c2) 100%);
  color: #fff !important;
  font-weight: 700;
  font-size: .9rem;
  border: none;
  cursor: pointer;
  transition: var(--tr);
  margin-top: auto;
}

.tx-btn-plan:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.tx-pago-nota {
  text-align: center;
  font-size: .85rem;
  color: var(--c-muted) !important;
  margin-top: 40px;
  padding: 16px 24px;
  border: 1px solid var(--c-border);
  border-radius: 8px;
  background: rgba(0,212,255,.03);
}

@media (max-width: 800px) {
  .tx-plans-grid { grid-template-columns: 1fr; }
}


/* =========================================================
   17. NOSOTROS / PROPUESTA DE VALOR
========================================================= */
.tx-nosotros-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.tx-nos-text .tx-h2 {
  text-align: left;
  margin-bottom: 14px;
}

.tx-nos-text > p {
  color: var(--c-soft) !important;
  margin-bottom: 32px;
}

.tx-nos-pillars {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.tx-pillar {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.tx-pillar-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(0,212,255,.08);
  border: 1px solid var(--c-border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tx-pillar strong {
  display: block;
  color: var(--c-text) !important;
  font-size: .95rem;
  margin-bottom: 4px;
}

.tx-pillar p {
  font-size: .875rem;
  color: var(--c-soft) !important;
  margin: 0;
}

.tx-nos-visual {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tx-nos-orb {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,212,255,.12) 0%, rgba(124,58,237,.08) 50%, transparent 70%);
  animation: tx-orb-float 6s ease-in-out infinite;
}

.tx-nos-card-float {
  position: absolute;
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
}

.tx-nos-card-float span {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.tx-nos-card-float div {
  display: flex;
  flex-direction: column;
}

.tx-nos-card-float strong {
  font-size: .8rem;
  color: var(--c-text) !important;
}

.tx-nos-card-float span:last-child {
  font-size: .75rem;
  color: var(--c-soft) !important;
}

.tx-nos-card-1 { top: 8%; left: 5%; animation: tx-orb-float 5s ease-in-out infinite 1s; }
.tx-nos-card-2 { bottom: 20%; right: 2%; animation: tx-orb-float 7s ease-in-out infinite 2s; }
.tx-nos-card-3 { bottom: 5%; left: 15%; animation: tx-orb-float 6s ease-in-out infinite .5s; }

@media (max-width: 860px) {
  .tx-nosotros-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .tx-nos-visual {
    display: none;
  }
}


/* =========================================================
   18. AGENDA
========================================================= */
.tx-calendar-wrap {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r);
  padding: 24px;
  position: relative;
}

.tx-agenda-box {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 42px 28px;
  background: linear-gradient(180deg, rgba(12,18,40,.88) 0%, rgba(9,14,32,.96) 100%);
  box-shadow:
    0 20px 50px rgba(0,0,0,.35),
    0 0 0 1px rgba(255,255,255,.02) inset;
}

.tx-agenda-icon {
  font-size: 3rem;
  margin-bottom: 18px;
}

.tx-agenda-box h3 {
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  color: var(--c-text) !important;
  margin-bottom: 12px;
}

.tx-agenda-box p {
  max-width: 560px;
  margin: 0 auto 24px;
  color: var(--c-soft) !important;
  font-size: 1rem;
  line-height: 1.75;
}

.tx-agenda-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.tx-calendar-fallback {
  margin-top: 20px;
  text-align: center;
  padding: 20px;
  border-top: 1px solid var(--c-border);
}

.tx-calendar-fallback p {
  color: var(--c-soft) !important;
  margin-bottom: 16px;
  font-size: .9rem;
}


/* =========================================================
   19. FAQ
========================================================= */
.tx-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 32px;
}

.tx-faq-item {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color .25s;
}

.tx-faq-item:hover {
  border-color: var(--c-border2);
}

.tx-faq-item.open {
  border-color: rgba(0,212,255,.3);
}

.tx-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
}

.tx-faq-q > span:first-child {
  font-weight: 600;
  font-size: .95rem;
  color: var(--c-text) !important;
  line-height: 1.4;
}

.tx-faq-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0,212,255,.1);
  border: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform .3s ease, background .2s;
}

.tx-faq-chevron::before,
.tx-faq-chevron::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 1.5px;
  background: var(--c1);
  transition: transform .3s;
  border-radius: 2px;
}

.tx-faq-chevron::before { transform: rotate(-40deg) translateX(-2.5px); }
.tx-faq-chevron::after  { transform: rotate(40deg) translateX(2.5px); }

.tx-faq-item.open .tx-faq-chevron {
  transform: rotate(180deg);
  background: rgba(0,212,255,.2);
}

.tx-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .2s;
  padding: 0 22px;
}

.tx-faq-item.open .tx-faq-a {
  max-height: 400px;
  padding: 0 22px 20px;
}

.tx-faq-a p {
  font-size: .88rem;
  color: var(--c-soft) !important;
  line-height: 1.7;
}

@media (max-width: 700px) {
  .tx-faq-grid { grid-template-columns: 1fr; }
}


/* =========================================================
   20. CTA FINAL
========================================================= */
.tx-cta-final {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  background: linear-gradient(135deg, rgba(0,20,60,.95) 0%, rgba(5,10,30,.98) 100%) !important;
  border-top: 1px solid var(--c-border);
}

.tx-cta-final-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.tx-cta-final-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.tx-cta-final-h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--c-text) !important;
  margin-bottom: 16px;
}

.tx-cta-final-inner p {
  color: var(--c-soft) !important;
  max-width: 560px;
  margin: 0 auto 36px;
}

.tx-cta-final-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}


/* =========================================================
   21. FOOTER
========================================================= */
.tx-footer {
  background: rgba(2,4,12,1) !important;
  border-top: 1px solid var(--c-border);
  padding: 64px 0 28px;
}

.tx-footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 40px;
  margin-bottom: 48px;
}

.tx-footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.tx-footer-logo span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  color: var(--c-text) !important;
}

.tx-footer-brand p {
  font-size: .85rem;
  color: var(--c-muted) !important;
  line-height: 1.65;
}

.tx-footer-italic {
  font-style: italic;
  margin-top: 6px;
}

.tx-footer-nav h3,
.tx-footer-contact h3 {
  font-family: var(--font-display);
  font-size: .85rem;
  font-weight: 700;
  color: var(--c-text) !important;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tx-footer-nav ul,
.tx-footer-contact ul {
  list-style: none;
  padding: 0;
}

.tx-footer-nav li,
.tx-footer-contact li {
  margin-bottom: 8px;
}

.tx-footer-nav a,
.tx-footer-contact a {
  font-size: .85rem;
  color: var(--c-muted) !important;
  text-decoration: none;
  transition: color .2s;
}

.tx-footer-nav a:hover,
.tx-footer-contact a:hover {
  color: var(--c1) !important;
}

.tx-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.05);
  padding-top: 20px;
  text-align: center;
}

.tx-footer-bottom p {
  font-size: .8rem;
  color: var(--c-muted) !important;
}

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

@media (max-width: 500px) {
  .tx-footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}


/* =========================================================
   22. BOTÓN FLOTANTE DE CONTACTO (FAB)
   - Desktop: centro derecha
   - Mobile: abajo derecha
   - Desktop: abanico lateral
   - Mobile: columna vertical hacia arriba
========================================================= */
.tx-fab-wrap {
  position: fixed !important;
  top: 50% !important;
  right: 24px !important;
  left: auto !important;
  bottom: auto !important;
  transform: translateY(-50%) !important;
  z-index: 99999 !important;
  width: 64px !important;
  height: 64px !important;
  display: block !important;
  overflow: visible !important;
}

.tx-fab-main {
  position: absolute !important;
  top: 3px !important;
  right: 3px !important;
  left: auto !important;
  bottom: auto !important;
  width: 58px !important;
  height: 58px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, var(--c1) 0%, var(--c2) 100%);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,.35), 0 0 22px rgba(0,212,255,.25);
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s;
  z-index: 2;
}

.tx-fab-main:hover {
  transform: scale(1.08);
}

.tx-fab-icon {
  position: absolute;
  transition: opacity .2s, transform .2s;
}

.tx-fab-open {
  opacity: 1;
  transform: scale(1);
}

.tx-fab-close {
  opacity: 0;
  transform: scale(.5);
  font-size: 16px;
}

.tx-fab-wrap.open .tx-fab-open {
  opacity: 0;
  transform: scale(.5);
}

.tx-fab-wrap.open .tx-fab-close {
  opacity: 1;
  transform: scale(1);
}

.tx-fab-items {
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  overflow: visible !important;
}

.tx-fab-item {
  position: absolute !important;
  top: 8px !important;
  right: 8px !important;
  left: auto !important;
  bottom: auto !important;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,0,0,.35);
  transition:
    transform .28s cubic-bezier(.34,1.56,.64,1),
    opacity .2s ease,
    box-shadow .2s ease;
  opacity: 0 !important;
  transform: translate(0,0) scale(.55) !important;
  pointer-events: none !important;
}

.tx-fab-item::after {
  content: attr(data-label);
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  background: rgba(5,8,20,.92);
  border: 1px solid var(--c-border);
  color: var(--c-text) !important;
  font-size: .75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity .15s;
  pointer-events: none;
}

.tx-fab-item:hover::after {
  opacity: 1;
}

.tx-fab-item:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,.4);
}

.tx-fab-wrap.open .tx-fab-item {
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* Desktop: abanico lateral hacia la izquierda */
.tx-fab-wrap.open .tx-fab-item:nth-child(1) {
  transform: translate(-78px, -88px) scale(1) !important;
}

.tx-fab-wrap.open .tx-fab-item:nth-child(2) {
  transform: translate(-104px, -28px) scale(1) !important;
}

.tx-fab-wrap.open .tx-fab-item:nth-child(3) {
  transform: translate(-104px, 28px) scale(1) !important;
}

.tx-fab-wrap.open .tx-fab-item:nth-child(4) {
  transform: translate(-78px, 88px) scale(1) !important;
}

.tx-fab-wa { background: #25d366; }
.tx-fab-ig { background: linear-gradient(135deg,#405de6,#5851db,#833ab4,#c13584,#e1306c,#fd1d1d); }
.tx-fab-fb { background: #1877f2; }
.tx-fab-em { background: #ea4335; }

@media (max-width: 640px) {
  .tx-fab-wrap {
    top: auto !important;
    right: 16px !important;
    left: auto !important;
    bottom: calc(20px + env(safe-area-inset-bottom, 0px)) !important;
    transform: none !important;
    width: 56px !important;
    height: 56px !important;
    overflow: visible !important;
  }

  .tx-fab-main {
    width: 50px !important;
    height: 50px !important;
    top: 3px !important;
    right: 3px !important;
  }

  .tx-fab-item {
    width: 44px !important;
    height: 44px !important;
    top: 3px !important;
    right: 3px !important;
  }

  /* Mobile: columna vertical hacia arriba */
  .tx-fab-wrap.open .tx-fab-item:nth-child(1) {
    transform: translate(0, -56px) scale(1) !important;
  }

  .tx-fab-wrap.open .tx-fab-item:nth-child(2) {
    transform: translate(0, -106px) scale(1) !important;
  }

  .tx-fab-wrap.open .tx-fab-item:nth-child(3) {
    transform: translate(0, -156px) scale(1) !important;
  }

  .tx-fab-wrap.open .tx-fab-item:nth-child(4) {
    transform: translate(0, -206px) scale(1) !important;
  }

  .tx-fab-item::after {
    display: none !important;
  }
}


/* =========================================================
   23. MODALES
   - Overlay
   - Caja
   - Formulario
========================================================= */
.tx-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.tx-modal.open {
  display: flex;
}

.tx-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.75);
  backdrop-filter: blur(4px);
  cursor: pointer;
}

.tx-modal-box {
  position: relative;
  z-index: 1;
  background: var(--c-dark3);
  border: 1px solid var(--c-border2);
  border-radius: 20px;
  padding: 36px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  animation: tx-fade-up .3s ease both;
  box-shadow: 0 24px 60px rgba(0,0,0,.5), 0 0 40px var(--c-glow);
}

.tx-modal-agenda {
  max-width: 700px;
}

.tx-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255,255,255,.08);
  border: 1px solid var(--c-border);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-soft) !important;
  cursor: pointer;
  font-size: 14px;
  transition: var(--tr);
}

.tx-modal-close:hover {
  background: rgba(255,255,255,.14);
  color: var(--c-text) !important;
}

.tx-modal-header {
  text-align: center;
  margin-bottom: 28px;
}

.tx-modal-icon {
  font-size: 2.4rem;
  margin-bottom: 10px;
}

.tx-modal-header h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--c-text) !important;
  margin-bottom: 6px;
}

.tx-modal-header p {
  font-size: .9rem;
  color: var(--c-soft) !important;
}

.tx-contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tx-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.tx-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tx-form-group label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--c-soft) !important;
}

.tx-form-group input,
.tx-form-group select,
.tx-form-group textarea {
  background: rgba(255,255,255,.05);
  border: 1px solid var(--c-border);
  border-radius: 8px;
  padding: 11px 14px;
  font-size: .9rem;
  color: var(--c-text) !important;
  font-family: var(--font-body);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}

.tx-form-group input:focus,
.tx-form-group select:focus,
.tx-form-group textarea:focus {
  border-color: var(--c1);
  box-shadow: 0 0 0 3px rgba(0,212,255,.12);
}

.tx-form-group input::placeholder,
.tx-form-group textarea::placeholder {
  color: var(--c-muted) !important;
}

.tx-form-group select {
  cursor: pointer;
}

.tx-form-group select option {
  background: var(--c-dark2);
}

.tx-form-group textarea {
  resize: vertical;
  min-height: 90px;
}

.tx-btn-submit {
  padding: 14px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--c1) 0%, var(--c2) 100%);
  color: #fff !important;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: var(--tr);
  position: relative;
}

.tx-btn-submit:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.tx-btn-submit.loading .tx-btn-submit-text {
  display: none;
}

.tx-btn-submit-loading {
  display: none;
}

.tx-btn-submit.loading .tx-btn-submit-loading {
  display: block;
}

.tx-form-success,
.tx-form-error {
  display: none;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: .88rem;
  text-align: center;
}

.tx-form-success {
  background: rgba(34,197,94,.12);
  border: 1px solid rgba(34,197,94,.3);
  color: #86efac !important;
}

.tx-form-error {
  background: rgba(239,68,68,.12);
  border: 1px solid rgba(239,68,68,.3);
  color: #fca5a5 !important;
}

.tx-form-success.show,
.tx-form-error.show {
  display: block;
}

@media (max-width: 520px) {
  .tx-form-row {
    grid-template-columns: 1fr;
  }

  .tx-modal-box {
    padding: 24px;
  }
}


/* =========================================================
   24. RESPONSIVE GLOBAL
========================================================= */
@media (max-width: 768px) {
  .tx-section { padding: 64px 0; }
  .tx-h2 { font-size: 1.7rem; }
  .tx-tabs { gap: 4px; }
  .tx-tab { font-size: .78rem; padding: 9px 12px; }

  .tx-agenda-actions {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .tx-wrap { padding: 0 16px; }
  .tx-hero-stats { flex-wrap: wrap; gap: 10px; }
  .tx-stat-div { display: none; }
}