/* ================================================
   YNTEGRO – Landing Page Premium
   go.yntegro.com
   ================================================ */

:root {
  --navy: #002050;
  --teal: #009688;
  --yellow: #C8841C;
  --white: #FFFFFF;
  --gray-50: #f4f7fb;
  --gray-100: #e8edf5;
  --gray-200: #d0daea;
  --gray-400: #8fa3c0;
  --gray-600: #4a6080;
  --gray-800: #1e3450;
  --text: #1a2f4a;
  --text-muted: #5a7290;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(0,32,80,0.10);
  --shadow-lg: 0 12px 48px rgba(0,32,80,0.18);
  --transition: 0.3s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4 { font-family: 'Sora', sans-serif; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }

.gradient-text {
  background: linear-gradient(135deg, var(--teal) 0%, #1c4fa1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* === LAYOUT === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: 96px 0;
}
.section-tag {
  display: inline-block;
  background: rgba(0,150,136,0.10);
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
  border: 1px solid rgba(0,150,136,0.25);
}
.section-title { margin-bottom: 16px; }
.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 48px;
}
.mt-2 { margin-top: 24px; }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--teal);
  color: var(--white);
  padding: 14px 28px;
  font-size: 0.95rem;
  box-shadow: 0 4px 20px rgba(0,150,136,0.35);
}
.btn-primary:hover { background: #00897b; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,150,136,0.45); }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  padding: 14px 28px;
  font-size: 0.95rem;
  border: 2px solid var(--gray-200);
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn-ghost-white {
  background: transparent;
  color: var(--white);
  padding: 14px 28px;
  font-size: 0.95rem;
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-ghost-white:hover { background: rgba(255,255,255,0.1); border-color: white; }
.btn-lg { padding: 16px 34px; font-size: 1rem; }
.btn-xl { padding: 18px 40px; font-size: 1.05rem; }
.btn-full { width: 100%; justify-content: center; padding: 16px; font-size: 1rem; }
.btn-primary-sm {
  background: var(--teal);
  color: white;
  padding: 9px 20px;
  font-size: 0.85rem;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}
.btn-primary-sm:hover { background: #00897b; }
.btn-outline-sm {
  background: transparent;
  color: var(--navy);
  padding: 9px 20px;
  font-size: 0.85rem;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  border-radius: 10px;
  border: 2px solid var(--gray-200);
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}
.btn-outline-sm:hover { border-color: var(--teal); color: var(--teal); }

/* === NAVBAR === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-100);
  transition: var(--transition);
}
.navbar.scrolled { background: rgba(255,255,255,0.97); box-shadow: var(--shadow); }
.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 2px;
  text-decoration: none;
  font-family: 'Sora', sans-serif;
  font-weight: 800;
}
.logo-mark {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--navy) 0%, #1a4a8a 100%);
  color: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  margin-right: 4px;
}
.logo-text { font-size: 1.35rem; color: var(--navy); }
.logo-accent { color: var(--teal); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  margin-left: 16px;
}
.nav-links a {
  text-decoration: none;
  color: var(--gray-600);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--navy); background: var(--gray-50); }
.nav-mobile-only { display: none; }
.nav-cta { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: var(--transition); }

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, #f0f6ff 0%, #e8f4ff 40%, #f4f9f8 100%);
  padding-top: 72px;
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,32,80,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,32,80,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}
.b1 { width: 600px; height: 600px; background: radial-gradient(circle, rgba(0,150,136,0.15), transparent 70%); top: -200px; right: -100px; }
.b2 { width: 400px; height: 400px; background: radial-gradient(circle, rgba(0,32,80,0.12), transparent 70%); bottom: -100px; left: -100px; }
.b3 { width: 300px; height: 300px; background: radial-gradient(circle, rgba(0,150,136,0.10), transparent 70%); top: 40%; right: 30%; }
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 24px 100px;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,32,80,0.06);
  border: 1px solid rgba(0,32,80,0.12);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
  animation: fadeSlideUp 0.6s ease both;
}
.badge-dot { width: 7px; height: 7px; background: var(--teal); border-radius: 50%; animation: pulse 2s ease infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.6;transform:scale(1.3)} }
.hero-title {
  margin-bottom: 20px;
  animation: fadeSlideUp 0.7s 0.1s ease both;
}
.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 520px;
  animation: fadeSlideUp 0.7s 0.2s ease both;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  animation: fadeSlideUp 0.7s 0.3s ease both;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  animation: fadeSlideUp 0.7s 0.4s ease both;
}
.stat-item { text-align: left; }
.stat-number {
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--navy);
}
.stat-label { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; }
.stat-divider { width: 1px; height: 40px; background: var(--gray-200); }
.hero-mockup {
  position: relative;
  animation: fadeSlideUp 0.8s 0.2s ease both;
}
@keyframes fadeSlideUp { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:translateY(0)} }

/* Mockup browser */
.mockup-browser {
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 80px rgba(0,32,80,0.20), 0 0 0 1px rgba(0,32,80,0.08);
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.browser-bar {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-100);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.browser-dots { display: flex; gap: 5px; }
.browser-dots span { width: 10px; height: 10px; border-radius: 50%; }
.browser-dots span:nth-child(1){background:#ff5f57}
.browser-dots span:nth-child(2){background:#febc2e}
.browser-dots span:nth-child(3){background:#28c840}
.browser-url { flex: 1; background: white; border: 1px solid var(--gray-200); border-radius: 6px; padding: 4px 12px; font-size: 0.75rem; color: var(--text-muted); }
.browser-content { padding: 0; overflow: hidden; }
.dash-header {
  background: var(--navy);
  color: white;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dash-logo-small { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 0.9rem; }
.dlm { color: var(--teal); }
.dash-user { display: flex; align-items: center; gap: 8px; font-size: 0.78rem; }
.dash-avatar { width: 26px; height: 26px; border-radius: 50%; background: var(--teal); display: flex; align-items: center; justify-content: center; font-size: 0.65rem; font-weight: 700; }
.dash-body { display: flex; height: 260px; }
.dash-sidebar {
  width: 110px;
  background: #f8fafc;
  border-right: 1px solid var(--gray-100);
  padding: 8px 0;
  flex-shrink: 0;
}
.ds-item {
  padding: 7px 12px;
  font-size: 0.7rem;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: var(--transition);
  border-radius: 6px;
  margin: 2px 6px;
}
.ds-item.active, .ds-item:hover { background: rgba(0,150,136,0.1); color: var(--teal); }
.ds-icon { font-size: 0.8rem; }
.dash-main { flex: 1; padding: 12px; overflow: hidden; background: white; }
.dash-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 10px; }
.kpi-card {
  border-radius: 10px;
  padding: 10px;
  text-align: center;
}
.kpi-blue { background: rgba(0,32,80,0.05); border: 1px solid rgba(0,32,80,0.1); }
.kpi-green { background: rgba(0,150,136,0.08); border: 1px solid rgba(0,150,136,0.15); }
.kpi-yellow { background: rgba(200,132,28,0.08); border: 1px solid rgba(200,132,28,0.15); }
.kpi-teal { background: rgba(0,150,136,0.05); border: 1px solid rgba(0,150,136,0.1); }
.kpi-label { font-size: 0.6rem; color: var(--text-muted); margin-bottom: 2px; }
.kpi-value { font-family: 'Sora', sans-serif; font-size: 1rem; font-weight: 800; color: var(--navy); }
.kpi-trend { font-size: 0.58rem; margin-top: 2px; font-weight: 600; }
.kpi-trend.up { color: var(--teal); }
.kpi-trend.down { color: #22c55e; }
.dash-charts { display: grid; grid-template-columns: 3fr 2fr; gap: 8px; margin-bottom: 10px; }
.chart-card { background: var(--gray-50); border-radius: 10px; padding: 10px; border: 1px solid var(--gray-100); }
.chart-title { font-size: 0.65rem; font-weight: 600; color: var(--text-muted); margin-bottom: 8px; }
.chart-bars { display: flex; align-items: flex-end; gap: 5px; height: 55px; }
.bar-wrap { display: flex; flex-direction: column; align-items: center; gap: 3px; flex: 1; }
.bar { width: 100%; background: rgba(0,32,80,0.25); border-radius: 3px 3px 0 0; transition: height 1s ease; }
.bar.b-green { background: var(--teal); }
.bar-wrap span { font-size: 0.5rem; color: var(--text-muted); }
.donut-wrap { display: flex; align-items: center; gap: 8px; }
.donut-svg { width: 60px; height: 60px; flex-shrink: 0; }
.donut-legend { font-size: 0.55rem; color: var(--text-muted); }
.donut-legend div { display: flex; align-items: center; gap: 4px; margin-bottom: 3px; }
.leg-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.dash-table { background: var(--gray-50); border-radius: 10px; overflow: hidden; border: 1px solid var(--gray-100); }
.table-title { font-size: 0.65rem; font-weight: 600; color: var(--text-muted); padding: 6px 10px; border-bottom: 1px solid var(--gray-100); }
.table-row { display: grid; grid-template-columns: 2fr 1.5fr 1fr; padding: 5px 10px; font-size: 0.62rem; border-bottom: 1px solid var(--gray-100); color: var(--text); }
.table-row:last-child { border-bottom: none; }
.header-row { font-weight: 600; color: var(--text-muted); background: var(--gray-100); }
.tag { padding: 2px 7px; border-radius: 50px; font-size: 0.58rem; font-weight: 600; display: inline-flex; }
.tag.green { background: rgba(0,150,136,0.15); color: #007a6a; }
.tag.yellow { background: rgba(200,132,28,0.2); color: #a07010; }
.tag.blue { background: rgba(0,32,80,0.12); color: var(--navy); }

/* Float cards */
.mockup-float {
  position: absolute;
  background: white;
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 32px rgba(0,32,80,0.18);
  font-size: 0.78rem;
  z-index: 3;
  border: 1px solid var(--gray-100);
}
.f1 { bottom: -20px; left: -40px; animation: floatY 3s ease-in-out infinite; }
.f2 { top: 30px; right: -30px; animation: floatY 3s 1.5s ease-in-out infinite; }
@keyframes floatY { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
.float-icon { font-size: 1.2rem; }
.float-text strong { display: block; color: var(--navy); font-family: 'Sora', sans-serif; }
.float-text span { color: var(--text-muted); font-size: 0.7rem; }

.hero-wave { position: absolute; bottom: 0; left: 0; right: 0; }
.hero-wave svg { width: 100%; display: block; }

/* === QUÉ ES === */
.que-es { background: var(--white); }
.que-es .section-subtitle { max-width: 680px; margin-left: auto; margin-right: auto; text-align: center; }
.que-es .section-title, .que-es .section-tag { text-align: center; display: block; }
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 20px;
}
.pillar-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
  box-shadow: 0 2px 12px rgba(0,32,80,0.06);
}
.pillar-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--gray-200); }
.pillar-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(0,32,80,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--navy);
}
.pillar-card h3 { font-size: 0.95rem; margin-bottom: 8px; color: var(--navy); }
.pillar-card p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; }

/* === ANTES Y DESPUÉS === */
.antes-despues { background: var(--gray-50); }
.antes-despues .section-title, .antes-despues .section-tag { text-align: center; display: block; }
.ad-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 32px; align-items: center; margin-top: 48px; }
.ad-card {
  background: white;
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.ad-antes { border-top: 4px solid #f87171; }
.ad-despues { border-top: 4px solid var(--teal); }
.ad-header { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.ad-icon-wrap { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.antes-icon { background: rgba(248,113,113,0.1); color: #ef4444; }
.despues-icon { background: rgba(0,150,136,0.1); color: var(--teal); }
.ad-header h3 { font-size: 1.1rem; color: var(--navy); }
.ad-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.ad-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; color: var(--text-muted); }
.ad-list li span { font-size: 1.1rem; flex-shrink: 0; }
.ad-arrow { display: flex; justify-content: center; align-items: center; }
.arrow-circle {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--navy) 0%, #1a4a8a 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,32,80,0.3);
}

/* === BENEFICIOS === */
.beneficios { background: white; }
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.benefit-card {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.benefit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); background: white; }
.benefit-number {
  font-family: 'Sora', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gray-100);
  position: absolute;
  top: 16px;
  right: 24px;
  line-height: 1;
}
.benefit-icon { margin-bottom: 16px; }
.benefit-card h3 { font-size: 1rem; color: var(--navy); margin-bottom: 10px; }
.benefit-card p { font-size: 0.87rem; color: var(--text-muted); }

/* === COLABORADOR === */
.colaborador { background: linear-gradient(160deg, #f0f6ff 0%, #eafaf8 100%); overflow: hidden; }
.colab-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.colab-content .section-title { margin-bottom: 16px; }
.colab-content p { color: var(--text-muted); margin-bottom: 32px; font-size: 1.05rem; }
.colab-features { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 32px; }
.colab-feat { font-size: 0.88rem; color: var(--text); display: flex; align-items: center; gap: 8px; }
.feat-check { color: var(--teal); font-weight: 700; font-size: 1rem; }
.colab-visual { position: relative; display: flex; justify-content: center; }
.phone-mockup {
  width: 260px;
  background: white;
  border-radius: 32px;
  box-shadow: 0 24px 80px rgba(0,32,80,0.22);
  overflow: hidden;
  border: 8px solid var(--navy);
  position: relative;
  z-index: 2;
}
.phone-screen { padding: 20px 16px 24px; background: white; }
.phone-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.phone-logo { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 0.95rem; color: var(--navy); }
.phone-logo span { color: var(--teal); }
.phone-avatar { width: 32px; height: 32px; background: var(--teal); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.65rem; font-weight: 700; color: white; }
.phone-greeting { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 16px; }
.phone-greeting strong { color: var(--navy); }
.phone-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.p-card {
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: var(--transition);
  cursor: pointer;
}
.p-card:hover { transform: scale(1.03); }
.p-blue { background: rgba(0,32,80,0.06); }
.p-green { background: rgba(0,150,136,0.08); }
.p-yellow { background: rgba(200,132,28,0.1); }
.p-teal { background: rgba(0,150,136,0.06); }
.p-card-icon { font-size: 1.3rem; }
.p-card-text strong { display: block; font-size: 0.7rem; font-family: 'Sora', sans-serif; color: var(--navy); }
.p-card-text span { font-size: 0.62rem; color: var(--text-muted); }
.phone-notif {
  background: var(--gray-50);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.72rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--gray-100);
}
.notif-dot { width: 8px; height: 8px; background: var(--teal); border-radius: 50%; flex-shrink: 0; animation: pulse 2s infinite; }
.colab-deco-circle {
  position: absolute;
  border-radius: 50%;
  z-index: 1;
}
.c1 { width: 300px; height: 300px; border: 2px dashed rgba(0,150,136,0.2); top: -30px; right: -30px; animation: spin 30s linear infinite; }
.c2 { width: 200px; height: 200px; border: 2px dashed rgba(0,32,80,0.15); bottom: -20px; left: -20px; animation: spin 20s linear infinite reverse; }
@keyframes spin { from{transform:rotate(0deg)} to{transform:rotate(360deg)} }

/* === MÓDULOS === */
.modulos { background: var(--navy); }
.modulos .section-tag { background: rgba(0,150,136,0.15); border-color: rgba(0,150,136,0.3); }
.modulos .section-title { color: white; }
.modulos .section-subtitle { color: rgba(255,255,255,0.65); }
.modules-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.module-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 28px 22px;
  transition: var(--transition);
}
.module-card:hover { background: rgba(255,255,255,0.09); transform: translateY(-4px); border-color: rgba(0,150,136,0.35); }
.mod-icon {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: white;
  border: 1px solid rgba(255,255,255,0.12);
  font-size: 1.3rem;
}
.module-card h3 { font-size: 0.9rem; color: white; margin-bottom: 8px; }
.module-card p { font-size: 0.8rem; color: rgba(255,255,255,0.55); line-height: 1.5; }

/* === ANALÍTICA === */
.analitica { background: white; overflow: hidden; }
.analitica-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.analitica-content p { color: var(--text-muted); margin-bottom: 32px; font-size: 1.05rem; }
.analitica-items { display: flex; flex-direction: column; gap: 20px; }
.a-item { display: flex; gap: 16px; align-items: flex-start; }
.a-badge {
  font-size: 1.4rem;
  width: 48px;
  height: 48px;
  background: var(--gray-50);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--gray-100);
}
.a-item strong { display: block; font-family: 'Sora', sans-serif; font-size: 0.95rem; color: var(--navy); margin-bottom: 4px; }
.a-item p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }
.analytics-card {
  background: white;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
}
.ac-title { font-family: 'Sora', sans-serif; font-size: 0.95rem; font-weight: 600; color: var(--navy); margin-bottom: 24px; }
.ac-kpis { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }
.ac-kpi-label { font-size: 0.78rem; font-weight: 600; color: var(--text-muted); margin-bottom: 5px; }
.ac-kpi-bar { height: 6px; background: var(--gray-100); border-radius: 10px; overflow: hidden; margin-bottom: 4px; }
.ac-bar-fill { height: 100%; border-radius: 10px; transition: width 1.5s ease; }
.ac-kpi-val { font-size: 0.78rem; color: var(--text); display: flex; align-items: center; gap: 8px; }
.ac-good { color: var(--teal); font-weight: 600; font-size: 0.72rem; }
.ac-warn { color: var(--yellow); font-weight: 600; font-size: 0.72rem; }
.ac-chart-title { font-family: 'Sora', sans-serif; font-size: 0.78rem; font-weight: 600; color: var(--text-muted); margin-bottom: 8px; }
.ac-line-chart { position: relative; }
.line-svg { width: 100%; height: 60px; }
.line-labels { display: flex; justify-content: space-between; font-size: 0.65rem; color: var(--gray-400); margin-top: 4px; }

/* === SEGURIDAD === */
.seguridad { background: var(--gray-50); }
.seguridad .section-title, .seguridad .section-tag { text-align: center; display: block; }
.seguridad .section-subtitle { text-align: center; margin: 0 auto 56px; }
.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.sec-item {
  background: white;
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--gray-100);
  text-align: center;
  transition: var(--transition);
  box-shadow: 0 2px 12px rgba(0,32,80,0.04);
}
.sec-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--teal); }
.sec-icon { font-size: 2rem; margin-bottom: 14px; }
.sec-item h4 { color: var(--navy); margin-bottom: 10px; }
.sec-item p { font-size: 0.85rem; color: var(--text-muted); }

