/* ==========================================================================
   OmniXImpulso & OmniX Pro — Estilos Exclusivos para Landings de Captación
   ========================================================================== */

:root {
  --landing-bg-dark: #0A0D14;
  --landing-card-bg: #FFFFFF;
  --landing-border: #E2E8F0;
  --landing-orange: #FF5500;
  --landing-orange-hover: #E04B00;
  --landing-green: #10B981;
  --landing-blue: #2563EB;
  --landing-red: #EF4444;
  --landing-gray: #64748B;
  --landing-dark-text: #0F172A;
  --landing-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --landing-shadow-lg: 0 20px 35px -10px rgba(15, 23, 42, 0.12), 0 10px 15px -8px rgba(15, 23, 42, 0.06);
}

/* Base Landing Layout */
.landing-page {
  background-color: #F8FAFC;
  color: var(--landing-dark-text);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
}

.landing-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.landing-header-minimal {
  padding: 18px 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--landing-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.landing-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.landing-brand-logo {
  height: 42px;
  width: auto;
}

.landing-phone-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--landing-dark-text);
  text-decoration: none;
  background: #F1F5F9;
  padding: 8px 16px;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.landing-phone-cta:hover {
  background: #E2E8F0;
  color: var(--landing-orange);
}

/* Badges & Hero Titles */
.landing-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 85, 0, 0.1);
  color: var(--landing-orange);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.landing-badge.badge-green {
  background: rgba(16, 185, 129, 0.1);
  color: var(--landing-green);
}

.landing-badge.badge-blue {
  background: rgba(37, 99, 235, 0.1);
  color: var(--landing-blue);
}

.landing-hero {
  padding: 60px 0 80px;
  position: relative;
  overflow: hidden;
}

.landing-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.landing-title {
  font-size: 2.85rem;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--landing-dark-text);
  margin-bottom: 20px;
}

.landing-title span.text-orange {
  color: var(--landing-orange);
}

.landing-subtitle {
  font-size: 1.15rem;
  color: var(--landing-gray);
  margin-bottom: 32px;
  max-width: 580px;
  line-height: 1.65;
}

/* Universal Conversion Form Card */
.landing-form-card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: var(--landing-shadow-lg);
  border: 1px solid #E2E8F0;
  position: relative;
}

.landing-form-header {
  margin-bottom: 24px;
  text-align: center;
}

.landing-form-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--landing-dark-text);
  margin-bottom: 6px;
}

.landing-form-subtitle {
  font-size: 0.88rem;
  color: var(--landing-gray);
}

.landing-input-group {
  margin-bottom: 18px;
}

.landing-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--landing-dark-text);
  margin-bottom: 6px;
}

.landing-input,
.landing-select {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1.5px solid #CBD5E1;
  font-size: 0.95rem;
  color: var(--landing-dark-text);
  background: #FFFFFF;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.landing-input:focus,
.landing-select:focus {
  outline: none;
  border-color: var(--landing-orange);
  box-shadow: 0 0 0 3px rgba(255, 85, 0, 0.15);
}

.landing-btn-submit {
  width: 100%;
  height: 52px;
  background: var(--landing-orange);
  color: #FFFFFF;
  font-size: 1.05rem;
  font-weight: 800;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  margin-top: 8px;
  box-shadow: 0 4px 14px rgba(255, 85, 0, 0.35);
}

.landing-btn-submit:hover {
  background: var(--landing-orange-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(255, 85, 0, 0.45);
}

.landing-form-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--landing-gray);
  margin-top: 14px;
}

/* ==========================================================================
   WIDGET 1: Calculadora de Fugas de Dinero (Landing 1)
   ========================================================================== */
.calc-widget-box {
  background: #FFFFFF;
  border-radius: 18px;
  padding: 30px;
  border: 1px solid var(--landing-border);
  box-shadow: var(--landing-shadow);
  margin-top: 28px;
}

.calc-slider-group {
  margin-bottom: 24px;
}

.calc-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  margin-bottom: 10px;
}

.calc-slider-val {
  color: var(--landing-orange);
  font-size: 1.25rem;
  font-weight: 800;
}

.calc-range-input {
  width: 100%;
  height: 8px;
  background: #E2E8F0;
  border-radius: 4px;
  outline: none;
  accent-color: var(--landing-orange);
  cursor: pointer;
}

.calc-result-banner {
  background: #FFF7ED;
  border: 1.5px solid #FFEDD5;
  border-radius: 14px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.calc-result-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: #9A3412;
}

.calc-result-number {
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--landing-orange);
  letter-spacing: -0.02em;
}

/* ==========================================================================
   WIDGET 2: Simulador Split WhatsApp vs Control (Landing 2)
   ========================================================================== */
.split-simulator-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 36px;
}

.split-col {
  border-radius: 16px;
  padding: 24px;
  position: relative;
}

.split-col.col-chaos {
  background: #FEF2F2;
  border: 1.5px solid #FEE2E2;
}

.split-col.col-order {
  background: #ECFDF5;
  border: 1.5px solid #D1FAE5;
}

