:root {
  /* ── Paleta Oficial ECStudioPR ───────────────────────────────── */
  --brand-blue:       #030759;          /* Azul marino principal    */
  --brand-blue-mid:   #050e8f;          /* Azul medio hover         */
  --brand-blue-glow:  rgba(3,7,89,0.6); /* Azul con transparencia   */
  --brand-green:      #52BF04;          /* Verde brillante brand    */
  --brand-green-dark: #3F8C08;          /* Verde oscuro secundario  */
  --brand-green-glow: rgba(82,191,4,0.5);

  /* ── Alias de compatibilidad (no borrar) ────────────────────── */
  --navy:       #030759;
  --navy-mid:   #050e8f;
  --navy-light: #0a1880;
  --lime:       #52BF04;
  --lime-dim:   #3F8C08;
  --white:      #F8FAFC;
  --charcoal:   #030718;   /* Fondo base más oscuro para mayor contraste */
  --glass:      rgba(3,7,89,0.12);
  --glass-border: rgba(82,191,4,0.18);

  /* ── Liquid Glass tokens ─────────────────────────────────────── */
  --lg-bg:           rgba(3,7,89,0.18);
  --lg-bg-green:     rgba(82,191,4,0.10);
  --lg-border:       rgba(82,191,4,0.30);
  --lg-border-blue:  rgba(3,7,89,0.50);
  --lg-blur:         18px;
  --lg-shadow:       0 8px 40px rgba(3,7,89,0.45), 0 1px 0 rgba(82,191,4,0.25) inset;
  --lg-highlight:    linear-gradient(135deg, rgba(82,191,4,0.20) 0%, rgba(3,7,89,0.05) 100%);

  /* ── Legado ──────────────────────────────────────────────────── */
  --midnight: #030759;
  --mint:     #52BF04;
  --electric: #52BF04;
  --coral:    #FF6B6B;
}

/* ═══════════════════════════════════════════════════════════════
   LIQUID GLASS — Utilidades globales
   Aplica glassmorphism con los colores de marca (azul + verde)
═══════════════════════════════════════════════════════════════ */
.liquid-glass {
  background: var(--lg-bg);
  backdrop-filter: blur(var(--lg-blur)) saturate(180%);
  -webkit-backdrop-filter: blur(var(--lg-blur)) saturate(180%);
  border: 1px solid var(--lg-border);
  box-shadow: var(--lg-shadow);
  position: relative;
  overflow: hidden;
}
.liquid-glass::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--lg-highlight);
  pointer-events: none;
  border-radius: inherit;
}

/* Variante verde dominante */
.liquid-glass-green {
  background: var(--lg-bg-green);
  backdrop-filter: blur(var(--lg-blur)) saturate(200%);
  -webkit-backdrop-filter: blur(var(--lg-blur)) saturate(200%);
  border: 1px solid var(--lg-border);
  box-shadow: 0 8px 40px rgba(82,191,4,0.20), 0 1px 0 rgba(82,191,4,0.30) inset;
}


*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--charcoal);
  color: var(--white);
  overflow-x: hidden;
}

/* CUSTOM CURSOR */
.cursor {
  position: fixed;
  width: 12px; height: 12px;
  background: var(--lime);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%,-50%);
  transition: transform 0.1s ease, width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
  mix-blend-mode: screen;
  display: none; /* Hide by default on mobile, show via JS if mouse detected */
}
@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; }
}

.cursor-ring {
  position: fixed;
  width: 40px; height: 40px;
  border: 1px solid rgba(190,255,78,0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%,-50%);
  transition: transform 0.25s ease, width 0.3s ease, height 0.3s ease;
  display: none;
}
@media (hover: hover) and (pointer: fine) {
  .cursor-ring { display: block; }
}
body:hover .cursor { opacity: 1; }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.4rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(5,14,43,0.5);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  transition: background 0.4s ease;
}

.logo {
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo span {
  color: var(--lime);
}
.logo-dot {
  width: 7px; height: 7px;
  background: var(--lime);
  border-radius: 50%;
  animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
  0%,100%{transform:scale(1);opacity:1}
  50%{transform:scale(1.6);opacity:0.6}
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(248,250,252,0.65);
  text-decoration: none;
  transition: color 0.25s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--lime);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.nav-links a:hover { color: var(--lime); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta {
  background: var(--lime);
  color: var(--navy) !important;
  padding: 0.55rem 1.4rem;
  border-radius: 100px;
  font-weight: 700 !important;
  font-size: 0.82rem !important;
  letter-spacing: 0.04em !important;
  transition: background 0.25s, transform 0.2s !important;
  cursor: pointer;
}
.nav-cta:hover { background: var(--lime-dim) !important; transform: translateY(-1px); }
.nav-cta::after { display: none !important; }

/* USER CONTROLS (NAV) */
.user-controls {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.btn-login {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--lime);
  padding: 0.55rem 1.4rem;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-login:hover {
  background: rgba(190,255,78,0.1);
}

/* HERO */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 0 5%;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 55% at 65% 35%, rgba(74,143,231,0.15) 0%, transparent 65%),
    radial-gradient(ellipse 45% 45% at 20% 75%, rgba(190,255,78,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 35% 35% at 85% 80%, rgba(190,255,78,0.05) 0%, transparent 60%),
    linear-gradient(135deg, #060D1F 0%, #0B1F3A 100%);
}

.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(190,255,78,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(190,255,78,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 2rem;
  animation: fadeInUp 0.7s ease both;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--lime);
  border-radius: 50%;
  animation: pulse-dot 2s ease infinite;
}

h1 {
  font-family: 'Unbounded', sans-serif;
  font-weight: 900;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.7s 0.1s ease both;
}

h1 .accent { color: var(--lime); }
h1 .line-electric { color: var(--lime); opacity: 0.7; }

.hero-sub {
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(248,250,252,0.65);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.7s 0.2s ease both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.7s 0.3s ease both;
}

.btn-primary {
  background: var(--lime);
  color: var(--navy);
  padding: 0.9rem 2rem;
  border-radius: 100px;
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 30px rgba(190,255,78,0.25);
  cursor: pointer;
  border: none;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(190,255,78,0.45);
}
.btn-primary svg { transition: transform 0.2s ease; }
.btn-primary:hover svg { transform: translateX(3px); }

.btn-ghost {
  border: 1px solid var(--glass-border);
  color: var(--white);
  padding: 0.9rem 2rem;
  border-radius: 100px;
  font-family: 'Unbounded', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,0.04);
  transition: border-color 0.25s, background 0.25s;
}
.btn-ghost:hover {
  border-color: var(--lime);
  background: rgba(190,255,78,0.07);
}

.hero-stats {
  position: absolute;
  right: 5%;
  bottom: 12%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  animation: fadeInRight 0.8s 0.5s ease both;
}
.stat-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  padding: 1.2rem 1.6rem;
  border-radius: 16px;
  min-width: 180px;
}
.stat-num {
  font-family: 'Unbounded', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--lime);
  letter-spacing: -0.03em;
}
.stat-label {
  font-size: 0.78rem;
  color: rgba(248,250,252,0.5);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 0.3rem;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(248,250,252,0.3);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 2;
  animation: fadeIn 1.5s 1s ease both;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--lime), transparent);
  animation: scroll-anim 2s ease infinite;
}
@keyframes scroll-anim {
  0%{transform:scaleY(0);transform-origin:top}
  50%{transform:scaleY(1);transform-origin:top}
  50.01%{transform:scaleY(1);transform-origin:bottom}
  100%{transform:scaleY(0);transform-origin:bottom}
}

  /* SECTIONS COMMON */
  section { padding: 7rem 5%; }

  .section-label {
font-size: 0.72rem;
letter-spacing: 0.18em;
text-transform: uppercase;
color: var(--lime);
margin-bottom: 1rem;
display: flex;
align-items: center;
gap: 0.6rem;
font-family: 'Plus Jakarta Sans', sans-serif;
font-weight: 600;
  }
  .section-label::before {
content: '';
width: 24px; height: 1px;
background: var(--lime);
  }

  .section-title {
font-family: 'Unbounded', sans-serif;
font-weight: 800;
font-size: clamp(1.7rem, 3.5vw, 2.8rem);
letter-spacing: -0.03em;
line-height: 1.12;
margin-bottom: 1.2rem;
  }

  .section-sub {
font-size: 1rem;
color: rgba(248,250,252,0.55);
line-height: 1.75;
max-width: 500px;
  }

  /* SERVICIOS */
  #servicios {
