/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  color: #333;
  line-height: 1.6;
}

/* Menú superior fijo */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0,0,0,0.7);
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}

nav .logo {
  color: #fff;
  font-size: 1.5em;
  font-weight: bold;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #ff6600;
}
/* Hero con imagen responsiva */
.hero {
  position: relative;
  min-height: 65vh; /* más compacto */
  padding: 80px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  background: url('assets/hero-bg.jpg') no-repeat center center/cover;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(120deg, rgba(255,102,0,0.4), rgba(0,170,255,0.4), rgba(0,255,136,0.4));
  background-size: 200% 200%;
  animation: gradientMove 12s ease infinite; /* más lento y suave */
  z-index: 0;
}

/* Overlay con fondo semitransparente detrás del texto */
.hero .overlay {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 20px;
  background: rgba(0,0,0,0.4); /* caja semitransparente */
  border-radius: 10px;
}

/* CTA alternativo balanceado */
.cta-alt {
  display: inline-block;
  padding: 15px 30px;
  background: #ff6600; /* sólido para contraste */
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  position: relative;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 0 10px rgba(255,102,0,0.8);
  animation: pulseGlow 2s infinite;
}

.cta-alt:hover {
  background: #e05500;
  transform: scale(1.05);
}

/* Glow más controlado */
@keyframes pulseGlow {
  0% { box-shadow: 0 0 10px rgba(255,102,0,0.8); }
  50% { box-shadow: 0 0 20px rgba(255,102,0,1); }
  100% { box-shadow: 0 0 10px rgba(255,102,0,0.8); }
}

/* Secciones */
section {
  padding: 80px 20px;
  text-align: center;
}

section h2 {
  font-size: 2em;
  margin-bottom: 40px;
  color: #222;
}

.grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.card {
  background: #f5f5f5;
  padding: 20px;
  border-radius: 8px;
  width: 220px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

/* Formulario */
form {
  max-width: 500px;
  margin: 0 auto;
  text-align: left;
}

form label {
  display: block;
  margin-top: 15px;
  font-weight: bold;
}

form input, form button {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

form button {
  background: #ff6600;
  color: white;
  border: none;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.3s;
}

form button:hover {
  background: #e05500;
}

/* Botón flotante WhatsApp */
.whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  color: white;
  padding: 15px;
  border-radius: 50%;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

/* Sección Beneficios */
.beneficios-grid {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.beneficio {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  width: 280px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.beneficio:hover {
  transform: translateY(-8px);
}

.beneficio .icon img {
  width: 50px;
  height: 50px;
  margin-bottom: 15px;
}

.beneficio h3 {
  margin-bottom: 10px;
  color: #222;
}


/* CTA alternativo con borde animado en gradiente */
.cta-alt {
  display: inline-block;
  padding: 15px 30px;
  background: transparent;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  position: relative;
  border: 3px solid;
  border-image: linear-gradient(45deg, #ff6600, #ffcc00, #00aaff, #00ff88) 1;
  animation: borderGlow 2s infinite;
}

@keyframes borderGlow {
  0% {
    box-shadow: 0 0 5px #ff6600, 0 0 10px #ffcc00;
  }
  50% {
    box-shadow: 0 0 20px #00aaff, 0 0 40px #00ff88;
  }
  100% {
    box-shadow: 0 0 5px #ff6600, 0 0 10px #ffcc00;
  }
}

/* ====== HERO MODERNO TOP 100 CORREGIDO ====== */
.hero-modern {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 100px 40px 60px;
  background: linear-gradient(135deg, #111, #222);
  color: #fff;
  margin-top: 60px;
}
.hero-content {
  flex: 1 1 400px;
  max-width: 600px;
  padding-right: 20px;
}
.hero-content h1 {
  font-size: 2.8em;
  margin-bottom: 20px;
}
.hero-content p {
  font-size: 1.2em;
  margin-bottom: 30px;
}
.cta-main {
  display: inline-block;
  padding: 15px 35px;
  background: transparent;
  color: #fff;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  border: 3px solid;
  border-image: linear-gradient(45deg, #ff6600, #ffcc00, #00aaff, #00ff88) 1;
  animation: borderGlow 2s infinite;
  position: relative;
  z-index: 2;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.cta-main:hover {
  transform: scale(1.05);
}

/* Animación de borde iluminado */
@keyframes borderGlow {
  0% {
    box-shadow: 0 0 5px #ff6600, 0 0 10px #ffcc00;
  }
  50% {
    box-shadow: 0 0 20px #00aaff, 0 0 40px #00ff88;
  }
  100% {
    box-shadow: 0 0 5px #ff6600, 0 0 10px #ffcc00;
  }
}



.trust {
  margin-top: 20px;
  font-size: 0.9em;
  color: #ccc;
}
.hero-image {
  flex: 1 1 300px;
  text-align: center;
}
.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* ====== RESPONSIVO HERO MODERNO ====== */
@media (max-width: 1024px) {
  .hero-modern {
    padding: 80px 20px 40px;
  }
  .hero-content h1 {
    font-size: 2.4em;
  }
}
@media (max-width: 768px) {
  .hero-modern {
    flex-direction: column;
    text-align: center;
  }
  .hero-content {
    max-width: 100%;
    padding: 0;
  }
  .hero-image {
    margin-top: 30px;
  }
}
@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.8em;
  }
  .hero-content p {
    font-size: 1em;
  }
 /* .cta-main {
    padding: 12px 25px;
    font-size: 0.9em;
  }*/
}