.split-col-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 18px;
}

.split-col.col-chaos .split-col-header {
  color: var(--landing-red);
}

.split-col.col-order .split-col-header {
  color: var(--landing-green);
}

.chat-bubble-item {
  background: #FFFFFF;
  padding: 12px 16px;
  border-radius: 12px;
  margin-bottom: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  font-size: 0.88rem;
}

.chat-bubble-item.bubble-error {
  border-left: 4px solid var(--landing-red);
}

.chat-bubble-item.bubble-success {
  border-left: 4px solid var(--landing-green);
}

.chat-meta {
  font-size: 0.74rem;
  color: #94A3B8;
  margin-top: 4px;
  display: flex;
  justify-content: space-between;
}

/* ==========================================================================
   WIDGET 3: OmniX Pro — Selector de Zona y Demanda (Landing 3)
   ========================================================================== */
.pro-demand-simulator {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 26px;
  border: 1px solid var(--landing-border);
  box-shadow: var(--landing-shadow);
  margin-top: 24px;
}

.pro-demand-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.pro-demand-stats {
  background: #F8FAFC;
  border: 1px dashed #CBD5E1;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  text-align: center;
}

.pro-stat-val {
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--landing-dark-text);
}

.pro-stat-sub {
  font-size: 0.78rem;
  color: var(--landing-gray);
  font-weight: 600;
}

/* ==========================================================================
   WIDGET 4: Timeline Cobro en 24h (Landing 4)
   ========================================================================== */
.cashflow-timeline {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 28px;
}

.cashflow-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #FFFFFF;
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid var(--landing-border);
  box-shadow: var(--landing-shadow);
}

.cashflow-time-badge {
  background: var(--landing-dark-text);
  color: #FFFFFF;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 8px;
  white-space: nowrap;
}

.cashflow-step-body h4 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--landing-dark-text);
  margin-bottom: 4px;
}

.cashflow-step-body p {
  font-size: 0.86rem;
  color: var(--landing-gray);
}

/* ==========================================================================
   WIDGET 5: Simulador de Flota con IA (Landing 5)
   ========================================================================== */
.fleet-simulator-card {
  background: #FFFFFF;
  border-radius: 18px;
  padding: 24px;
  border: 1px solid var(--landing-border);
  box-shadow: var(--landing-shadow);
  margin-top: 28px;
}

.fleet-map-canvas {
  height: 220px;
  background: #0F172A;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fleet-tech-pin {
  position: absolute;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 800;
  box-shadow: 0 0 16px rgba(0,0,0,0.5);
  transition: all 0.5s ease;
}

.tech-van-1 { top: 30%; left: 25%; background: var(--landing-orange); }
.tech-van-2 { top: 65%; left: 70%; background: var(--landing-blue); }
.tech-van-3 { top: 40%; left: 75%; background: var(--landing-green); }

.fleet-emergency-pin {
  position: absolute;
  top: 45%;
  left: 35%;
  background: var(--landing-red);
  color: #FFFFFF;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
  animation: pulsePin 1.5s infinite;
}

@keyframes pulsePin {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 12px rgba(239, 68, 68, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.fleet-metrics-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
  text-align: center;
}

.fleet-metric-box {
  background: #F8FAFC;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--landing-border);
}

.fleet-metric-val {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--landing-orange);
}

.fleet-metric-lbl {
  font-size: 0.75rem;
  color: var(--landing-gray);
  font-weight: 600;
}

/* Social Proof & Trust Pillars */
.landing-trust-strip {
  padding: 30px 0;
  border-top: 1px solid var(--landing-border);
  border-bottom: 1px solid var(--landing-border);
  background: #FFFFFF;
}

.landing-trust-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
}

.landing-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--landing-dark-text);
}

/* Landing Hub Cards (for landings-hub.html) */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
  margin: 40px 0 70px;
}

.hub-card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 32px;
  border: 1px solid var(--landing-border);
  box-shadow: var(--landing-shadow);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hub-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--landing-shadow-lg);
  border-color: var(--landing-orange);
}

.hub-card-tag {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--landing-orange);
  margin-bottom: 10px;
}

.hub-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--landing-dark-text);
  margin-bottom: 12px;
  line-height: 1.25;
}

.hub-card-desc {
  font-size: 0.92rem;
  color: var(--landing-gray);
  margin-bottom: 24px;
}

.hub-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--landing-dark-text);
  color: #FFFFFF;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.hub-card:hover .hub-card-btn {
  background: var(--landing-orange);
}

/* Modal Feedback */
.form-success-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #10B981;
  color: #FFFFFF;
  padding: 16px 24px;
  border-radius: 12px;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-success-toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Responsive */
@media (max-width: 991px) {
  .landing-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .split-simulator-container {
    grid-template-columns: 1fr;
  }
  .landing-title {
    font-size: 2.25rem;
  }
}

@media (max-width: 600px) {
  .landing-title {
    font-size: 1.85rem;
  }
  .landing-form-card {
    padding: 24px 18px;
  }
  .fleet-metrics-strip {
    grid-template-columns: 1fr;
  }
}
