/* =================================================================
   VARIABLES GLOBALES ACTUALIZADAS (AZUL MARINO & SOFT WHITE)
================================================================== */
:root {
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Colores Base */
  --bg-dark: #090d16;          /* Azul Marino Profundo */
  --text-light: #f1f5f9;        /* Blanco tiza para títulos */
  --text-muted: #292929; 
  --text-view: #94a3b8;         /* Gris claro para párrafos */
  
  /* Vidrio Oscuro Traslúcido */
  --glass-bg: rgba(15, 23, 42, 0.65);
  --glass-bg-hover: rgba(30, 41, 59, 0.75);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  --glass-blur: blur(16px);
  
  /* Acento Neón / Azul Eléctrico para la Luz */
  --accent: #75d3fc;
  --accent-hover: #0284c7;

  /* Radios */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

/* =================================================================
   2. RESET Y ESTILOS BASE
================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Base Body */
body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* =================================================================
   LUZ QUE SIGUE AL MOUSE (MOUSE GLOW EFFECT)
================================================================== */
#mouse-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(120, 213, 253, 0.35) 0%, rgba(99, 102, 241, 0.15) 45%, transparent 70%);
  pointer-events: none; /* No interfiere con clics */
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease;
  z-index: 0; /* Va detrás del contenido */
}

/* Ajuste de color de textos en paneles de vidrio */
.hero-title, .section-title, .service-title {
  color: var(--text-light);
}

.hero-subtitle, .section-desc, .service-text {
  color: var(--text-view);
}
/* Panel Reutilizable Glassmorphism */
.glass-panel {
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.icon-accent {
  color: var(--accent);
}

/* =================================================================
   3. HEADER Y NAVEGACIÓN
================================================================== */
.header {
  position: fixed !important;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1200px;
  z-index: 1000;
  border-radius: var(--radius-md);
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text-light);
  text-decoration: none;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--text-dark);
  color: #ffffff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--text-dark);
}

.btn-nav {
  background: var(--text-dark);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn-nav:hover {
  transform: translateY(-2px);
  background: #1e293b;
}

/* =================================================================
   4. HERO SECTION
================================================================== */
.hero {
  padding: 160px 20px 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.hero-title {
  font-size: 3rem;
  line-height: 1.15;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-view);
  margin-bottom: 32px;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  align-items: center;
}

.btn-primary {
  background: var(--accent);
  color: #396bc9;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-secondary {
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.4);
}

/* =================================================================
   5. MOCKUP PREVIEW
================================================================== */
.hero-preview {
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding-bottom: 12px;
}

.dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
}

.preview-tag {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 500;
}

.preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.preview-card {
  background: rgba(255, 255, 255, 0.3);
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.preview-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.5);
}

.preview-card-title {
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.preview-card-desc {
  font-size: 0.75rem;
  color: var(--text-light);
}

/* =================================================================
   6. RESPONSIVE DESIGN
================================================================== */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 130px;
    text-align: center;
  }

  .hero-subtitle {
    margin: 0 auto 32px auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .nav-links {
    display: none;
  }
}

/* =================================================================
   GRILLA DE SERVICIOS Y BOTONERA DOBLE
================================================================== */
.services-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.services-header {
  text-align: center;
  margin-bottom: 48px;
}

.services-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-light, #f8fafc);
  margin-top: 12px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 24px;
}

.service-card {
  border-radius: var(--radius-md, 20px);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent, #38bdf8);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(56, 189, 248, 0.15);
}

.service-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(56, 189, 248, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(56, 189, 248, 0.2);
}

.service-icon {
  width: 26px;
  height: 26px;
  color: var(--accent, #38bdf8);
}

.service-info h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.service-info p {
  font-size: 0.9rem;
  color: var(--text-view, #94a3b8);
  line-height: 1.5;
  margin-bottom: 14px;
}

.pricing-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.15);
  color: var(--accent, #38bdf8);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.pricing-badge.badge-sub {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border-color: rgba(168, 85, 247, 0.3);
}

/* Botonera de Acción Doble */
.service-actions {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  gap: 10px;
  margin-top: 8px;
}

.btn-demo {
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.25s ease;
}

.btn-demo:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-demo i {
  width: 15px;
  height: 15px;
}

.btn-cta-wa {
  padding: 10px 12px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0284c7, #0369a1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #ffffff;
  font-size: 0.825rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

.btn-cta-wa:hover {
  background: linear-gradient(135deg, #38bdf8, #0284c7);
  box-shadow: 0 6px 16px rgba(56, 189, 248, 0.4);
  transform: translateY(-2px);
}

/* Mobile */
@media (max-width: 640px) {
  .service-actions {
    grid-template-columns: 1fr;
  }
}

/* =================================================================
   8. SECCIÓN NOSOTROS / METODOLOGÍA
================================================================== */
.about-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 80px 20px;
}

.about-container {
  border-radius: var(--radius-lg);
  padding: 48px 36px;
}

.about-title {
  font-size: 2rem;
  font-weight: 700;
  margin: 12px 0;
}

.about-text {
  color: var(--text-view);
  max-width: 700px;
  font-size: 1.05rem;
  margin-bottom: 40px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 32px;
}

.step-number {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
  margin-bottom: 6px;
}

.step-item h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.step-item p {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* =================================================================
   SECCIÓN NOSOTROS (LAYOUT CON FOTO Y STORYTELLING)
================================================================== */
.about-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.about-container {
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: center;
}

/* Columna de Perfil / Foto */
.about-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
}

.profile-image-wrapper {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, var(--accent), transparent);
  margin-bottom: 16px;
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.profile-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-light);
}