/* === MISIÓN & VISIÓN === */
.mision-vision { background: white; }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.mv-card {
  border-radius: var(--radius);
  padding: 48px;
  position: relative;
  overflow: hidden;
}
.mv-mision { background: linear-gradient(135deg, var(--navy) 0%, #1a4080 100%); }
.mv-vision { background: linear-gradient(135deg, #007a6a 0%, var(--teal) 100%); }
.mv-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
  border: 1px solid rgba(255,255,255,0.25);
}
.mv-card h3 { color: white; font-size: 1.2rem; margin-bottom: 16px; }
.mv-card p { color: rgba(255,255,255,0.85); font-size: 1rem; line-height: 1.7; font-style: italic; }

/* === TECNOLOGÍA === */
.tecnologia { background: var(--gray-50); overflow: hidden; }
.tech-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.tech-content p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 28px; }
.tech-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-pill {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 100px;
  padding: 8px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  transition: var(--transition);
}
.tag-pill:hover { background: var(--teal); color: white; border-color: var(--teal); }
.tech-visual { display: flex; justify-content: center; align-items: center; }
.tech-hub {
  position: relative;
  width: 280px;
  height: 280px;
}
.hub-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--navy) 0%, #1a4a8a 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(0,32,80,0.3);
  z-index: 2;
}
.hub-logo { font-family: 'Sora', sans-serif; font-size: 2rem; font-weight: 800; color: var(--teal); }
.hub-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px dashed rgba(0,32,80,0.15);
  animation: spin 20s linear infinite;
}
.hub-node {
  position: absolute;
  width: 48px;
  height: 48px;
  background: white;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 4px 16px rgba(0,32,80,0.15);
  border: 1px solid var(--gray-100);
  animation: spin 20s linear infinite reverse;
}
.n1 { top: 0; left: 50%; transform: translate(-50%, -50%); }
.n2 { top: 25%; right: 0; transform: translate(50%, -50%); }
.n3 { bottom: 25%; right: 0; transform: translate(50%, 50%); }
.n4 { bottom: 0; left: 50%; transform: translate(-50%, 50%); }
.n5 { bottom: 25%; left: 0; transform: translate(-50%, 50%); }
.n6 { top: 25%; left: 0; transform: translate(-50%, -50%); }

