/* ============================================================
   OPTIMIZA — Portal Corporativo v2
   Con Font Awesome Pro 7.2 (Light, Duotone, Sharp)
   Paleta: azul institucional + blanco
   Tipografia: Poppins
   ============================================================ */

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins/Poppins-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins/Poppins-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  --primary: #1a3a5c;
  --primary-light: #2c74b3;
  --primary-dark: #0e2a42;
  --accent: #185492;
  --accent-hover: #0f3a68;
  --green: #42A65B;
  --green-light: #e8f5ec;
  --orange: #d97706;
  --orange-light: #fef3e2;
  --bg: #ffffff;
  --bg-alt: #f6f8fb;
  --bg-dark: #0c1a2b;
  --text: #2d3748;
  --text-light: #64748b;
  --border: #e2e8f0;
  --white: #ffffff;
  --font: 'Poppins', 'Segoe UI', system-ui, sans-serif;
  --max-w: 1200px;
  --nav-h: 72px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
  --shadow: 0 4px 20px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.08);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* Duotone colors */
  --fa-primary-color: var(--accent);
  --fa-secondary-color: var(--primary-light);
  --fa-secondary-opacity: 0.4;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-light); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea { font-family: inherit; }

/* --- Layout --- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--bg-dark); color: var(--white); }
.text-center { text-align: center; }

/* --- Section Headers --- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--primary-light);
  margin-bottom: 16px;
}
.section-label i { font-size: 11px; }
.section-dark .section-label { color: #7ab3e0; }
.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
  margin-bottom: 16px;
}
.section-dark .section-title { color: var(--white); }
.section-subtitle {
  font-size: 17px;
  color: var(--text-light);
  max-width: 620px;
  line-height: 1.7;
}
.section-dark .section-subtitle { color: #94a3b8; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  transition: all var(--transition);
  text-align: center;
  justify-content: center;
  line-height: 1.4;
}
.btn-primary {
  background: linear-gradient(135deg, #2c74b3, #185492);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(44,116,179,0.35);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #3584c3, #1a5fa2);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(44,116,179,0.45);
}
.btn-outline {
  border: 2px solid rgba(255,255,255,0.3);
  color: var(--white);
  background: transparent;
  backdrop-filter: blur(4px);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}
.btn-ghost {
  color: var(--primary-light);
  border: 2px solid var(--border);
  background: var(--white);
}
.btn-ghost:hover {
  border-color: var(--primary-light);
  color: var(--primary);
}
.btn-lg { padding: 16px 40px; font-size: 16px; }
.btn-sm { padding: 10px 24px; font-size: 14px; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}
.navbar.scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }
.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 100%;
}
.nav-logo img { height: 52px; transform: translate(-20px, 5px); }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a {
  font-size: 14px; font-weight: 600; color: var(--text-light);
  transition: color var(--transition); position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-links a::after {
  content: ''; position: absolute; bottom: -6px; left: 0;
  width: 0; height: 2px; background: var(--accent);
  border-radius: 1px; transition: width var(--transition);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { margin-left: auto; }
.nav-links a.nav-cta, .nav-links a.nav-cta:hover { color: var(--white); }
.nav-sep { width: 1px; height: 24px; background: var(--border); margin: 0 4px; flex-shrink: 0; }
.nav-acceso {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--text-light);
  padding: 6px 16px; border-radius: 8px;
  border: 1.5px solid var(--border);
  transition: all var(--transition);
}
.nav-acceso:hover { border-color: var(--primary-light); color: var(--primary); }
.nav-acceso::after { display: none; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 1px; transition: all var(--transition); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  background: var(--primary-dark); overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('../img/01_img.jpg') center/cover no-repeat;
  opacity: 0.25;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(12,26,43,0.95) 0%, rgba(26,58,92,0.82) 50%, rgba(24,84,146,0.70) 100%);
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 0.8fr; gap: 64px;
  align-items: center; padding: 100px 0 80px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(42,157,78,0.12); border: 1px solid rgba(42,157,78,0.25);
  color: #6dd88a; padding: 8px 20px; border-radius: 50px;
  font-size: 13px; font-weight: 600; margin-bottom: 28px;
}
.hero-badge i { font-size: 14px; }
.hero h1 {
  font-size: clamp(36px, 5vw, 52px); font-weight: 700;
  line-height: 1.12; color: var(--white); margin-bottom: 20px;
}
.hero h1 .highlight { color: #7ab3e0; }
.hero-sub {
  font-size: 18px; line-height: 1.75; color: #b0c4d8;
  margin-bottom: 36px; max-width: 540px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 40px; margin-top: 52px;
  padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.08);
}
.hero-stat-num { font-size: 30px; font-weight: 700; color: var(--white); line-height: 1.1; }
.hero-stat-label { font-size: 13px; color: #6a8aaa; margin-top: 4px; }

/* Hero right — feature cards */
.hero-features { display: flex; flex-direction: column; gap: 16px; }
.hero-feature {
  display: flex; align-items: center; gap: 16px;
  background: #fff; border: 1px solid #e2e8f0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  border-radius: var(--radius-sm); padding: 20px;
  transition: all var(--transition);
}
.hero-feature:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.12); transform: translateX(4px); }
.hero-feature-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.hero-feature-icon.blue, .hero-feature-icon.green, .hero-feature-icon.purple {
  background: #edf4fc; color: #185492;
  --fa-primary-color: #185492; --fa-secondary-color: #2c74b3; --fa-secondary-opacity: 0.4;
}
.hero-feature h4 { font-size: 14px; font-weight: 700; color: #1a3a5c; margin-bottom: 2px; }
.hero-feature p { font-size: 13px; color: #64748b; line-height: 1.4; }

/* ============================================================
   PROBLEM
   ============================================================ */
.problem-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.problem-list { display: flex; flex-direction: column; gap: 14px; margin-top: 20px; }
.problem-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px 20px; background: var(--bg);
  border-radius: var(--radius-sm); border: 1px solid var(--border);
  transition: all var(--transition);
}
.problem-item:hover { border-color: #dc2626; box-shadow: var(--shadow); }
.problem-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: #fef2f2; color: #dc2626;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 18px;
  --fa-primary-color: #dc2626; --fa-secondary-color: #ef4444; --fa-secondary-opacity: 0.4;
}
.problem-item h4 { font-size: 15px; font-weight: 700; color: var(--primary); margin-bottom: 3px; }
.problem-item p { font-size: 14px; color: var(--text-light); line-height: 1.5; }
.problem-callout {
  margin-top: 28px; padding: 20px 24px;
  background: #fef2f2; border-left: 4px solid #dc2626;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 15px; font-weight: 600; color: var(--text);
}

/* ============================================================
   BENEFITS
   ============================================================ */
.benefits-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 48px;
}
.benefit-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px 28px;
  transition: all var(--transition); position: relative; overflow: hidden;
}
.benefit-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: transparent; transition: background var(--transition);
}
.benefit-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg); transform: translateY(-4px);
}
.benefit-card:hover::before { background: var(--accent); }
.benefit-icon {
  width: 60px; height: 60px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 20px;
}
.benefit-icon.blue, .benefit-icon.green, .benefit-icon.purple { background: #edf4fc; color: var(--accent); --fa-primary-color: var(--accent); --fa-secondary-color: var(--primary-light); --fa-secondary-opacity: 0.35; }
.benefit-card h3 { font-size: 18px; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.benefit-card p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* ============================================================
   PROCESS
   ============================================================ */
.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; margin-top: 48px; position: relative;
}
.process-grid::before {
  content: ''; position: absolute; top: 48px;
  left: 12.5%; right: 12.5%; height: 2px;
  background: linear-gradient(90deg, var(--border), var(--accent), var(--border));
  opacity: 0.5; z-index: 0;
}
.process-step { text-align: center; position: relative; z-index: 1; }
.step-num {
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--accent); color: var(--white);
  font-size: 18px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 4px 16px rgba(24,84,146,0.25);
}
.step-icon { font-size: 22px; color: var(--primary-light); margin-bottom: 12px; }
.process-step h3 { font-size: 16px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.process-step p { font-size: 14px; color: var(--text-light); line-height: 1.6; padding: 0 4px; }

/* ============================================================
   RESULTS / SOCIAL PROOF
   ============================================================ */
.results-header { text-align: center; margin-bottom: 48px; }
.metrics-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-bottom: 48px;
}
.metric-card {
  text-align: center; padding: 36px 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius); transition: all var(--transition);
}
.metric-card:hover { background: rgba(255,255,255,0.08); transform: translateY(-2px); }
.metric-icon { font-size: 28px; color: #7ab3e0; margin-bottom: 12px; }
.metric-num { font-size: 42px; font-weight: 700; color: var(--white); line-height: 1; margin-bottom: 6px; }
.metric-label { font-size: 14px; color: #6a8aaa; }

.testimonials-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.testimonial-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius); padding: 32px;
  transition: all var(--transition);
}
.testimonial-card:hover { background: rgba(255,255,255,0.08); }
.testimonial-stars { color: #fbbf24; font-size: 14px; margin-bottom: 16px; display: flex; gap: 3px; }
.testimonial-text { font-size: 15px; line-height: 1.75; color: #c8d8e8; font-style: italic; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--primary-light));
  color: var(--white); display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px;
}
.testimonial-name { font-weight: 700; font-size: 14px; color: var(--white); }
.testimonial-role { font-size: 13px; color: #6a8aaa; }

/* ============================================================
   SYSTEM / PRODUCT
   ============================================================ */
.system-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.system-features { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.system-feature { display: flex; gap: 14px; align-items: flex-start; }
.system-feature .check {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--green-light); color: var(--green);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 11px; margin-top: 2px;
}
.system-feature p { font-size: 15px; color: var(--text-light); line-height: 1.6; }
.system-feature p strong { color: var(--text); }

.system-mockup {
  background: linear-gradient(135deg, #0c1a2b 0%, #162d4a 100%);
  border-radius: var(--radius); padding: 3px;
  box-shadow: var(--shadow-lg);
}
.mockup-chrome {
  background: #0e1c2e; border-radius: calc(var(--radius) - 3px); overflow: hidden;
}
.mockup-topbar {
  display: flex; align-items: center; gap: 7px;
  padding: 14px 18px; background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-dot.r { background: #ef4444; } .mockup-dot.y { background: #eab308; } .mockup-dot.g { background: #22c55e; }
.mockup-url {
  margin-left: 12px; padding: 5px 14px;
  background: rgba(255,255,255,0.05); border-radius: 6px;
  font-size: 11px; color: #4a6a8a;
}
.mockup-body {
  padding: 24px; display: grid;
  grid-template-columns: 1fr 1fr; gap: 14px;
}
.mock-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px; padding: 20px;
}
.mock-card .mc-label { font-size: 10px; color: #4a6a8a; text-transform: uppercase; letter-spacing: 1px; }
.mock-card .mc-val { font-size: 28px; font-weight: 700; color: var(--white); margin-top: 6px; }
.mock-card .mc-val.green { color: #4ade80; }
.mock-card .mc-bar { height: 5px; background: rgba(255,255,255,0.06); border-radius: 3px; margin-top: 14px; overflow: hidden; }
.mock-card .mc-bar span { display: block; height: 100%; border-radius: 3px; }
.mc-bar .fill-blue { background: var(--primary-light); }
.mc-bar .fill-green { background: #4ade80; }

/* ============================================================
   TEAM
   ============================================================ */
.team-grid {
  display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: center;
}
.team-visual { text-align: center; }
.team-photo {
  width: 100%; max-width: 480px; border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(24,84,146,0.15);
  object-fit: cover;
}
.team-text p { font-size: 15px; color: var(--text-light); line-height: 1.75; margin-bottom: 16px; }
.team-creds {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px;
}
.cred {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; background: var(--bg-alt);
  border-radius: var(--radius-sm); font-size: 14px;
  color: var(--text); transition: all var(--transition);
}
.cred:hover { box-shadow: var(--shadow); }
.cred i { color: var(--accent); font-size: 16px; width: 20px; text-align: center; }

/* ============================================================
   FORM SECTION
   ============================================================ */
.form-section { background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%); }
.form-grid {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start;
}
.form-info .section-title { margin-bottom: 12px; }
.form-benefits { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.form-benefit { display: flex; gap: 12px; align-items: center; }
.fb-icon {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--green-light); color: var(--green);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 12px;
}
.form-benefit p { font-size: 14px; color: var(--text-light); }
.form-expect {
  margin-top: 28px; padding: 20px 22px;
  background: #edf4fc; border-radius: var(--radius-sm);
  border-left: 4px solid var(--accent);
}
.form-expect h4 { font-size: 14px; font-weight: 700; color: var(--primary); margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.form-expect p { font-size: 13px; color: var(--text-light); line-height: 1.7; }

.form-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 40px;
  box-shadow: var(--shadow);
}
.form-card h3 { font-size: 22px; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.form-card .form-desc { font-size: 14px; color: var(--text-light); margin-bottom: 28px; }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.form-row label .req { color: var(--accent); }
.form-row label.dz-btn { display: inline-flex; color: #fff; font-size: 0.83rem; margin-bottom: 16px; }
.form-input {
  width: 100%; padding: 13px 16px;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-size: 14px; color: var(--text); background: var(--bg);
  transition: all var(--transition);
}
.form-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(24,84,146,0.08); }
.form-input::placeholder { color: #94a3b8; }
textarea.form-input { min-height: 80px; resize: vertical; }

/* ── Drop zone ── */
.upload-zone {
  border: 2px dashed #C6DAEA; border-radius: var(--radius);
  padding: 36px 24px 28px; text-align: center;
  background: #EAF1FA; cursor: pointer;
  transition: all 0.22s ease;
  position: relative; overflow: hidden;
  user-select: none;
}
.upload-zone:hover, .upload-zone.dragover {
  border-color: var(--accent);
  background: #DCE9F5;
  box-shadow: 0 0 0 4px rgba(24,84,146,.13);
}
/* Marco interior que aparece al hover */
.upload-zone .dz-inner {
  position: absolute; inset: 8px;
  border: 1.5px dashed transparent; border-radius: 10px;
  transition: border-color 0.25s; pointer-events: none;
}
.upload-zone:hover .dz-inner,
.upload-zone.dragover .dz-inner { border-color: rgba(24,84,146,.25); }
/* Caja del ícono — sube al hover */
.dz-icon-box {
  width: 52px; height: 52px;
  background: var(--accent); border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 4px 14px rgba(24,84,146,.30);
  transition: transform 0.22s ease;
  position: relative; z-index: 1;
  font-size: 22px; color: #fff;
}
.upload-zone:hover .dz-icon-box,
.upload-zone.dragover .dz-icon-box { transform: translateY(-4px); }
/* Textos */
.dz-title {
  font-size: 0.94rem; font-weight: 600; color: #0F3A68;
  margin-bottom: 6px; position: relative; z-index: 1;
}
.dz-sub {
  font-size: 0.74rem; color: #9AAEC2; line-height: 1.7;
  margin-bottom: 16px; position: relative; z-index: 1;
}
/* Botón visual dentro de la zona */
.dz-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff;
  border-radius: 8px; padding: 9px 20px;
  font-size: 0.83rem; font-weight: 600;
  transition: background 0.2s;
  position: relative; z-index: 1;
  margin-bottom: 16px; cursor: pointer;
}
.dz-btn:hover, .upload-zone:hover .dz-btn,
.upload-zone.dragover .dz-btn { background: #0F3A68; color: #fff; }
/* Badges de formato */
.dz-footer { display: flex; justify-content: center; gap: 6px; position: relative; z-index: 1; }
.format-tag {
  padding: 3px 10px; border-radius: 4px;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(24,84,146,.10); color: var(--accent);
}
/* Mantener compatibilidad con .upload-formats si aún se usa */
.upload-formats { margin-top: 12px; display: flex; gap: 8px; justify-content: center; }
.form-submit { width: 100%; margin-top: 12px; }
.form-submit:disabled { opacity: 0.55; cursor: not-allowed; }
.form-legal { font-size: 11px; color: var(--text-light); text-align: center; margin-top: 14px; line-height: 1.6; }

/* File list (analiza-facturas.js) */
#fileList { margin-top: 10px; }
.fl-summary { font-size: 13px; color: var(--text-light); margin-bottom: 6px; padding: 0 2px; }
.fl-item {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 10px; border-radius: var(--radius-sm);
  background: #f6f8fb; border: 1px solid var(--border);
  margin-bottom: 5px; font-size: 13px;
}
.fl-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); }
.fl-size { color: var(--text-light); flex-shrink: 0; }
.fl-remove {
  background: none; border: none; cursor: pointer; color: #94a3b8;
  font-size: 13px; padding: 2px 4px; line-height: 1; flex-shrink: 0;
  transition: color 0.2s;
}
.fl-remove:hover { color: #dc3545; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; align-items: start; }
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  overflow: hidden; transition: all var(--transition);
}
.faq-item:hover { border-color: var(--primary-light); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; font-size: 15px; font-weight: 600;
  color: var(--primary); cursor: pointer; background: var(--white);
  width: 100%; text-align: left; transition: all var(--transition);
}
.faq-q:hover { background: var(--bg-alt); }
.faq-q .chevron { font-size: 13px; color: var(--text-light); transition: transform var(--transition); flex-shrink: 0; margin-left: 12px; }
.faq-item.open .chevron { transform: rotate(180deg); }
.faq-item.open .faq-q { color: var(--accent); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-a-inner { padding: 0 22px 20px; font-size: 14px; color: var(--text-light); line-height: 1.75; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.contact-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px; text-align: center;
  transition: all var(--transition);
}
.contact-card:hover { border-color: var(--primary-light); box-shadow: var(--shadow); transform: translateY(-3px); }
.contact-card .cc-icon { font-size: 28px; color: var(--accent); margin-bottom: 14px; }
.contact-card h4 { font-size: 16px; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.contact-card p { font-size: 14px; color: var(--text-light); }
.contact-card a { color: var(--primary-light); font-weight: 600; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--bg-dark); color: #6a8aaa; padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { height: 36px; margin-bottom: 16px; }
.footer-brand p { font-size: 13px; line-height: 1.7; color: #4a6a8a; max-width: 280px; }
.footer-col h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--white); margin-bottom: 18px; }
.footer-col a, .footer-col span { display: block; font-size: 14px; color: #4a6a8a; margin-bottom: 10px; transition: color var(--transition); }
.footer-col a:hover { color: var(--white); }
.footer-col a i, .footer-col span i { margin-right: 6px; width: 16px; text-align: center; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 0; margin-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 13px; color: #364e6b; flex-wrap: wrap; gap: 16px;
}
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: #4a6a8a; } .footer-links a:hover { color: var(--white); }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: #4a6a8a; font-size: 15px; transition: all var(--transition);
}
.footer-social a:hover { background: var(--accent); color: var(--white); border-color: var(--accent); }

/* ============================================================
   FLOATING ELEMENTS
   ============================================================ */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  transition: all var(--transition);
}
.wa-float:hover { transform: scale(1.08); color: white; box-shadow: 0 6px 28px rgba(37,211,102,0.45); }

.back-top {
  position: fixed; bottom: 100px; right: 32px; z-index: 998;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--white); border: 1px solid var(--border);
  color: var(--text); display: flex; align-items: center; justify-content: center;
  font-size: 14px; opacity: 0; pointer-events: none;
  transition: all var(--transition); box-shadow: var(--shadow-sm);
}
.back-top.visible { opacity: 1; pointer-events: auto; }
.back-top:hover { background: var(--accent); color: var(--white); border-color: var(--accent); }

.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 997;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(12px);
  border-top: 1px solid var(--border); padding: 12px 24px;
  display: none; box-shadow: 0 -4px 16px rgba(0,0,0,0.05);
}
.sticky-cta.visible { display: block; }
.sticky-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.sticky-inner .sticky-text { font-size: 14px; font-weight: 600; color: var(--primary); }
.sticky-inner .sticky-sub { font-size: 13px; color: var(--text-light); font-weight: 400; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner, .problem-grid, .system-grid, .form-grid, .faq-grid, .team-grid { grid-template-columns: 1fr; }
  .hero-features { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
/* Intereses alineados */
.ia-split-b {
  display: grid;
  grid-template-columns: 220px 1px 1fr;
  gap: 40px;
  align-items: center;
  text-align: left;
}
.ia-split-b .ia-divider {
  background: var(--border);
  align-self: stretch;
}
@media (max-width: 768px) {
  .ia-split-b {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
    padding: 32px 24px !important;
  }
  .ia-split-b .ia-divider { display: none; }
  .ia-split-b > div:last-child p[style*="border-left"] {
    border-left: none !important;
    padding-left: 0 !important;
    border-bottom: 3px solid #185492;
    padding-bottom: 12px;
  }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .nav-links {
    display: none; flex-direction: column;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: var(--white); padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow); gap: 14px;
  }
  .nav-links.open { display: flex; }
  .nav-cta { margin-left: 0; }
  .nav-toggle { display: flex; }
  .hero h1 { font-size: 30px; }
  .hero-sub { font-size: 16px; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .benefits-grid, .contact-cards { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before { display: none; }
  .metrics-row, .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .team-creds { grid-template-columns: 1fr; }
  .sticky-inner .sticky-sub { display: none; }
}
@media (max-width: 480px) {
  .process-grid { grid-template-columns: 1fr; }
  .container { padding: 0 16px; }
}
