/* ==========================================================================
   MOLAPHOME SAC - HOJA DE ESTILOS FUTURISTA & PREMIUM
   ========================================================================== */

/* --- Importación de Fuentes (Google Fonts) --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* --- Variables y Paleta de Colores --- */
:root {
  --bg-dark: #05070f;
  --bg-darker: #020307;
  --bg-card: rgba(10, 15, 30, 0.55);
  
  /* Gradientes y Acentos Neón */
  --neon-cyan: #00f2fe;
  --neon-blue: #4facfe;
  --neon-purple: #7f00ff;
  --neon-pink: #ff007f;
  
  --grad-cyan-blue: linear-gradient(135deg, var(--neon-cyan) 0%, var(--neon-blue) 100%);
  --grad-purple-pink: linear-gradient(135deg, var(--neon-purple) 0%, var(--neon-pink) 100%);
  --grad-dark-glass: linear-gradient(135deg, rgba(15, 23, 42, 0.6) 0%, rgba(30, 41, 59, 0.3) 100%);
  
  /* Colores de Texto */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-light: #ffffff;
  
  /* Fuentes */
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Outfit', sans-serif;
  --font-system: 'Inter', sans-serif;
  
  /* Estructura */
  --header-height: 80px;
  --border-glass: 1px solid rgba(255, 255, 255, 0.08);
  --border-glass-glow: 1px solid rgba(0, 242, 254, 0.2);
  --shadow-neon: 0 8px 32px 0 rgba(0, 242, 254, 0.15);
  --shadow-neon-purple: 0 8px 32px 0 rgba(127, 0, 255, 0.2);

  /* Colores Dinámicos del Logo (Estilo Gestaya Modernizado - Dark Mode por defecto) */
  --logo-text-color: var(--text-light);
  --logo-left-start: #00f2fe;     /* Cian neón */
  --logo-left-end: #0066ff;       /* Azul neón */
  --logo-right-start: #ffd200;    /* Amarillo neón */
  --logo-right-end: #ff5b00;      /* Naranja neón */
  --logo-glow-color: rgba(0, 242, 254, 0.5);
}

/* --- Reseteo Moderno --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  line-height: 1.6;
  position: relative;
}

/* --- Efectos de Fondo Futuristas (Luz Flotante) --- */
body::before, body::after {
  content: "";
  position: absolute;
  width: 40vw;
  height: 40vw;
  border-radius: 50%;
  filter: blur(140px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.25;
}

body::before {
  top: 10%;
  left: -10%;
  background: radial-gradient(circle, var(--neon-cyan) 0%, transparent 70%);
  animation: float-glow-1 25s infinite alternate ease-in-out;
}

body::after {
  bottom: 20%;
  right: -10%;
  background: radial-gradient(circle, var(--neon-purple) 0%, transparent 70%);
  animation: float-glow-2 30s infinite alternate ease-in-out;
}

/* --- Animaciones de Fondo --- */
@keyframes float-glow-1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(80px, 50px) scale(1.15); }
}

@keyframes float-glow-2 {
  0% { transform: translate(0, 0) scale(1.1); }
  100% { transform: translate(-100px, -80px) scale(0.9); }
}

/* --- Tipografía --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-muted);
  font-weight: 400;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Contenedor Global --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Botones Futuristas --- */
.btn-primary, .btn-secondary, .btn-glass {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--grad-cyan-blue);
  color: #000;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 242, 254, 0.5);
  color: #000;
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: left 0.5s;
}

.btn-primary:hover::after {
  left: 100%;
}

.btn-secondary {
  background: var(--grad-purple-pink);
  color: var(--text-light);
  border: none;
  box-shadow: 0 4px 15px rgba(127, 0, 255, 0.3);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(127, 0, 255, 0.5);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.04);
  border: var(--border-glass);
  color: var(--text-main);
  backdrop-filter: blur(8px);
}

.btn-glass:hover {
  background: rgba(0, 242, 254, 0.1);
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.15);
}

