/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --purple: #8B1FCA;
  --orange: #FF5E00;
  --gradient: linear-gradient(135deg, #8B1FCA, #FF5E00);
  --gradient-text: linear-gradient(135deg, #B061FF, #FF8A3D);
  --bg: #0A0A0F;
  --surface: #13131A;
  --surface2: #1A1A25;
  --border: rgba(139,31,202,0.2);
  --text: #FFFFFF;
  --muted: #8888AA;
  --radius: 16px;
  --radius-sm: 8px;
}

html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: 'Inter', sans-serif; line-height: 1.6; overflow-x: hidden; }
h1,h2,h3,h4 { font-family: 'Syne', sans-serif; line-height: 1.2; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
::selection { background: var(--purple); color: #fff; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--purple); border-radius: 3px; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== CURSOR ===== */
.cursor, .cursor-trail {
  position: fixed; pointer-events: none; z-index: 9999;
  border-radius: 50%; transform: translate(-50%, -50%);
  transition: opacity 0.3s;
}
.cursor { width: 12px; height: 12px; background: var(--orange); mix-blend-mode: screen; }
.cursor-trail { width: 28px; height: 28px; border: 1.5px solid rgba(139,31,202,0.6); transition: left 0.12s ease, top 0.12s ease, opacity 0.3s; }
.cursor.hover { transform: translate(-50%,-50%) scale(2.5); background: var(--purple); }
@media (hover: none) { .cursor, .cursor-trail { display: none; } }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gradient); color: #fff;
  padding: 14px 28px; border-radius: 50px;
  font-weight: 600; font-size: 0.95rem;
  border: none; cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(139,31,202,0.3);
  text-decoration: none;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(139,31,202,0.5); filter: brightness(1.1); }
.btn-primary.full-width { width: 100%; justify-content: center; }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--text);
  padding: 14px 28px; border-radius: 50px;
  font-weight: 600; font-size: 0.95rem;
  border: 1.5px solid var(--border); cursor: pointer;
  transition: all 0.3s ease; text-decoration: none;
}
.btn-secondary:hover { border-color: var(--purple); background: rgba(139,31,202,0.1); transform: translateY(-2px); }

