/* ============================================================
   e-studio · Landing Page
   Sistema de diseño: Dark + Lima (#CCFF33) + Azul eléctrico
   ============================================================ */

/* ---------- Fuentes ---------- */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700;800&family=Poppins:wght@400;500;600;700&display=swap');

/* ---------- Variables ---------- */
:root {
  --bg: #0A0B0F;
  --bg-2: #111318;
  --bg-3: #16181D;
  --card: #111318;
  --card-hover: #181B22;
  --border: rgba(204,255,51,0.08);
  --border-hover: rgba(204,255,51,0.22);
  --lime: #CCFF33;
  --lime-dim: rgba(204,255,51,0.12);
  --lime-glow: rgba(204,255,51,0.25);
  --blue: #2563EB;
  --blue-dim: rgba(37,99,235,0.12);
  --blue-glow: rgba(37,99,235,0.3);
  --text: #E8EAED;
  --text-2: #9CA3AF;
  --text-3: #6B7280;
  --white: #FFFFFF;
  --grad-lime: linear-gradient(135deg, #CCFF33 0%, #A3E635 100%);
  --grad-blue: linear-gradient(135deg, #2563EB 0%, #3B82F6 100%);
  --grad-mix: linear-gradient(135deg, #CCFF33 0%, #2563EB 100%);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'Poppins', system-ui, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Utilidades ---------- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sora { font-family: var(--font-display); }
.text-lime { color: var(--lime); }
.text-muted { color: var(--text-2); }
.text-center { text-align: center; }

/* ---------- Noise overlay (global) ---------- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
}

/* ---------- Geometric mesh (hero background) ---------- */
.mesh-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.mesh-bg::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -150px;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--lime-dim) 0%, transparent 60%);
  border-radius: 50%;
  filter: blur(80px);
}
.mesh-bg::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--blue-dim) 0%, transparent 60%);
  border-radius: 50%;
  filter: blur(60px);
}

/* Grid lines overlay */
.grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(204,255,51,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(204,255,51,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000, transparent);
}