background: linear-gradient(180deg, var(--charcoal) 0%, #0a1225 100%);
  }

  .servicios-header {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 4rem;
align-items: end;
margin-bottom: 4rem;
  }

  .pilares {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1.5rem;
  }

  .pilar-card {
background: var(--glass);
border: 1px solid var(--glass-border);
border-radius: 24px;
padding: 2rem;
position: relative;
overflow: hidden;
transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
cursor: default;
  }
  .pilar-card::before {
content: '';
position: absolute;
top: 0; left: 0; right: 0;
height: 2px;
background: var(--card-accent, var(--mint));
transform: scaleX(0);
transform-origin: left;
transition: transform 0.4s ease;
  }
  .pilar-card:hover {
transform: translateY(-6px);
border-color: rgba(255,255,255,0.14);
box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  }
  .pilar-card:hover::before { transform: scaleX(1); }

  .pilar-icon {
width: 52px; height: 52px;
border-radius: 14px;
background: rgba(255,255,255,0.06);
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 1.5rem;
font-size: 1.4rem;
  }

  .pilar-num {
position: absolute;
top: 1.5rem; right: 1.8rem;
font-family: 'Unbounded', sans-serif;
font-size: 3.5rem;
font-weight: 800;
color: rgba(255,255,255,0.04);
line-height: 1;
letter-spacing: -0.05em;
  }

  .pilar-title {
font-family: 'Unbounded', sans-serif;
font-weight: 700;
font-size: 1rem;
letter-spacing: -0.02em;
margin-bottom: 0.75rem;
line-height: 1.3;
  }
  .pilar-sub {
font-size: 0.82rem;
color: rgba(248,250,252,0.45);
margin-bottom: 1.2rem;
letter-spacing: 0.04em;
text-transform: uppercase;
  }
  .pilar-desc {
font-size: 0.9rem;
color: rgba(248,250,252,0.6);
line-height: 1.65;
margin-bottom: 1.5rem;
  }

  .pilar-tags {
display: flex;
flex-wrap: wrap;
gap: 0.4rem;
  }
  .tag {
font-size: 0.73rem;
padding: 0.25rem 0.7rem;
border-radius: 100px;
border: 1px solid var(--card-accent, rgba(255,255,255,0.12));
color: rgba(248,250,252,0.6);
letter-spacing: 0.04em;
  }

  /* PORTAFOLIO */
  #portafolio { background: #0a1225; padding-left: 0; padding-right: 0; }

  .portfolio-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1.5rem;
margin-top: 3.5rem;
  }

  .project-card {
border-radius: 20px;
overflow: hidden;
border: 1px solid var(--glass-border);
background: var(--glass);
position: relative;
transition: transform 0.3s ease;
  }
  .project-card:hover { transform: translateY(-4px); }
  .project-card.featured { grid-row: span 2; }

  .project-visual {
height: 240px;
position: relative;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
  }
  .project-card.featured .project-visual { height: 340px; }

  .project-visual-bg {
position: absolute; inset: 0;
transition: transform 0.5s ease;
  }
  .project-card:hover .project-visual-bg { transform: scale(1.05); }

  .project-visual-content {
position: relative;
z-index: 1;
text-align: center;
padding: 1rem;
  }

  .project-mockup {
font-family: 'Unbounded', sans-serif;
font-weight: 800;
font-size: 2rem;
letter-spacing: -0.05em;
opacity: 0.9;
  }
  .project-mockup-sub {
font-size: 0.7rem;
letter-spacing: 0.15em;
text-transform: uppercase;
opacity: 0.6;
margin-top: 0.3rem;
  }

  .project-overlay {
position: absolute; inset: 0;
background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
  }

  .project-tag-pill {
position: absolute;
top: 1rem; left: 1rem;
background: rgba(0,0,0,0.5);
backdrop-filter: blur(8px);
border: 1px solid rgba(255,255,255,0.1);
padding: 0.3rem 0.8rem;
border-radius: 100px;
font-size: 0.72rem;
letter-spacing: 0.08em;
text-transform: uppercase;
color: var(--lime);
z-index: 2;
  }

  .project-info {
padding: 1.5rem;
  }
  .project-client {
font-size: 0.75rem;
color: rgba(248,250,252,0.4);
letter-spacing: 0.1em;
text-transform: uppercase;
margin-bottom: 0.4rem;
  }
  .project-title {
font-family: 'Unbounded', sans-serif;
font-weight: 700;
font-size: 0.88rem;
letter-spacing: -0.02em;
margin-bottom: 0.6rem;
line-height: 1.3;
  }
  .project-metric {
display: inline-flex;
align-items: center;
gap: 0.4rem;
background: rgba(190,255,78,0.1);
border: 1px solid rgba(190,255,78,0.2);
padding: 0.3rem 0.8rem;
border-radius: 100px;
font-size: 0.78rem;
color: var(--lime);
  }

  /* PERFILES DE CLIENTES */
  #clientes {
background: linear-gradient(180deg, #0a1225 0%, var(--charcoal) 100%);
  }

  .perfiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3.5rem;
  }

  .perfil-card {
border-radius: 24px;
padding: 3rem;
position: relative;
overflow: hidden;
transition: transform 0.3s ease;
cursor: default;
  }
  .perfil-card:hover { transform: translateY(-4px); }

  .perfil-card.emprendedor {
background: linear-gradient(135deg, rgba(190,255,78,0.08) 0%, rgba(74,143,231,0.06) 100%);
border: 1px solid rgba(190,255,78,0.18);
  }
  .perfil-card.profesional {
background: linear-gradient(135deg, rgba(74,143,231,0.1) 0%, rgba(190,255,78,0.04) 100%);
border: 1px solid rgba(74,143,231,0.18);
  }

  .perfil-emoji {
font-size: 3rem;
margin-bottom: 1.5rem;
display: block;
  }

  .perfil-pregunta {
font-family: 'Unbounded', sans-serif;
font-weight: 800;
font-size: 1.2rem;
letter-spacing: -0.03em;
margin-bottom: 1rem;
line-height: 1.2;
  }
  .perfil-desc {
font-size: 0.95rem;
color: rgba(248,250,252,0.65);
line-height: 1.7;
margin-bottom: 1.8rem;
  }

  .perfil-list {
list-style: none;
display: flex;
flex-direction: column;
gap: 0.6rem;
  }
  .perfil-list li {
display: flex;
align-items: center;
gap: 0.6rem;
font-size: 0.88rem;
color: rgba(248,250,252,0.75);
  }
  .perfil-list li::before {
content: '→';
color: var(--lime);
font-size: 0.75rem;
  }

  /* CONFIGURADOR */
  #configurador {
background: var(--charcoal);
position: relative;
overflow: hidden;
  }
  #configurador::before {
