/* ==========================================
   VARIABLES Y RESET BÁSICO
=========================================== */
:root {
  --accent-cyan: #00e5ff;
  --bg-dark: #050505;
  --text-light: #f5f5f5;
  --font-main: 'Inter', sans-serif;
  --font-headings: 'Montserrat', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ==========================================
   NAVEGACIÓN (CABECERA)
=========================================== */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  height: 80px;
  background-color: rgba(5, 5, 5, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo img {
  height: 40px;
  width: auto;
}

.nav-buttons {
  display: flex;
  align-items: center;
  gap: 20px;
}

.btn-portal {
  color: #a0a0a0;
  font-size: 0.9rem;
  font-weight: 600;
}

.btn-portal-link {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.btn-portal-link:hover {
  color: var(--accent-cyan);
}

.btn-nav-stripe, .btn-nav-accion {
  background-color: transparent;
  color: var(--accent-cyan);
  padding: 8px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--accent-cyan);
  transition: all 0.3s ease;
}

.btn-nav-stripe:hover, .btn-nav-accion:hover {
  background-color: var(--accent-cyan);
  color: var(--bg-dark);
}

/* ==========================================
   SECCIÓN 1: HERO
=========================================== */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 5%;
  background-image: url('https://recursos.vualaweb.com/im%C3%A1genes/web%20restaurante.webp');
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0,0,0,0.9) 0%, rgba(5,5,5,0.7) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.text-center {
  text-align: center;
}

.badge-premium {
  display: inline-block;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.3);
  color: var(--accent-cyan);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.texto-destacado {
  color: var(--accent-cyan);
}

.hero-content h1 {
  font-family: var(--font-headings);
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 20px;
}

.subtitulo-hero {
  font-size: 1.25rem;
  max-width: 650px;
  margin: 0 auto 40px auto;
  color: #d0d0d0;
  line-height: 1.6;
}

.botones-hero {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-principal {
  background-color: var(--accent-cyan);
  color: var(--bg-dark);
  padding: 16px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 229, 255, 0.2);
}

.btn-principal:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 229, 255, 0.4);
}

.btn-secundario {
  background-color: transparent;
  color: var(--text-light);
  padding: 16px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.btn-secundario:hover {
  border-color: var(--text-light);
  background-color: rgba(255, 255, 255, 0.05);
}

/* ==========================================
   SECCIÓN 2: GANCHO SIMULADOR
=========================================== */
.seccion-simulador-gancho {
  padding: 100px 5%;
  background-color: #080808;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.contenedor-gancho {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.texto-gancho h2 {
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 25px;
  font-family: var(--font-headings);
}

.texto-gancho h2 span {
  color: var(--accent-cyan);
}

.texto-gancho p {
  font-size: 1.15rem;
  color: #a0a0a0;
  line-height: 1.7;
  margin-bottom: 30px;
}

.lista-check {
  list-style: none;
  margin-bottom: 40px;
}

.lista-check li {
  position: relative;
  padding-left: 35px;
  margin-bottom: 15px;
  font-size: 1.1rem;
  color: #e0e0e0;
}

.lista-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--bg-dark);
  background-color: var(--accent-cyan);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9rem;
}