/* ============================================================
   NAVEGACIÓN
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}
.nav.scrolled {
  background: rgba(10,11,15,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
  padding: 12px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.5px;
}
.logo-mark {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: var(--grad-lime);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--bg);
  font-size: 1rem;
}
.logo em {
  font-style: normal;
  color: var(--lime);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  color: var(--text-2);
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  background: var(--lime);
  color: var(--bg);
  font-weight: 700;
  font-size: 0.88rem;
  transition: transform 0.15s, box-shadow 0.2s;
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--lime-glow);
}

/* Burger mobile */
.burger {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--white);
  width: 42px; height: 42px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
}
.burger svg { width: 20px; height: 20px; }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 70px; left: 0; right: 0;
  background: rgba(10,11,15,0.97);
  backdrop-filter: blur(16px);
  z-index: 999;
  flex-direction: column;
  border-bottom: 1px solid var(--border);
}
.mobile-menu a {
  padding: 16px 28px;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.mobile-menu a:last-child { border: none; }

/* ============================================================
   BOTONES
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
}
.btn-lime {
  background: var(--lime);
  color: var(--bg);
  box-shadow: 0 8px 28px var(--lime-glow);
}
.btn-lime:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(204,255,51,0.35);
}
.btn-wa {
  background: #25D366;
  color: #fff;
  box-shadow: 0 8px 24px rgba(37,211,102,0.3);
}
.btn-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37,211,102,0.45);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--lime);
  color: var(--lime);
  transform: translateY(-2px);
}
.btn-blue {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 24px var(--blue-glow);
}
.btn-blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37,99,235,0.5);
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 180px 0 120px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--lime);
  background: var(--lime-dim);
  border: 1px solid rgba(204,255,51,0.2);
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 20px;
}
.hero h1 .accent {
  color: var(--lime);
}
.hero p.lead {
  color: var(--text-2);
  font-size: 1.15rem;
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.h-stat {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
}
.h-stat .num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--lime);
  line-height: 1;
}
.h-stat .label {
  font-size: 0.78rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 6px;
  font-weight: 600;
}

/* Hero visual */
.hero-visual {
  position: relative;
}
.hero-mockup {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.5);
}
.mockup-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--bg-3);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  margin: -12px -12px 12px;
}
.mockup-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--text-3);
  opacity: 0.4;
}
.mockup-dot:first-child { background: #EF4444; opacity: 0.7; }
.mockup-dot:nth-child(2) { background: #F59E0B; opacity: 0.7; }
.mockup-dot:nth-child(3) { background: #22C55E; opacity: 0.7; }
.mockup-url {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 0.72rem;
  color: var(--text-3);
}
.mockup-screen {
  aspect-ratio: 16/11;
  background: var(--bg);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 14px;
}
.mock-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mock-card .mock-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--lime-dim);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mock-card .mock-icon svg { width: 16px; height: 16px; color: var(--lime); }
.mock-card .mock-title {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--white);
}
.mock-card .mock-text {
  font-size: 0.6rem;
  color: var(--text-3);
}

/* Float cards */
.float-card {
  position: absolute;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 0.82rem;
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 3;
  animation: floaty 5s ease-in-out infinite;
}
.float-card .fc-lime {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(204,255,51,0.5);
  animation: pulse-lime 2s infinite;
}
.float-card .fc-blue {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue);
}
.float-card strong { color: var(--white); font-weight: 700; }
.float-card span { color: var(--text-3); font-size: 0.75rem; }
.fc-top { top: 10%; left: -20px; animation-delay: 0s; }
.fc-mid { top: 45%; right: -24px; animation-delay: 1.5s; }
.fc-bot { bottom: 10%; left: -10px; animation-delay: 3s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes pulse-lime {
  0% { box-shadow: 0 0 0 0 rgba(204,255,51,0.5); }
  70% { box-shadow: 0 0 0 10px rgba(204,255,51,0); }
  100% { box-shadow: 0 0 0 0 rgba(204,255,51,0); }
}

/* ============================================================
   TRUST BAR (Prueba en 10s)
   ============================================================ */
.trust {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(204,255,51,0.02);
  padding: 28px 0;
}
.trust-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-2);
}
.trust-item .ti-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--lime-dim);
  display: flex;
  align-items: center;
  justify-content: center;
}
.trust-item .ti-icon svg { width: 18px; height: 18px; color: var(--lime); }

/* ============================================================
   SECCIONES GENÉRICAS
   ============================================================ */
section { padding: 100px 0; }
.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 56px;
}
.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 14px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
}
.section-head p {
  color: var(--text-2);
  margin-top: 14px;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ============================================================
   GALERÍA DE ESTILOS
   ============================================================ */
.gallery { background: var(--bg-2); }
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 9px 20px;
  border-radius: 100px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-2);
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.2s;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--lime);
  color: var(--bg);
  border-color: var(--lime);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gallery-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
  cursor: pointer;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  aspect-ratio: 16/10;
}
.gallery-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
.gallery-card .gc-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-3);
  font-size: 0.8rem;
  color: var(--text-3);
  text-align: center;
  padding: 20px;
}
.gallery-card .gc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,11,15,0.95) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-card:hover .gc-overlay { opacity: 1; }
.gc-overlay .gc-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 6px;
}
.gc-overlay h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}
.gc-overlay p {
  font-size: 0.78rem;
  color: var(--text-3);
  margin-top: 4px;
}

/* ============================================================
   SERVICIOS
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-lime);
  opacity: 0;
  transition: opacity 0.3s;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
.service-card:hover::before { opacity: 1; }
.service-card .sc-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--lime-dim);
  border: 1px solid rgba(204,255,51,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-card .sc-icon svg { width: 24px; height: 24px; color: var(--lime); }
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.service-card .sc-result {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--lime);
  margin-bottom: 12px;
}
.service-card p {
  color: var(--text-2);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ============================================================
   COTIZADOR
   ============================================================ */