/* === CTA FINAL === */
.cta-final { background: var(--gray-50); }
.cta-card {
  background: linear-gradient(135deg, var(--navy) 0%, #0d3570 50%, #0a4060 100%);
  border-radius: 24px;
  padding: 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-bg-dec {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
}
.cta-content { position: relative; z-index: 1; }
.cta-content h2 { color: white; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 16px; max-width: 700px; margin-left: auto; margin-right: auto; }
.cta-content p { color: rgba(255,255,255,0.7); font-size: 1.05rem; max-width: 560px; margin: 0 auto 40px; }
.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* === CONTACTO === */
.contacto { background: white; }
.contact-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; align-items: start; }
.contact-info .section-title { margin-bottom: 16px; }
.contact-info p { color: var(--text-muted); font-size: 1rem; margin-bottom: 28px; }
.contact-detail { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.cd-item { display: flex; align-items: center; gap: 12px; font-size: 0.92rem; color: var(--text); text-decoration: none; }
.cd-item:hover { color: var(--teal); }
.cd-icon { font-size: 1.2rem; }
.contact-perks { display: flex; flex-direction: column; gap: 10px; }
.perk { font-size: 0.88rem; color: var(--text); display: flex; align-items: center; gap: 8px; }
.perk span { color: var(--teal); font-weight: 700; }
.contact-form-wrap {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 40px;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow);
}
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--gray-800); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  background: white;
  outline: none;
  transition: var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,150,136,0.12); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-note { font-size: 0.75rem; color: var(--gray-400); text-align: center; }