.btn-simulador-accion {
  display: inline-block;
  background: linear-gradient(135deg, #00E5FF 0%, #007BFF 100%);
  color: white;
  padding: 18px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.2rem;
  box-shadow: 0 10px 30px rgba(0, 229, 255, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-simulador-accion:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 229, 255, 0.5);
}

.mockup-movil-placeholder {
  width: 100%;
  max-width: 350px;
  height: 600px;
  margin: 0 auto;
  border: 12px solid #222;
  border-radius: 40px;
  background: #111;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.mockup-movil-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  width: 150px;
  height: 25px;
  background: #222;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
}

/* ==========================================
   SECCIÓN 3: ¿PARA QUIÉN Y PARA QUÉ?
=========================================== */
.seccion-audiencia {
  padding: 100px 5%;
  background-color: var(--bg-dark);
}

.contenedor-audiencia {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.etiqueta-seccion {
  display: inline-block;
  color: var(--accent-cyan);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.bloque-quien h2, .bloque-que h2 {
  font-size: 2.6rem;
  margin-bottom: 25px;
  line-height: 1.2;
  font-family: var(--font-headings);
}

.bloque-quien p, .bloque-que p {
  font-size: 1.15rem;
  color: #a0a0a0;
  line-height: 1.7;
  margin-bottom: 35px;
}

.grid-oficios {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.oficio-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 15px 20px;
  border-radius: 8px;
  color: #e0e0e0;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.oficio-item:hover {
  border-color: var(--accent-cyan);
  background: rgba(0, 229, 255, 0.05);
  transform: translateX(5px);
}

.lista-beneficios {
  list-style: none;
}

.lista-beneficios li {
  position: relative;
  padding-left: 35px;
  margin-bottom: 20px;
  font-size: 1.15rem;
  color: #d0d0d0;
  line-height: 1.6;
}

.lista-beneficios li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-cyan);
  font-weight: bold;
  font-size: 1.3rem;
}

.lista-beneficios strong {
  color: #f5f5f5;
}

/* ==========================================
   SECCIÓN 4: CARACTERÍSTICAS
=========================================== */
.seccion-caracteristicas {
  padding: 100px 5%;
  background-color: #050505;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.contenedor-caracteristicas {
  max-width: 1200px;
  margin: 0 auto;
}

.contenedor-caracteristicas h2 {
  font-family: var(--font-headings);
  font-size: 2.6rem;
}

.grid-caracteristicas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.card-caracteristica {
  background: rgba(26, 26, 26, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 40px 30px;
  border-radius: 16px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card-caracteristica:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 229, 255, 0.1);
  border-color: rgba(0, 229, 255, 0.3);
}

.icono-card {
  font-size: 2.5rem;
  margin-bottom: 20px;
  display: inline-block;
}

.card-caracteristica h3 {
  font-size: 1.35rem;
  color: #f5f5f5;
  margin-bottom: 15px;
}

.card-caracteristica p {
  color: #999;
  font-size: 1rem;
  line-height: 1.6;
}

/* ==========================================
   SECCIÓN 5: FLEXIBILIDAD (2 CAMINOS)
=========================================== */
.seccion-pasos.parallax {
  position: relative;
  padding: 100px 5%;
  background-image: url('https://recursos.vualaweb.com/im%C3%A1genes/personal%20bussines.webp');
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.capa-oscura {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 10, 10, 0.85);
  z-index: 1;
}

.contenedor-pasos {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

.cabecera-pasos {
  margin-bottom: 60px;
}

.cabecera-pasos h2 {
  font-size: 2.6rem;
  margin-top: 15px;
  font-family: var(--font-headings);
}

.grid-caminos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 50px;
  margin-bottom: 40px;
}

.camino-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px 30px;
  border-radius: 16px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-align: center;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.camino-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.3);
}

.card-destacada {
  border: 1px solid var(--accent-cyan);
  background: rgba(0, 229, 255, 0.05);
  box-shadow: 0 10px 30px rgba(0, 229, 255, 0.1);
}

.badge-recomendado {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--accent-cyan);
  color: var(--bg-dark);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.icono-camino {
  font-size: 3rem;
  margin-bottom: 20px;
}

.camino-card h3 {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 15px;
}

.camino-card p {
  color: #c0c0c0;
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 25px;
  min-height: 80px;
}

.btn-camino-accion {
  display: inline-block;
  background-color: transparent;
  color: var(--accent-cyan);
  border: 2px solid var(--accent-cyan);
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-camino-accion:hover {
  background-color: var(--accent-cyan);
  color: var(--bg-dark);
}

.btn-whatsapp-camino {
  display: inline-block;
  background-color: #25D366;
  color: #fff;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease;
}

.btn-whatsapp-camino:hover {
  transform: scale(1.05);
}
/* ==========================================
   SECCIÓN: CÓMO FUNCIONA EL PROCESO
=========================================== */
.seccion-proceso {
  padding: 100px 5%;
  background-color: #050505;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.contenedor-proceso {
  max-width: 1200px;
  margin: 0 auto;
}

.cabecera-proceso {
  margin-bottom: 60px;
}

.cabecera-proceso h2 {
  font-family: var(--font-headings);
  font-size: 2.6rem;
  color: #ffffff;
  margin-bottom: 15px;
}

.cabecera-proceso p {
  font-size: 1.15rem;
  color: #a0a0a0;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.grid-proceso {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.paso-card {
  background: rgba(26, 26, 26, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 40px 30px;
  border-radius: 16px;
  position: relative;
  text-align: left;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.paso-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 229, 255, 0.3);
  background: rgba(26, 26, 26, 0.7);
}

.numero-paso {
  background-color: var(--accent-cyan);
  color: var(--bg-dark);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headings);
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 25px;
  box-shadow: 0 5px 15px rgba(0, 229, 255, 0.3);
}