.cotizador { background: var(--bg-2); }
.cotizador-box {
  max-width: 700px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.cot-progress {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 36px;
}
.cot-step-dot {
  flex: 1;
  height: 4px;
  border-radius: 4px;
  background: var(--bg-3);
  transition: background 0.3s;
}
.cot-step-dot.active {
  background: var(--lime);
}
.cot-step-dot.done {
  background: var(--lime);
  opacity: 0.5;
}
.cot-step {
  display: none;
}
.cot-step.active { display: block; }
.cot-step h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.cot-step .cot-desc {
  color: var(--text-2);
  font-size: 0.92rem;
  margin-bottom: 24px;
}
.cot-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.cot-opt {
  padding: 18px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-3);
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}
.cot-opt:hover {
  border-color: var(--border-hover);
  background: var(--card-hover);
}
.cot-opt.selected {
  border-color: var(--lime);
  background: var(--lime-dim);
}
.cot-opt .cot-opt-icon {
  margin-bottom: 8px;
}
.cot-opt .cot-opt-icon svg { width: 28px; height: 28px; color: var(--lime); margin: 0 auto; }
.cot-opt .cot-opt-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--white);
}
.cot-opt .cot-opt-desc {
  font-size: 0.75rem;
  color: var(--text-3);
  margin-top: 4px;
}
.cot-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}
.cot-result {
  text-align: center;
  padding: 20px 0;
}
.cot-result .cot-price {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--lime);
  margin-bottom: 8px;
}
.cot-result .cot-note {
  color: var(--text-2);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

/* ============================================================
   PAQUETES
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.price-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
}
.price-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
.price-card.featured {
  border-color: var(--lime);
  box-shadow: 0 0 40px var(--lime-dim);
}
.price-card.featured::before {
  content: 'MÁS POPULAR';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--lime);
  color: var(--bg);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 5px 16px;
  border-radius: 100px;
}
.price-card .pc-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.price-card .pc-desc {
  font-size: 0.85rem;
  color: var(--text-3);
  margin-bottom: 20px;
}
.price-card .pc-price {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--lime);
  margin-bottom: 4px;
}
.price-card .pc-price span {
  font-size: 0.9rem;
  color: var(--text-3);
  font-weight: 500;
}
.price-card .pc-period {
  font-size: 0.8rem;
  color: var(--text-3);
  margin-bottom: 24px;
}
.price-card .pc-features {
  margin-bottom: 28px;
}
.price-card .pc-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.88rem;
  color: var(--text-2);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.price-card .pc-features li:last-child { border: none; }
.price-card .pc-features li svg {
  width: 18px; height: 18px;
  color: var(--lime);
  flex-shrink: 0;
  margin-top: 2px;
}
.price-card .btn { width: 100%; }

/* ============================================================
   CASOS / TESTIMONIOS
   ============================================================ */
.testimonials { background: var(--bg-2); }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testi-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
}
.testi-card .tc-metric {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--lime);
  line-height: 1;
  margin-bottom: 6px;
}
.testi-card .tc-metric-label {
  font-size: 0.78rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 18px;
}
.testi-card .tc-quote {
  font-size: 0.95rem;
  color: var(--text);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 18px;
  position: relative;
  padding-left: 16px;
  border-left: 2px solid var(--lime);
}
.testi-card .tc-rubro {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-3);
}

/* ============================================================
   PROCESO
   ============================================================ */
.process-timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}
.process-timeline::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.process-step {
  display: flex;
  gap: 28px;
  margin-bottom: 40px;
  position: relative;
}
.process-step:last-child { margin-bottom: 0; }
.ps-num {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--lime-dim);
  border: 2px solid var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--lime);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}
