/* ===========================
   CONFIGURACIÓN BASE
=========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  color: #1a1a2e;
  background-color: #ffffff;
}

/* ===========================
   NAVEGACIÓN
=========================== */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e8e8f0;
  z-index: 1000;
  padding: 0 2rem;
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: #6740c5;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: #4a4a6a;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #6740c5;
}

.btn-demo {
  background: #6740c5;
  color: white !important;
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
  transition: background 0.2s !important;
}

.btn-demo:hover {
  background: #5a34ad !important;
}

/* ===========================
   HERO (sección principal)
=========================== */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  background: linear-gradient(135deg, #f0f0ff 0%, #ffffff 60%, #f0fdf4 100%);
}

#hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  color: #1a1a2e;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

#hero h1 span {
  color: #6740c5;
}

#hero p {
  font-size: 1.2rem;
  color: #6b6b8a;
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.btn-primary {
  background: #6740c5;
  color: white;
  padding: 0.9rem 2.2rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s, transform 0.1s;
  display: inline-block;
}

.btn-primary:hover {
  background: #5a34ad;
  transform: translateY(-2px);
}
/* ===========================
   SERVICIOS
=========================== */
#servicios {
  padding: 6rem 2rem;
  background: #ffffff;
}

.section-container {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

#servicios h2 {
  font-size: 2.4rem;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #6b6b8a;
  margin-bottom: 3.5rem;
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.servicio-card {
  background: #f8f8ff;
  border: 1px solid #e8e8f0;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: left;
  transition: transform 0.2s, box-shadow 0.2s;
}

.servicio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(103,64,197, 0.1);
}

.servicio-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #6740c5;
}

.ico { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.125em; flex: none; }

.servicio-estado {
  display: inline-block;
  margin-bottom: .6rem;
  padding: .15rem .65rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  background: #d1fae5;
  color: #047857;
}