.profile-role {
  font-size: 0.825rem;
  color: var(--text-view);
  margin-bottom: 16px;
}

.profile-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}

.profile-actions a {
  text-decoration: none;
  color: var(--text-light);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  transition: all 0.2s ease;
}

.btn-profile-wa i {
  background: #25d366;
  color: #ffffff;
}

.btn-card:hover, .btn-profile-wa:hover {
  transform: translateY(-2px);
  background: var(--accent);
  color: #ffffff;
}

.profile-links {
  display: flex;
  gap: 12px;
}

.profile-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.2s ease;
}

.profile-link:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

/* Columna de Contenido */
.about-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-light);
  margin: 12px 0;
}

.about-text {
  color: var(--text-view);
  font-size: 0.975rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.about-text strong {
  color: var(--text-light);
}

/* Adaptación Mobile */
@media (max-width: 850px) {
  .about-container {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 20px;
  }
}

/* =================================================================
   9. SECCIÓN TESTIMONIOS
================================================================== */
.testimonials-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px 80px 20px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.testimonial-card {
  border-radius: var(--radius-md);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, background 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  background: var(--glass-bg-hover);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  color: #f59e0b; /* Amarillo dorado para las estrellas */
  margin-bottom: 16px;
}

.testimonial-stars i {
  width: 16px;
  height: 16px;
  fill: #f59e0b;
}

.testimonial-text {
  font-size: 0.925rem;
  color: var(--text-light);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid var(--glass-border);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-avatar i {
  width: 20px;
  height: 20px;
}

.user-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-light);
}

.user-service {
  display: block;
  font-size: 0.775rem;
  color: var(--text-view);
}

/* =================================================================
   10. SECCIÓN FAQ (PREGUNTAS FRECUENTES)
================================================================== */
.faq-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px 80px 20px;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.faq-item.active {
  border-color: rgba(56, 189, 248, 0.3);
  background: rgba(15, 23, 42, 0.85);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  color: var(--text-light);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--accent);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1), padding 0.35s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px; /* Permite desplegar el contenido */
  padding: 0 24px 20px 24px;
}

.faq-answer p {
  font-size: 0.925rem;
  color: var(--text-view);
  line-height: 1.6;
}

.faq-answer strong {
  color: var(--text-light);
}

/* =================================================================
   11. SECCIÓN COTIZAR PROYECTO / FORMULARIO LIMPIDO
================================================================== */
.quote-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px 80px 20px;
}