.form-note a { color: var(--teal); text-decoration: none; }

/* === FOOTER === */
.footer { background: var(--navy); padding: 72px 0 32px; }
.footer-top { display: grid; grid-template-columns: 2fr 3fr; gap: 64px; margin-bottom: 48px; }
.logo-footer .logo-mark { background: linear-gradient(135deg, rgba(255,255,255,0.15), rgba(255,255,255,0.05)); }
.logo-footer .logo-text { color: white; }
.logo-footer .logo-accent { color: var(--teal); }
.footer-tagline { font-size: 0.82rem; color: rgba(255,255,255,0.5); margin-top: 4px; font-weight: 500; letter-spacing: 0.05em; }
.footer-desc { font-size: 0.85rem; color: rgba(255,255,255,0.45); line-height: 1.7; margin-top: 12px; max-width: 300px; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.fl-group h4 { color: white; font-size: 0.85rem; margin-bottom: 16px; font-weight: 600; }
.fl-group a { display: block; color: rgba(255,255,255,0.5); font-size: 0.85rem; text-decoration: none; margin-bottom: 10px; transition: var(--transition); }
.fl-group a:hover { color: var(--teal); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.35); }

/* === LOGO IMAGE === */
.logo-img-wrap {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
}
.logo-img-footer {
  height: 56px;
  filter: brightness(0) invert(1);
}