content: '';
position: absolute;
top: -200px; left: 50%;
transform: translateX(-50%);
width: 600px; height: 600px;
background: radial-gradient(circle, rgba(190,255,78,0.06) 0%, transparent 70%);
pointer-events: none;
  }

  .configurador-wrapper {
max-width: 780px;
margin: 4rem auto 0;
background: var(--glass);
border: 1px solid var(--glass-border);
border-radius: 28px;
overflow: hidden;
backdrop-filter: blur(12px);
  }

  .config-header {
background: linear-gradient(90deg, rgba(190,255,78,0.1) 0%, rgba(17,138,178,0.1) 100%);
padding: 2rem 2.5rem;
border-bottom: 1px solid var(--glass-border);
display: flex;
justify-content: space-between;
align-items: center;
  }
  .config-steps {
display: flex;
gap: 0.5rem;
  }
  .step-dot {
width: 32px; height: 4px;
border-radius: 100px;
background: rgba(255,255,255,0.12);
transition: background 0.3s ease;
  }
  .step-dot.active { background: var(--lime); }

  .config-body {
padding: 2.5rem;
  }

  .config-question {
font-family: 'Unbounded', sans-serif;
font-weight: 700;
font-size: 1.15rem;
letter-spacing: -0.025em;
margin-bottom: 0.6rem;
line-height: 1.3;
  }
  .config-hint {
font-size: 0.88rem;
color: rgba(248,250,252,0.45);
margin-bottom: 2rem;
  }

  .config-options {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1rem;
margin-bottom: 2rem;
  }
  .config-option {
border: 1px solid var(--glass-border);
border-radius: 16px;
padding: 1.2rem 1.4rem;
cursor: pointer;
transition: border-color 0.25s, background 0.25s, transform 0.2s;
display: flex;
align-items: flex-start;
gap: 0.8rem;
background: transparent;
color: inherit;
text-align: left;
font-family: inherit;
  }
  .config-option:hover {
border-color: rgba(190,255,78,0.4);
background: rgba(190,255,78,0.05);
transform: translateY(-2px);
  }
  .config-option.selected {
border-color: var(--lime);
background: rgba(190,255,78,0.1);
  }
  .config-option-icon {
font-size: 1.4rem;
flex-shrink: 0;
margin-top: 0.1rem;
  }
  .config-option-text {}
  .config-option-title {
font-family: 'Unbounded', sans-serif;
font-weight: 700;
font-size: 0.95rem;
margin-bottom: 0.2rem;
  }
  .config-option-desc {
font-size: 0.8rem;
color: rgba(248,250,252,0.5);
  }

  .config-nav {
display: flex;
justify-content: space-between;
align-items: center;
padding-top: 1.5rem;
border-top: 1px solid var(--glass-border);
  }

  .btn-config-prev {
background: transparent;
border: 1px solid var(--glass-border);
color: rgba(248,250,252,0.6);
padding: 0.7rem 1.5rem;
border-radius: 100px;
font-family: inherit;
font-size: 0.88rem;
cursor: pointer;
transition: border-color 0.25s, color 0.25s;
  }
  .btn-config-prev:hover { border-color: rgba(255,255,255,0.25); color: var(--white); }

  .btn-config-next {
background: var(--lime);
border: none;
color: var(--navy);
padding: 0.7rem 1.8rem;
border-radius: 100px;
font-family: 'Unbounded', sans-serif;
font-weight: 700;
font-size: 0.82rem;
cursor: pointer;
transition: background 0.25s, transform 0.2s, box-shadow 0.3s;
box-shadow: 0 0 20px rgba(190,255,78,0.2);
display: flex;
align-items: center;
gap: 0.4rem;
  }
  .btn-config-next:hover {
background: var(--lime-dim);
transform: translateY(-1px);
box-shadow: 0 0 35px rgba(190,255,78,0.35);
  }

  /* PROCESO */
  #proceso {
