/* ── VARIABLES ─────────────────────────────────────────────────────────────── */
:root {
  --bg: #060608;
  --surface: rgba(255,255,255,0.03);
  --surface-2: rgba(255,255,255,0.06);
  --border: rgba(255,255,255,0.08);
  --border-bright: rgba(255,119,51,0.4);
  --text: #f0ece8;
  --text-muted: rgba(240,236,232,0.45);
  --accent: #ff7733;
  --accent-2: #00e5ff;
  --accent-glow: rgba(255,119,51,0.25);
  --font-display: 'Syne', sans-serif;
  --font-mono: 'Space Mono', monospace;
  --radius: 12px;
}

/* ── RESET ──────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-display);
  overflow-x: hidden;
  cursor: none;
}
a { color: inherit; text-decoration: none; }
button { cursor: none; }
img, video { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── CURSOR — canvas trail inyectado por main.js ────────────────────────────── */
#trailCanvas { position: fixed; inset: 0; pointer-events: none; z-index: 9999; }

/* ── VIDEO BG ───────────────────────────────────────────────────────────────── */
.video-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.video-bg video {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(6,6,8,0.6) 0%,
    rgba(6,6,8,0.3) 40%,
    rgba(6,6,8,0.7) 80%,
    rgba(6,6,8,0.95) 100%
  );
}
.scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 2px,
    rgba(0,0,0,0.08) 2px,
    rgba(0,0,0,0.08) 4px
  );
  pointer-events: none;
}

/* ── NAV ────────────────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 3rem;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  background: rgba(6,6,8,0.6);
}
.nav-logo {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
}
.logo-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; box-shadow: 0 0 0 0 var(--accent-glow); }
  50% { opacity: 0.8; box-shadow: 0 0 0 6px transparent; }
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }
.nav-cart {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-cart svg { width: 20px; height: 20px; }
.cart-badge {
  position: absolute;
  top: -8px; right: -10px;
  background: var(--accent);
  color: var(--bg);
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
}

/* ── HERO ───────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 3rem 80px;
  overflow: hidden;
}
#heroCanvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
}
.hero-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fade-up 0.8s ease 0.2s forwards;
}
.hero-title {
  display: flex;
  flex-direction: column;
  gap: 0;
  font-size: clamp(3.5rem, 10vw, 9rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
}
.hero-title .line {
  opacity: 0;
  display: block;
  transform: translateY(40px);
  animation: slide-up 0.7s cubic-bezier(0.16,1,0.3,1) forwards;
}
.hero-title .line:nth-child(1) { animation-delay: 0.3s; }
.hero-title .line:nth-child(2) { animation-delay: 0.45s; }
.hero-title .line:nth-child(3) { animation-delay: 0.6s; }
.hero-title .accent {
  color: var(--accent);
  -webkit-text-stroke: 0px;
  text-shadow: 0 0 80px var(--accent-glow);
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  opacity: 0;
  animation: fade-up 0.8s ease 0.8s forwards;
}
.hero-sub strong { color: var(--accent-2); }
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fade-up 0.8s ease 1s forwards;
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
}
.stat-suffix { font-family: var(--font-mono); font-size: 1.8rem; font-weight: 700; }
.stat-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-top: 0.25rem;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  border-radius: 4px;
  opacity: 0;
  animation: fade-up 0.8s ease 1.2s forwards;
  transition: all 0.3s ease;
}
.cta-btn svg { width: 16px; transition: transform 0.3s; }
.cta-btn:hover { background: #ff9955; transform: translateY(-2px); box-shadow: 0 20px 60px var(--accent-glow); }
.cta-btn:hover svg { transform: translateY(4px); }
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fade-up 0.8s ease 1.5s forwards;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scroll-anim 2s ease infinite;
}
@keyframes scroll-anim {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
.scroll-indicator span {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── PLANES ─────────────────────────────────────────────────────────────────── */
.planes-section {
  position: relative;
  z-index: 1;
  padding: 8rem 3rem;
  background: linear-gradient(to bottom, transparent, rgba(6,6,8,0.98) 10%, rgba(6,6,8,0.98));
}
.section-header {
  text-align: center;
  margin-bottom: 5rem;
}
.section-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}
.section-sub {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 500px;
  margin: 0 auto;
}
.planes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}
.plan-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
  opacity: 0;
  transform: translateY(30px);
  animation: fade-up 0.6s ease var(--delay, 0s) forwards;
  overflow: hidden;
}
.plan-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.plan-card:hover {
  border-color: rgba(255,119,51,0.3);
  transform: translateY(-8px);
  box-shadow: 0 40px 80px rgba(0,0,0,0.4), 0 0 40px var(--accent-glow);
}
.plan-card:hover::before { opacity: 1; }
.plan-card.destacado {
  border-color: var(--border-bright);
  background: rgba(255,119,51,0.05);
  box-shadow: 0 0 60px rgba(255,119,51,0.12);
}
.plan-badge {
  position: absolute;
  top: -1px; right: 20px;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.8rem;
  border-radius: 0 0 6px 6px;
}
.plan-header {}
.plan-num {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  letter-spacing: 0.2em;
}
.plan-nombre {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.plan-precio {
  margin-bottom: 0.25rem;
}
.precio-amount {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
}
.precio-setup-note {
  display: block;
  margin-top: 4px;
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.2px;
  font-style: italic;
}
.precio-custom {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent-2);
}
.plan-exec {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent-2);
  letter-spacing: 0.05em;
}
.plan-features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}
.plan-features li svg {
  width: 14px; height: 14px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}
.plan-footer {}