/* --- Header & Navigation --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
}

header.scrolled {
  background: rgba(5, 7, 15, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: var(--border-glass);
  height: 70px;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--logo-text-color);
}

.logo span {
  background: linear-gradient(135deg, var(--logo-left-start) 0%, var(--logo-left-end) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo:hover .logo-svg {
  transform: rotateY(180deg);
  filter: drop-shadow(0 0 8px var(--logo-glow-color));
}

/* Versión para fondo claro (Light Theme) */
.logo.light-logo {
  --logo-text-color: #05070f;
  --logo-left-start: #008ba3;     /* Cian oscuro */
  --logo-left-end: #004fac;       /* Azul oscuro */
  --logo-right-start: #d29100;    /* Amarillo oscuro */
  --logo-right-end: #c84100;      /* Naranja oscuro */
  --logo-glow-color: rgba(0, 139, 163, 0.25);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--neon-cyan);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad-cyan-blue);
  transition: width 0.3s ease;
}

.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Menú Hamburguesa */
.menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1100;
}

/* --- Hero Section --- */
.hero {
  padding-top: calc(var(--header-height) + 3rem);
  padding-bottom: 5rem;
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  z-index: 2;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 30px;
  background: rgba(0, 242, 254, 0.08);
  border: var(--border-glass-glow);
  color: var(--neon-cyan);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.badge-tag i {
  font-size: 0.95rem;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--text-light);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-content h1 span {
  background: var(--grad-cyan-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
  max-width: 580px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-glow {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.2) 0%, transparent 60%);
  z-index: 0;
  pointer-events: none;
}

.hero-image {
  width: 100%;
  border-radius: 20px;
  border: var(--border-glass);
  box-shadow: var(--shadow-neon);
  z-index: 1;
  position: relative;
  overflow: hidden;
  animation: subtle-bounce 6s infinite ease-in-out;
}

@keyframes subtle-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* --- Section Global Styler --- */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem auto;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.section-header h2 span {
  background: var(--grad-cyan-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-header p {
  font-size: 1.1rem;
}

/* --- Seccion de Beneficios --- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.benefit-card {
  background: var(--grad-dark-glass);
  border-radius: 20px;
  border: var(--border-glass);
  padding: 2.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.benefit-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--neon-cyan) 0%, transparent 35%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 0;
}

.benefit-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 242, 254, 0.3);
  box-shadow: var(--shadow-neon);
}

.benefit-card:hover::before {
  opacity: 0.15;
}

.benefit-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: rgba(0, 242, 254, 0.1);
  border: var(--border-glass-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.8rem;
  position: relative;
  z-index: 1;
}

.benefit-icon i {
  font-size: 1.8rem;
  color: var(--neon-cyan);
}

.benefit-card h3 {
  font-size: 1.35rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.benefit-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* --- Sección de Características (Módulos) --- */
.modules-list {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.module-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  align-items: center;
}

.module-row:nth-child(even) .module-info {
  order: 2;
}

.module-row:nth-child(even) .module-visual {
  order: 1;
}

.module-info h3 {
  font-size: 2.2rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.module-info p {
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.module-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.module-features-list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text-main);
  font-weight: 500;
  font-size: 0.95rem;
}

.module-features-list li i {
  color: var(--neon-cyan);
  font-size: 1.1rem;
}

.module-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
  overflow: hidden;
  border: var(--border-glass);
}

.module-visual img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}

.module-row:hover .module-visual img {
  transform: scale(1.03);
}

.module-visual::after {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to top, rgba(5,7,15,0.7) 0%, transparent 60%);
  pointer-events: none;
}

/* --- Sección del Cotizador / Sistema Real (Maquetas) --- */
.showcase {
  background: var(--bg-darker);
  position: relative;
  overflow: hidden;
}