background: linear-gradient(180deg, var(--charcoal) 0%, #0a1225 100%);
  }

  .proceso-steps {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 2rem;
margin-top: 4rem;
position: relative;
  }
  .proceso-steps::before {
content: '';
position: absolute;
top: 36px;
left: calc(12.5% + 1rem);
right: calc(12.5% + 1rem);
height: 1px;
background: linear-gradient(90deg, var(--lime), rgba(190,255,78,0.2));
opacity: 0.3;
  }

  .proceso-step {
text-align: center;
padding: 0 1rem;
  }
  .proceso-num {
width: 72px; height: 72px;
border-radius: 50%;
background: var(--glass);
border: 1px solid var(--glass-border);
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 1.5rem;
font-family: 'Unbounded', sans-serif;
font-size: 1.4rem;
font-weight: 800;
color: var(--lime);
position: relative;
z-index: 1;
  }
  .proceso-step:nth-child(1) .proceso-num { border-color: rgba(190,255,78,0.35); box-shadow: 0 0 20px rgba(190,255,78,0.1); }
  .proceso-step:nth-child(2) .proceso-num { border-color: rgba(74,143,231,0.35); box-shadow: 0 0 20px rgba(74,143,231,0.1); color: #4A8FE7; }
  .proceso-step:nth-child(3) .proceso-num { border-color: rgba(190,255,78,0.2); box-shadow: 0 0 20px rgba(190,255,78,0.07); color: var(--lime); opacity:0.7; }

  .proceso-title {
font-family: 'Unbounded', sans-serif;
font-weight: 700;
font-size: 0.95rem;
letter-spacing: -0.02em;
margin-bottom: 0.7rem;
  }
  .proceso-desc {
font-size: 0.88rem;
color: rgba(248,250,252,0.55);
line-height: 1.65;
  }

  /* TESTIMONIOS */
  #testimonios { background: #0a1225; }

  .testimonios-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1.5rem;
margin-top: 3.5rem;
  }

  .testimonio-card {
background: var(--glass);
border: 1px solid var(--glass-border);
border-radius: 20px;
padding: 1.8rem;
transition: transform 0.3s ease;
  }
  .testimonio-card:hover { transform: translateY(-4px); }

  .testimonio-stars {
color: var(--lime);
font-size: 0.85rem;
letter-spacing: 0.1em;
margin-bottom: 1rem;
  }
  .testimonio-text {
font-size: 0.92rem;
color: rgba(248,250,252,0.75);
line-height: 1.7;
margin-bottom: 1.5rem;
font-style: italic;
  }
  .testimonio-author {
display: flex;
align-items: center;
gap: 0.8rem;
  }
  .testimonio-avatar {
width: 40px; height: 40px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-family: 'Unbounded', sans-serif;
font-weight: 700;
font-size: 0.85rem;
flex-shrink: 0;
  }
  .testimonio-name {
font-family: 'Unbounded', sans-serif;
font-weight: 700;
font-size: 0.82rem;
  }
  .testimonio-brand {
font-size: 0.78rem;
color: rgba(248,250,252,0.4);
  }

  /* FOOTER */
  footer {
background: #030812;
padding: 4rem 5% 2rem;
border-top: 1px solid var(--glass-border);
  }

  .footer-top {
display: grid;
grid-template-columns: 1.5fr 1fr 1fr 1fr;
gap: 3rem;
margin-bottom: 3rem;
  }

  .footer-brand p {
font-size: 0.88rem;
color: rgba(248,250,252,0.45);
line-height: 1.7;
margin-top: 1rem;
max-width: 240px;
  }

  .footer-col-title {
font-family: 'Unbounded', sans-serif;
font-weight: 700;
font-size: 0.72rem;
letter-spacing: 0.1em;
text-transform: uppercase;
color: rgba(248,250,252,0.4);
margin-bottom: 1.2rem;
  }

  .footer-links {
list-style: none;
display: flex;
flex-direction: column;
gap: 0.7rem;
  }
  .footer-links a {
font-size: 0.88rem;
color: rgba(248,250,252,0.55);
text-decoration: none;
transition: color 0.25s;
  }
  .footer-links a:hover { color: var(--lime); }

  .footer-bottom {
display: flex;
justify-content: space-between;
align-items: center;
padding-top: 2rem;
border-top: 1px solid rgba(255,255,255,0.05);
font-size: 0.8rem;
color: rgba(248,250,252,0.3);
  }

  .footer-social {
display: flex;
gap: 0.8rem;
  }
  .social-btn {
width: 36px; height: 36px;
border-radius: 50%;
border: 1px solid var(--glass-border);
display: flex;
align-items: center;
justify-content: center;
color: rgba(248,250,252,0.5);
text-decoration: none;
font-size: 0.85rem;
transition: border-color 0.25s, color 0.25s;
  }
  .social-btn:hover { border-color: var(--lime); color: var(--lime); }

  /* CHAT WIDGET — Liquid Glass & Active States */
  .chat-widget-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    font-family: 'Plus Jakarta Sans', sans-serif;
  }
  .chat-bubble {
    background: rgba(3, 7, 89, 0.35);
    border: 1px solid rgba(82, 191, 4, 0.40);
    border-radius: 100px;
    padding: 0.75rem 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(3, 7, 89, 0.40), inset 0 1px 0 rgba(255,255,255,0.05);
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    animation: fadeInUp 0.8s 1s ease both;
  }
  .chat-bubble:hover {
    transform: translateY(-4px);
    border-color: #52BF04;
    box-shadow: 0 12px 40px rgba(82, 191, 4, 0.25), 0 8px 32px rgba(3, 7, 89, 0.50);
  }
  .chat-avatar-wrapper {
    position: relative;
    width: 32px;
    height: 32px;
    background: rgba(82, 191, 4, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .chat-bubble-icon {
    font-size: 1.1rem;
  }
  .chat-active-dot {
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 9px;
    height: 9px;
    background: #52BF04;
    border: 2px solid rgba(3, 7, 89, 0.9);
    border-radius: 50%;
    animation: pulseGlow 2s infinite;
  }
  @keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(82, 191, 4, 0.7); }
    70% { box-shadow: 0 0 0 6px rgba(82, 191, 4, 0); }
    100% { box-shadow: 0 0 0 0 rgba(82, 191, 4, 0); }
  }
  .chat-bubble-text {
    font-size: 0.82rem;
  }
  .chat-bubble-text strong {
    font-family: 'Unbounded', sans-serif;
    display: block;
    font-size: 0.82rem;
    color: #fff;
    letter-spacing: -0.01em;
  }
  .chat-bubble-text span {
    color: rgba(248, 250, 252, 0.6);
    font-size: 0.72rem;
  }

  /* Chat Window */
  .chat-window {
    width: 360px;
    height: 480px;
    background: rgba(3, 7, 89, 0.75);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(82, 191, 4, 0.30);
    border-radius: 24px;
    box-shadow: 0 24px 70px rgba(3, 7, 89, 0.90), inset 0 1px 0 rgba(255,255,255,0.08);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: absolute;
    bottom: 0;
    right: 0;
    transform-origin: bottom right;
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1001;
  }
  .chat-header {
    padding: 1.2rem 1.4rem;
    background: rgba(3, 7, 89, 0.40);
    border-bottom: 1px solid rgba(82, 191, 4, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
  }
  .chat-avatar-status {
    position: relative;
    width: 28px;
    height: 28px;
    background: rgba(82, 191, 4, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .chat-active-dot-header {
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 8px;
    height: 8px;
    background: #52BF04;
    border: 1.5px solid rgba(3, 7, 89, 0.9);
    border-radius: 50%;
  }
  .chat-close-btn {
    background: none;
    border: none;
    color: rgba(255,255,255,0.5);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
  }
  .chat-close-btn:hover {
    color: #fff;
  }
  .chat-messages {
    flex: 1;
    padding: 1.2rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    scroll-behavior: smooth;
  }
  .chat-msg {
    max-width: 85%;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }
  .chat-msg.system {
    align-self: flex-start;
  }
  .chat-msg.user {
    align-self: flex-end;
  }
  .chat-msg-bubble {
    padding: 0.8rem 1.1rem;
    border-radius: 18px;
    font-size: 0.85rem;
    line-height: 1.5;
  }
  .chat-msg.system .chat-msg-bubble {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(248, 250, 252, 0.9);
    border-top-left-radius: 4px;
  }
  .chat-msg.user .chat-msg-bubble {
    background: linear-gradient(135deg, #52BF04, #3F8C08);
    color: #fff;
    border-top-right-radius: 4px;
  }
  .chat-msg-time {
    font-size: 0.65rem;
    color: rgba(248, 250, 252, 0.4);
    padding: 0 0.2rem;
  }
  .chat-msg.user .chat-msg-time {
    align-self: flex-end;
  }
  .chat-quick-options {
    padding: 0.6rem 1rem;
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    white-space: nowrap;
    scrollbar-width: none; /* Firefox */
  }
  .chat-quick-options::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
  }
  .chat-quick-options button {
    background: rgba(82, 191, 4, 0.08);
    border: 1px solid rgba(82, 191, 4, 0.25);
    color: #52BF04;
    border-radius: 100px;
    padding: 0.4rem 0.9rem;
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
  }
  .chat-quick-options button:hover {
    background: #52BF04;
    color: #fff;
    border-color: transparent;
  }
  .chat-input-area {
    padding: 1rem;
    background: rgba(3, 7, 89, 0.35);
    border-top: 1px solid rgba(82, 191, 4, 0.15);
    display: flex;
    gap: 0.7rem;
  }
  .chat-input-area input {
    flex: 1;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    padding: 0.65rem 1.1rem;
    color: #fff;
    font-size: 0.82rem;
    outline: none;
    transition: border-color 0.2s;
  }
  .chat-input-area input:focus {
    border-color: #52BF04;
  }
  .chat-input-area button {
    background: linear-gradient(135deg, #52BF04, #3F8C08);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: transform 0.2s;
  }
  .chat-input-area button:hover {
    transform: scale(1.05);
  }


/* AUTH MODAL */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.modal-content {
  background: var(--navy-mid);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  width: 100%;
  max-width: 440px;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.modal-overlay.active .modal-content {
  transform: translateY(0);
}
.modal-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.3s;
}
.modal-close:hover { color: var(--lime); }

.modal-title {
  font-family: 'Unbounded', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--white);
}
.modal-subtitle {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
  position: relative;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  color: rgba(255,255,255,0.8);
}
.form-group input {
  width: 100%;
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 0.9rem 1rem;
  border-radius: 12px;
  color: var(--white);
  font-family: inherit;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.form-group input:focus {
  outline: none;
  border-color: var(--lime);
  box-shadow: 0 0 10px rgba(190,255,78,0.2);
}
.form-error {
  color: var(--coral);
  font-size: 0.75rem;
  margin-top: 0.4rem;
  display: none;
}
.form-group.error input {
  border-color: var(--coral);
}
.form-group.error .form-error {
  display: block;
}

.btn-full {
  width: 100%;
  justify-content: center;
  margin-top: 1rem;
}

.modal-switch {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}
.modal-switch a {
  color: var(--lime);
  text-decoration: none;
  font-weight: 600;
}
.modal-switch a:hover { text-decoration: underline; }

/* DASHBOARDS LAYOUT */
.dashboard-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
  background: var(--charcoal);
}

.sidebar {
  background: var(--navy-mid);
  border-right: 1px solid var(--glass-border);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
}
.sidebar .logo { margin-bottom: 3rem; }

.sidebar-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  flex: 1;
}
.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1.2rem;
  border-radius: 12px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s;
}
.sidebar-nav a:hover, .sidebar-nav a.active {
  background: rgba(190,255,78,0.1);
  color: var(--lime);
}
.sidebar-nav-group-title {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 700;
  margin: 1rem 0 0.2rem 0.6rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.user-profile-sm {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(0,0,0,0.2);
  border-radius: 16px;
  border: 1px solid var(--glass-border);
}
.avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
}
.user-info {
  flex: 1;
  overflow: hidden;
}
.user-info .name {
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.user-info .role {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.btn-logout {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: color 0.3s;
}
.btn-logout:hover { color: var(--coral); }

.main-content {
  padding: 3rem 4rem;
  overflow-y: auto;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
}
.dashboard-header h1 {
  font-size: 2.2rem;
  margin-bottom: 0.2rem;
  animation: none;
}
.dashboard-header p {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
}

/* METROPANEL (KPIs) */
.metropanel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.metro-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 1.8rem;
  position: relative;
  overflow: hidden;
}
.metro-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 4px; height: 100%;
  background: var(--lime);
}
.metro-value {
  font-family: 'Unbounded', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--white);
}
.metro-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.metro-icon {
  position: absolute;
  right: 1.5rem; top: 1.5rem;
  font-size: 2rem;
  opacity: 0.2;
}