/* ── BUTTONS ────────────────────────────────────────────────────────────────── */
.btn-plan {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.9rem 1.2rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  overflow: hidden;
}
.btn-plan::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1);
  z-index: 0;
}
.btn-plan:hover::after { transform: translateX(0); }
.btn-plan:hover { border-color: var(--accent); color: var(--bg); }
.btn-plan .btn-text, .btn-plan .btn-icon { position: relative; z-index: 1; }
.btn-plan .btn-icon svg { width: 16px; transition: transform 0.3s; }
.btn-plan:hover .btn-icon svg { transform: translateX(4px); }
.btn-plan.added::after { transform: translateX(0); background: #12b981; }
.btn-plan.added { border-color: #12b981; color: var(--bg); }
.btn-enterprise::after { background: var(--accent-2); }
.btn-enterprise:hover { color: var(--bg); border-color: var(--accent-2); }
.btn-glitch {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(90deg, transparent 40%, rgba(255,119,51,0.15) 50%, transparent 60%);
  transition: opacity 0.2s;
}
.btn-plan:hover .btn-glitch { opacity: 1; }

/* ── CART MODAL ─────────────────────────────────────────────────────────────── */
.cart-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 2rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.cart-modal.open { pointer-events: all; opacity: 1; }
.cart-modal.open .cart-inner { transform: translateY(0); }
.cart-inner {
  background: rgba(12,12,14,0.95);
  backdrop-filter: blur(30px);
  border: 1px solid var(--border-bright);
  border-radius: 16px;
  width: 380px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1);
}
.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.cart-header h3 { font-size: 1rem; font-weight: 700; }
.cart-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1rem;
  transition: color 0.2s;
}
.cart-close:hover { color: var(--text); }
.cart-items { flex: 1; overflow-y: auto; padding: 1rem 1.5rem; }
.cart-empty { color: var(--text-muted); font-size: 0.85rem; text-align: center; padding: 2rem 0; }
.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}
.cart-item-name { font-weight: 600; }
.cart-item-qty { color: var(--text-muted); font-family: var(--font-mono); font-size: 0.75rem; }
.cart-item-price { color: var(--accent); font-family: var(--font-mono); font-weight: 700; }
.cart-footer { padding: 1.5rem; border-top: 1px solid var(--border); }
.cart-total {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--accent);
}
.btn-checkout {
  width: 100%;
  background: var(--accent);
  color: var(--bg);
  border: none;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 1rem;
  border-radius: 8px;
  transition: all 0.3s;
}
.btn-checkout:hover { background: #ff9955; transform: translateY(-1px); }

/* ── CONTACTO ───────────────────────────────────────────────────────────────── */
.contacto-section {
  position: relative;
  z-index: 1;
  padding: 8rem 3rem;
}
.contacto-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
}
.contacto-info h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 1rem 0;
}
.contacto-info p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
  font-size: 1rem;
}
.contacto-features {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.contacto-features li {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}
.contacto-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.contacto-form input,
.contacto-form textarea {
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 0.9rem;
  padding: 0.8rem 1rem;
  transition: border-color 0.2s;
  resize: vertical;
}
.contacto-form input:focus,
.contacto-form textarea:focus {
  outline: none;
  border-color: var(--border-bright);
}
.contacto-form input::placeholder,
.contacto-form textarea::placeholder { color: var(--text-muted); }
.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: var(--accent);
  color: var(--bg);
  border: none;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  border-radius: 8px;
  transition: all 0.3s;
  margin-top: 0.5rem;
}
.btn-submit svg { width: 16px; }
.btn-submit:hover { background: #ff9955; transform: translateY(-2px); box-shadow: 0 20px 60px var(--accent-glow); }

/* ── FOOTER ─────────────────────────────────────────────────────────────────── */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 2rem 3rem;
}
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.footer-logo {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.15em;
}
.footer p { font-size: 0.8rem; color: var(--text-muted); }
.footer-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #12b981;
  letter-spacing: 0.1em;
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.footer-legal a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-legal a:hover { color: var(--accent); text-decoration: underline; }
.footer-legal span { opacity: 0.4; }

/* Checkbox de consentimiento RGPD en formularios */
.rgpd-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 14px 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.rgpd-consent input[type=checkbox] {
  /* Reset agresivo: la regla .contacto-form input le aplicaba padding/background/border que lo hinchaban */
  width: 18px !important;
  height: 18px !important;
  min-width: 18px;
  padding: 0 !important;
  margin: 3px 0 0 0 !important;
  background: transparent !important;
  border: 1px solid var(--border-bright) !important;
  border-radius: 3px !important;
  accent-color: var(--accent);
  flex-shrink: 0;
  appearance: auto;
  -webkit-appearance: checkbox;
}
.rgpd-consent label {
  flex: 1 1 auto;
  min-width: 0;
  word-wrap: break-word;
}
.rgpd-consent a { color: var(--accent); text-decoration: underline; }
.rgpd-consent label { cursor: pointer; }
.status-dot {
  width: 6px; height: 6px;
  background: #12b981;
  border-radius: 50%;
  animation: pulse-dot 2s ease infinite;
}

/* ── TOAST ──────────────────────────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 2rem; right: -400px;
  z-index: 999;
  background: rgba(12,12,14,0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(18,185,133,0.5);
  border-radius: 8px;
  padding: 1rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  transition: right 0.4s cubic-bezier(0.16,1,0.3,1);
  max-width: 320px;
}
.toast.show { right: 2rem; }
.toast.error { border-color: rgba(239,68,68,0.5); }

/* ── ANIMATIONS ─────────────────────────────────────────────────────────────── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slide-up {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ─────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .contacto-inner { grid-template-columns: 1fr; gap: 3rem; }
}
@media (max-width: 768px) {
  .nav { padding: 1rem 1.5rem; }
  .nav-links { gap: 1.5rem; }
  .hero { padding: 0 1.5rem; }
  .hero-stats { gap: 1.5rem; }
  .planes-section, .contacto-section { padding: 5rem 1.5rem; }
  .planes-grid { grid-template-columns: 1fr; }
  .plan-card.destacado { transform: none; }
  .footer-inner { flex-direction: column; text-align: center; }
  body { cursor: auto; }
  #trailCanvas { display: none; }
  .tabs-nav { flex-direction: column; }
}

/* ── SPLASH (video pantalla de carga) ───────────────────────────────────────── */
#splash {
  position: fixed;
  inset: 0;
  z-index: 10001;
  background: #000;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
#splash.fade-out { opacity: 0; visibility: hidden; pointer-events: none; }
#splash video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── TABS CONTACTO ──────────────────────────────────────────────────────────── */
.tabs-wrapper { max-width: 1100px; margin: 0 auto; }

.tabs-nav {
  display: flex;
  gap: 0;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}