.ps-content h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
  margin-top: 6px;
}
.ps-content p {
  color: var(--text-2);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ============================================================
   ASISTENTE IA (CHAT)
   ============================================================ */
.chat-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1100;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--bg);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px var(--lime-glow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.chat-toggle:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 40px rgba(204,255,51,0.4);
}
.chat-toggle svg { width: 26px; height: 26px; }
.chat-toggle .chat-close { display: none; }

.chat-panel {
  position: fixed;
  bottom: 100px;
  right: 24px;
  z-index: 1099;
  width: 380px;
  max-height: 520px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  display: none;
  flex-direction: column;
  overflow: hidden;
}
.chat-panel.open { display: flex; }
.chat-header {
  padding: 18px 20px;
  background: var(--bg-3);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}
.chat-header .ch-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--grad-lime);
  display: flex;
  align-items: center;
  justify-content: center;
}
.chat-header .ch-avatar svg { width: 18px; height: 18px; color: var(--bg); }
.chat-header .ch-info h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
}
.chat-header .ch-info span {
  font-size: 0.72rem;
  color: var(--lime);
}
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.chat-msg {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.55;
}
.chat-msg.bot {
  background: var(--bg-3);
  border: 1px solid var(--border);
  color: var(--text);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.chat-msg.user {
  background: var(--lime);
  color: var(--bg);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  font-weight: 600;
}
.chat-msg.typing {
  color: var(--text-3);
  font-style: italic;
}
.chat-input {
  padding: 14px 16px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 10px;
}
.chat-input input {
  flex: 1;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  color: var(--white);
  font-size: 0.88rem;
  font-family: var(--font-body);
  outline: none;
}
.chat-input input:focus { border-color: var(--lime); }
.chat-input button {
  width: 42px; height: 42px;
  border-radius: var(--radius-sm);
  background: var(--lime);
  color: var(--bg);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.chat-input button svg { width: 18px; height: 18px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: var(--bg-2); }
.faq-wrap {
  max-width: 780px;
  margin: 0 auto;
}
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item button {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
  padding: 20px 24px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.faq-item button i {
  font-style: normal;
  color: var(--lime);
  font-size: 1.3rem;
  transition: transform 0.3s;
  flex-shrink: 0;
}
.faq-item.open button i { transform: rotate(45deg); }
.faq-item .ans {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-item.open .ans { max-height: 400px; }
.faq-item .ans p {
  padding: 0 24px 20px;
  color: var(--text-2);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ============================================================
   CONTACTO / FORMULARIO
   ============================================================ */
.contact { background: var(--bg); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.contact-info h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.7px;
  margin-bottom: 14px;
}
.contact-info p {
  color: var(--text-2);
  margin-bottom: 28px;
  font-size: 1rem;
  line-height: 1.7;
}
.ci-item {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
}
.ci-item .ci-icon {
  width: 42px; height: 42px;
  border-radius: var(--radius-sm);
  background: var(--lime-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ci-item .ci-icon svg { width: 20px; height: 20px; color: var(--lime); }
.ci-item span { font-size: 0.95rem; color: var(--text-2); }
.ci-item strong { color: var(--white); }

.form-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.form-box h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.form-box .f-sub {
  color: var(--text-3);
  font-size: 0.88rem;
  margin-bottom: 22px;
}
.f-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.f-group {
  margin-bottom: 14px;
}
.f-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-3);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.f-group input,
.f-group select,
.f-group textarea {
  width: 100%;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 12px 14px;
  font-size: 0.92rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s;
}
.f-group input:focus,
.f-group select:focus,
.f-group textarea:focus {
  border-color: var(--lime);
}
.f-group select option { background: var(--bg-3); }
.f-group textarea { min-height: 100px; resize: vertical; }
.form-msg {
  display: none;
  margin-top: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
}
.form-msg.ok {
  display: block;
  background: rgba(34,197,94,0.1);
  color: #4ADE80;
  border: 1px solid rgba(34,197,94,0.3);
}
.form-msg.err {
  display: block;
  background: rgba(239,68,68,0.1);
  color: #F87171;
  border: 1px solid rgba(239,68,68,0.3);
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  margin-bottom: 28px;
}
.footer-brand p {
  color: var(--text-3);
  font-size: 0.88rem;
  margin-top: 14px;
  max-width: 280px;
  line-height: 1.6;
}
.footer-grid h5 {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid ul li a {
  color: var(--text-3);
  font-size: 0.88rem;
  transition: color 0.2s;
}
.footer-grid ul li a:hover { color: var(--lime); }
.footer-bottom {
  text-align: center;
  color: var(--text-3);
  font-size: 0.8rem;
}

/* ============================================================
   WHATSAPP FLOTANTE
   ============================================================ */
.float-wa {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 1050;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
  transition: transform 0.2s;
}
.float-wa:hover { transform: scale(1.1); }
.float-wa svg { width: 26px; height: 26px; }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].visible {
  opacity: 1;
  transform: none;
}
[data-reveal].d1 { transition-delay: 0.1s; }
[data-reveal].d2 { transition-delay: 0.2s; }
[data-reveal].d3 { transition-delay: 0.3s; }
[data-reveal].d4 { transition-delay: 0.4s; }
[data-reveal].d5 { transition-delay: 0.5s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 500px; margin: 0 auto; }
  .float-card { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid .price-card:last-child { grid-column: span 2; max-width: 400px; margin: 0 auto; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  .hero { padding: 140px 0 80px; min-height: auto; }
  .hero h1 { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-stats { grid-template-columns: 1fr; gap: 10px; }
  .services-grid,
  .pricing-grid,
  .gallery-grid,
  .testi-grid { grid-template-columns: 1fr; }
  .pricing-grid .price-card:last-child { max-width: none; }
  .cotizador-box { padding: 24px; }
  .cot-options { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .f-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .chat-panel { width: calc(100% - 32px); right: 16px; bottom: 90px; }
  section { padding: 70px 0; }
  .trust-inner { gap: 20px; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}

/* ============================================================
   ADMIN PANEL STYLES
   ============================================================ */
.admin-body {
  background: var(--bg);
  min-height: 100vh;
  padding: 40px 24px;
}
.admin-body .container { max-width: 1100px; }
.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}
.admin-header h1 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
}
.admin-header .btn { font-size: 0.82rem; padding: 10px 18px; }
.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.admin-stat {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.admin-stat .as-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--lime);
}
.admin-stat .as-label {
  font-size: 0.78rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}
.admin-table-wrap {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
}
.admin-table th {
  background: var(--bg-3);
  padding: 14px 16px;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border-bottom: 1px solid var(--border);
}
.admin-table td {
  padding: 14px 16px;
  font-size: 0.88rem;
  color: var(--text-2);
  border-bottom: 1px solid rgba(255,255,255,0.03);
}
.admin-table tr:hover td { background: rgba(204,255,51,0.02); }
.admin-table .score-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
}
.score-alto { background: rgba(204,255,51,0.15); color: var(--lime); }
.score-medio { background: rgba(245,158,11,0.15); color: #F59E0B; }
.score-bajo { background: rgba(239,68,68,0.12); color: #F87171; }

/* Login box */
.login-box {
  max-width: 400px;
  margin: 80px auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
}
.login-box h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 24px;
}
.login-box .f-group { text-align: left; }
.login-box .btn { width: 100%; margin-top: 8px; }
.login-err {
  color: #F87171;
  font-size: 0.85rem;
  margin-top: 12px;
  display: none;
}

@media (max-width: 768px) {
  .admin-stats { grid-template-columns: 1fr 1fr; }
  .admin-table { font-size: 0.8rem; }
  .admin-table th, .admin-table td { padding: 10px 8px; }
}