/* ===== GRADIENT TEXT ===== */
.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 0;
  transition: all 0.3s ease;
}
.navbar.scrolled {
  background: rgba(10,10,15,0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 32px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.1rem; }
.nav-logo img { width: 36px; height: 36px; object-fit: contain; }
.nav-links { display: flex; list-style: none; gap: 4px; margin-left: auto; }
.nav-link { padding: 8px 14px; border-radius: 8px; color: var(--muted); font-size: 0.9rem; font-weight: 500; transition: all 0.2s ease; }
.nav-link:hover { color: #fff; background: rgba(255,255,255,0.05); }
.btn-nav-cta {
  background: var(--gradient); color: #fff;
  padding: 10px 20px; border-radius: 50px;
  font-weight: 600; font-size: 0.85rem;
  transition: all 0.3s; white-space: nowrap;
  box-shadow: 0 2px 12px rgba(139,31,202,0.3);
}
.btn-nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(139,31,202,0.5); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: 0.3s; }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-links {
    position: fixed; top: 64px; left: 0; right: 0;
    background: rgba(10,10,15,0.97); backdrop-filter: blur(20px);
    flex-direction: column; padding: 20px 24px;
    transform: translateY(-110%); opacity: 0;
    transition: all 0.3s ease; pointer-events: none;
    border-bottom: 1px solid var(--border);
    margin-left: 0; z-index: 999;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-link { padding: 12px; font-size: 1rem; }
  .hamburger { display: flex; margin-left: auto; }
  .btn-nav-cta { display: none; }
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 120px 24px 80px;
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: 0.35;
  animation: orbFloat 8s ease-in-out infinite;
}
.orb-1 { width: 500px; height: 500px; background: #8B1FCA; top: -100px; right: -100px; animation-delay: 0s; }
.orb-2 { width: 400px; height: 400px; background: #FF5E00; bottom: -50px; left: -80px; animation-delay: 3s; }
.orb-3 { width: 300px; height: 300px; background: #8B1FCA; top: 50%; left: 50%; animation-delay: 5s; opacity: 0.2; }
@keyframes orbFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(30px,-20px) scale(1.05); }
  66% { transform: translate(-20px,30px) scale(0.95); }
}
@keyframes particleFloat {
  0%,100% { transform: translateY(0) translateX(0); opacity: 0.6; }
  33% { transform: translateY(-30px) translateX(15px); opacity: 0.9; }
  66% { transform: translateY(20px) translateX(-10px); opacity: 0.4; }
}
.particles { position: absolute; inset: 0; }

.hero-content { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; width: 100%; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(139,31,202,0.15); border: 1px solid rgba(139,31,202,0.3);
  padding: 8px 16px; border-radius: 50px;
  font-size: 0.85rem; color: #C97BFF; font-weight: 500;
  margin-bottom: 24px;
}
.badge-dot { width: 8px; height: 8px; background: #8B1FCA; border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{box-shadow:0 0 0 0 rgba(139,31,202,0.4)} 50%{box-shadow:0 0 0 8px rgba(139,31,202,0)} }

.hero-title { font-size: clamp(2rem, 5vw, 3.8rem); font-weight: 800; line-height: 1.1; margin-bottom: 20px; max-width: 780px; }
#typewriter { min-height: 1.2em; display: inline-block; border-right: 3px solid var(--orange); padding-right: 4px; animation: blink 0.8s infinite; }
@keyframes blink { 0%,100%{border-color:var(--orange)} 50%{border-color:transparent} }

.hero-sub { font-size: clamp(1rem, 2vw, 1.2rem); color: var(--muted); max-width: 600px; margin-bottom: 36px; line-height: 1.7; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 60px; }

.hero-stats { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; padding-top: 32px; border-top: 1px solid var(--border); }
.stat { text-align: center; }
.stat-number { font-family: 'Syne', sans-serif; font-size: 2rem; font-weight: 800; }
.stat-plus { font-family: 'Syne', sans-serif; font-size: 1.5rem; font-weight: 800; color: var(--orange); }
.stat-label { display: block; color: var(--muted); font-size: 0.85rem; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

.scroll-indicator {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 2px;
}
.scroll-line { width: 1px; height: 40px; background: var(--border); position: relative; overflow: hidden; }
.scroll-line::after {
  content: ''; position: absolute; top: -40px; left: 0; width: 100%; height: 40px;
  background: var(--gradient); animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine { 0%{top:-40px} 100%{top:40px} }

/* ===== SECTIONS COMMON ===== */
.servicios, .portafolio, .automatizaciones, .apps-section, .quiz-section, .resultados, .nosotros, .contacto { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-label {
  display: inline-block; background: rgba(139,31,202,0.12);
  border: 1px solid rgba(139,31,202,0.25); color: #C97BFF;
  padding: 6px 16px; border-radius: 50px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 16px;
}
.section-title { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 16px; }
.section-sub { color: var(--muted); max-width: 560px; margin: 0 auto; }

/* ===== REVEAL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== SERVICIOS ===== */
.servicios { background: var(--bg); }
.servicios-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.service-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px;
  transition: all 0.3s ease; position: relative; overflow: hidden;
}
.service-card::before { content: ''; position: absolute; inset: 0; background: var(--gradient); opacity: 0; transition: opacity 0.3s; }
.service-card:hover { transform: translateY(-6px); border-color: var(--purple); box-shadow: 0 16px 40px rgba(139,31,202,0.2); }
.service-card:hover::before { opacity: 0.04; }
.service-card.featured { border-color: rgba(139,31,202,0.5); background: rgba(139,31,202,0.07); }
.service-badge { position: absolute; top: 16px; right: 16px; background: var(--gradient); color: #fff; padding: 4px 12px; border-radius: 50px; font-size: 0.75rem; font-weight: 600; }
.service-icon { font-size: 2.4rem; margin-bottom: 16px; display: block; }
.service-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.service-card p { color: var(--muted); font-size: 0.9rem; margin-bottom: 16px; }
.service-features { list-style: none; margin-bottom: 20px; }
.service-features li { color: var(--muted); font-size: 0.85rem; padding: 4px 0; }
.service-link { color: var(--purple); font-weight: 600; font-size: 0.9rem; transition: color 0.2s; display: inline-flex; align-items: center; }
.service-link:hover { color: var(--orange); }

/* ===== PORTAFOLIO ===== */
.portafolio { background: var(--surface); }
.portfolio-filters { display: flex; justify-content: center; gap: 8px; margin-bottom: 40px; flex-wrap: wrap; }
.filter-btn {
  padding: 10px 20px; border-radius: 50px;
  border: 1px solid var(--border); background: transparent; color: var(--muted);
  font-size: 0.9rem; font-weight: 500; cursor: pointer; transition: all 0.3s;
  font-family: 'Inter', sans-serif;
}
.filter-btn:hover, .filter-btn.active { background: var(--gradient); color: #fff; border-color: transparent; box-shadow: 0 4px 16px rgba(139,31,202,0.3); }

.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.portfolio-card {
  border-radius: var(--radius); overflow: hidden;
  background: var(--surface2); border: 1px solid var(--border);
  transition: all 0.3s ease;
}
.portfolio-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,0.4); border-color: rgba(139,31,202,0.4); }

.portfolio-thumb { position: relative; height: 200px; overflow: hidden; }
.portfolio-preview { width: 100%; height: 100%; background: #1a1a2e; display: flex; flex-direction: column; }
.preview-topbar { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: rgba(0,0,0,0.4); flex-shrink: 0; }
.preview-dots { display: flex; gap: 4px; }
.preview-dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.2); }
.preview-dots span:first-child { background: #FF5F57; }
.preview-dots span:nth-child(2) { background: #FFBD2E; }
.preview-dots span:last-child { background: #28C840; }
.preview-url { font-size: 9px; color: #666; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.preview-content { flex: 1; overflow: hidden; display: flex; flex-direction: column; }
.preview-hero-block { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 12px; }
.preview-logo-block { font-size: 11px; font-weight: 700; color: #fff; text-align: center; }
.preview-text-lines { display: flex; flex-direction: column; align-items: center; gap: 5px; width: 100%; }
.preview-line { height: 6px; background: rgba(255,255,255,0.2); border-radius: 3px; }
.preview-line.long { width: 80%; }
.preview-line.medium { width: 55%; }
.preview-btn-mock { padding: 5px 14px; border-radius: 20px; font-size: 9px; font-weight: 600; color: #000; margin-top: 4px; }
.preview-services-row { display: flex; justify-content: center; gap: 8px; padding: 8px; background: rgba(0,0,0,0.3); }
.preview-service-block { font-size: 16px; }

/* Dashboard preview */
.preview-topbar.dark { background: #0d0d14; }
.dashboard-content { display: flex !important; flex-direction: row !important; }
.preview-sidebar { width: 36px; background: rgba(0,0,0,0.5); display: flex; flex-direction: column; align-items: center; padding: 8px 0; gap: 6px; }
.preview-sidebar .sidebar-item { width: 26px; height: 26px; border-radius: 6px; background: rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center; font-size: 11px; cursor: pointer; }
.preview-sidebar .sidebar-item.active { background: rgba(139,31,202,0.4); }
.preview-main { flex: 1; padding: 8px; display: flex; flex-direction: column; gap: 5px; }
.dash-metric { font-size: 10px; font-weight: 700; color: #00C896; }
.dash-bar { height: 8px; background: rgba(0,200,150,0.3); border-radius: 4px; width: 80%; }
.dash-bar.short { width: 50%; }

/* Behance preview */
.preview-masonry { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; }
.masonry-item { width: 50px; height: 35px; border-radius: 4px; }
.masonry-item.small { width: 24px; height: 24px; }

.portfolio-overlay {
  position: absolute; inset: 0;
  background: rgba(10,10,15,0.92);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}
.portfolio-card:hover .portfolio-overlay { opacity: 1; }
.overlay-content { padding: 20px; text-align: center; }
.overlay-content h4 { font-size: 1rem; margin-bottom: 8px; }
.overlay-content p { font-size: 0.8rem; color: var(--muted); margin-bottom: 12px; }
.overlay-tags { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-bottom: 14px; }
.overlay-tags span { background: rgba(139,31,202,0.2); color: #C97BFF; padding: 3px 10px; border-radius: 50px; font-size: 0.72rem; }
.overlay-btn {
  display: inline-block; background: var(--gradient); color: #fff;
  padding: 8px 20px; border-radius: 50px; font-size: 0.82rem; font-weight: 600;
  border: none; cursor: pointer; transition: all 0.2s;
}
.overlay-btn:hover { transform: scale(1.05); }
.portfolio-info { padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; }
.portfolio-info h4 { font-size: 0.9rem; }
.portfolio-tag { background: rgba(139,31,202,0.15); color: #C97BFF; padding: 3px 10px; border-radius: 50px; font-size: 0.75rem; }

/* Demo modal */
.demo-modal {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.85); backdrop-filter: blur(8px);
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.demo-modal.open { display: flex; }
.demo-modal-inner {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); width: 100%; max-width: 1100px; height: 85vh;
  display: flex; flex-direction: column; overflow: hidden;
}
.demo-close {
  background: rgba(255,255,255,0.05); border: 1px solid var(--border);
  color: var(--muted); padding: 10px 16px; font-size: 0.85rem; cursor: pointer;
  transition: 0.2s; border-radius: 0 0 0 8px; align-self: flex-end;
  font-family: 'Inter', sans-serif;
}
.demo-close:hover { background: rgba(255,0,0,0.1); color: #ff6b6b; }
#demoIframe { flex: 1; border: none; }

/* ===== AUTOMATIZACIONES ===== */
.automatizaciones { background: var(--bg); }
.flow-diagram { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; margin: 60px 0; gap: 4px; }
.flow-node {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 20px 16px;
  text-align: center; min-width: 90px; max-width: 110px;
  transition: all 0.3s;
}
.flow-node:hover { border-color: var(--purple); transform: translateY(-4px); box-shadow: 0 8px 24px rgba(139,31,202,0.2); }
.node-icon { font-size: 2rem; margin-bottom: 8px; }
.node-label { font-size: 0.75rem; color: var(--muted); line-height: 1.3; }
.node-start { border-color: rgba(0,200,150,0.4); }
.node-crm { border-color: rgba(255,94,0,0.4); }
.flow-arrow { display: flex; align-items: center; color: var(--muted); font-size: 0.7rem; flex-direction: column; }
.flow-arrow-line { width: 40px; height: 2px; background: var(--border); position: relative; overflow: hidden; }
.flow-arrow-dot { position: absolute; left: -8px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--purple); animation: flowDot 2s ease-in-out infinite; }
@keyframes flowDot { 0%{left:-8px;opacity:1} 100%{left:42px;opacity:0} }
.flow-arrow span { font-size: 0.8rem; margin-top: 2px; color: var(--border); }
@media (max-width: 700px) {
  .flow-diagram { flex-direction: column; }
  .flow-arrow-line { width: 2px; height: 32px; }
}
.use-cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-bottom: 48px; }
.use-case {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  text-align: center; transition: all 0.3s;
}
.use-case:hover { border-color: var(--purple); transform: translateY(-4px); }
.use-case-icon { font-size: 2.4rem; margin-bottom: 14px; }
.use-case h3 { font-size: 1.1rem; margin-bottom: 10px; }
.use-case p { color: var(--muted); font-size: 0.88rem; margin-bottom: 18px; }
.use-case-metric { padding-top: 16px; border-top: 1px solid var(--border); }
.metric-value { display: block; font-family: 'Syne', sans-serif; font-size: 1.8rem; font-weight: 800; background: var(--gradient-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.metric-label { font-size: 0.8rem; color: var(--muted); }
.auto-cta { text-align: center; }

/* ===== APPS ===== */
.apps-section { background: var(--surface); }
.apps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; margin-bottom: 60px; }
.app-mockup { display: flex; flex-direction: column; gap: 16px; align-items: center; }
.device-frame {
  position: relative; border-radius: 24px;
  border: 2px solid rgba(255,255,255,0.1);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(255,255,255,0.05);
  overflow: hidden; transition: transform 0.3s; background: #0d0d14;
}
.device-frame:hover { transform: translateY(-8px) rotateX(4deg); }
.device-frame.phone { width: 200px; height: 380px; }
.device-frame.tablet { width: 260px; height: 320px; }
.device-screen { display: flex; flex-direction: column; height: 100%; }
.app-header { padding: 12px 14px; display: flex; align-items: center; gap: 8px; font-size: 0.8rem; font-weight: 700; color: #fff; flex-shrink: 0; }
.app-body { flex: 1; padding: 12px; overflow: hidden; background: #0d0d14; }
.app-stat-row { display: flex; justify-content: space-around; margin-bottom: 12px; }
.app-stat { text-align: center; }
.app-stat-n { font-size: 1.2rem; font-weight: 800; font-family: 'Syne', sans-serif; }
.app-stat-l { font-size: 0.65rem; color: var(--muted); }
.app-order { display: flex; flex-direction: column; gap: 5px; margin-bottom: 10px; }
.order-row { display: flex; justify-content: space-between; font-size: 0.75rem; padding: 6px 8px; border-radius: 6px; background: rgba(255,255,255,0.04); color: var(--muted); }
.order-row span { color: #fff; }
.order-row.green { color: #00C896; }
.order-row.yellow { color: #FFD700; }
.app-total { font-size: 0.85rem; font-weight: 700; color: var(--orange); text-align: right; padding-top: 6px; border-top: 1px solid var(--border); }
.app-calendar-mini { margin-bottom: 12px; }
.cal-header { font-size: 0.75rem; font-weight: 600; margin-bottom: 8px; color: var(--muted); }
.cal-days { display: flex; gap: 6px; }
.cal-day { width: 28px; height: 28px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 0.72rem; font-weight: 600; background: rgba(255,255,255,0.05); color: var(--muted); }
.cal-day.taken { background: rgba(139,31,202,0.3); color: #C97BFF; }
.cal-day.today { background: var(--gradient); color: #fff; }
.cal-day.free { background: rgba(0,200,150,0.1); color: #00C896; }
.inventory-search { background: rgba(255,255,255,0.05); border-radius: 6px; padding: 6px 10px; font-size: 0.72rem; color: var(--muted); margin-bottom: 10px; }
.inventory-list { display: flex; flex-direction: column; gap: 6px; }
.inv-item { display: flex; justify-content: space-between; align-items: center; font-size: 0.72rem; padding: 5px 8px; border-radius: 6px; background: rgba(255,255,255,0.03); }
.inv-item span { color: var(--muted); }
.inv-stock { font-weight: 700; font-size: 0.7rem; padding: 2px 8px; border-radius: 12px; }
.inv-stock.high { background: rgba(0,200,150,0.15); color: #00C896; }
.inv-stock.low { background: rgba(255,94,0,0.15); color: #FF8A3D; }
.admin-metrics { display: flex; justify-content: space-around; margin-bottom: 14px; }
.admin-metric { text-align: center; }
.admin-metric-val { font-size: 1.1rem; font-weight: 800; font-family: 'Syne', sans-serif; }
.admin-metric-lbl { font-size: 0.65rem; color: var(--muted); }
.admin-chart { display: flex; align-items: flex-end; gap: 6px; height: 60px; padding: 0 8px; }
.chart-bar { flex: 1; background: rgba(139,31,202,0.3); border-radius: 4px 4px 0 0; transition: 0.3s; }
.chart-bar.active { background: var(--gradient); }
.app-label { text-align: center; }
.app-label h4 { font-size: 1rem; margin-bottom: 4px; }
.app-label p { font-size: 0.82rem; color: var(--muted); }
.apps-cta { text-align: center; }
.apps-cta p { color: var(--muted); margin-bottom: 16px; font-size: 1rem; }

/* ===== QUIZ ===== */
.quiz-section { background: var(--bg); position: relative; overflow: hidden; }
.quiz-bg { position: absolute; inset: 0; }
.orb-quiz-1 { width: 400px; height: 400px; background: #8B1FCA; top: -100px; right: -100px; position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.2; }
.orb-quiz-2 { width: 300px; height: 300px; background: #FF5E00; bottom: -50px; left: -50px; position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.15; }
.quiz-container {
  max-width: 640px; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 24px; padding: 40px;
  position: relative; z-index: 1;
}
.quiz-progress { height: 4px; background: var(--border); border-radius: 2px; margin-bottom: 10px; overflow: hidden; }
.quiz-progress-fill { height: 100%; background: var(--gradient); border-radius: 2px; transition: width 0.5s ease; width: 0%; }
.quiz-step-indicator { font-size: 0.8rem; color: var(--muted); text-align: right; margin-bottom: 32px; }
.quiz-pane { display: none; }
.quiz-pane.active { display: block; }
.quiz-step.active { display: block; animation: fadeInUp 0.4s ease; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.quiz-step h3 { font-size: 1.4rem; margin-bottom: 8px; }
.quiz-step p { color: var(--muted); font-size: 0.9rem; margin-bottom: 24px; }
.quiz-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quiz-opt {
  background: var(--surface2); border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); padding: 16px;
  text-align: left; cursor: pointer; transition: all 0.2s;
  font-family: 'Inter', sans-serif; font-size: 0.9rem; color: var(--text);
  display: flex; align-items: center; gap: 10px;
}
.quiz-opt:hover { border-color: var(--purple); background: rgba(139,31,202,0.1); transform: translateY(-2px); }
.quiz-option.selected { border-color: var(--purple); background: rgba(139,31,202,0.15); }
.quiz-option-icon { font-size: 1.4rem; }
.quiz-result.active { display: none; text-align: center; }
.quiz-result.active { display: block; animation: fadeInUp 0.5s ease; }
.result-icon { font-size: 3rem; margin-bottom: 16px; }
.quiz-result h3 { font-size: 1.5rem; margin-bottom: 12px; }
.quiz-result p { color: var(--muted); margin-bottom: 24px; line-height: 1.7; }
.result-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.result-input {
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 12px 16px;
  color: var(--text); font-family: 'Inter', sans-serif; font-size: 0.9rem;
  width: 100%;
}
.result-input:focus { outline: none; border-color: var(--purple); }
.result-input::placeholder { color: var(--muted); }
.quiz-reset { background: none; border: none; color: var(--muted); font-size: 0.85rem; cursor: pointer; margin-top: 12px; text-decoration: underline; font-family: 'Inter', sans-serif; }
.quiz-reset:hover { color: var(--text); }

/* ===== RESULTADOS ===== */
.resultados { background: var(--surface); }
.resultados-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.testimonio {
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: all 0.3s;
}
.testimonio:hover { border-color: var(--purple); transform: translateY(-4px); }
.testimonio-stars { color: #FFD700; font-size: 1.1rem; margin-bottom: 12px; }
.testimonio p { color: var(--muted); font-size: 0.9rem; line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonio-author { display: flex; align-items: center; gap: 12px; }
.author-avatar { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.author-name { font-weight: 700; font-size: 0.9rem; }
.author-role { font-size: 0.78rem; color: var(--muted); }
.resultados-nums { margin-top: 60px; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px; }
.resultado-num { text-align: center; }
.resultado-num .num { font-family: 'Syne', sans-serif; font-size: 2.5rem; font-weight: 800; background: var(--gradient-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.resultado-num .label { color: var(--muted); font-size: 0.85rem; }

/* ===== NOSOTROS ===== */
.nosotros { background: var(--bg); }
.nosotros-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.nosotros-text h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 20px; }
.nosotros-text p { color: var(--muted); margin-bottom: 24px; line-height: 1.8; }
.nosotros-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.nosotros-badge { background: rgba(139,31,202,0.1); border: 1px solid var(--border); padding: 6px 16px; border-radius: 50px; font-size: 0.85rem; color: #C97BFF; }
.nosotros-visual { position: relative; }
.team-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px; text-align: center;
}
.team-avatar { width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; background: var(--gradient); }
.team-card h3 { font-size: 1.3rem; margin-bottom: 4px; }
.team-role { color: var(--purple); font-size: 0.9rem; font-weight: 600; margin-bottom: 12px; }
.team-card p { color: var(--muted); font-size: 0.85rem; line-height: 1.6; margin-bottom: 20px; }
.team-skills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.skill-tag { background: rgba(139,31,202,0.15); color: #C97BFF; padding: 4px 12px; border-radius: 20px; font-size: 0.78rem; }
@media (max-width: 768px) { .nosotros-inner { grid-template-columns: 1fr; gap: 40px; } }

/* ===== CONTACTO ===== */
.contacto { background: var(--surface); }
.contacto-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contacto-info h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 16px; }
.contacto-info p { color: var(--muted); margin-bottom: 32px; line-height: 1.7; }
.contacto-items { display: flex; flex-direction: column; gap: 20px; }
.contacto-item { display: flex; align-items: center; gap: 16px; }
.contacto-item-icon { width: 48px; height: 48px; background: rgba(139,31,202,0.15); border: 1px solid var(--border); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.contacto-item-text strong { display: block; font-size: 0.85rem; margin-bottom: 2px; }
.contacto-item-text span, .contacto-item-text a { color: var(--muted); font-size: 0.9rem; }
.contacto-item-text a:hover { color: var(--purple); }
.contacto-form { background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.contacto-form h3 { font-size: 1.2rem; margin-bottom: 24px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.85rem; color: var(--muted); margin-bottom: 8px; font-weight: 500; }
.form-input, .form-textarea {
  width: 100%; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 12px 16px;
  color: var(--text); font-family: 'Inter', sans-serif; font-size: 0.9rem;
  transition: border-color 0.2s;
}
.form-input:focus, .form-textarea:focus { outline: none; border-color: var(--purple); }
.form-input::placeholder, .form-textarea::placeholder { color: #555; }
.form-textarea { resize: vertical; min-height: 100px; }
@media (max-width: 768px) { .contacto-inner { grid-template-columns: 1fr; gap: 40px; } }

/* ===== FOOTER ===== */
.footer {
  background: var(--bg); border-top: 1px solid var(--border);
  padding: 60px 0 32px;
}
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand { display: flex; flex-direction: column; }
.footer-brand img { width: 48px; height: 48px; margin-bottom: 12px; }
.footer-brand span { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.footer-brand p { color: var(--muted); font-size: 0.88rem; line-height: 1.7; margin-bottom: 20px; max-width: 260px; }
.footer-socials { display: flex; gap: 10px; }
.social-link { width: 38px; height: 38px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; transition: all 0.2s; }
.social-link:hover { border-color: var(--purple); background: rgba(139,31,202,0.1); transform: translateY(-2px); }
.footer-links h4, .footer-contact h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 16px; color: #fff; }
.footer-links a, .footer-contact a { display: block; color: var(--muted); font-size: 0.88rem; transition: color 0.2s; margin-bottom: 8px; }
.footer-links a:hover, .footer-contact a:hover { color: var(--purple); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { color: var(--muted); font-size: 0.82rem; }
.footer-bottom span { color: var(--orange); }
@media (max-width: 768px) { .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 480px) { .footer-inner { grid-template-columns: 1fr; } }

/* ===== WA FLOAT ===== */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 900;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: all 0.3s ease;
  opacity: 0; transform: scale(0.8);
}
.wa-float.visible { opacity: 1; transform: scale(1); }
.wa-float:hover { transform: scale(1.1); box-shadow: 0 8px 30px rgba(37,211,102,0.6); }
.wa-float svg { color: #fff; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero { padding: 100px 20px 60px; }
  .hero-title { font-size: 2rem; }
  .hero-ctas { flex-direction: column; }
  .hero-stats { gap: 20px; }
  .servicios-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .use-cases { grid-template-columns: 1fr; }
  .apps-grid { grid-template-columns: 1fr; }
  .quiz-options { grid-template-columns: 1fr; }
  .result-inputs { grid-template-columns: 1fr; }
  .resultados-grid { grid-template-columns: 1fr; }
  .quiz-container { padding: 24px; }
  .wa-float { bottom: 16px; right: 16px; }
}

/* ===== NEW STYLES FOR IMPROVEMENTS ===== */

/* Logo transparent effect */
.nav-logo-img { mix-blend-mode: screen; filter: brightness(1.2); }

/* ===== METRICS V2 ===== */
.metrics-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-bottom: 60px; }
.metric-card-v2 {
  background: linear-gradient(135deg, rgba(139,31,202,0.1), rgba(255,94,0,0.05));
  border: 1.5px solid rgba(139,31,202,0.2);
  border-radius: var(--radius); padding: 32px;
  text-align: center; transition: all 0.3s ease;
  position: relative; overflow: hidden;
}
.metric-card-v2::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(139,31,202,0.2), rgba(255,94,0,0.1)); opacity: 0; transition: opacity 0.3s; }
.metric-card-v2:hover { border-color: var(--purple); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(139,31,202,0.2); }
.metric-card-v2:hover::before { opacity: 1; }
.metric-card-v2.featured { border-color: rgba(139,31,202,0.4); background: linear-gradient(135deg, rgba(139,31,202,0.15), rgba(255,94,0,0.1)); }
.metric-card-icon { font-size: 2rem; margin-bottom: 12px; }
.metric-card-value { font-family: 'Syne', sans-serif; font-size: 2.2rem; font-weight: 800; background: var(--gradient-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 8px; }
.metric-symbol { color: var(--orange); font-weight: 600; }
.metric-card-label { color: var(--muted); font-size: 0.9rem; margin-bottom: 14px; }
.metric-card-bar { height: 6px; background: var(--border); border-radius: 3px; overflow: hidden; }
.metric-card-fill { height: 100%; background: var(--gradient); border-radius: 3px; }
.metric-card-badge { display: inline-block; background: rgba(0,200,150,0.2); color: #00C896; padding: 4px 12px; border-radius: 50px; font-size: 0.75rem; font-weight: 600; margin-top: 12px; }

/* ===== TESTIMONIALS V2 ===== */
.testimonials-grid-v2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.testimonial-card-v2 {
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  position: relative; transition: all 0.3s ease;
}
.testimonial-card-v2::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--gradient); border-radius: var(--radius) 0 0 var(--radius); }
.testimonial-card-v2:hover { transform: translateY(-4px); border-color: var(--purple); box-shadow: 0 12px 40px rgba(139,31,202,0.15); }
.tcard-accent { position: absolute; top: 0; right: 0; width: 100px; height: 4px; background: var(--gradient); border-radius: 0 var(--radius) 0 0; }
.tcard-stars { color: #FFD700; font-size: 0.9rem; margin-bottom: 12px; letter-spacing: 2px; }
.tcard-quote { font-size: 1rem; color: var(--text); line-height: 1.8; font-style: italic; margin-bottom: 20px; padding-left: 16px; border-left: 3px solid rgba(139,31,202,0.3); }
.tcard-author { display: flex; align-items: center; gap: 14px; }
.tcard-avatar { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tcard-author-info { }
.tcard-name { font-weight: 700; font-size: 0.95rem; margin-bottom: 2px; }
.tcard-role { color: var(--muted); font-size: 0.8rem; }
.tcard-location { color: var(--muted); font-size: 0.75rem; margin-top: 4px; }

/* ===== QUIZ GAMIFIED ===== */
.quiz-wrapper {
  max-width: 720px; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 24px; padding: 48px 40px;
  position: relative; z-index: 1;
}
.quiz-stepper {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 48px; gap: 12px;
}
.quiz-step-dot {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--surface2); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--muted); font-size: 0.9rem;
  transition: all 0.3s ease; cursor: pointer;
}
.quiz-step-dot.qs-active { background: var(--gradient); border-color: var(--purple); color: #fff; box-shadow: 0 4px 16px rgba(139,31,202,0.3); }
.quiz-step-line {
  flex: 1; height: 2px; background: var(--border);
  transition: background 0.3s ease;
}
.quiz-mascot {
  display: flex; align-items: flex-start; gap: 14px;
  margin-bottom: 32px; padding: 16px; 
  background: rgba(139,31,202,0.08); border-radius: 16px;
}
.quiz-mascot-emoji { font-size: 2rem; flex-shrink: 0; }
.quiz-mascot-bubble { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }
.quiz-body { }
.quiz-pane { display: none; }
.quiz-pane.active { display: block; animation: fadeInUp 0.4s ease; }
.quiz-q { font-size: 1.3rem; margin-bottom: 24px; font-weight: 700; }
.quiz-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quiz-opt {
  background: var(--surface2); border: 1.5px solid var(--border);
  border-radius: 16px; padding: 20px; display: flex; flex-direction: column;
  align-items: center; gap: 10px; cursor: pointer;
  transition: all 0.2s ease; font-family: 'Inter', sans-serif;
  color: var(--text); font-size: 0.9rem; font-weight: 500;
}
.quiz-opt:hover { border-color: var(--purple); background: rgba(139,31,202,0.1); transform: translateY(-2px); }
.quiz-opt:hover { border-color: var(--purple); background: rgba(139,31,202,0.15); box-shadow: 0 4px 12px rgba(139,31,202,0.2); }
.qopt-emoji { font-size: 1.8rem; }
.qopt-text { text-align: center; }

/* Result Card */
.quiz-result-pane { text-align: center; }
.result-burst { position: relative; margin-bottom: 32px; }
.result Visual {
  background: linear-gradient(135deg, rgba(139,31,202,0.15), rgba(255,94,0,0.05));
  border: 2px solid rgba(139,31,202,0.3);
  border-radius: 20px; padding: 40px 32px;
  margin-bottom: 32px; position: relative; overflow: hidden;
}
.result-visual-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle 400px at 20% 50%, rgba(139,31,202,0.1), transparent); }
.rvc-header { font-size: 0.8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; font-weight: 600; }
.rvc-icon { font-size: 3rem; margin-bottom: 16px; }
.rvc-title { font-size: 1.6rem; margin-bottom: 12px; }
.rvc-text { color: var(--muted); font-size: 0.95rem; line-height: 1.8; margin-bottom: 20px; }
.rvc-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 20px; }
.rvc-tag { background: rgba(139,31,202,0.15); color: #C97BFF; padding: 5px 14px; border-radius: 50px; font-size: 0.8rem; }
.rvc-score { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); }
.rvc-score-label { font-size: 0.8rem; color: var(--muted); margin-bottom: 8px; }
.rvc-score-bar { height: 8px; background: var(--border); border-radius: 4px; overflow: hidden; margin-bottom: 8px; }
.rvc-score-fill { height: 100%; background: var(--gradient); border-radius: 4px; }
.rvc-score-pct { font-family: 'Syne', sans-serif; font-size: 1.4rem; font-weight: 800; }

.result-lead-v2 {
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: 16px; padding: 20px; margin-bottom: 20px;
}
.result-lead-v2 p { color: var(--muted); font-size: 0.9rem; margin-bottom: 14px; }
.result-lead-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quiz-lead-input {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 8px; padding: 10px 14px;
  color: var(--text); font-size: 0.85rem; font-family: 'Inter', sans-serif;
  transition: border-color 0.2s;
}
.quiz-lead-input:focus { outline: none; border-color: var(--purple); }
.quiz-lead-input::placeholder { color: #555; }

.result-btns-v2 { display: flex; flex-direction: column; gap: 12px; }
.quiz-restart-link {
  background: none; border: none; color: var(--muted);
  font-size: 0.85rem; cursor: pointer; text-decoration: underline;
  font-family: 'Inter', sans-serif; transition: color 0.2s;
}
.quiz-restart-link:hover { color: var(--text); }

/* ===== CONTACT CHANNELS GRID ===== */
.contact-channels-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px; margin-bottom: 60px;
}
.contact-channel-card {
  background: var(--surface2); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  text-align: center; transition: all 0.3s ease;
  position: relative; overflow: hidden;
  text-decoration: none;
}
.contact-channel-card::before { content: ''; position: absolute; inset: 0; background: var(--gradient); opacity: 0; transition: opacity 0.3s; }
.contact-channel-card:hover { transform: translateY(-6px); border-color: var(--purple); box-shadow: 0 16px 40px rgba(139,31,202,0.2); }
.contact-channel-card:hover::before { opacity: 0.04; }
.ccc-icon { font-size: 2.4rem; margin-bottom: 12px; display: block; }
.ccc-name { font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; color: #fff; display: block; }
.ccc-desc { font-size: 0.8rem; color: var(--muted); margin-bottom: 10px; display: block; }
.ccc-value { font-size: 0.9rem; color: var(--purple); font-weight: 600; margin-bottom: 12px; display: block; word-break: break-all; }
.ccc-cta { font-size: 0.8rem; color: var(--orange); font-weight: 600; display: block; transition: color 0.2s; }
.contact-channel-card:hover .ccc-cta { color: var(--purple); }

/* Form service chips */
.form-header { margin-bottom: 28px; }
.form-header h3 { font-size: 1rem; margin-bottom: 14px; color: #fff; }
.form-services { display: flex; flex-wrap: wrap; gap: 8px; }
.form-service-chip {
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: 50px; padding: 8px 16px;
  cursor: pointer; font-family: 'Inter', sans-serif;
  color: var(--muted); font-size: 0.85rem; font-weight: 500;
  transition: all 0.2s; text-decoration: none;
}
.form-service-chip:hover { border-color: var(--purple); background: rgba(139,31,202,0.1); color: #fff; }
.form-service-chip.active { border-color: var(--purple); background: rgba(139,31,202,0.2); color: var(--purple); }
.form-service-chip span { display: block; }

.form-focus-line {
  position: absolute; bottom: -2px; left: 0; right: 0;
  height: 2px; background: var(--purple); width: 0%;
  transition: width 0.3s ease;
}
.form-group input:focus + .form-focus-line,
.form-group textarea:focus + .form-focus-line { width: 100%; }

.contacto-map { }
.contacto-map h3 { font-size: 1.2rem; margin-bottom: 20px; }
.map-desc { color: var(--muted); font-size: 0.85rem; margin-top: 16px; text-align: center; }

@media (max-width: 768px) {
  .quiz-wrapper { padding: 32px 20px; }
  .quiz-opts { grid-template-columns: 1fr; }
  .result-lead-inputs { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: 1fr; }
  .testimonials-grid-v2 { grid-template-columns: 1fr; }
  .contact-channels-grid { grid-template-columns: 1fr; }
  .contacto-inner { grid-template-columns: 1fr; gap: 40px; }
}

/* ===== QUIZ V2 - GAMIFIED ===== */
.quiz-wrapper { max-width: 680px; margin: 0 auto; position: relative; z-index: 1; }
.quiz-mascot { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 28px; }
.quiz-mascot-emoji { font-size: 2.4rem; flex-shrink: 0; transition: all 0.3s; }
.quiz-mascot-bubble {
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: 12px 12px 12px 0; padding: 12px 16px;
  font-size: 0.9rem; color: var(--muted); line-height: 1.6;
  flex: 1; position: relative;
}
.quiz-steps-indicator { display: flex; align-items: center; justify-content: center; gap: 0; margin-bottom: 28px; }
.quiz-step-dot {
  width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700; color: var(--muted);
  transition: all 0.4s; background: var(--surface2); flex-shrink: 0;
}
.quiz-step-dot.qs-active { background: var(--gradient); border-color: transparent; color: #fff; }
.quiz-step-line { width: 40px; height: 2px; background: var(--border); transition: background 0.4s; flex-shrink: 0; }
.quiz-body { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 32px; }
.quiz-pane { display: none; animation: fadeInUp 0.4s ease; }
.quiz-pane.active { display: block; }
@keyframes fadeInUp { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:translateY(0); } }
.quiz-q { font-size: 1.3rem; margin-bottom: 20px; }
.quiz-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media(max-width:500px) { .quiz-opts { grid-template-columns: 1fr; } }
.quiz-opt {
  background: var(--surface2); border: 1.5px solid var(--border);
  border-radius: 12px; padding: 14px 12px;
  cursor: pointer; transition: all 0.2s;
  font-family: 'Inter', sans-serif; font-size: 0.88rem;
  color: var(--text); text-align: left;
  display: flex; align-items: center; gap: 10px;
}
.quiz-opt:hover { border-color: var(--purple); background: rgba(139,31,202,0.1); transform: translateY(-2px); }
.quiz-opt.selected { border-color: var(--purple); background: rgba(139,31,202,0.15); }
.qopt-emoji { font-size: 1.6rem; flex-shrink: 0; }
.qopt-text { font-weight: 600; }
/* Result visual card */
.result-visual-card {
  background: linear-gradient(135deg, rgba(139,31,202,0.15), rgba(255,94,0,0.1));
  border: 1px solid rgba(139,31,202,0.3); border-radius: 16px;
  padding: 24px; margin-bottom: 20px; text-align: center;
}
.rvc-header { margin-bottom: 12px; }
.rvc-brand { font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.rvc-icon { font-size: 2.8rem; margin-bottom: 10px; }
.rvc-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
.rvc-text { font-size: 0.88rem; color: var(--muted); line-height: 1.7; margin-bottom: 14px; }
.rvc-tags { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-bottom: 14px; }
.rvc-tag { background: rgba(139,31,202,0.2); color: #C97BFF; padding: 3px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; }
.rvc-score { background: rgba(0,0,0,0.2); border-radius: 8px; padding: 10px 14px; }
.rvc-score-label { font-size: 0.78rem; color: var(--muted); margin-bottom: 6px; }
.rvc-score-bar { height: 8px; background: rgba(255,255,255,0.1); border-radius: 4px; overflow: hidden; margin-bottom: 4px; }
.rvc-score-fill { height: 100%; background: var(--gradient); border-radius: 4px; transition: width 1s ease 0.3s; width: 0; }
.rvc-score-pct { font-size: 0.82rem; font-weight: 700; color: #C97BFF; text-align: right; }
.result-lead-v2 { margin-bottom: 16px; }
.result-lead-v2 p { font-size: 0.85rem; color: var(--muted); margin-bottom: 10px; text-align: center; }
.result-lead-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media(max-width:500px) { .result-lead-inputs { grid-template-columns: 1fr; } }
.quiz-lead-input {
  background: var(--surface2); border: 1px solid var(--border); border-radius: 10px;
  padding: 11px 14px; color: var(--text); font-family: 'Inter', sans-serif; font-size: 0.88rem; width: 100%;
}
.quiz-lead-input:focus { outline: none; border-color: var(--purple); }
.quiz-lead-input::placeholder { color: var(--muted); }
.result-btns-v2 { display: flex; flex-direction: column; gap: 8px; }
.quiz-restart-link { background: none; border: none; color: var(--muted); font-size: 0.82rem; cursor: pointer; text-decoration: underline; font-family: 'Inter', sans-serif; padding: 4px; }
.quiz-restart-link:hover { color: var(--text); }
.result-burst { display: none; }

/* ===== RESULTADOS V2 ===== */
.metrics-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 60px;
}
@media(max-width:768px) { .metrics-grid { grid-template-columns: repeat(2, 1fr); } }
@media(max-width:480px) { .metrics-grid { grid-template-columns: 1fr; } }
.metric-card-v2 {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 20px; text-align: center; position: relative; overflow: hidden;
  transition: all 0.3s;
}
.metric-card-v2::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--gradient); }
.metric-card-v2:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(139,31,202,0.2); }
.metric-card-v2.featured { border-color: rgba(139,31,202,0.4); background: rgba(139,31,202,0.07); }
.metric-card-icon { font-size: 2rem; margin-bottom: 10px; }
.metric-card-value { display: flex; align-items: baseline; justify-content: center; gap: 2px; margin-bottom: 8px; }
.metric-counter { font-family: 'Syne', sans-serif; font-size: 2.2rem; font-weight: 800; background: var(--gradient-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.metric-symbol { font-family: 'Syne', sans-serif; font-size: 1.4rem; font-weight: 800; color: var(--orange); }
.metric-card-label { font-size: 0.82rem; color: var(--muted); line-height: 1.4; margin-bottom: 10px; }
.metric-card-bar { height: 4px; background: rgba(255,255,255,0.06); border-radius: 2px; overflow: hidden; }
.metric-card-fill { height: 100%; background: var(--gradient); border-radius: 2px; }
.metric-card-badge {
  display: inline-block; background: rgba(34,197,94,0.15); color: #22C55E;
  padding: 3px 10px; border-radius: 20px; font-size: 0.72rem; font-weight: 700; margin-top: 8px;
}
/* Testimonials V2 */
.testimonials-grid-v2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media(max-width:768px) { .testimonials-grid-v2 { grid-template-columns: 1fr; } }
.testimonial-card-v2 {
  background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; position: relative; overflow: hidden; transition: all 0.3s;
}
.testimonial-card-v2:hover { border-color: var(--purple); transform: translateY(-3px); }
.tcard-accent { position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--gradient); }
.tcard-stars { color: #FFD700; font-size: 1rem; margin-bottom: 14px; letter-spacing: 2px; }
.tcard-quote { font-size: 0.9rem; color: var(--muted); line-height: 1.8; font-style: italic; margin-bottom: 20px; }
.tcard-author { display: flex; align-items: center; gap: 12px; }
.tcard-avatar { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tcard-name { font-size: 0.9rem; font-weight: 700; }
.tcard-role { font-size: 0.78rem; color: var(--muted); margin-top: 1px; }
.tcard-location { font-size: 0.72rem; color: var(--muted); opacity: 0.7; margin-top: 2px; }

/* ===== CONTACTO V2 ===== */
.contacto-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media(max-width:768px) { .contacto-inner { grid-template-columns: 1fr; } }
.contacto-form-wrap { background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.contacto-form .form-group { margin-bottom: 16px; }
.contacto-form label { display: block; font-size: 0.82rem; color: var(--muted); margin-bottom: 6px; font-weight: 500; }
.contacto-form input, .contacto-form textarea {
  width: 100%; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 12px 16px;
  color: var(--text); font-family: 'Inter', sans-serif; font-size: 0.9rem; transition: border-color 0.2s;
}
.contacto-form input:focus, .contacto-form textarea:focus { outline: none; border-color: var(--purple); }
.contacto-form input::placeholder, .contacto-form textarea::placeholder { color: #555; }
.contacto-form textarea { resize: vertical; min-height: 110px; }
/* Contact channels */
.contacto-info { display: flex; flex-direction: column; gap: 16px; }
.contact-channels { display: flex; flex-direction: column; gap: 12px; }
.channel-card {
  display: flex; align-items: center; gap: 16px;
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: 12px; padding: 16px 20px; transition: all 0.2s;
}
.channel-card:hover { border-color: var(--purple); transform: translateX(4px); }
.channel-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.channel-card strong { display: block; font-size: 0.9rem; font-weight: 700; }
.channel-card span { font-size: 0.82rem; color: var(--muted); }

/* ===== LOGO EN NAVBAR ===== */
.nav-logo-img { filter: brightness(0) invert(1); width: 36px; height: 36px; object-fit: contain; }
.nav-logo-img:hover { filter: none; transition: filter 0.3s; }

/* ===== NOSOTROS extras ===== */
.nosotros-founder { display: flex; align-items: center; gap: 16px; margin: 20px 0 20px; padding: 16px; background: var(--surface2); border: 1px solid var(--border); border-radius: 12px; }
.founder-avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--gradient); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.founder-avatar-inner { font-size: 1.4rem; font-weight: 800; color: #fff; font-family: 'Syne', sans-serif; }
.founder-info strong { display: block; font-size: 0.95rem; font-weight: 700; }
.founder-info span { display: block; font-size: 0.78rem; color: var(--muted); margin-top: 2px; }
.behance-link { display: inline-flex; align-items: center; gap: 6px; color: var(--purple); font-size: 0.78rem; font-weight: 600; margin-top: 6px; transition: color 0.2s; }
.behance-link:hover { color: var(--orange); }
.nosotros-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.nosotros-tags span { background: rgba(139,31,202,0.1); border: 1px solid var(--border); color: #C97BFF; padding: 5px 14px; border-radius: 50px; font-size: 0.8rem; }
.nosotros-card { background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; text-align: center; margin-bottom: 16px; }
.nosotros-card img { margin: 0 auto 14px; }
.nosotros-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.nosotros-card p { font-size: 0.85rem; color: var(--muted); margin-bottom: 16px; }
.nosotros-stats { display: flex; justify-content: space-around; padding-top: 14px; border-top: 1px solid var(--border); }
.nosotros-stats div { text-align: center; }
.nosotros-stats strong { display: block; font-size: 1.2rem; font-weight: 800; font-family: 'Syne', sans-serif; background: var(--gradient-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.nosotros-stats div { font-size: 0.75rem; color: var(--muted); }
.floating-badge {
  position: absolute; background: var(--surface); border: 1px solid var(--border);
  border-radius: 50px; padding: 8px 14px; font-size: 0.78rem; font-weight: 600;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3); animation: floatBadge 3s ease-in-out infinite;
}
.badge-neuquen { bottom: 20px; left: -10px; animation-delay: 0s; }
.badge-ia { top: 20px; right: -10px; animation-delay: 1.5s; }
@keyframes floatBadge { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
.nosotros-visual { position: relative; }

/* ===== FORM QUIZ CHIPS ===== */
.form-service-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--surface2); border: 1px solid var(--border); border-radius: 8px;
  padding: 8px 14px; font-size: 0.82rem; cursor: pointer; transition: all 0.2s; font-family: 'Inter', sans-serif; color: var(--text);
}
.form-service-chip:hover, .form-service-chip.active { border-color: var(--purple); background: rgba(139,31,202,0.1); color: #C97BFF; }