.tab-btn {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.8rem 1.8rem;
  cursor: pointer;
  transition: all 0.25s;
  margin-bottom: -1px;
}
.tab-btn:hover  { color: var(--text); }
.tab-btn.active { color: var(--accent); border-bottom-color: var(--accent); }

.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* ── CONTACTO H3 ────────────────────────────────────────────────────────────── */
.contacto-h3 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0.5rem 0 1rem;
}

/* ══════════════════════════════════════════════════════════════════════════════
   NUEVAS SECCIONES — LANDING CONVERSIÓN v2
   ══════════════════════════════════════════════════════════════════════════════ */

/* ── CONTAINER ──────────────────────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3rem;
}

/* ── HERO NUEVO ─────────────────────────────────────────────────────────────── */
.hero-title-new {
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fade-up 0.8s ease 0.3s forwards;
}
.accent-text {
  color: var(--accent);
  text-shadow: 0 0 60px var(--accent-glow);
}
.hero-sub-new {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fade-up 0.8s ease 0.5s forwards;
  text-shadow: 0 1px 12px rgba(0,0,0,0.8);
}
.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
  opacity: 0;
  animation: fade-up 0.8s ease 0.7s forwards;
}
.hero-stats-new {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fade-up 0.8s ease 0.9s forwards;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem 2.5rem;
  max-width: 600px;
  margin: 0 auto;
}
.stat-item { text-align: center; }
.stat-big {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.stat-desc {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
  letter-spacing: 0.05em;
}
.stat-sep {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* ── CTA BUTTONS ────────────────────────────────────────────────────────────── */
.cta-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.95rem 2rem;
  border-radius: 6px;
  border: none;
  transition: all 0.25s ease;
  text-decoration: none;
}
.cta-btn-primary:hover {
  background: #ff9955;
  transform: translateY(-2px);
  box-shadow: 0 16px 40px var(--accent-glow);
}
.cta-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.95rem 2rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  transition: all 0.25s ease;
  text-decoration: none;
}
.cta-btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}
.cta-btn-large {
  font-size: 1rem;
  padding: 1.2rem 2.8rem;
}

/* ── SECCIÓN TÍTULO IZQUIERDO ───────────────────────────────────────────────── */
.section-title-left {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

/* ── PROBLEM SECTION ────────────────────────────────────────────────────────── */
.problem-section {
  position: relative;
  z-index: 1;
  padding: 8rem 0;
  background: linear-gradient(to bottom, rgba(6,6,8,0.98), rgba(12,8,6,0.98));
}
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.pain-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.3s ease;
}
.pain-card:hover {
  border-color: rgba(255,119,51,0.25);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
.pain-icon {
  width: 48px; height: 48px;
  background: rgba(255,119,51,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.pain-icon svg {
  width: 22px; height: 22px;
  color: var(--accent);
}
.pain-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.pain-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.pain-cta { text-align: center; }

/* ── SOLUTION SECTION ───────────────────────────────────────────────────────── */
.solution-section {
  position: relative;
  z-index: 1;
  padding: 8rem 0;
}
.solution-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}
.solution-text .section-tag { margin-bottom: 1rem; }
.solution-desc {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 1rem;
  margin-top: 1rem;
}
.solution-cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.benefit-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: all 0.3s ease;
}
.benefit-card:hover {
  border-color: rgba(255,119,51,0.25);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.benefit-num {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--accent);
  letter-spacing: 0.2em;
  margin-bottom: 0.5rem;
}
.benefit-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.benefit-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── HOW SECTION ────────────────────────────────────────────────────────────── */
.how-section {
  position: relative;
  z-index: 1;
  padding: 8rem 0;
  background: rgba(255,119,51,0.02);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 1rem;
}
.step-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  transition: all 0.3s ease;
}
.step-card:hover {
  border-color: rgba(255,119,51,0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
.step-number {
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(255,119,51,0.15);
  line-height: 1;
  margin-bottom: 1rem;
}
.step-line {
  width: 40px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin-bottom: 1.25rem;
}
.step-line.last { opacity: 0.3; }
.step-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.step-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}
.step-detail {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 0.8rem;
  background: rgba(255,119,51,0.08);
  border-radius: 4px;
  display: inline-block;
}

/* ── CASES SECTION ──────────────────────────────────────────────────────────── */
.cases-section {
  position: relative;
  z-index: 1;
  padding: 8rem 0;
}
.sector-tabs { margin-top: 1rem; }
.sector-nav {
  display: flex;
  gap: 0;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
}
.sector-nav::-webkit-scrollbar { display: none; }
.sector-btn {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.8rem 1.6rem;
  cursor: pointer;
  transition: all 0.25s;
  margin-bottom: -1px;
  white-space: nowrap;
}
.sector-btn:hover { color: var(--text); }
.sector-btn.active { color: var(--accent); border-bottom-color: var(--accent); }
.sector-pane { display: none; }
.sector-pane.active { display: block; }
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.sector-otro-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 48px 32px;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

/* ─── Grid de tarjetas-sector (vista inicial) ─────────────────────────────── */
.sector-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-bottom: 32px;
}
.sector-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 16px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  text-align: center;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
  min-height: 130px;
}
.sector-tile:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  background: rgba(255, 122, 51, 0.06);
}
.sector-tile-icon {
  font-size: 2rem;
  line-height: 1;
}
.sector-tile-name {
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.3;
}
.sector-tile-other {
  border-style: dashed;
  border-color: var(--accent);
  background: transparent;
}
.sector-tile-other .sector-tile-name { color: var(--accent); }

.sector-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.9rem;
  padding: 8px 14px;
  margin-bottom: 22px;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
.sector-back:hover { color: var(--accent); border-color: var(--accent); }

.sector-more-note {
  text-align: center;
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-top: 24px;
  padding: 14px 18px;
  border: 1px dashed rgba(255, 122, 51, 0.35);
  border-radius: 10px;
  background: rgba(255, 122, 51, 0.04);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.sector-more-note a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  margin-left: 4px;
  white-space: nowrap;
}
.sector-more-note a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .sector-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .sector-tile { padding: 20px 12px; min-height: 110px; }
}
@media (max-width: 560px) {
  .sector-grid { grid-template-columns: repeat(2, 1fr); }
}
.case-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.3s ease;
}
.case-card:hover {
  border-color: rgba(255,119,51,0.2);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}