.paso-card h3 {
  font-size: 1.25rem;
  color: #f5f5f5;
  margin-bottom: 15px;
  font-family: var(--font-headings);
}

.paso-card p {
  color: #999;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Responsive: Apilar en tablets y móviles */
@media (max-width: 1024px) {
  .grid-proceso {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .grid-proceso {
    grid-template-columns: 1fr;
  }
  .paso-card {
    text-align: center;
    padding: 30px 20px;
  }
  .numero-paso {
    margin: 0 auto 20px auto;
  }
  .cabecera-proceso h2 {
    font-size: 2.2rem;
  }
}

/* ==========================================
   SECCIÓN 6: PROYECTOS A MEDIDA
=========================================== */
.seccion-a-medida {
  padding: 100px 5%;
  background-color: #080808;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.contenedor-a-medida {
  max-width: 1000px;
  margin: 0 auto;
  background: rgba(26, 26, 26, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 60px 40px;
  border-radius: 16px;
  display: flex;
  gap: 40px;
  align-items: center;
}

.icono-a-medida {
  font-size: 4.5rem;
  flex-shrink: 0;
}

.texto-a-medida h2 {
  font-size: 2.2rem;
  line-height: 1.3;
  margin-bottom: 20px;
  font-family: var(--font-headings);
}

.texto-a-medida p {
  font-size: 1.15rem;
  color: #a0a0a0;
  line-height: 1.7;
  margin-bottom: 25px;
}

/* ==========================================
   SECCIÓN 7: CONTACTO Y HOJA DE RUTA
=========================================== */
.seccion-contacto {
  padding: 100px 5%;
  background-color: #111;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.contenedor-contacto {
  max-width: 1000px;
  margin: 0 auto;
}

.hoja-ruta-contacto {
  background: rgba(26, 26, 26, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-left: 4px solid var(--accent-cyan);
  padding: 30px 40px;
  border-radius: 12px;
  margin-bottom: 60px;
}

.titulo-hoja-ruta {
  color: var(--accent-cyan);
  font-size: 1.2rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.lista-hoja-ruta {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.lista-hoja-ruta li {
  color: #c0c0c0;
  font-size: 1.1rem;
  line-height: 1.6;
}

.lista-hoja-ruta li strong {
  color: #fff;
}

.grid-contacto {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.botones-contacto-dual {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-whatsapp-contacto {
  display: inline-block;
  background-color: #25D366;
  color: white;
  padding: 15px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.2s;
}

.btn-whatsapp-contacto:hover {
  transform: scale(1.05);
}

.btn-stripe-contacto {
  display: inline-block;
  background-color: var(--accent-cyan);
  color: var(--bg-dark);
  padding: 15px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.2s;
}

.btn-stripe-contacto:hover {
  transform: translateY(-2px);
}

/* ==========================================
   FOOTER Y COOKIES
=========================================== */
.footer-elegante {
  background-color: #030303;
  padding: 40px 5%;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.links-legales {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.links-legales a {
  color: #888;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.links-legales a:hover {
  color: var(--accent-cyan);
}

.copyright {
  color: #555;
  font-size: 0.85rem;
}

.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10, 10, 10, 0.95);
  border: 1px solid #333;
  padding: 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 9999;
  box-shadow: 0 10px 30px rgba(0,0,0,0.8);
  max-width: 90%;
  display: none; /* Se activa con JS */
}

.cookie-botones {
  display: flex;
  gap: 10px;
}

.btn-cookie {
  padding: 8px 15px;
  border-radius: 6px;
  cursor: pointer;
  border: none;
  font-weight: bold;
}

.btn-aceptar {
  background-color: var(--accent-cyan);
  color: #000;
}

.btn-rechazar {
  background-color: transparent;
  color: #888;
  border: 1px solid #555;
}

/* ==========================================
   ESTILOS EXCLUSIVOS DEL SIMULADOR WEB
=========================================== */
.body-simulador {
  height: 100vh;
  overflow: hidden;
  background-color: #030303;
}

.navbar-simulador {
  position: relative;
  height: 70px;
  background: #0a0a0a;
}

.contenedor-layout-simulador {
  display: flex;
  height: calc(100vh - 70px);
  width: 100%;
}

.panel-controles {
  width: 50%; /* Ampliamos del antiguo 400px a la mitad de la pantalla */
  background-color: #0d0d0d;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  padding: 40px 5%;
  overflow-y: auto;
  flex-shrink: 0;
}

.panel-controles::-webkit-scrollbar {
  width: 8px;
}
.panel-controles::-webkit-scrollbar-thumb {
  background-color: #333;
  border-radius: 4px;
}

.cabecera-controles h1 {
  font-size: 1.8rem;
  color: var(--accent-cyan);
  margin-bottom: 10px;
}

.cabecera-controles p {
  color: #a0a0a0;
  font-size: 0.95rem;
  margin-bottom: 30px;
}

.formulario-simulador {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.grupo-control label {
  display: block;
  color: #f5f5f5;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.grupo-control input[type="text"],
.grupo-control input[type="tel"],
.grupo-control input[type="email"],
.grupo-control textarea {
  width: 100%;
  background: #1a1a1a;
  border: 1px solid #333;
  color: #fff;
  padding: 12px 15px;
  border-radius: 6px;
  font-family: var(--font-main);
  transition: border-color 0.3s;
}

.grupo-control input:focus, .grupo-control textarea:focus {
  outline: none;
  border-color: var(--accent-cyan);
}

.selector-color-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #1a1a1a;
  border: 1px solid #333;
  padding: 10px;
  border-radius: 6px;
}

.grupo-control input[type="color"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  
  /* EL FIX: Borde sutil y padding para encapsular el color */
  border: 2px solid rgba(255, 255, 255, 0.2);
  background-color: #1a1a1a;
  padding: 3px; 
  
  width: 44px;
  height: 44px;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

/* Efecto hover para que brille al pasar el ratón */
.grupo-control input[type="color"]:hover {
  border-color: var(--accent-cyan);
}

.grupo-control input[type="color"]::-webkit-color-swatch-wrapper { 
  padding: 0; 
}

.grupo-control input[type="color"]::-webkit-color-swatch { 
  border: none; 
  border-radius: 4px; 
}

#hex-color-val {
  color: #a0a0a0;
  font-family: monospace;
  font-size: 1.1rem;
}

.grupo-control input[type="file"] {
  color: #a0a0a0;
  font-size: 0.85rem;
  width: 100%;
}

.grupo-control input[type="file"]::file-selector-button {
  background: #333;
  color: #fff;
  border: none;
  padding: 8px 15px;
  border-radius: 4px;
  margin-right: 15px;
  cursor: pointer;
  transition: background 0.3s;
}

.grupo-control input[type="file"]::file-selector-button:hover {
  background: var(--accent-cyan);
  color: #000;
}

.alerta-simulador {
  background: rgba(0, 229, 255, 0.05);
  border-left: 3px solid var(--accent-cyan);
  padding: 15px;
  font-size: 0.85rem;
  color: #c0c0c0;
  margin-top: 20px;
}

/* Panel Derecho (Mockup Móvil) */
.panel-preview {
  width: 50%; /* La otra mitad exacta para el móvil */
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, #1a1a1a 0%, #050505 100%);
  padding: 20px;
  overflow-y: auto;
}
/* Nuevo estilo para empaquetar visualmente cada sección del formulario */
.bloque-configuracion {
  background: rgba(255, 255, 255, 0.02);
  padding: 25px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 25px;
}

.grid-colores {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.marco-movil {
  width: 375px;
  height: 812px;
  background-color: #fff;
  border-radius: 40px;
  border: 12px solid #222;
  box-shadow: 0 25px 50px rgba(0,0,0,0.6);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.notch-movil {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 25px;
  background-color: #222;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  z-index: 100;
}

/* Interior del móvil del cliente */
.pantalla-cliente {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  background-color: #f9f9f9;
  font-family: var(--font-main);
  scrollbar-width: none;
}
.pantalla-cliente::-webkit-scrollbar { display: none; }

.preview-header {
  background-color: #fff;
  padding: 40px 20px 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 50;
}

.preview-logo {
  font-weight: 800;
  font-size: 1.1rem;
  color: #111;
  font-family: var(--font-headings);
}

.preview-menu-icon { font-size: 1.5rem; color: #111; }

.preview-hero {
  position: relative;
  height: 350px;
  background-color: #333;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
}

.preview-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 1;
}

.preview-hero-content {
  position: relative;
  z-index: 2;
}

.preview-hero-content h2 {
  color: #fff;
  font-size: 2.2rem;
  font-family: var(--font-headings);
  margin-bottom: 10px;
  line-height: 1.1;
}

.preview-hero-content p {
  color: #eee;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.preview-btn {
  background-color: var(--accent-cyan);
  color: #000;
  text-decoration: none;
  padding: 12px 25px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.9rem;
}

.preview-servicios { padding: 40px 20px; }

.preview-section-title {
  color: #111;
  font-family: var(--font-headings);
  margin-bottom: 20px;
  text-align: center;
}

.preview-card {
  background: #fff;
  padding: 22px;
  border-radius: 12px;
  margin-bottom: 18px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  border-left: 5px solid var(--accent-cyan);
}

.preview-card h4 {
  color: #222;
  margin-bottom: 6px;
  font-size: 1.05rem;
  font-family: var(--font-headings);
}

.preview-card-text { color: #777; font-size: 0.85rem; }

.preview-galeria { padding: 10px 20px 40px 20px; }
.preview-grid-fotos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.preview-foto:first-child {
  grid-column: 1 / -1;
  height: 140px;
}
.preview-foto {
  background-color: #e0e0e0;
  border-radius: 10px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  overflow: hidden;
}

.foto-placeholder {
  color: #888;
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(255,255,255,0.7);
  padding: 4px 10px;
  border-radius: 20px;
}

.preview-floating-wa {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
  z-index: 100;
}

/* ==========================================
   MEDIA QUERIES (RESPONSIVE GENERAL)
=========================================== */
@media (max-width: 900px) {
  .contenedor-gancho,
  .contenedor-audiencia,
  .grid-caminos,
  .grid-contacto {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .contenedor-a-medida {
    flex-direction: column;
    text-align: center;
  }
  .lista-check li {
    text-align: left;
    display: inline-block;
  }
  
  /* Responsive del Simulador */
  .contenedor-layout-simulador {
    flex-direction: column;
    height: auto;
  }
  .panel-controles {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  .panel-preview {
    padding: 40px 20px;
  }
  .body-simulador {
    overflow: auto;
  }
}

/* ==========================================
   SECCIÓN: CARRUSEL DE EJEMPLOS DE WEBS
=========================================== */
.seccion-ejemplos {
  padding: 100px 5%;
  background-color: #080808;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.contenedor-ejemplos {
  max-width: 1200px;
  margin: 0 auto;
}

.cabecera-ejemplos {
  margin-bottom: 50px;
}

.cabecera-ejemplos h2 {
  font-family: var(--font-headings);
  font-size: 2.6rem;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 15px;
}

.cabecera-ejemplos p {
  font-size: 1.15rem;
  color: #a0a0a0;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* --por-vista = cuántas imágenes se ven a la vez (con decimales para
   dejar asomar la siguiente e invitar a deslizar) */
.carrusel {
  --por-vista: 1.2;
  --hueco: 16px;
  position: relative;
}

.carrusel-pista {
  display: flex;
  gap: var(--hueco);
  overflow-x: auto;
  padding: 4px 0 8px;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.carrusel-pista::-webkit-scrollbar {
  display: none;
}

.carrusel-pista:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 4px;
  border-radius: 12px;
}

.carrusel-slide {
  flex: 0 0 calc(100% / var(--por-vista) - var(--hueco));
  aspect-ratio: 2 / 3;
  scroll-snap-align: start;
  border-radius: 14px;
  overflow: hidden;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: border-color 0.3s ease;
}

.carrusel-slide:hover {
  border-color: rgba(0, 229, 255, 0.3);
}

/* Las capturas son verticales: se recortan por abajo, nunca se deforman */
.carrusel-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Flechas y puntos: solo aparecen cuando el script los activa */
.carrusel-flecha,
.carrusel-puntos {
  display: none;
}

.carrusel-listo .carrusel-flecha {
  display: flex;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(0, 229, 255, 0.4);
  background: rgba(5, 5, 5, 0.85);
  color: var(--accent-cyan);
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, opacity 0.3s ease;
}

.carrusel-listo .carrusel-flecha:hover:not(:disabled) {
  background: var(--accent-cyan);
  color: var(--bg-dark);
}

.carrusel-listo .carrusel-flecha:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.carrusel-listo .carrusel-flecha:disabled {
  opacity: 0.3;
  cursor: default;
}

.carrusel-flecha svg {
  width: 22px;
  height: 22px;
}

.carrusel-flecha-ant { left: 10px; }
.carrusel-flecha-sig { right: 10px; }

.carrusel-listo .carrusel-puntos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2px;
  margin-top: 18px;
}

.carrusel-sin-scroll .carrusel-flecha,
.carrusel-sin-scroll .carrusel-puntos {
  display: none;
}

.carrusel-punto {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.carrusel-punto::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3a3a3a;
  transition: width 0.3s ease, background 0.3s ease;
}

.carrusel-punto:hover::before {
  background: #666;
}

.carrusel-punto[aria-current="true"]::before {
  width: 26px;
  border-radius: 5px;
  background: var(--accent-cyan);
}

.carrusel-punto:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 1px;
  border-radius: 6px;
}

/* Slides como enlaces a las demos */
a.carrusel-slide {
  display: block;
  position: relative;
  text-decoration: none;
  color: inherit;
}

a.carrusel-slide:hover,
a.carrusel-slide:focus-visible {
  border-color: var(--accent-cyan);
  outline: none;
}

.carrusel-etiqueta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 36px 14px 14px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0));
}

.carrusel-etiqueta strong {
  color: #fff;
  font-size: 1rem;
}

.carrusel-etiqueta small {
  color: var(--accent-cyan);
  font-weight: 600;
  font-size: 0.85rem;
}

@media (min-width: 700px) {
  .carrusel { --por-vista: 2.2; }
}

@media (min-width: 1000px) {
  .carrusel { --por-vista: 3.2; }
  .carrusel-flecha-ant { left: -22px; }
  .carrusel-flecha-sig { right: -22px; }
}

@media (max-width: 600px) {
  .seccion-ejemplos { padding: 70px 5%; }
  .cabecera-ejemplos { margin-bottom: 35px; }
  .cabecera-ejemplos h2 { font-size: 2.2rem; }
}

/* ==========================================================
   PREGUNTAS FRECUENTES
   ========================================================== */
.seccion-faq {
  padding: 100px 5%;
  background-color: #080808;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.contenedor-faq {
  max-width: 820px;
  margin: 0 auto;
}

.cabecera-faq {
  margin-bottom: 40px;
}

.cabecera-faq h2 {
  font-family: var(--font-headings);
  font-size: 2.6rem;
  line-height: 1.15;
  color: var(--text-light);
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  margin-bottom: 12px;
  transition: border-color 0.2s;
}

.faq-item[open] {
  border-color: rgba(0, 229, 255, 0.45);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-light);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  flex: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--accent-cyan);
  transition: transform 0.25s;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item summary:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 2px;
  border-radius: 14px;
}

.faq-item p {
  padding: 0 22px 20px;
  color: #a0a0a0;
  line-height: 1.7;
  font-size: 1rem;
}

.faq-item a { color: var(--accent-cyan); }

@media (max-width: 600px) {
      .seccion-faq { padding: 70px 5%; }
  .cabecera-faq h2 { font-size: 2rem; }
  .faq-item summary { font-size: 1rem; padding: 16px 18px; }
  .faq-item p { padding: 0 18px 18px; }
}