/* TABLES */
.table-container {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  overflow: hidden;
}
.table-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.table-header h3 {
  font-family: 'Unbounded', sans-serif;
  font-size: 1.2rem;
}
.search-box {
  position: relative;
}
.search-box input {
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 0.6rem 1rem 0.6rem 2.5rem;
  border-radius: 100px;
  color: var(--white);
  font-size: 0.85rem;
  width: 250px;
}
.search-box svg {
  position: absolute;
  left: 1rem; top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.4);
}

table {
  width: 100%;
  border-collapse: collapse;
}
th, td {
  padding: 1.2rem 2rem;
  text-align: left;
}
th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.5);
  background: rgba(0,0,0,0.1);
}
td {
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(255,255,255,0.02); }

.status-badge {
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.status-badge.active {
  background: rgba(190,255,78,0.1);
  color: var(--lime);
  border: 1px solid rgba(190,255,78,0.2);
}
.status-badge.admin {
  background: rgba(74,143,231,0.1);
  color: var(--electric);
  border: 1px solid rgba(74,143,231,0.2);
}

.action-btn {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.4);
  cursor: pointer;
  padding: 0.4rem;
  border-radius: 8px;
  transition: all 0.2s;
}
.action-btn:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
}
.action-btn.delete:hover {
  background: rgba(255,107,107,0.1);
  color: var(--coral);
}

/* CLIENT DASHBOARD WIDGETS */
.client-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
}
.profile-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(0,0,0,0.2) 100%);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 2.5rem;
}
.profile-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
  text-align: center;
}
.profile-header .avatar {
  width: 80px; height: 80px;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.services-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.service-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 1.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: transform 0.3s, border-color 0.3s;
}
.service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(190,255,78,0.3);
}
.service-info h4 {
  font-family: 'Unbounded', sans-serif;
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}
.service-info p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}
.service-progress {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.progress-bar-container {
  width: 120px;
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 100px;
  overflow: hidden;
}
.progress-bar {
  height: 100%;
  background: var(--lime);
  border-radius: 100px;
}
.progress-text {
  font-family: 'Unbounded', sans-serif;
  font-size: 0.85rem;
  color: var(--lime);
}

/* MARKETING HUB REFACTOR */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.hub-menu-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(0,0,0,0.2) 100%);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}
.hub-menu-card:hover {
  transform: translateY(-5px);
  border-color: rgba(190,255,78,0.3);
  box-shadow: 0 10px 30px rgba(190,255,78,0.05);
}
.hub-menu-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.hub-menu-card h3 {
  font-family: 'Unbounded', sans-serif;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.hub-menu-card p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

/* INNER TOOL PANELS */
.btn-back {
  background: transparent;
  border: 1px solid var(--glass-border);
  color: rgba(255,255,255,0.7);
  padding: 0.6rem 1.2rem;
  border-radius: 100px;
  cursor: pointer;
  margin-bottom: 2rem;
  transition: all 0.3s;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.btn-back:hover {
  background: rgba(255,255,255,0.05);
  color: #fff;
}
.tool-panel-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}
.tool-action-area, .tool-stats-area {
  background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(0,0,0,0.2) 100%);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2rem;
}
.tool-action-area h3, .tool-stats-area h3 {
  font-family: 'Unbounded', sans-serif;
  margin-bottom: 0.5rem;
}
.tool-action-area p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
}
.tool-stat-card {
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 1rem;
  text-align: center;
}
.tool-stat-card .stat-value {
  font-family: 'Unbounded', sans-serif;
  font-size: 2rem;
  color: var(--lime);
  margin-bottom: 0.2rem;
}
.tool-stat-card .stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ACCOUNTING MODULE */
.acc-subnav {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 1rem;
}
.acc-tab {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.5);
  font-family: 'Unbounded', sans-serif;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
  transition: all 0.3s;
  border-radius: 8px;
}
.acc-tab:hover {
  color: #fff;
  background: rgba(255,255,255,0.05);
}
.acc-tab.active {
  color: var(--lime);
  background: rgba(190,255,78,0.1);
}

/* PROJECTS MODULE - KANBAN BOARD & TASKS */
.view-toggles {
  display: flex;
  background: rgba(0,0,0,0.3);
  border-radius: 8px;
  padding: 0.3rem;
  border: 1px solid rgba(255,255,255,0.05);
}
.toggle-btn {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.5);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.3s;
}
.toggle-btn:hover {
  color: #fff;
}
.toggle-btn.active {
  background: rgba(190,255,78,0.1);
  color: var(--lime);
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.kanban-board {
  display: flex;
  overflow-x: auto;
  gap: 1.5rem;
  padding: 1rem 0 2rem 0;
  min-height: 60vh;
}
.kanban-board::-webkit-scrollbar {
  height: 8px;
}
.kanban-board::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.05);
  border-radius: 4px;
}
.kanban-board::-webkit-scrollbar-thumb {
  background: rgba(190,255,78,0.3);
  border-radius: 4px;
}
.kanban-column {
  min-width: 300px;
  max-width: 300px;
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
}
.kanban-header {
  padding: 1rem;
  font-family: 'Unbounded', sans-serif;
  font-size: 0.9rem;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  background: rgba(255,255,255,0.02);
  border-radius: 12px 12px 0 0;
}
.kanban-cards {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 100px;
}
.kanban-cards.drag-over {
  background: rgba(190,255,78,0.05);
}
.project-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.3s;
}
.project-card:hover {
  background: rgba(255,255,255,0.05);
  transform: translateY(-5px);
  border-color: rgba(190,255,78,0.3);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.status-badge.progress {
  background: rgba(16,185,129,0.1);
  color: #10B981;
  padding: 0.3rem 0.6rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
}
.due-date {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
}
.project-title {
  font-family: 'Unbounded', sans-serif;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.project-client {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.5rem;
}
.job-number {
  font-family: monospace;
  font-size: 0.8rem;
  color: var(--lime);
  background: rgba(190,255,78,0.1);
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}
.project-progress {
  margin-top: auto;
}
.progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
  color: rgba(255,255,255,0.7);
}
.progress-bar-bg {
  width: 100%;
  height: 8px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  overflow: hidden;
}
.progress-bar-fill {
  height: 100%;
  background: var(--lime);
  border-radius: 10px;
  transition: width 0.5s ease-out;
  box-shadow: 0 0 10px rgba(190,255,78,0.5);
}

.task-checklist {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.task-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}
.task-item:hover {
  background: rgba(255,255,255,0.05);
}
.task-checkbox {
  width: 20px;
  height: 20px;
  accent-color: var(--lime);
  cursor: pointer;
}
.task-text {
  font-size: 1rem;
  color: #fff;
  transition: color 0.3s;
  cursor: pointer;
}
.task-text:hover {
  color: var(--lime);
}
.task-checkbox:checked + .task-text {
  text-decoration: line-through;
  color: rgba(255,255,255,0.4);
}

/* HISTORY LIST */
.tool-history-area h3 {
  font-family: 'Unbounded', sans-serif;
  margin-bottom: 1rem;
}
.hub-history-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.hub-history-item {
  display: flex;
  align-items: center;
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}
.hub-history-item:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(190,255,78,0.3);
  transform: translateX(5px);
}
.hub-history-item .item-icon {
  font-size: 1.5rem;
  margin-right: 1rem;
}
.hub-history-item .item-details {
  flex: 1;
}
.hub-history-item .item-title {
  font-weight: 600;
  font-size: 0.9rem;
  color: #fff;
}
.hub-history-item .item-subtitle {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.2rem;
}
.hub-history-item .item-arrow {
  color: var(--lime);
  font-size: 1.2rem;
  opacity: 0;
  transition: opacity 0.3s;
}
.hub-history-item:hover .item-arrow {
  opacity: 1;
}