.case-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.case-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.case-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── PLANES — MEJORAS ───────────────────────────────────────────────────────── */
.plan-subtitulo {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}
.plan-roi {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: #12b981;
  background: rgba(18,185,129,0.08);
  border: 1px solid rgba(18,185,129,0.2);
  border-radius: 4px;
  padding: 0.35rem 0.7rem;
  margin-top: 0.5rem;
}
.plan-roi svg {
  width: 12px; height: 12px;
  color: #12b981;
}
.planes-garantias {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 3rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ── Aviso de setup aparte ─────────────────────────────────────────────────── */
.setup-notice {
  max-width: 920px;
  margin: 36px auto 0;
  padding: 0 16px;
}
.setup-notice-inner {
  background: linear-gradient(135deg, rgba(255, 122, 51, 0.08) 0%, rgba(255, 122, 51, 0.02) 100%);
  border: 1px solid rgba(255, 122, 51, 0.30);
  border-radius: 14px;
  padding: 28px 32px;
  display: flex;
  gap: 22px;
  align-items: flex-start;
}
.setup-notice-icon {
  font-size: 2.2rem;
  line-height: 1;
  flex-shrink: 0;
}
.setup-notice-text { flex: 1; }
.setup-notice-text h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 10px 0;
}
.setup-notice-text p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 10px 0;
}
.setup-notice-text p strong { color: var(--text); font-weight: 600; }
.setup-notice-sub {
  font-size: 0.88rem !important;
  opacity: 0.88;
}
.cta-btn-small {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
  padding: 10px 18px;
  margin-top: 6px;
}
@media (max-width: 680px) {
  .setup-notice-inner { flex-direction: column; gap: 12px; padding: 22px 20px; }
  .setup-notice-icon { font-size: 1.8rem; }
}

/* ── TESTIMONIOS SECTION ────────────────────────────────────────────────────── */
.testimonios-section {
  position: relative;
  z-index: 1;
  padding: 8rem 0;
  background: rgba(255,119,51,0.02);
  border-top: 1px solid var(--border);
}
.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonio-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: all 0.3s ease;
}
.testimonio-card:hover {
  border-color: rgba(255,119,51,0.2);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}
.testimonio-stars { font-size: 0.9rem; }
.testimonio-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-style: italic;
  flex: 1;
}
.testimonio-author {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.autor-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.autor-info strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
}
.autor-info span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ── GARANTIA SECTION ───────────────────────────────────────────────────────── */
.garantia-section {
  position: relative;
  z-index: 1;
  padding: 6rem 0;
  background: linear-gradient(135deg, rgba(5,40,25,0.95), rgba(3,25,15,0.98));
  border-top: 1px solid rgba(18,185,129,0.2);
  border-bottom: 1px solid rgba(18,185,129,0.2);
}
.garantia-inner {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
  justify-content: center;
  text-align: left;
}
.garantia-badge-big {
  font-family: var(--font-mono);
  font-size: 5rem;
  font-weight: 700;
  color: #12b981;
  line-height: 1;
  flex-shrink: 0;
  text-shadow: 0 0 40px rgba(18,185,129,0.3);
}
.garantia-text { flex: 1; min-width: 260px; }
.garantia-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: #fff;
}
.garantia-text p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.garantia-sellos {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: rgba(18,185,129,0.8);
  letter-spacing: 0.05em;
}

/* ── FAQ SECTION ────────────────────────────────────────────────────────────── */
.faq-section {
  position: relative;
  z-index: 1;
  padding: 8rem 0;
}
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  padding: 1.5rem 0;
  cursor: pointer;
  gap: 1rem;
  transition: color 0.2s;
}
.faq-question:hover { color: var(--accent); }
.faq-arrow {
  width: 18px; height: 18px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--text-muted);
}
.faq-item.open .faq-arrow { transform: rotate(180deg); color: var(--accent); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  padding: 0 !important;
  transition: max-height 0.35s cubic-bezier(0.16,1,0.3,1), opacity 0.25s, visibility 0s linear 0.3s, padding 0.3s;
}
.faq-item.open .faq-answer {
  max-height: 600px;
  visibility: visible;
  opacity: 1;
  padding: 0 1.25rem !important;
  transition: max-height 0.35s cubic-bezier(0.16,1,0.3,1), opacity 0.25s, visibility 0s, padding 0.3s;
}
.faq-answer p {
  padding-bottom: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── CTA FINAL SECTION ──────────────────────────────────────────────────────── */
.cta-final-section {
  position: relative;
  z-index: 1;
  padding: 8rem 0;
  background: linear-gradient(135deg, #0d0810 0%, #12080a 50%, #080c14 100%);
  border-top: 1px solid var(--border);
  overflow: hidden;
}
.cta-particles {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  opacity: 0.6;
}
.cta-final-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}
.cta-final-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}
.cta-final-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}
.cta-final-note {
  margin-top: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ── SMART ASSISTANT ────────────────────────────────────────────────────────── */
.assistant-bubble {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 500;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.9rem 1.4rem;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(255,119,51,0.35);
  transition: all 0.25s ease;
  user-select: none;
}
.assistant-bubble:hover {
  background: #ff9955;
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(255,119,51,0.5);
}
.assistant-bubble.hidden { display: none; }
.assistant-bubble svg {
  width: 18px; height: 18px;
}

.assistant-panel {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 500;
  width: 360px;
  max-width: calc(100vw - 2rem);
  background: rgba(10,10,14,0.97);
  backdrop-filter: blur(30px);
  border: 1px solid rgba(255,119,51,0.3);
  border-radius: 16px;
  display: none;
  flex-direction: column;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
  overflow: hidden;
}
.assistant-panel.open { display: flex; }

.assistant-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
}
.assistant-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}
.assistant-dot {
  width: 8px; height: 8px;
  background: #12b981;
  border-radius: 50%;
  animation: pulse-dot 2s ease infinite;
}
.assistant-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  cursor: pointer;
  transition: color 0.2s;
}
.assistant-close:hover { color: var(--text); }