.quote-card {
  border-radius: var(--radius-lg, 24px);
  padding: 48px 40px;
  background: rgba(3, 46, 146, 0.65);
  border: 1px solid var(--glass-border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.quote-header {
  text-align: center;
  margin-bottom: 36px;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 30px;
  background: rgba(56, 189, 248, 0.15);
  color: var(--accent, #38bdf8);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.quote-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-light, #f8fafc);
  margin: 12px 0 8px 0;
  letter-spacing: -0.5px;
}

.quote-desc {
  font-size: 0.95rem;
  color: var(--text-view, #94a3b8);
  max-width: 580px;
  margin: 0 auto;
}

/* Grilla del Formulario */
.quote-form .form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-light, #f8fafc);
  margin-bottom: 8px;
}

/* Envoltorio de los inputs para alineación perfecta */
.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.input-icon {
  position: absolute;
  left: 16px;
  width: 18px;
  height: 18px;
  color: var(--accent, #38bdf8);
  pointer-events: none;
  z-index: 2;
}

/* Reset y diseño de TODOS los inputs, selects y textarea */
.input-wrapper input,
.input-wrapper select,
.input-wrapper textarea {
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 14px 16px 14px 46px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 12px !important;
  font-size: 0.95rem !important;
  color: #ffffff !important;
  font-family: inherit !important;
  outline: none !important;
  transition: all 0.25s ease !important;
}

/* Ajustes para textarea */
.input-wrapper.textarea-wrapper {
  align-items: flex-start;
}

.input-wrapper.textarea-wrapper .input-icon {
  top: 16px;
}

.input-wrapper textarea {
  resize: vertical;
  min-height: 110px;
}

/* Opciones dentro del Select */
.input-wrapper select option {
  background: #0f172a;
  color: #ffffff;
}

/* Placeholder */
.input-wrapper input::placeholder,
.input-wrapper textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

/* Estado Focus (Al hacer clic para escribir) */
.input-wrapper input:focus,
.input-wrapper select:focus,
.input-wrapper textarea:focus {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: var(--accent, #38bdf8) !important;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.2) !important;
}

/* Botón de Enviar WhatsApp */
.btn-submit-quote {
  width: 100%;
  padding: 16px 24px;
  background: linear-gradient(135deg, #16a34a, #15803d);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  font-size: 1.05rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.25s ease;
  box-shadow: 0 8px 24px rgba(22, 163, 74, 0.3);
}

.btn-submit-quote:hover {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(34, 197, 94, 0.4);
}

.btn-submit-quote i {
  width: 20px;
  height: 20px;
}

/* Adaptación Mobile */
@media (max-width: 768px) {
  .quote-card {
    padding: 32px 20px;
  }
  .quote-form .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group.full-width {
    grid-column: span 1;
  }
  .quote-title {
    font-size: 1.75rem;
  }
}

/* =================================================================
   12. FOOTER PRINCIPAL (DARK GLASS ELEGANTES)
================================================================== */
.main-footer {
  background: rgba(10, 15, 29, 0.95);
  border-top: 1px solid var(--glass-border, rgba(255, 255, 255, 0.08));
  padding-top: 60px;
  position: relative;
  overflow: hidden;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 48px 20px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
}

.footer-logo-img {
  width: 120px;
  height: auto;
  border-radius: 12px;
  /* background: var(--accent, #38bdf8); */
  display: flex;
  /* align-items: center; */
  /* justify-content: start; */
  font-size: 1.25rem;
  font-weight: bold;
}



/* Columna Marca */
.footer-logo {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 16px;
}

.logo-text {
  color: #ffffff;
}

.logo-accent {
  color: var(--accent, #38bdf8);
}

.footer-description {
  font-size: 0.9rem;
  color: var(--text-view, #94a3b8);
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 320px;
}

/* Redes Sociales */
.footer-socials {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-light, #f8fafc);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.25s ease;
}

.social-icon i {
  width: 18px;
  height: 18px;
}

.social-icon:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: var(--accent, #38bdf8);
  color: var(--accent, #38bdf8);
  transform: translateY(-3px);
}

/* Títulos de Columnas */
.footer-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
  position: relative;
}

/* Enlaces */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-view, #94a3b8);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--accent, #38bdf8);
  transform: translateX(4px);
}

/* Info de contacto */
.footer-contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact-info li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-view, #94a3b8);
  font-size: 0.875rem;
  margin-bottom: 12px;
}

.footer-contact-info i {
  width: 16px;
  height: 16px;
  color: var(--accent, #38bdf8);
  flex-shrink: 0;
}

/* Copyright Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(5, 8, 18, 0.8);
  padding: 20px 0;
}

.footer-bottom-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.825rem;
  color: var(--text-view, #64748b);
}

.footer-bottom-content strong {
  color: var(--text-light, #e2e8f0);
}

/* Responsivo */
@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 580px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* =================================================================
   EFECTO TÁCTIL (TOUCH RIPPLE) PARA MÓVILES
================================================================== */

/* Asegura que los elementos interactivos contengan la onda de luz */
.glass-panel, 
.btn-cta-wa, 
.btn-demo, 
.service-card, 
.faq-item, 
.social-icon, 
.btn-submit-quote {
  position: relative;
  overflow: hidden; /* Mantiene la luz dentro del contenedor */
}

/* Elemento de la onda luminosa */
.touch-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.35); /* Color cian deslumbrante */
  transform: scale(0);
  animation: rippleAnimation 0.6s ease-out;
  pointer-events: none;
  z-index: 10;
}

/* Animación de expansión y desvanecimiento */
@keyframes rippleAnimation {
  to {
    transform: scale(3.5);
    opacity: 0;
  }
}

/* =================================================================
   PÁGINA DE ERROR 404 & REBOTE DVD
================================================================== */
.error-page-body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #070913;
  padding: 20px;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.error-card {
  width: 100%;
  max-width: 520px;
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  z-index: 2; /* Para que quede por encima del fondo */
}

.error-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  color: #38bdf8;
  margin-bottom: 20px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.2);
}

.error-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}

.error-description {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 28px;
}

.error-actions {
  display: flex;
  gap: 12px;
  width: 100%;
  justify-content: center;
}

.error-actions a {
  text-decoration: none;
}

/* El 404 Rebotador */
#bouncing-404 {
  position: fixed;
  top: 0;
  left: 0;
  margin: 0;
  z-index: 1; /* Pasa por detrás de la tarjeta central */
  user-select: none;
  pointer-events: none;
  font-size: clamp(5rem, 14vw, 8rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -2px;
  background: linear-gradient(135deg, #ffffff 20%, #38bdf8 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 20px rgba(56, 189, 248, 0.4));
}

@media (max-width: 480px) {
  .error-actions {
    flex-direction: column;
  }
}