/* ============================================================
   NEXUS CORE — Stripe / Linear Style Enterprise Theme
   Paleta: Midnight Navy (#080A10), Indigo (#6366F1), Cyan (#06B6D4), Slate (#94A3B8)
   ============================================================ */

:root {
  --bg-main: #080A10;
  --bg-card: rgba(14, 18, 28, 0.72);
  --bg-card-hover: rgba(22, 28, 44, 0.88);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(99, 102, 241, 0.4);
  --border-cyan: rgba(6, 182, 212, 0.4);

  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;

  --accent-indigo: #6366F1;
  --accent-cyan: #06B6D4;
  --accent-violet: #8B5CF6;
  --accent-emerald: #10B981;

  --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
  --font-code: 'Fira Code', monospace;
  --transition-fast: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body.stripe-theme {
  position: relative;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Capa de iluminación ambiental (Glow Orbs & Grid) */
.ambient-glow-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.25;
}

.orb-primary {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-indigo) 0%, transparent 70%);
  top: -150px;
  left: 20%;
}

.orb-cyan {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%);
  top: 40%;
  right: -100px;
}

.orb-violet {
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, var(--accent-violet) 0%, transparent 70%);
  bottom: 5%;
  left: -150px;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 64px 64px;
}

/* Utilidades */
a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  background: none;
  border: none;
}

/* ============================================================
   1. CABECERA CORPORATIVA ELEGANTE
   ============================================================ */
.corp-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  padding: 1.1rem 2rem;
  background: rgba(8, 10, 16, 0.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.corp-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-text {
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  font-weight: 500;
}

.brand-text b {
  color: var(--accent-cyan);
}

.brand-version {
  font-size: 0.7rem;
  padding: 2px 8px;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: 999px;
  color: #A5B4FC;
  font-family: var(--font-code);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.92rem;
  color: var(--text-secondary);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: #FFF;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link-subtle {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.nav-link-subtle:hover {
  color: #FFF;
}

.btn-primary-corp {
  padding: 0.6rem 1.25rem;
  background: #FFF;
  color: #000;
  font-weight: 600;
  font-size: 0.88rem;
  border-radius: 6px;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.12);
}

.btn-primary-corp:hover {
  background: #E2E8F0;
  transform: translateY(-1px);
}

/* ============================================================
   2. HERO EMPRESARIAL
   ============================================================ */