.assistant-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 320px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.msg-bot, .msg-user {
  max-width: 85%;
}
.msg-bot { align-self: flex-start; }
.msg-user { align-self: flex-end; }
.msg-bot p {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px 12px 12px 3px;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--text);
}
.msg-user p {
  background: var(--accent);
  color: var(--bg);
  border-radius: 12px 12px 3px 12px;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  line-height: 1.55;
}
.msg-typing {
  display: flex;
  gap: 4px;
  padding: 0.5rem 0.25rem;
  align-self: flex-start;
}
.msg-typing span {
  width: 7px; height: 7px;
  background: var(--text-muted);
  border-radius: 50%;
  animation: typing-bounce 1.2s ease infinite;
}
.msg-typing span:nth-child(2) { animation-delay: 0.2s; }
.msg-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-6px); }
}
.assistant-plan-btn {
  display: inline-block;
  margin-top: 0.6rem;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.45rem 0.9rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s;
}
.assistant-plan-btn:hover { background: #ff9955; }

.assistant-input-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.1rem;
  border-top: 1px solid var(--border);
}
.assistant-input-row input {
  flex: 1;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 0.85rem;
  padding: 0.6rem 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}
.assistant-input-row input:focus {
  border-color: rgba(255,119,51,0.5);
}
.assistant-input-row input::placeholder { color: var(--text-muted); }
.assistant-input-row button {
  background: var(--accent);
  border: none;
  border-radius: 8px;
  color: var(--bg);
  padding: 0.6rem 0.75rem;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.assistant-input-row button:hover { background: #ff9955; }
.assistant-input-row button svg { width: 15px; height: 15px; }

/* ── RESPONSIVE NUEVAS SECCIONES ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .solution-inner { grid-template-columns: 1fr; gap: 3rem; }
  .steps-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .testimonios-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .cases-grid { grid-template-columns: 1fr 1fr; }
  .garantia-inner { text-align: center; }
  .garantia-badge-big { font-size: 3.5rem; }
}
@media (max-width: 768px) {
  .container { padding: 0 1.5rem; }
  .problem-section,
  .solution-section,
  .how-section,
  .cases-section,
  .testimonios-section,
  .garantia-section,
  .faq-section,
  .cta-final-section { padding: 5rem 0; }
  .pain-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .hero-stats-new { gap: 1.5rem; padding: 1.25rem 1.5rem; }
  .stat-sep { height: 1px; width: 36px; }
  .hero-ctas { flex-direction: column; align-items: stretch; text-align: center; }
  .cta-btn-primary, .cta-btn-secondary { justify-content: center; }
  .garantia-inner { flex-direction: column; }
  .sector-nav { gap: 0; }
  .assistant-bubble span { display: none; }
  .assistant-bubble { padding: 0.9rem; border-radius: 50%; }
  .assistant-panel { bottom: 1rem; right: 1rem; width: calc(100vw - 2rem); }
}

/* ═══════════════════════════════════════════════════════════════════════════
   UI/UX PRO-MAX UPGRADES v2 — Premium B2B SaaS Polish (2026-05-14)
   Patrón: Bento Grid + Social Proof Focus | Industria: AI Automation B2B
═══════════════════════════════════════════════════════════════════════════ */

/* ── A11Y: Reduced motion (regla crítica) ──────────────────────────────────── */
@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;
  }
}

/* ── A11Y: Focus rings premium (visible para teclado) ──────────────────────── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
  transition: outline-offset 150ms ease-out;
}
button:focus-visible,
a:focus-visible {
  box-shadow: 0 0 0 4px rgba(255,119,51,0.25);
}

/* ── HERO: Glass backdrop para legibilidad sobre video ─────────────────────── */
.hero-content {
  position: relative;
  z-index: 3;
}
.hero-tag {
  display: inline-block;
  padding: 0.45rem 1rem;
  background: rgba(255,119,51,0.08);
  border: 1px solid rgba(255,119,51,0.3);
  border-radius: 100px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 1.5rem;
  animation: fade-up 0.6s ease 0.1s both;
}

/* ── HERO: subtítulo con backdrop sutil para mejor legibilidad ─────────────── */
.hero-sub-new {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* ── CTA buttons premium: glow + depth (sin layout-shift) ──────────────────── */
.cta-btn-primary {
  position: relative;
  overflow: hidden;
  transition:
    background 200ms ease-out,
    box-shadow 200ms ease-out,
    transform 0ms;  /* no scale shift */
  box-shadow:
    0 4px 14px rgba(255,119,51,0.35),
    0 1px 3px rgba(0,0,0,0.2),
    inset 0 1px 0 rgba(255,255,255,0.15);
}
.cta-btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.18) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 200ms ease-out;
  pointer-events: none;
}
.cta-btn-primary:hover {
  box-shadow:
    0 8px 24px rgba(255,119,51,0.5),
    0 2px 6px rgba(0,0,0,0.3),
    inset 0 1px 0 rgba(255,255,255,0.25);
}
.cta-btn-primary:hover::before { opacity: 1; }
.cta-btn-primary:active {
  box-shadow:
    0 2px 8px rgba(255,119,51,0.4),
    inset 0 2px 4px rgba(0,0,0,0.2);
}

.cta-btn-secondary {
  transition: background 200ms ease-out, border-color 200ms ease-out, color 200ms ease-out;
}
.cta-btn-secondary:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,119,51,0.5);
  color: #fff;
}

/* ── STATS: Bento card premium con glass ───────────────────────────────────── */
.hero-stats-new {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow:
    0 8px 32px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.08);
}
.stat-big {
  background: linear-gradient(180deg, #ff9461 0%, #ff7733 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}
.stat-sep {
  width: 1px;
  height: 32px;
  background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.15) 50%, transparent 100%);
}