/* ANALYTICS DETAIL PANEL */
.analytics-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--glass-border);
}
.analytics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.analytics-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(0,0,0,0.2) 100%);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.analytics-card.wide-stat {
  grid-column: span 3;
}
.analytics-card .stat-value {
  font-family: 'Unbounded', sans-serif;
  font-size: 2.5rem;
  color: var(--lime);
}
.analytics-card .stat-label {
  font-size: 0.8rem;
  color: #fff;
  font-weight: 600;
  margin-top: 0.2rem;
}
.analytics-card .stat-sub {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.5rem;
}

/* MOCK CHART */
.mock-chart {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 150px;
  padding-top: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  position: relative;
}
.mock-chart .bar {
  flex: 1;
  background: rgba(255,255,255,0.1);
  border-radius: 4px 4px 0 0;
  transition: height 1s ease-out;
  position: relative;
  display: flex;
  justify-content: center;
}
.mock-chart .bar:hover {
  background: rgba(190,255,78,0.5);
}

/* CLIENT PORTAL VIEWS */
.client-view {
  animation: fadeIn 0.4s ease;
}

/* STEPPER COMPONENT */
.stepper-container {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-top: 1.5rem;
  padding: 0 5px;
}
.stepper-container::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 20px;
  right: 20px;
  height: 2px;
  background: rgba(255,255,255,0.1);
  z-index: 1;
}
.stepper-node {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  width: 70px;
}
.stepper-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0,0,0,0.8);
  border: 2px solid rgba(255,255,255,0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.8rem;
  font-weight: bold;
  color: rgba(255,255,255,0.5);
  transition: all 0.3s ease;
}
.stepper-label {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.5);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}
.stepper-node.active .stepper-circle {
  background: var(--lime);
  border-color: var(--lime);
  color: #000;
  box-shadow: 0 0 15px rgba(190,255,78,0.4);
}
.stepper-node.active .stepper-label {
  color: var(--lime);
  font-weight: bold;
}
.stepper-node.completed .stepper-circle {
  background: rgba(190,255,78,0.2);
  border-color: var(--lime);
  color: var(--lime);
}
.stepper-node.completed .stepper-label {
  color: rgba(255,255,255,0.8);
}

  /* MOBILE */
  @media (max-width: 900px) {
.nav-links { display: none; }
.hero-stats { display: none; }
.pilares { grid-template-columns: 1fr; }
.servicios-header { grid-template-columns: 1fr; gap: 2rem; }
.portfolio-grid { grid-template-columns: 1fr; }
.project-card.featured { grid-row: auto; }
.perfiles-grid { grid-template-columns: 1fr; }
.configurador-wrapper { margin-top: 2rem; }
.config-options { grid-template-columns: 1fr; }
.proceso-steps { grid-template-columns: 1fr; gap: 2rem; }
.proceso-steps::before { display: none; }
.testimonios-grid { grid-template-columns: 1fr; }
.footer-top { grid-template-columns: 1fr 1fr; }
.footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
h1 { font-size: 2.6rem; }
  }

/* Default styles for desktop to keep layout clean */
.sidebar-top-wrapper {
  margin-bottom: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sidebar-top-wrapper .logo {
  margin-bottom: 0 !important;
}
.btn-close-sidebar {
  display: none;
}
.mobile-header {
  display: none;
}
.sidebar-overlay {
  display: none;
}

/* MOBILE RESPONSIVE DASHBOARD */
@media (max-width: 900px) {
  .dashboard-layout {
    grid-template-columns: 1fr;
    padding-top: 60px; /* Space for sticky mobile header */
  }
  .sidebar {
    position: fixed;
    top: 0;
    left: -280px;
    width: 260px;
    height: 100vh;
    z-index: 1010;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.4);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
  }
  .sidebar.open {
    left: 0;
  }
  .sidebar-top-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 2rem;
  }
  .btn-close-sidebar {
    display: block;
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
    transition: color 0.2s;
  }
  .btn-close-sidebar:hover {
    color: var(--lime);
  }
  .main-content {
    padding: 1.5rem 1rem;
  }
  .client-grid {
    grid-template-columns: 1fr;
  }
  .table-container {
    overflow-x: auto;
  }

  /* Mobile Header styles */
  .mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1.5rem;
    background: var(--navy-mid);
    border-bottom: 1px solid var(--glass-border);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: 60px;
    box-sizing: border-box;
  }
  .hamburger-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 0.5rem;
  }
  .hamburger-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s;
  }
  .mobile-logo {
    font-family: 'Unbounded', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    color: #fff;
    text-decoration: none;
  }
  .mobile-logo span {
    color: var(--lime);
  }

  /* Overlay */
  .sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1005;
  }
  .sidebar-overlay.active {
    display: block;
  }
}



/* ANIMATIONS */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

  /* MOBILE */
  @media (max-width: 900px) {
.nav-links { display: none; }
.hero-stats { display: none; }
.pilares { grid-template-columns: 1fr; }
.servicios-header { grid-template-columns: 1fr; gap: 2rem; }
.portfolio-grid { grid-template-columns: 1fr; }
.project-card.featured { grid-row: auto; }
.perfiles-grid { grid-template-columns: 1fr; }
.configurador-wrapper { margin-top: 2rem; }
.config-options { grid-template-columns: 1fr; }
.proceso-steps { grid-template-columns: 1fr; gap: 2rem; }
.proceso-steps::before { display: none; }
.testimonios-grid { grid-template-columns: 1fr; }
.footer-top { grid-template-columns: 1fr 1fr; }
.footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
h1 { font-size: 2.6rem; }
  }


/* ╔══════════════════════════════════════════════════════════════════╗
   ║  LIQUID GLASS THEME — ECStudioPR Brand Colors                   ║
   ║  Azul: #030759  ·  Verde: #52BF04                               ║
   ╚══════════════════════════════════════════════════════════════════╝ */

/* ── Background base ──────────────────────────────────────────── */
body {
  background:
    radial-gradient(ellipse 80% 60% at 10% 5%,  rgba(3,7,89,0.70) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 90% 90%, rgba(82,191,4,0.18) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(3,7,89,0.40) 0%, transparent 70%),
    #030718;
}

/* ── NAV — Liquid Glass azul + verde ─────────────────────────── */
nav {
  background: rgba(3,7,89,0.30) !important;
  backdrop-filter: blur(24px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
  border-bottom: 1px solid rgba(82,191,4,0.22) !important;
  box-shadow: 0 2px 40px rgba(3,7,89,0.50), 0 1px 0 rgba(82,191,4,0.15) inset !important;
}
nav::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(82,191,4,0.06) 0%, transparent 40%, rgba(3,7,89,0.08) 100%);
  pointer-events: none;
}