/* === CONTACT QR === */
.contact-qr {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.qr-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 6px;
}
.qr-label::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #25D366;
  border-radius: 50%;
}
.qr-img {
  width: 130px;
  height: 130px;
  object-fit: contain;
  border-radius: 12px;
  border: 2px solid var(--gray-100);
  box-shadow: var(--shadow);
  transition: var(--transition);
  background: white;
  padding: 6px;
}
.qr-img:hover { transform: scale(1.04); box-shadow: var(--shadow-lg); }
.qr-sublabel {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: var(--teal);
  color: white;
  padding: 14px 24px;
  border-radius: 12px;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 8px 32px rgba(0,150,136,0.4);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(.4,0,.2,1);
  z-index: 9999;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* === SCROLL ANIMATIONS === */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .fade-up { opacity: 1; transform: none; }
}

/* ================================================
   RESPONSIVE
   ================================================ */

@media (max-width: 1100px) {
  .pillars-grid { grid-template-columns: repeat(3, 1fr); }
  .modules-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-inner { gap: 40px; }
  .dash-body { height: 220px; }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-stats { justify-content: center; }
  .hero-actions { justify-content: center; }
  .hero-subtitle { margin: 0 auto 36px; }
  .hero-badge { margin: 0 auto 24px; }
  .hero-mockup { display: none; }
  .ad-grid { grid-template-columns: 1fr; }
  .ad-arrow { transform: rotate(90deg); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .colab-layout { grid-template-columns: 1fr; }
  .colab-visual { display: none; }
  .modules-grid { grid-template-columns: repeat(2, 1fr); }
  .analitica-layout { grid-template-columns: 1fr; }
  .security-grid { grid-template-columns: repeat(2, 1fr); }
  .mv-grid { grid-template-columns: 1fr; }
  .tech-layout { grid-template-columns: 1fr; }
  .tech-visual { display: none; }
  .cta-card { padding: 48px 32px; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .nav-links, .nav-cta { display: none; }
  .burger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    padding: 14px 18px 18px;
    border-bottom: 1px solid var(--gray-100);
    box-shadow: var(--shadow);
    z-index: 999;
    gap: 2px;
  }
  .nav-links.open a { padding: 13px 8px; font-size: 1rem; color: var(--gray-600); border-radius: 8px; }
  .nav-links.open .nav-mobile-only { display: block; }
  .nav-links.open .nav-mobile-only.sep { margin-top: 8px; padding-top: 15px; border-top: 1px solid var(--gray-100); color: var(--navy); font-weight: 600; }
  .nav-links.open .nav-mobile-cta { background: var(--teal); color: #fff; text-align: center; font-weight: 700; margin-top: 8px; }
  .benefits-grid { grid-template-columns: 1fr; }
  .modules-grid { grid-template-columns: repeat(2, 1fr); }
  .security-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .stat-divider { display: none; }
  .cta-actions { flex-direction: column; align-items: center; }
  .contact-form-wrap { padding: 24px; }
  .mv-card { padding: 36px 28px; }
  .pillars-grid { grid-template-columns: 1fr 1fr; }
}

/* Aviso de éxito del formulario */
.form-ok {
  background: rgba(0,150,136,0.1);
  border: 1px solid rgba(0,150,136,0.35);
  color: #00695f;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* === DEMO EMBED === */
.demo-sec{background:#fff}
.demo-sec .section-tag,.demo-sec .section-title,.demo-sec .section-subtitle{text-align:center;display:block}
.demo-sec .section-subtitle{max-width:620px;margin:0 auto 36px}
.demo-frame{position:relative;width:100%;max-width:920px;margin:0 auto;border-radius:18px;overflow:hidden;box-shadow:var(--shadow-lg);border:1px solid var(--gray-100);background:#eaf1fb}
.demo-frame::before{content:"";display:block;padding-top:56.25%}
.demo-frame iframe{position:absolute;top:0;left:0;width:100%;height:100%;border:0;display:block}
@media (max-width:600px){.demo-frame{border-radius:12px}}