/* ── PLANES: Glassmorphic cards premium ────────────────────────────────────── */
.plan-card,
.plan-card-new {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition:
    border-color 250ms ease-out,
    background 250ms ease-out,
    box-shadow 250ms ease-out;
}
.plan-card:hover,
.plan-card-new:hover {
  border-color: rgba(255,119,51,0.35);
  background: rgba(255,255,255,0.04);
  box-shadow:
    0 12px 40px rgba(0,0,0,0.4),
    0 0 0 1px rgba(255,119,51,0.15),
    inset 0 1px 0 rgba(255,255,255,0.08);
}
.plan-card.featured,
.plan-card-new.featured {
  background: linear-gradient(180deg, rgba(255,119,51,0.06) 0%, rgba(255,119,51,0.02) 100%);
  border-color: rgba(255,119,51,0.3);
  position: relative;
}
.plan-card.featured::before,
.plan-card-new.featured::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,119,51,0.6), transparent 50%, rgba(0,229,255,0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

/* ── TESTIMONIOS: Card con depth y avatares glass ──────────────────────────── */
.testimonio-card,
.testimonial-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 250ms ease-out, border-color 250ms ease-out;
}
.testimonio-card:hover,
.testimonial-card:hover {
  border-color: rgba(255,119,51,0.25);
}

/* ── TRUST BAR: Social proof prominente (Bento style) ──────────────────────── */
.trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 1.5rem 2rem;
  margin: 3rem auto 0;
  max-width: 900px;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.trust-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(240,236,232,0.4);
}
.trust-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text);
}
.trust-stars {
  display: inline-flex;
  gap: 2px;
  color: #ffc857;
}

/* ── NAV: Glass scrolled state premium ─────────────────────────────────────── */
.nav.scrolled,
.nav {
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
}
.nav-links a {
  position: relative;
  transition: color 200ms ease-out;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 250ms ease-out;
}
.nav-links a:hover::after { transform: scaleX(1); }

/* ── BENTO GRID: Pattern para feature showcase ─────────────────────────────── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin: 3rem auto;
  max-width: 1200px;
}
.bento-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(8px);
  transition: border-color 250ms ease-out, background 250ms ease-out;
}
.bento-item:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,119,51,0.3);
}
.bento-item.wide { grid-column: span 2; }
@media (max-width: 768px) {
  .bento-item.wide { grid-column: span 1; }
}

/* ── TYPOGRAPHY: line-height y letter-spacing premium ──────────────────────── */
body {
  font-feature-settings: 'kern' 1, 'liga' 1, 'calt' 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
p, .body-text {
  line-height: 1.65;
  letter-spacing: 0.005em;
}
h1, h2, h3, h4 {
  letter-spacing: -0.02em;
  font-feature-settings: 'kern' 1, 'liga' 1;
}

/* ── SECTION HEADERS: Premium hierarchy ────────────────────────────────────── */
.section-title,
.section-eyebrow {
  position: relative;
}
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.section-eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent);
}

/* ── BUTTONS GLOBAL: Hover smooth con transform-origin correcto ────────────── */
button, .btn, [role="button"] {
  transition: background 200ms ease-out, color 200ms ease-out, border-color 200ms ease-out, box-shadow 200ms ease-out;
}

/* ── SCROLLBAR premium ─────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #0a0a0e; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(255,119,51,0.4), rgba(255,119,51,0.2));
  border-radius: 10px;
  border: 2px solid #0a0a0e;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(255,119,51,0.6), rgba(255,119,51,0.35));
}

/* ── SELECTION color ───────────────────────────────────────────────────────── */
::selection {
  background: rgba(255,119,51,0.35);
  color: #fff;
}

/* ── ANIMATION refinada: fade-up con cubic-bezier premium ──────────────────── */
@keyframes fade-up-premium {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms cubic-bezier(0.16, 1, 0.3, 1), transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-in-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── FORM inputs premium: focus state visible ──────────────────────────────── */
input, textarea, select {
  transition: border-color 200ms ease-out, background 200ms ease-out, box-shadow 200ms ease-out;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255,119,51,0.15);
}

/* ── GARANTÍA section: badge premium con glow ──────────────────────────────── */
.garantia-section {
  position: relative;
}
.garantia-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,119,51,0.08) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(40px);
}

/* ── FAQ accordion: smooth open animation ──────────────────────────────────── */
.faq-item {
  transition: border-color 250ms ease-out;
}
.faq-item:hover { border-color: rgba(255,119,51,0.2); }
.faq-question {
  cursor: pointer;
  transition: color 200ms ease-out;
}
.faq-item.active .faq-question { color: var(--accent); }

/* ═══════════════════════════════════════════════════════════════════════════
   PREMIUM FX LAYER — Aurora, Spotlight, Magnetic, Shimmer, Tilt, Counter
   Activado: 2026-05-14 — efectos vanguardistas B2B SaaS premium
═══════════════════════════════════════════════════════════════════════════ */