/* ── Hero background con liquid gradient ─────────────────────── */
.hero-bg {
  background:
    radial-gradient(ellipse 70% 60% at 65% 30%, rgba(82,191,4,0.14) 0%, transparent 60%),
    radial-gradient(ellipse 60% 55% at 10% 80%, rgba(3,7,89,0.60) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 85% 85%, rgba(82,191,4,0.08) 0%, transparent 55%),
    linear-gradient(135deg, #030718 0%, #030a3a 60%, #04120d 100%) !important;
}

/* ── Hero Art Container ───────────────────────────────────────── */
.hero-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

/* ── Líneas diagonales (efecto raster / impresión) ────────────── */
.hero-diag-lines {
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  background-image: repeating-linear-gradient(
    -55deg,
    transparent 0px,
    transparent 28px,
    rgba(82,191,4,0.035) 28px,
    rgba(82,191,4,0.035) 29px
  );
  animation: diagSlide 30s linear infinite;
}
@keyframes diagSlide {
  from { transform: translateX(0); }
  to   { transform: translateX(60px); }
}

/* ── Halftone dots (CMYK / serigrafía) ───────────────────────── */
.hero-halftone {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(82,191,4,0.12) 1.2px, transparent 1.2px);
  background-size: 32px 32px;
  mask-image:
    radial-gradient(ellipse 70% 80% at 85% 50%, black 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 5% 90%, black 0%, transparent 55%);
  -webkit-mask-image:
    radial-gradient(ellipse 70% 80% at 85% 50%, black 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 5% 90%, black 0%, transparent 55%);
  mask-composite: add;
  -webkit-mask-composite: source-over;
  animation: halftoneShift 20s ease-in-out infinite alternate;
}
@keyframes halftoneShift {
  from { opacity: 0.7; background-position: 0 0; }
  to   { opacity: 1.0; background-position: 8px 8px; }
}

/* ── Formas SVG flotantes ────────────────────────────────────── */
.hero-shapes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Animaciones de flotación para los SVG */
@keyframes hsFloat1 {
  0%,100% { transform: translate(0,0); }
  50%      { transform: translate(12px,-18px); }
}
@keyframes hsFloat2 {
  0%,100% { transform: translate(0,0); }
  33%      { transform: translate(-10px,14px); }
  66%      { transform: translate(8px,-8px); }
}
@keyframes hsFloat3 {
  0%,100% { transform: translate(0,0) rotate(0deg); }
  50%      { transform: translate(-14px,10px) rotate(5deg); }
}
@keyframes hsSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes hsSpinSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(-360deg); }
}

.hs-float-1 { animation: hsFloat1 9s ease-in-out infinite; transform-origin: center; }
.hs-float-2 { animation: hsFloat2 12s ease-in-out infinite; transform-origin: center; }
.hs-float-3 { animation: hsFloat3 7s ease-in-out infinite; transform-origin: center; }
.hs-spin    {
  transform-origin: 0 0;
  animation: hsSpin 18s linear infinite;
}
.hs-spin-slow {
  transform-origin: 0 0;
  animation: hsSpinSlow 30s linear infinite;
}

/* ── Mesh gradient animado ───────────────────────────────────── */
.hero-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 80% 20%, rgba(82,191,4,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 45% 55% at 20% 70%, rgba(3,7,89,0.45) 0%, transparent 65%),
    radial-gradient(ellipse 30% 30% at 60% 85%, rgba(82,191,4,0.07) 0%, transparent 55%);
  animation: meshPulse 8s ease-in-out infinite alternate;
}
@keyframes meshPulse {
  from { opacity: 0.70; }
  to   { opacity: 1.00; }
}


/* ── Badge hero ───────────────────────────────────────────────── */
.hero-badge {
  background: rgba(3,7,89,0.35) !important;
  border-color: rgba(82,191,4,0.35) !important;
  backdrop-filter: blur(12px) !important;
  box-shadow: 0 0 20px rgba(82,191,4,0.12), inset 0 1px 0 rgba(82,191,4,0.20) !important;
}

/* ── Botón primario verde de marca ───────────────────────────── */
.btn-primary {
  background: linear-gradient(135deg, #52BF04 0%, #3F8C08 100%) !important;
  color: #fff !important;
  box-shadow: 0 0 35px rgba(82,191,4,0.35), 0 4px 15px rgba(3,7,89,0.40) !important;
  border: 1px solid rgba(82,191,4,0.60) !important;
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.20), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}
.btn-primary:hover::after { left: 130%; }
.btn-primary:hover {
  box-shadow: 0 0 60px rgba(82,191,4,0.55), 0 6px 20px rgba(3,7,89,0.50) !important;
  transform: translateY(-2px);
}

/* ── Botón ghost azul glass ─────────────────────────────────── */
.btn-ghost {
  background: rgba(3,7,89,0.25) !important;
  border-color: rgba(82,191,4,0.28) !important;
  backdrop-filter: blur(12px) !important;
  box-shadow: inset 0 1px 0 rgba(82,191,4,0.15) !important;
}
.btn-ghost:hover {
  background: rgba(3,7,89,0.45) !important;
  border-color: rgba(82,191,4,0.55) !important;
  box-shadow: 0 0 25px rgba(82,191,4,0.20), inset 0 1px 0 rgba(82,191,4,0.25) !important;
}

/* ── Nav CTA ─────────────────────────────────────────────────── */
.nav-cta {
  background: linear-gradient(135deg, #52BF04, #3F8C08) !important;
  color: #fff !important;
  box-shadow: 0 0 20px rgba(82,191,4,0.30) !important;
  border: none !important;
}
.nav-cta:hover {
  background: linear-gradient(135deg, #5fd604, #52BF04) !important;
  box-shadow: 0 0 35px rgba(82,191,4,0.50) !important;
}

/* ── Tarjetas de servicio — Liquid Glass azul ────────────────── */
.service-card,
.servicio-card {
  background: rgba(3,7,89,0.22) !important;
  backdrop-filter: blur(18px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(160%) !important;
  border: 1px solid rgba(82,191,4,0.20) !important;
  box-shadow: 0 8px 40px rgba(3,7,89,0.40), inset 0 1px 0 rgba(82,191,4,0.15) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
}
.service-card:hover,
.servicio-card:hover {
  border-color: rgba(82,191,4,0.50) !important;
  box-shadow: 0 16px 60px rgba(3,7,89,0.55), 0 0 30px rgba(82,191,4,0.15), inset 0 1px 0 rgba(82,191,4,0.25) !important;
  transform: translateY(-6px) !important;
}

/* ── Tarjetas del Portafolio — Liquid Glass ──────────────────── */
.pf-grid-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease !important;
}
.pf-grid-card:hover {
  border-color: rgba(82,191,4,0.45) !important;
  box-shadow: 0 20px 60px rgba(3,7,89,0.70), 0 0 40px rgba(82,191,4,0.18) !important;
  transform: translateY(-8px) scale(1.01) !important;
}

/* ── Botones de filtro del portafolio ────────────────────────── */
.pf-filter-btn {
  background: rgba(3,7,89,0.20) !important;
  border-color: rgba(82,191,4,0.20) !important;
  backdrop-filter: blur(10px) !important;
  transition: all 0.3s ease !important;
}
.pf-filter-btn:hover {
  background: rgba(3,7,89,0.40) !important;
  border-color: rgba(82,191,4,0.45) !important;
  color: #52BF04 !important;
  box-shadow: 0 0 20px rgba(82,191,4,0.15) !important;
}
.pf-filter-btn.active {
  background: linear-gradient(135deg, #52BF04, #3F8C08) !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow: 0 0 25px rgba(82,191,4,0.40) !important;
}

/* ── Modal de portafolio — Liquid Glass premium ──────────────── */
#pfModal {
  background: rgba(3,7,89,0.75) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
}
#pfModal .modal-content {
  background: rgba(3,7,89,0.60) !important;
  border: 1px solid rgba(82,191,4,0.28) !important;
  box-shadow:
    0 30px 80px rgba(3,7,89,0.80),
    0 0 60px rgba(82,191,4,0.10),
    inset 0 1px 0 rgba(82,191,4,0.20) !important;
  backdrop-filter: blur(30px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(30px) saturate(180%) !important;
}

/* ── Tags / etiquetas ────────────────────────────────────────── */
#pfModalTag {
  background: rgba(82,191,4,0.15) !important;
  color: #52BF04 !important;
  border: 1px solid rgba(82,191,4,0.35) !important;
}

/* ── Section labels ──────────────────────────────────────────── */
.section-label {
  color: #52BF04 !important;
}

/* ── Cursor dots ─────────────────────────────────────────────── */
.cursor { background: #52BF04 !important; }
.cursor-ring { border-color: rgba(82,191,4,0.50) !important; }
.logo-dot, .hero-badge-dot { background: #52BF04 !important; }

/* ── Configurador — Liquid Glass ─────────────────────────────── */
.config-option {
  background: rgba(3,7,89,0.22) !important;
  border-color: rgba(82,191,4,0.15) !important;
  backdrop-filter: blur(10px) !important;
}
.config-option:hover, .config-option.selected {
  background: rgba(3,7,89,0.45) !important;
  border-color: rgba(82,191,4,0.50) !important;
  box-shadow: 0 0 25px rgba(82,191,4,0.15), inset 0 1px 0 rgba(82,191,4,0.20) !important;
}

/* ── Testimonios ─────────────────────────────────────────────── */
.testimonio-card {
  background: rgba(3,7,89,0.20) !important;
  border-color: rgba(82,191,4,0.12) !important;
  backdrop-filter: blur(12px) !important;
}

/* ── Footer ──────────────────────────────────────────────────── */
footer {
  background:
    linear-gradient(180deg, transparent 0%, rgba(3,7,89,0.50) 100%),
    #030718 !important;
  border-top: 1px solid rgba(82,191,4,0.15) !important;
}

/* ── Animación de líquido en fondo (globos de luz) ───────────── */
@keyframes liquidFloat1 {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(40px,-30px) scale(1.1); }
  66%      { transform: translate(-20px,20px) scale(0.95); }
}
@keyframes liquidFloat2 {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(-60px,40px) scale(1.15); }
}
.liquid-orb-1 {
  position: fixed; width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(3,7,89,0.40) 0%, transparent 70%);
  filter: blur(60px);
  top: -150px; left: -150px;
  animation: liquidFloat1 12s ease-in-out infinite;
  pointer-events: none; z-index: 0;
}
.liquid-orb-2 {
  position: fixed; width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(82,191,4,0.15) 0%, transparent 70%);
  filter: blur(50px);
  bottom: -100px; right: -100px;
  animation: liquidFloat2 15s ease-in-out infinite;
  pointer-events: none; z-index: 0;
}