.servicio-estado.proximo { background: #ede9fe; color: #5b21b6; }

.servicio-card:not(.servicio-disponible) { opacity: .92; }

#como-funciona { padding: 6rem 2rem; background: #f8f8ff; }
#como-funciona h2 { font-size: 2.4rem; font-weight: 800; color: #1a1a2e; margin-bottom: 1rem; letter-spacing: -0.5px; }
.pasos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 3rem; }
.paso-card { background: #fff; border: 1px solid #e8e8f0; border-radius: 16px; padding: 2rem 1.5rem; text-align: left; }
.paso-numero { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 50%; background: #6740c5; color: #fff; font-weight: 800; margin-bottom: 1rem; }
.paso-card h3 { font-size: 1.1rem; font-weight: 700; color: #1a1a2e; margin-bottom: .6rem; }
.paso-card p { font-size: .95rem; color: #6b6b8a; line-height: 1.6; }
.precio-a-medida { background: #fff; border: 2px solid #6740c5; border-radius: 16px; padding: 2rem; text-align: center; }
.precio-a-medida h3 { font-size: 1.4rem; font-weight: 800; color: #1a1a2e; margin-bottom: .6rem; }
.precio-a-medida p { color: #6b6b8a; max-width: 560px; margin: 0 auto 1.4rem; line-height: 1.6; }
@media (max-width: 768px) { .pasos-grid { grid-template-columns: 1fr; } }

.servicio-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 0.6rem;
}

.servicio-card p {
  font-size: 0.95rem;
  color: #6b6b8a;
  line-height: 1.6;
}
/* ===========================
   PRECIOS
=========================== */
#precios {
  padding: 6rem 2rem;
  background: #f8f8ff;
}

#precios h2 {
  font-size: 2.4rem;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.precios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
  margin-top: 1rem;
}

.precio-card {
  background: #ffffff;
  border: 1px solid #e8e8f0;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}

.precio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(103,64,197, 0.1);
}

.precio-card.popular {
  border: 2px solid #6740c5;
  transform: scale(1.04);
}

.precio-card.popular:hover {
  transform: scale(1.04) translateY(-4px);
}

.badge-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #6740c5;
  color: white;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  white-space: nowrap;
}

.precio-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 0.8rem;
}

.precio-monto {
  font-size: 2.8rem;
  font-weight: 800;
  color: #6740c5;
  margin-bottom: 0.5rem;
}

.precio-monto span {
  font-size: 1rem;
  font-weight: 500;
  color: #6b6b8a;
}

.precio-desc {
  font-size: 0.9rem;
  color: #6b6b8a;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.precio-lista {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
}

.precio-lista li {
  font-size: 0.95rem;
  color: #4a4a6a;
  padding: 0.4rem 0;
  border-bottom: 1px solid #f0f0f8;
}

.btn-plan {
  display: block;
  padding: 0.8rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid #6740c5;
  color: #6740c5;
  transition: all 0.2s;
}

.btn-plan:hover {
  background: #6740c5;
  color: white;
}

.btn-plan-popular {
  background: #6740c5;
  color: white !important;
}

.btn-plan-popular:hover {
  background: #5a34ad !important;
  border-color: #5a34ad;
}
/* ===========================
   DEMO
=========================== */
#demo {
  padding: 6rem 2rem;
  background: #ffffff;
}

#demo h2 {
  font-size: 2.4rem;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.demo-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-grupo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.demo-form input,
.demo-form select {
  padding: 0.9rem 1.2rem;
  border: 1.5px solid #e8e8f0;
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: 'Segoe UI', sans-serif;
  color: #1a1a2e;
  background: #f8f8ff;
  transition: border-color 0.2s;
  width: 100%;
}

.demo-form input:focus,
.demo-form select:focus {
  outline: none;
  border-color: #6740c5;
  background: #ffffff;
}

.demo-form button {
  padding: 1rem;
  background: #6740c5;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  font-family: 'Segoe UI', sans-serif;
}

.demo-form button:hover {
  background: #5a34ad;
  transform: translateY(-2px);
}

/* ===========================
   FOOTER
=========================== */
footer {
  background: #1a1a2e;
  padding: 3rem 2rem;
  text-align: center;
}

.footer-container {
  max-width: 700px;
  margin: 0 auto;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.footer-desc {
  color: #9090b0;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.footer-links a {
  color: #9090b0;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-copy {
  color: #5a5a7a;
  font-size: 0.85rem;
}
/* ===========================
   MOCKUP CELULAR
=========================== */
.hero-mockup {
  margin-top: 3rem;
  position: relative;
  display: inline-block;
}

.celular {
  width: 260px;
  height: 480px;
  background: #1a1a2e;
  border-radius: 40px;
  padding: 16px;
  box-shadow: 0 40px 80px rgba(103,64,197, 0.25), 0 0 0 2px #3a3a5e;
  position: relative;
}

.celular::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 6px;
  background: #3a3a5e;
  border-radius: 3px;
}

.celular-pantalla {
  width: 100%;
  height: 100%;
  background: #f0f0ff;
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.pase {
  background: linear-gradient(135deg, #6740c5, #7c3aed);
  border-radius: 16px;
  padding: 1.2rem;
  width: 100%;
  color: white;
}

.pase-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
}

.pase-negocio {
  font-size: 0.75rem;
  font-weight: 700;
  opacity: 0.95;
}

.pase-tipo {
  font-size: 0.6rem;
  opacity: 0.75;
  background: rgba(255,255,255,0.2);
  padding: 2px 6px;
  border-radius: 4px;
}

.pase-nombre {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.pase-sellos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin-bottom: 1rem;
}

.sello {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  font-weight: 700;
  border: 1.5px solid rgba(255,255,255,0.3);
}

.sello.activo {
  background: rgba(255,255,255,0.95);
  color: #6740c5;
  border-color: white;
  font-size: 0.65rem;
}
.pase-mensaje {
  font-size: 0.65rem;
  opacity: 0.85;
  line-height: 1.4;
  text-align: center;
  background: rgba(255,255,255,0.15);
  padding: 0.5rem;
  border-radius: 8px;
}

.mockup-badge {
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border: 1px solid #e8e8f0;
  border-radius: 20px;
  padding: 0.4rem 1rem;
  font-size: 0.78rem;
  color: #4a4a6a;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
/* ===========================
   RESPONSIVE CELULAR
=========================== */
@media (max-width: 768px) {

 /* Navegación */
  .nav-container {
    padding: 0 0.5rem;
  }

  .logo {
    font-size: 1.1rem;
  }

  .nav-links {
    gap: 0.8rem;
  }

  .nav-links a {
    font-size: 0.85rem;
  }

  .btn-demo {
    padding: 0.4rem 0.8rem;
    font-size: 0.82rem;
  }

  /* Badge más popular en carrusel */
  .badge-popular {
    top: -16px;
    font-size: 0.75rem;
    padding: 0.35rem 1.2rem;
    white-space: nowrap;
  }

  .precio-card.popular {
    padding-top: 3rem;
  }

  .precios-controles {
    margin-top: 1.5rem;
    margin-bottom: 2.5rem;
  }

  .precios-grid {
    overflow: visible;
    padding-top: 1.5rem;
    clip-path: none;
  }

  #precios {
    overflow: hidden;
  }

  /* Hero */
  #hero h1 {
    font-size: 2.2rem;
  }

  #hero {
    padding: 5rem 1.5rem 3rem;
  }

  /* Servicios — una columna en celular */
  .servicios-grid {
    grid-template-columns: 1fr;
  }

  /* Precios — carrusel con flechas */
  .precios-grid {
    display: flex;
    overflow: hidden;
    scroll-snap-type: x mandatory;
    gap: 0;
    position: relative;
  }

  .precio-card {
    min-width: 100%;
    scroll-snap-align: start;
    transform: none !important;
  }

  .precio-card.popular {
    transform: none !important;
    border: 2px solid #6740c5;
  }

  /* Formulario — una columna */
  .form-grupo {
    grid-template-columns: 1fr;
  }

  /* Footer links */
  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }
}
/* Controles carrusel precios */
.precios-controles {
  display: none;
}

@media (max-width: 768px) {
  .precios-controles {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .precio-flecha {
    background: #6740c5;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.2s;
  }

  .precio-flecha:hover {
    background: #5a34ad;
  }

  .punto {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e8e8f0;
    display: inline-block;
    transition: background 0.2s;
  }

  .punto.activo {
    background: #6740c5;
  }
}