/* ── AURORA MESH BACKGROUND — gradient animado que respira ─────────────────── */
.aurora-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.55;
}
.aurora-bg::before,
.aurora-bg::after {
  content: '';
  position: absolute;
  width: 70vw;
  height: 70vw;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
  will-change: transform;
}
.aurora-bg::before {
  top: -20%; left: -10%;
  background: radial-gradient(circle, #ff7733 0%, transparent 60%);
  animation: aurora-drift-1 22s ease-in-out infinite;
}
.aurora-bg::after {
  bottom: -20%; right: -10%;
  background: radial-gradient(circle, #00e5ff 0%, transparent 60%);
  animation: aurora-drift-2 28s ease-in-out infinite;
}
@keyframes aurora-drift-1 {
  0%,100%   { transform: translate(0,0) scale(1); }
  33%       { transform: translate(20vw,15vh) scale(1.15); }
  66%       { transform: translate(-10vw,25vh) scale(0.95); }
}
@keyframes aurora-drift-2 {
  0%,100%   { transform: translate(0,0) scale(1); }
  33%       { transform: translate(-15vw,-20vh) scale(1.1); }
  66%       { transform: translate(15vw,-10vh) scale(0.9); }
}

/* ── FLOATING ORBS — bolas de luz que flotan ───────────────────────────────── */
.orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  filter: blur(40px);
  will-change: transform;
}
.orb-1 {
  width: 300px; height: 300px;
  top: 20%; left: 10%;
  background: radial-gradient(circle, rgba(255,119,51,0.4) 0%, transparent 70%);
  animation: orb-float-1 18s ease-in-out infinite;
}
.orb-2 {
  width: 400px; height: 400px;
  top: 50%; right: 5%;
  background: radial-gradient(circle, rgba(0,229,255,0.25) 0%, transparent 70%);
  animation: orb-float-2 24s ease-in-out infinite;
}
.orb-3 {
  width: 250px; height: 250px;
  bottom: 15%; left: 40%;
  background: radial-gradient(circle, rgba(180,80,255,0.3) 0%, transparent 70%);
  animation: orb-float-3 30s ease-in-out infinite;
}
@keyframes orb-float-1 {
  0%,100% { transform: translate(0,0); }
  50%     { transform: translate(80px,-60px); }
}
@keyframes orb-float-2 {
  0%,100% { transform: translate(0,0); }
  50%     { transform: translate(-70px,50px); }
}
@keyframes orb-float-3 {
  0%,100% { transform: translate(0,0); }
  50%     { transform: translate(50px,-40px); }
}

/* ── HERO TITLE SHIMMER — gradient flow effect ─────────────────────────────── */
.hero-title-new .accent-text {
  background: linear-gradient(
    90deg,
    #ff7733 0%,
    #ffb38a 25%,
    #ff7733 50%,
    #ffb38a 75%,
    #ff7733 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: text-shimmer 4s linear infinite;
  filter: drop-shadow(0 0 40px rgba(255,119,51,0.4));
}
@keyframes text-shimmer {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* ── SPOTLIGHT CARD — cursor-following highlight (set via JS --mx/--my) ────── */
.spotlight-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.spotlight-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    600px circle at var(--mx,50%) var(--my,50%),
    rgba(255,119,51,0.18),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 300ms ease-out;
  pointer-events: none;
  z-index: 0;
}
.spotlight-card:hover::before { opacity: 1; }
.spotlight-card > * { position: relative; z-index: 1; }

/* ── TILT 3D — cards inclinables (set via JS --rx/--ry) ────────────────────── */
.tilt-card {
  transform-style: preserve-3d;
  transform: perspective(1200px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg));
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

/* ── MAGNETIC BUTTON — attraction effect (set via JS --tx/--ty) ────────────── */
.magnetic {
  transform: translate(var(--tx,0px), var(--ty,0px));
  transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

/* ── COUNTER digits — flip animation feel ──────────────────────────────────── */
.stat-big[data-target] {
  display: inline-block;
  font-variant-numeric: tabular-nums;
}

/* ── SCROLL REVEAL — fade-up con blur ──────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  filter: blur(8px);
  transition:
    opacity 700ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 700ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 700ms cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal].in-view {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
[data-reveal-delay="1"] { transition-delay: 80ms; }
[data-reveal-delay="2"] { transition-delay: 160ms; }
[data-reveal-delay="3"] { transition-delay: 240ms; }
[data-reveal-delay="4"] { transition-delay: 320ms; }

/* ── NEON GLOW RING — alrededor de elementos importantes ───────────────────── */
.glow-ring {
  position: relative;
}
.glow-ring::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: conic-gradient(
    from var(--angle, 0deg),
    transparent 0deg,
    var(--accent) 90deg,
    transparent 180deg,
    var(--accent-2) 270deg,
    transparent 360deg
  );
  z-index: -1;
  filter: blur(8px);
  opacity: 0.6;
  animation: glow-rotate 6s linear infinite;
}
@property --angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}
@keyframes glow-rotate {
  to { --angle: 360deg; }
}

/* ── PLAN CARDS: spotlight + tilt combo ────────────────────────────────────── */
.plan-card,
.plan-card-new {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transform-style: preserve-3d;
  transform: perspective(1200px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg));
  transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1), border-color 250ms, box-shadow 250ms;
  will-change: transform;
}
.plan-card::after,
.plan-card-new::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    500px circle at var(--mx,50%) var(--my,50%),
    rgba(255,119,51,0.15),
    transparent 50%
  );
  opacity: 0;
  transition: opacity 300ms ease-out;
  pointer-events: none;
  z-index: 0;
}
.plan-card:hover::after,
.plan-card-new:hover::after { opacity: 1; }
.plan-card > *,
.plan-card-new > * { position: relative; z-index: 1; }