/* ==========================================================================
   ⚙️ PREMIUM FLOATING WEB BUILDER WORKSPACE (WIX/FIGMA INSPIRED)
   ========================================================================== */
.editor-workspace-container {
  display: flex;
  position: relative;
  height: calc(100vh - 160px);
  min-height: 560px;
  overflow: hidden;
  background: #03050c;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 1.5rem;
  box-shadow: 0 30px 80px rgba(0,0,0,0.8);
}

/* Floating Toolbar (Far Left) */
.editor-toolbar {
  width: 72px;
  background: rgba(6, 10, 24, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.8rem 0;
  gap: 1.3rem;
  z-index: 100;
  flex-shrink: 0;
  box-shadow: 10px 0 30px rgba(0,0,0,0.2);
}
.editor-toolbar-btn {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.25, 1, 0.5, 1);
  border: 1px solid transparent;
  background: transparent;
  gap: 0.1rem;
}
.editor-toolbar-btn span.icon {
  font-size: 1.3rem;
}
.editor-toolbar-btn span.label {
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.editor-toolbar-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}
.editor-toolbar-btn.active {
  color: #52BF04;
  background: rgba(82, 191, 4, 0.12);
  border-color: rgba(82, 191, 4, 0.30);
  box-shadow: 0 0 15px rgba(82, 191, 4, 0.1);
}

/* Sliding Drawer Panel */
.editor-drawer {
  position: absolute;
  left: 72px;
  top: 0;
  bottom: 0;
  width: 330px;
  background: rgba(5, 8, 20, 0.92);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 95;
  display: flex;
  flex-direction: column;
  padding: 1.8rem;
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease;
  box-shadow: 15px 0 40px rgba(0,0,0,0.4);
}
.editor-drawer.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.editor-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 0.8rem;
}
.editor-drawer-header h3 {
  font-family: 'Unbounded', sans-serif;
  font-size: 0.9rem;
  color: #fff;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.editor-drawer-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  font-size: 1.3rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}
.editor-drawer-close:hover {
  color: #fff;
}
.editor-drawer-content {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding-right: 0.2rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}
.editor-drawer-content::-webkit-scrollbar {
  width: 4px;
}
.editor-drawer-content::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
}

/* Canvas Floor Workspace (Center/Right) */
.editor-canvas-workspace {
  flex: 1;
  background: #02040b;
  background-image: 
    radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.01) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.01) 1px, transparent 1px);
  background-size: 24px 24px, 120px 120px, 120px 120px;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 1.5rem;
  overflow-y: auto;
  position: relative;
  transition: padding-left 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.editor-canvas-workspace.drawer-open {
  padding-left: 20px; /* Cajón flota, el lienzo se re-acomoda de forma sutil */
}

/* Top bar switcher inside the workspace */
.canvas-top-bar {
  width: 100%;
  max-width: 920px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(8, 12, 28, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.6rem 1.2rem;
  border-radius: 14px;
  margin-bottom: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
  z-index: 10;
}
.canvas-device-switcher {
  display: flex;
  background: rgba(0,0,0,0.3);
  padding: 0.25rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.04);
}
.device-toggle-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  padding: 0.45rem 0.9rem;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
  font-family: 'Unbounded', sans-serif;
}
.device-toggle-btn:hover {
  color: #fff;
}
.device-toggle-btn.active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--lime);
}

/* Main floating preview frame */
.editor-preview-container {
  width: 100%;
  max-width: 920px;
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;
}
.editor-preview-frame {
  width: 100%;
  background: rgba(3, 7, 24, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  padding: 2.2rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow-y: auto;
}

/* Mobile Frame Override style */
.editor-preview-frame.mobile-view {
  width: 375px !important;
  max-width: 375px !important;
  height: 620px !important;
  border-radius: 40px;
  border: 12px solid rgba(255, 255, 255, 0.18);
  padding: 1.5rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85);
}

/* Neon outlines for Editable section bounding boxes */
.canvas-section-box {
  position: relative;
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 0.5rem;
  transition: all 0.25s ease;
}
.canvas-section-box:hover {
  border-style: solid;
  border-color: #52BF04;
  box-shadow: 0 0 20px rgba(82, 191, 4, 0.08);
  background: rgba(82, 191, 4, 0.01);
}
.canvas-section-label {
  position: absolute;
  top: -10px;
  left: 12px;
  background: #52BF04;
  color: #000;
  font-size: 0.62rem;
  font-weight: 800;
  font-family: 'Unbounded', sans-serif;
  padding: 0.15rem 0.55rem;
  border-radius: 4px;
  opacity: 0;
  transform: translateY(4px);
  transition: all 0.2s cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: none;
  z-index: 15;
}
.canvas-section-box:hover .canvas-section-label {
  opacity: 1;
  transform: translateY(0);
}

/* Add Elements Draggable / Clickable items */
.element-item-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.element-item-card:hover {
  border-color: #52BF04;
  background: rgba(82, 191, 4, 0.05);
  transform: translateY(-2px);
}
.element-item-icon {
  font-size: 1.8rem;
  margin-bottom: 0.4rem;
}
.element-item-name {
  font-size: 0.72rem;
  font-weight: 600;
  color: #fff;
}

/* Analytics Menu Sub-tabs styling */
.analytics-menu-item {
  display: block;
  padding: 0.65rem 1.2rem;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.78rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}
.analytics-menu-item:hover {
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
}
.analytics-menu-item.active {
  background: rgba(132, 204, 22, 0.08);
  color: var(--lime);
  border-left-color: var(--lime);
  font-weight: 700;
}