.corp-hero {
  position: relative;
  z-index: 1;
  padding: 10rem 2rem 5rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

.hero-announcement {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 2.2rem;
  transition: all var(--transition-fast);
}

.hero-announcement:hover {
  border-color: var(--border-accent);
  background: rgba(99, 102, 241, 0.06);
  color: #FFF;
}

.badge-new {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  background: var(--accent-indigo);
  color: #FFF;
  border-radius: 999px;
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  max-width: 1050px;
  margin: 0 auto 1.8rem auto;
}

.gradient-text {
  background: linear-gradient(135deg, #FFF 20%, #A5B4FC 60%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 780px;
  margin: 0 auto 3rem auto;
  line-height: 1.7;
}

.hero-lead strong {
  color: #FFF;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 4.5rem;
}

.btn-hero-primary {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.8rem;
  background: var(--accent-indigo);
  color: #FFF;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 8px;
  transition: all var(--transition-fast);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.35);
}

.btn-hero-primary:hover {
  background: #4F46E5;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(99, 102, 241, 0.5);
}

.btn-hero-secondary {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.8rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  transition: all var(--transition-fast);
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.hero-metrics-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  padding: 2rem 3rem;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  max-width: 1080px;
  margin: 0 auto;
}

.metric-pill {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  text-align: center;
}

.metric-val {
  font-size: 1.8rem;
  font-weight: 800;
  color: #FFF;
  letter-spacing: -0.02em;
}

.metric-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.metric-divider {
  width: 1px;
  height: 40px;
  background: var(--border-subtle);
}

/* ============================================================
   3. CONSOLA INTERACTIVA DE CÓDIGO & TELEMETRÍA
   ============================================================ */
.console-section {
  position: relative;
  z-index: 1;
  padding: 6rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.console-header-block {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  display: block;
  margin-bottom: 0.8rem;
}

.section-heading {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-subtext {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto;
}

.interactive-terminal-card {
  background: #0B0E17;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.65), 0 0 1px rgba(99, 102, 241, 0.4);
  max-width: 1100px;
  margin: 0 auto;
}

.terminal-topbar {
  padding: 0.8rem 1.4rem;
  background: #080A12;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dot.red { background: #EF4444; }
.dot.yellow { background: #F59E0B; }
.dot.green { background: #10B981; }

.terminal-tabs {
  display: flex;
  gap: 0.5rem;
}

.tab-btn {
  padding: 0.35rem 0.9rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  border-radius: 6px;
  transition: all var(--transition-fast);
}

.tab-btn.active {
  background: rgba(99, 102, 241, 0.15);
  color: #FFF;
  font-weight: 600;
}

.terminal-status-badge {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-code);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.7);
}

.terminal-body {
  padding: 2rem;
  background: #070913;
  min-height: 380px;
  font-family: var(--font-code);
  font-size: 0.92rem;
  line-height: 1.7;
}

.code-panel {
  display: none;
}

.code-panel.active {
  display: block;
}

/* Syntax Highlighting */
.c-kw { color: #818CF8; font-weight: 600; }
.c-str { color: #34D399; }
.c-comment { color: #64748B; font-style: italic; }
.c-num { color: #F59E0B; }
.c-bool { color: #EC4899; }

.terminal-footer {
  padding: 1rem 1.8rem;
  background: #080A12;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.telemetry-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.t-lbl {
  font-size: 0.65rem;
  font-family: var(--font-code);
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.t-val {
  font-size: 0.95rem;
  font-family: var(--font-code);
  font-weight: 600;
  color: #FFF;
}

.highlight-green {
  color: var(--accent-emerald);
}

.btn-copy-code {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.95rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  color: var(--text-secondary);
  font-size: 0.8rem;
  transition: all var(--transition-fast);
}

.btn-copy-code:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #FFF;
}

/* ============================================================
   4. BENTO GRID ARQUITECTÓNICO
   ============================================================ */
.bento-section {
  position: relative;
  z-index: 1;
  padding: 6rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.section-header-centered {
  text-align: center;
  margin-bottom: 4rem;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 2.4rem;
  backdrop-filter: blur(12px);
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.bento-card.card-large {
  grid-column: span 2;
}

.bento-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-indigo);
  display: block;
  margin-bottom: 0.8rem;
}

.bento-title {
  font-size: 1.55rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  line-height: 1.3;
}

.bento-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

/* Simulación mapa de nodos */
.live-map-simulation {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1.2rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
}

.map-node {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.8);
  animation: pulseNode 2s infinite ease-in-out;
}

@keyframes pulseNode {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
}

.map-label {
  font-size: 0.78rem;
  font-family: var(--font-code);
  color: var(--text-muted);
}

.security-badge-group {
  display: flex;
  gap: 0.8rem;
}

.sec-badge {
  font-size: 0.75rem;
  font-family: var(--font-code);
  font-weight: 600;
  padding: 4px 10px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 4px;
  color: #34D399;
}

.speed-stat-box {
  padding: 1.2rem;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
}

.speed-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: #FFF;
}

.speed-caption {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.metrics-visual-bars {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.bar-row {
  display: grid;
  grid-template-columns: 160px 1fr 120px;
  align-items: center;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.bar-fill {
  height: 8px;
  background: linear-gradient(90deg, var(--accent-indigo), var(--accent-cyan));
  border-radius: 999px;
}

/* ============================================================
   5. CALCULADORA INTERACTIVA DE ROI
   ============================================================ */
.calculator-section {
  position: relative;
  z-index: 1;
  padding: 6rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.calc-container {
  background: linear-gradient(135deg, rgba(14, 18, 30, 0.95), rgba(8, 10, 16, 0.95));
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 4rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.calc-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.calc-heading {
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.calc-p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
}

.calc-slider-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 1.8rem;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.2rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.slider-display-val {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

.corp-slider {
  width: 100%;
  height: 6px;
  background: #1E293B;
  border-radius: 999px;
  outline: none;
  -webkit-appearance: none;
}

.corp-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.8);
  cursor: pointer;
}

.slider-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.8rem;
  font-family: var(--font-code);
}

.calc-result-card {
  background: #0B0E17;
  border: 1px solid var(--border-accent);
  border-radius: 12px;
  padding: 2.4rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.result-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.comparison-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  color: var(--text-secondary);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.highlight-nexus {
  color: #FFF;
  font-weight: 700;
}

.legacy-price {
  color: #EF4444;
  text-decoration: line-through;
  font-family: var(--font-code);
}

.nexus-price {
  color: var(--accent-emerald);
  font-size: 1.35rem;
  font-family: var(--font-code);
}

.savings-banner {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 8px;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  text-align: center;
  margin: 0.5rem 0;
}

.savings-text {
  font-size: 0.75rem;
  color: #A7F3D0;
  text-transform: uppercase;
  font-weight: 700;
}

.savings-amount {
  font-size: 2rem;
  font-weight: 800;
  color: #34D399;
}

.btn-calc-cta {
  padding: 0.9rem;
  background: var(--accent-indigo);
  color: #FFF;
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: 6px;
  text-align: center;
  transition: all var(--transition-fast);
}

.btn-calc-cta:hover {
  background: #4F46E5;
}

.calc-footnote {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
}

/* ============================================================
   6. TABLA DE PLANES (PRICING)
   ============================================================ */
.pricing-section {
  position: relative;
  z-index: 1;
  padding: 6rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.billing-toggle-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0.4rem 1.2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  margin-top: 1.5rem;
}

.toggle-switch {
  width: 44px;
  height: 24px;
  background: #1E293B;
  border-radius: 999px;
  position: relative;
  transition: background var(--transition-fast);
}

.toggle-switch.active {
  background: var(--accent-indigo);
}

.toggle-knob {
  width: 18px;
  height: 18px;
  background: #FFF;
  border-radius: 50%;
  position: absolute;
  top: 3px;
  left: 3px;
  transition: transform var(--transition-fast);
}

.toggle-switch.active .toggle-knob {
  transform: translateX(20px);
}

.toggle-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.toggle-label.active {
  color: #FFF;
  font-weight: 600;
}

.discount-pill {
  font-size: 0.7rem;
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
}

.pricing-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all var(--transition-fast);
}

.pricing-card:hover {
  border-color: rgba(99, 102, 241, 0.4);
  transform: translateY(-4px);
}

.pricing-card.featured-plan {
  background: linear-gradient(180deg, rgba(20, 26, 44, 0.95), rgba(10, 14, 24, 0.95));
  border: 1px solid var(--accent-indigo);
  box-shadow: 0 12px 40px rgba(99, 102, 241, 0.25);
}

.featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  background: var(--accent-indigo);
  color: #FFF;
  border-radius: 999px;
}

.plan-name {
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.plan-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.8rem;
  min-height: 44px;
}

.plan-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  margin-bottom: 2rem;
}

.price-currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.price-number {
  font-size: 3.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #FFF;
}

.price-number.custom-label {
  font-size: 2.2rem;
}

.price-period {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.plan-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.8rem;
}

.plan-features-list li {
  line-height: 1.5;
}

.btn-plan-action {
  padding: 0.85rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  color: #FFF;
  font-weight: 600;
  font-size: 0.92rem;
  text-align: center;
  transition: all var(--transition-fast);
}

.btn-plan-action:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-plan-action.primary-action {
  background: var(--accent-indigo);
  border-color: var(--accent-indigo);
}

.btn-plan-action.primary-action:hover {
  background: #4F46E5;
}

/* ============================================================
   7. FORMULARIO DE CONTACTO / DEMO TÉCNICA
   ============================================================ */
.corp-contact-section {
  position: relative;
  z-index: 1;
  padding: 6rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 4rem;
}

.contact-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

.contact-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.contact-details-box {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 2rem;
}

.c-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
}

.c-val {
  font-size: 1.05rem;
  color: #FFF;
}

.highlight-cyan {
  color: var(--accent-cyan);
}

.corp-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: #090B12;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 0.85rem 1rem;
  color: #FFF;
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-indigo);
}

.btn-submit-corp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem;
  background: var(--accent-indigo);
  color: #FFF;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 6px;
  transition: all var(--transition-fast);
  margin-top: 0.5rem;
}

.btn-submit-corp:hover {
  background: #4F46E5;
}

.form-feedback {
  font-size: 0.88rem;
  padding: 0.8rem;
  border-radius: 6px;
  display: none;
}

/* ============================================================
   8. FOOTER EMPRESARIAL
   ============================================================ */
.corp-footer {
  position: relative;
  z-index: 1;
  padding: 5rem 2rem 3rem 2rem;
  border-top: 1px solid var(--border-subtle);
  background: #06070B;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 5rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--border-subtle);
}

.f-brand-col {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.f-brand-title {
  font-size: 1.25rem;
}

.f-brand-title b {
  color: var(--accent-cyan);
}

.f-brand-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 320px;
}

.f-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.f-col {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.f-col-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.f-col a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.f-col a:hover {
  color: #FFF;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.f-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.live-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-emerald);
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */
@media (max-width: 1024px) {
  .hero-metrics-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  .metric-divider { display: none; }
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-card.card-large {
    grid-column: span 1;
  }
  .calc-layout {
    grid-template-columns: 1fr;
  }
  .pricing-cards-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu { display: none; }
  .hero-cta-group {
    flex-direction: column;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .calc-container {
    padding: 2rem 1.5rem;
  }
  .contact-grid {
    padding: 2rem 1.5rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
}