/* ── HERO STATS pop-in con stagger ─────────────────────────────────────────── */
.hero-stats-new .stat-item {
  opacity: 0;
  animation: stat-pop 800ms cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
.hero-stats-new .stat-item:nth-child(1) { animation-delay: 1.0s; }
.hero-stats-new .stat-item:nth-child(3) { animation-delay: 1.15s; }
.hero-stats-new .stat-item:nth-child(5) { animation-delay: 1.3s; }
@keyframes stat-pop {
  0%   { opacity: 0; transform: translateY(20px) scale(0.92); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── CTA primary: animated gradient sweep on hover ─────────────────────────── */
.cta-btn-primary {
  background: linear-gradient(
    135deg,
    #ff7733 0%,
    #ff9461 50%,
    #ff7733 100%
  ) !important;
  background-size: 200% 100% !important;
  background-position: 0% 50% !important;
  transition: background-position 600ms ease-out, box-shadow 200ms, transform 0ms !important;
}
.cta-btn-primary:hover {
  background-position: 100% 50% !important;
}

/* ── HERO BG VIDEO darker for legibility + saturate ────────────────────────── */
.video-bg video { opacity: 0.4 !important; filter: saturate(140%) contrast(110%); }
.video-overlay {
  background: linear-gradient(
    180deg,
    rgba(6,6,8,0.4) 0%,
    rgba(6,6,8,0.7) 50%,
    rgba(6,6,8,0.95) 100%
  ) !important;
}

/* ── NAV scroll: shrink + brighter glass ───────────────────────────────────── */
.nav {
  transition: padding 300ms ease-out, background 300ms ease-out, border-color 300ms ease-out;
}
.nav.scrolled {
  padding: 0.75rem 3rem !important;
  background: rgba(6,6,8,0.85) !important;
  border-bottom-color: rgba(255,255,255,0.12) !important;
}

/* ── SCROLL PROGRESS BAR top ───────────────────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, #ff7733, #ff9461, #00e5ff);
  z-index: 200;
  transition: width 80ms linear;
  box-shadow: 0 0 10px rgba(255,119,51,0.6);
}

/* ── BADGE pulsing dot for "ACTIVO/LIVE" ───────────────────────────────────── */
.live-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #22c55e;
  margin-right: 6px;
  animation: pulse-live 1.6s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(34,197,94,0.6);
}
@keyframes pulse-live {
  0%,100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.6); }
  50%     { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
}

/* ── Reduce motion override ────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .aurora-bg::before,
  .aurora-bg::after,
  .orb-1, .orb-2, .orb-3,
  .hero-title-new .accent-text,
  .glow-ring::before { animation: none !important; }
}


/* ═══════════════════════════════════════════════════════════════════════════
   MOBILE FIXES — 2026-05 — móviles ≤480px + touch targets + form
═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Hero title controlado en mobile (clamp puede dispararse muy grande) */
  .hero-title-new { font-size: clamp(2rem, 9vw, 3.2rem) !important; line-height: 1.1; }
  .hero-tag { font-size: 0.62rem; padding: 0.4rem 0.85rem; letter-spacing: 0.2em; }
  .hero-sub-new { font-size: 0.95rem; line-height: 1.5; }

  /* Touch targets — Apple/Google exigen min 44x44 px en mobile */
  .cta-btn-primary, .cta-btn-secondary,
  button[type="submit"], .btn-checkout {
    min-height: 48px; padding: 14px 24px; font-size: 0.95rem;
  }

  /* Formularios: campos cómodos en mobile */
  .contacto-form input, .contacto-form textarea, .contacto-form select {
    min-height: 48px; font-size: 16px; /* 16px evita zoom automático iOS */
    padding: 12px 14px; width: 100%; box-sizing: border-box;
  }
  .contacto-form textarea { min-height: 120px; }
  .contacto-form label { font-size: 0.85rem; margin-bottom: 4px; display: block; }
  .form-row, .form-group { margin-bottom: 14px; }

  /* Nav links no se rompan */
  .nav { padding: 0.75rem 1rem; flex-wrap: wrap; }
  .nav-logo { font-size: 0.75rem; }
  .nav-links { gap: 0.85rem; font-size: 0.7rem; flex-wrap: wrap; justify-content: center; }
  .nav-links a { padding: 6px 4px; }

  /* Asistente bubble más centrado */
  .assistant-bubble {
    bottom: 1rem; right: 1rem;
    padding: 12px 16px; font-size: 0.8rem;
  }

  /* Tabs sectores no se solapen */
  .sector-nav { flex-wrap: wrap; gap: 6px; }
  .sector-tile { padding: 12px; font-size: 0.85rem; }

  /* Footer compacto */
  footer { font-size: 0.75rem; padding: 30px 16px; text-align: center; }

  /* Modal carrito ocupa pantalla en mobile */
  .cart-modal { width: 100%; max-width: 100%; right: 0; left: 0; border-radius: 0; }
}

@media (max-width: 480px) {
  /* Móviles pequeños — ajustes adicionales */
  .hero { padding: 90px 1rem 50px; }
  .hero-title-new { font-size: clamp(1.8rem, 10vw, 2.6rem) !important; }
  .hero-stats-new { padding: 1rem; gap: 0.75rem; }
  .stat-big { font-size: 1.2rem; }
  .stat-desc { font-size: 0.7rem; }

  /* Plan cards: padding reducido */
  .plan-card, .plan-card-new { padding: 1.5rem; }
  .plan-precio .precio-amount { font-size: 1.6rem; }

  /* Trust strip apilable */
  .trust-strip { flex-direction: column; gap: 8px; padding: 1rem; }

  /* FAQ */
  .faq-question { font-size: 0.9rem; padding: 14px; }
  .faq-answer p { font-size: 0.85rem; padding: 0 0 14px; }
  .faq-item.open .faq-answer { padding: 0 14px !important; }

  /* Contacto */
  .contacto-section, .planes-section { padding: 3rem 1rem; }
  h2.section-title { font-size: 1.6rem !important; }

  /* Tabs de pestañas (Standard / Enterprise) */
  .tabs-nav .tab-btn { padding: 10px 12px; font-size: 0.75rem; }
}

/* Tap highlights claros para iOS */
button, a, input, textarea, select { -webkit-tap-highlight-color: rgba(255,119,51,0.2); }

/* Inputs en iOS — quitar bordes raros */
input, textarea, select { -webkit-appearance: none; appearance: none; border-radius: 8px; }

/* ═══════════════════════════════════════════════════════════════════════════
   COOKIE BANNER — LSSI-CE + RGPD + AEPD compliant
   ═══════════════════════════════════════════════════════════════════════════ */
#fns-cookie-banner {
  display: none;
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 99999;
  background: rgba(10, 12, 22, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 119, 51, 0.35);
  border-radius: 12px;
  padding: 18px 22px;
  max-width: 760px;
  margin: 0 auto;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.04);
  color: #e2e8f0;
  font-size: 0.88rem;
  line-height: 1.55;
  animation: fnsCookieIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes fnsCookieIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
#fns-cookie-banner .fns-cb-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
#fns-cookie-banner .fns-cb-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}
#fns-cookie-banner .fns-cb-text {
  flex: 1 1 280px;
  min-width: 0;
  color: #cbd5e1;
}
#fns-cookie-banner .fns-cb-text strong { color: #fff; }
#fns-cookie-banner .fns-cb-text a {
  color: #ff7733;
  text-decoration: underline;
}
#fns-cookie-banner .fns-cb-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
#fns-cookie-banner button {
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: inherit;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s, border-color 0.2s;
  border: 1px solid transparent;
}
#fns-cookie-banner button:hover { transform: translateY(-1px); }
#fns-cookie-banner .fns-cb-essential {
  background: transparent;
  color: #cbd5e1;
  border-color: rgba(255, 255, 255, 0.18);
}
#fns-cookie-banner .fns-cb-essential:hover {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
#fns-cookie-banner .fns-cb-all {
  background: #ff7733;
  color: #000;
}
#fns-cookie-banner .fns-cb-all:hover { background: #ff8e52; }

@media (max-width: 600px) {
  #fns-cookie-banner {
    left: 8px; right: 8px; bottom: 8px;
    padding: 14px 16px;
    font-size: 0.82rem;
  }
  #fns-cookie-banner .fns-cb-icon { display: none; }
  #fns-cookie-banner .fns-cb-actions { width: 100%; }
  #fns-cookie-banner .fns-cb-actions button { flex: 1; }
}