.showcase-bg-effect {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(127, 0, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.showcase-container {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.showcase-content h2 {
  font-size: 2.5rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.showcase-content h2 span {
  background: var(--grad-cyan-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.showcase-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.showcase-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}

.showcase-badge {
  background: rgba(255, 255, 255, 0.03);
  border: var(--border-glass);
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.showcase-badge i {
  font-size: 1.5rem;
  color: var(--neon-cyan);
}

.showcase-badge span {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-light);
}

.showcase-mockup-wrapper {
  position: relative;
  width: 100%;
}

.showcase-mockup {
  border-radius: 16px;
  border: var(--border-glass);
  box-shadow: var(--shadow-neon-purple);
  width: 100%;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.showcase-mockup img {
  width: 100%;
  display: block;
}

.showcase-glow-circle {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(0, 242, 254, 0.15);
  filter: blur(80px);
  bottom: -50px;
  right: -50px;
  pointer-events: none;
}

/* --- Sección Call To Action --- */
.cta-section {
  background: linear-gradient(to right, rgba(5,7,15,0.95), rgba(5,7,15,0.85)), url('assets/cta-bg.png') no-repeat center center/cover;
  border-top: var(--border-glass);
  border-bottom: var(--border-glass);
}

.cta-box {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem;
  background: var(--grad-dark-glass);
  border: var(--border-glass);
  border-radius: 30px;
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  background: rgba(0, 242, 254, 0.15);
  filter: blur(50px);
  top: -50px;
  left: -50px;
}

.cta-box h2 {
  font-size: 2.8rem;
  color: var(--text-light);
  margin-bottom: 1.2rem;
}

.cta-box p {
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* --- FAQ Section --- */
.faq-grid {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.faq-item {
  background: var(--grad-dark-glass);
  border: var(--border-glass);
  border-radius: 16px;
  padding: 1.2rem 1.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
}

.faq-item:hover, .faq-item.open {
  border-color: rgba(0, 242, 254, 0.25);
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.05);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-question h3 {
  font-size: 1.15rem;
  color: var(--text-light);
  font-weight: 600;
  transition: color 0.3s;
}

.faq-item.open .faq-question h3 {
  color: var(--neon-cyan);
}

.faq-toggle-btn {
  font-size: 1.2rem;
  color: var(--text-muted);
  transition: transform 0.3s ease, color 0.3s;
}

.faq-item.open .faq-toggle-btn {
  transform: rotate(45deg);
  color: var(--neon-cyan);
}

.faq-answer {
  max-height: 0;
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  padding-top: 0;
}

.faq-item.open .faq-answer {
  max-height: 200px; /* Suficiente para el texto */
  opacity: 1;
  padding-top: 1rem;
}

.faq-answer p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --- Sección de Contacto --- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2.5rem;
}

.contact-info-text h2 {
  font-size: 2.5rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.contact-info-text p {
  font-size: 1.1rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.contact-detail-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(0, 242, 254, 0.08);
  border: var(--border-glass-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon-cyan);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-detail-content h4 {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 0.2rem;
}

.contact-detail-content p {
  font-size: 0.95rem;
}

.contact-form-wrapper {
  background: var(--grad-dark-glass);
  border: var(--border-glass);
  border-radius: 24px;
  padding: 3rem;
  backdrop-filter: blur(16px);
  position: relative;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group.row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.form-input, .form-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: var(--border-glass);
  border-radius: 10px;
  padding: 0.9rem 1.2rem;
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all 0.3s;
}

.form-input:focus, .form-textarea:focus {
  outline: none;
  background: rgba(0, 242, 254, 0.02);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.15);
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
}

.form-status {
  margin-top: 1rem;
  font-size: 0.9rem;
  display: none;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.form-status.loading {
  color: var(--neon-cyan);
}

.form-status.success {
  color: #10b981;
}

.form-status.error {
  color: #ef4444;
}

/* --- Footer --- */
footer {
  background: var(--bg-darker);
  border-top: var(--border-glass);
  padding: 4rem 0 2rem 0;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 0.83fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  font-size: 1.5rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.footer-brand h3 span {
  background: var(--grad-cyan-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-brand p {
  margin-bottom: 1.5rem;
  max-width: 300px;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-muted);
}

.social-icon:hover {
  background: rgba(0, 242, 254, 0.1);
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  transform: translateY(-2px);
}

.footer-links-col h4 {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.footer-links-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links-col ul a {
  color: var(--text-muted);
}

.footer-links-col ul a:hover {
  color: var(--neon-cyan);
  padding-left: 3px;
}

.footer-bottom {
  border-top: var(--border-glass);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--text-muted);
}

/* --- Botón Flotante de WhatsApp --- */
.whatsapp-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
  z-index: 999;
  font-size: 2rem;
  color: #fff;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.whatsapp-btn:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
  color: #fff;
}

/* --- Responsive Adaptativo --- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
    text-align: center;
  }
  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-image-wrapper {
    max-width: 600px;
    margin: 0 auto;
  }
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .module-row {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .module-row:nth-child(even) .module-info {
    order: unset;
  }
  .module-row:nth-child(even) .module-visual {
    order: unset;
  }
  .showcase-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  .showcase-badges {
    justify-content: center;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  .hero-content h1 {
    font-size: 2.8rem;
  }
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  .section-header h2 {
    font-size: 2rem;
  }
  .module-info h3 {
    font-size: 1.8rem;
  }
  .form-group.row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .form-group.row .form-group {
    margin-bottom: 1.5rem;
  }
  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: rgba(5, 7, 15, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
  }
  .nav-links.active {
    left: 0;
  }
  .nav-links a {
    font-size: 1.3rem;
  }
  .menu-btn {
    display: block;
  }
  .nav-actions .btn-glass {
    display: none;
  }
  .contact-form-wrapper {
    padding: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .hero-buttons .btn-primary, .hero-buttons .btn-glass {
    width: 100%;
    justify-content: center;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* --- Animaciones Intersection Observer (Aparición Gradual) --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   ANIMACIONES LOGO SVG - MOLAPHOME (ESTILO GESTAYA MODERNIZADO)
   ========================================================================== */

/* Animación sutil de respiración para las ventanas */
@keyframes logo-window-pulse {
  0%, 100% {
    opacity: 0.85;
  }
  50% {
    opacity: 1;
    filter: drop-shadow(0 0 1.5px var(--logo-left-start));
  }
}

.logo-window {
  animation: logo-window-pulse 3s infinite ease-in-out;
}

/* Flotación de Nodos en la Órbita */
@keyframes logo-node-float-1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-1.5px, -1.5px); }
}

@keyframes logo-node-float-2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(1.5px, 1.5px); }
}

.logo-node-cyan {
  animation: logo-node-float-1 3s infinite ease-in-out;
  transform-origin: 20px 65px;
}

.logo-node-orange {
  animation: logo-node-float-2 3.5s infinite ease-in-out;
  transform-origin: 80px 65px;
}

/* Humo Digital / Partículas de la Chimenea */
@keyframes logo-smoke-float-1 {
  0% { transform: translateY(0) scale(0.8); opacity: 0.3; }
  50% { transform: translateY(-4px) scale(1.1); opacity: 0.8; }
  100% { transform: translateY(-8px) scale(0.6); opacity: 0; }
}

@keyframes logo-smoke-float-2 {
  0% { transform: translateY(0) scale(0.7); opacity: 0.2; }
  50% { transform: translateY(-5px) scale(1.2); opacity: 0.6; }
  100% { transform: translateY(-10px) scale(0.5); opacity: 0; }
}

.logo-smoke-p1 {
  animation: logo-smoke-float-1 2s infinite ease-in-out;
  transform-origin: 31px 14px;
}

.logo-smoke-p2 {
  animation: logo-smoke-float-2 2.5s infinite ease-in-out;
  transform-origin: 33px 8px;
  animation-delay: 0.5s;
}

/* Onda de clic de la mano interactiva */
@keyframes logo-click-wave-pulse {
  0% { transform: scale(1); opacity: 0.85; }
  100% { transform: scale(3.5); opacity: 0; }
}

.logo-click-wave {
  animation: logo-click-wave-pulse 2s infinite cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform-origin: 0px -10px;
}

/* Animación de flotación leve en hover para la mano */
@keyframes logo-hand-float {
  0%, 100% { transform: translate(63px, 68px) rotate(-20deg); }
  50% { transform: translate(64px, 66px) rotate(-18deg); }
}

.logo-hand-cursor {
  animation: logo-hand-float 4s infinite ease-in-out;
  transform-origin: 63px 68px;
}
