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

/* Estilos base y fuente */
body {
  font-family: "Roboto", sans-serif;
  background-color: #0a0a0a;
  color: #e0e0e0;
  line-height: 1.6;
  padding-top: 90px;
}

/* Contenedor central */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}


/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  padding: 0 20px;
  background: #1c1c1e;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  z-index: 1100;
  display: flex;
  align-items: center;
}



.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  width: 40px;
  height: auto;
  margin-right: 10px;
  animation: logo-pulse 2s infinite ease-in-out;
}

.pulse-animation {
  animation: pulse 2s infinite ease-in-out;
}

/* Después */
@keyframes logo-pulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 rgba(164, 80, 139, 0));
  }
  50% {
    transform: scale(1.25);
    filter: drop-shadow(0 0 1px rgba(164, 80, 139, 0.7));
  }
}

/* Después */
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 rgba(164, 80, 139, 0));
  }
  50% {
    transform: scale(1.1);
    filter: drop-shadow(0 0 1px rgba(164, 80, 139, 0.7));
  }
}


.logo-text {
  font-family: "Orbitron", sans-serif;
  font-size: 1.5rem;
  color: #a4508b;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  transition: right .3s;
}

.nav-links li {
  margin-left: 20px;
}

.nav-links a {
  color: #e0e0e0;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
  border-bottom: 2px solid #a4508b;
  color: #a4508b;
  background: transparent;
}

/* --- Hamburguesa --- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  height: 38px;
  width: 44px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 4px;
  background: #a4508b;
  margin: 4px 0;
  border-radius: 2px;
  transition: 0.4s;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .nav-links {
    flex-direction: column;
    position: fixed;
    top: 64px;
    right: -100vw;
    background: #1c1c1e;
    width: 75vw;
    max-width: 320px;
    box-shadow: -8px 0 32px rgba(0,0,0,0.6);
    padding: 40px 0 0 0;
    align-items: flex-start;
    transition: right 0.3s;
    z-index: 1050;
  }
  .nav-links.open {
    right: 0;
  }
  .nav-links li {
    margin: 0 0 22px 30px;
    width: 100%;
  }
  .nav-toggle {
    display: flex;
  }
}

/* --- Efecto hamburguesa animada (opcional) --- */
.nav-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}


/* Encabezado */
.header {
  background: linear-gradient(135deg, #2b1055, #5d2a8c);
  color: #fff;
  text-align: center;
  padding: 30px 20px;
  margin-bottom: 40px;
  box-shadow: 0 0 20px rgba(93,42,140,0.7);
  position: relative;
  overflow: hidden;
}

.header h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  margin-bottom: 10px;
  z-index: 1;
  position: relative;
}

.header p {
  font-size: 1.2rem;
  z-index: 1;
  position: relative;
  margin-bottom: 15px;
}



/* Gerarquia de Textos */
h1, h2, h3 {
  color: #fff;
  font-family: 'Orbitron', sans-serif;
  margin-bottom: 0.7em;
}
h1 {
  font-size: 2.8rem;
  font-weight: 700;
}
h2 {
  font-size: 2rem;
  font-weight: 600;
}
h3 {
  font-size: 1.3rem;
  font-weight: 500;
}
p, ul, li {
  color: #e0e0e0;
  line-height: 1.5;
}
section {
  margin-bottom: 45px;
}





#particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  z-index: 0;
}

.scroll-indicator {
  text-align: center;
  margin: -20px 0;
  color: #ffffff;
  font-size: 1rem;
  position: relative;
}

.scroll-indicator span {
  display: block;
  margin-bottom: 2px;
  font-family: 'Orbitron', sans-serif;
}

.scroll-indicator .arrow {
  width: 24px;
  height: 24px;
  border-left: 2px solid #a4508b;
  border-bottom: 2px solid #a4508b;
  transform: rotate(-45deg);
  margin: 0 auto;
  animation: bounce 1s infinite;
}




/* Nueva sección Acerca de Nosotros */
.about-us {
  background: #1c1c1e;
  padding: 40px 20px;
  color: #e0e0e0;
}


.icon-about {
  margin-right: 10px;
  vertical-align: middle;
  display: inline-block;
}


.about-us__inner {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.about-us__text {
  flex: 1;
  max-width: 500px;
}

.about-us__text h2 {
  font-family: "Orbitron", sans-serif;
  font-size: 2.2rem;
  color: #a4508b;
  margin-bottom: 20px;
}

.about-us__text p {
  margin-bottom: 15px;
  line-height: 1.6;
}


.about-us__image {
  animation: fade-in-right 1s;
}

.about-us__image img {
  width: 100%;
  max-width: 450px;
  border-radius: 20px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
  display: block;
}










/* Sección Nuestro Pulso (antes Quiénes Somos) */
.pulse {
  background: #121212;
  padding: 40px 20px;
}

.pulse__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}

.pulse__image img {
  width: 100%;
  border-radius: 0 80px 0 80px;
  display: block;
}

.pulse__content h2 {
  font-family: "Orbitron", sans-serif;
  font-size: 2rem;
  color: #a4508b;
  margin-bottom: 10px;
}

.pulse__content .subtitle {
  color: #fff;
  margin-bottom: 20px;
  font-weight: bold;
}

.pulse__content p {
  margin-bottom: 20px;
  color: #ccc;
  line-height: 1.6;
}

.pulse__list {
  list-style: none;
  padding-left: 0;
  margin: 0 0 30px 0;
}

.pulse__list li {
  margin-bottom: 12px;
  position: relative;
  padding-left: 28px;
  text-align: left;
}

.pulse__list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #5d2a8c;
  font-size: 1.2rem;
  line-height: 1;
}








/* Sección Paquetes */

.packages--highlight {
  background: #1c1c1e;
  padding: 80px 20px 40px;
  position: relative;
}

.packages__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

/* Card base */

/* Ribbon básico */
.ribbon {
  position: absolute;
  top: 12px;
  right: -36px;
  background: #5d2a8c;  /*#e63946;*/
  color: #fff;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 6px 56px;
  text-align: center;
  transform: rotate(45deg);
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  z-index: 10;
}

/* Ajustes responsivos (opcional) */
@media (max-width: 500px) {
  .ribbon {
    top: 8px;
    right: -30px;
    padding: 4px 48px;
    font-size: 0.7rem;
  }
}



/* Ícono de información */
.info-icon {
  position: relative;
  display: inline-block;
  color: #a4508b;
  margin: 0 8px;
  cursor: pointer;
  font-size: 1.1rem;
  vertical-align: middle;
}

/* Tooltip oculto inicialmente */
.info-icon::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 120%;              
  left: 50%;
  transform: translateX(-50%);
  width: 200px;               
  background: rgba(0,0,0,0.90);
  color: #fff;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 0.85rem;
  line-height: 1.3;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 20;
  white-space: normal;
}

/* Flecha inferior del tooltip */
.info-icon::before {
  content: "";
  position: absolute;
  bottom: 110%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: rgba(0,0,0,0.85) transparent transparent transparent;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 20;
}

.info-icon::after,
.info-icon::before {
  display: none;
}

.tooltip-fixed {
  position: fixed;
  background: rgba(0,0,0,0.9);
  color: #fff;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 0.85rem;
  line-height: 1.3;
  text-align: center;
  max-width: 200px;
  z-index: 9999;
  pointer-events: none;
  white-space: normal;
  box-shadow: 0 0 6px rgba(0,0,0,0.7);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.tooltip-fixed.visible {
  opacity: 1;
}






.package-card {
  position: relative;
  background: #1c1c1e;
  border-radius: 20px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.6);
  max-width: 350px;
  overflow: hidden;
  transform: translateY(0);
  transition: transform .3s ease, box-shadow .3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  transform: translateX(-100px);
  transition: transform 0.5s ease, opacity 0.5s ease;
}


/* Card destacado: escala y color */
.package-card.featured {
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.7);
}



/* Animaciones */
.package-card.slide-in {
  opacity: 1;
  transform: translateX(0);
}

.package-card.featured.slide-in {
  transform: translateX(0) scale(1.05);
}


.fade-right, .fade-left {
  opacity: 0;
}

.fade-in-right {
  animation: fade-in-right 1s forwards;
}

.fade-in-left {
  animation: fade-in-left 1s forwards;
}

@keyframes fade-in-right {
  from { opacity: 0; transform: translateX(60px);}
  to { opacity: 1; transform: none;}
}

@keyframes fade-in-left {
  from { opacity: 0; transform: translateX(-60px);}
  to { opacity: 1; transform: none;}
}




/* Header de la card */
.package-card .card-header { 
  padding: 24px 20px 12px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.package-card h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 8px;
}

.package-card .tag {
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 0.8rem;
  padding: 6px 12px;
  border-radius: 12px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: inline-block;
}

/* Cuerpo con lista */
.package-card .card-body {
  padding: 18px 20px 0 20px;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.package-card .networks {
  font-weight: bold;
  color: #a4508b;
  margin-bottom: 10px;
}

.package-card ul {
  list-style: none;
  margin: 10px 0 0 0;
  padding: 0;
}

.package-card li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 7px;
  color: #ccc;
  font-size: 1rem;
}

.package-card li::before {
  content: '✔';
  position: absolute;
  left: 0; top: 0;
  color: #5d2a8c;
  font-size: 1.1rem;
}

.package-card .bonus, .package-card .advantage {
  background: #292929;
  color: #ccc;
  padding: 10px 16px;
  border-radius: 8px;
  margin: 10px 0 0 0;
  font-size: 0.8rem;
  text-align: center;
}
.package-card .bonus::before, .package-card .advantage::before {
  content: "⭐ ";
  color: #ffdd57;
}

/* Footer con precio y botón */
.package-card .card-footer {
  padding: 16px 20px 24px 20px;
  background: rgba(0,0,0,0.1);
  text-align: center;
  flex-shrink: 0;
  font-weight: bold;
}

/* Precios en las cards */
.package-card .card-footer .price {
  font-size: 1.4rem;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
}

/* Precio original tachado */
.package-card .old-price {
  color: #888;           
  font-size: 1rem;     
  text-decoration: line-through;
}

/* Precio con descuento */
.package-card .new-price {
  color: #fff;           
  font-weight: bold;
  font-size: 1.4rem;     
}

.savings {
  color: #5d2a8c;
  font-size: 1.05rem;
  margin-bottom: 5px;
  font-weight: bold;
  letter-spacing: .2px;
}



/* Botón pequeño para cards */
.btn-sm {
  background: #a4508b;
  padding: 10px 24px;
  border-radius: 30px;
  font-size: 0.9rem;
  display: inline-block;
  color: #fff;
  transition: background .3s ease, transform .2s ease;
  font-weight: bold;
  border: none;
  text-decoration: none;
}

/*.package-card.featured .btn-sm {
  background: #fff;
  color: #2a2a2a;
}*/

.btn-sm:hover {
  background: #5d2a8c;
  transform: scale(1.05);
}

/* Hover de las cards no destacadas */
/*.package-card:not(.featured):hover {*/
.package-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6);
}

.package-card.featured:hover {
  transform: translateY(-12px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6);
}


/* Ajuste del contenedor en pantallas pequeñas */
@media (max-width: 720px) {
  .container {
    width: 100%;
    padding-left: 12px;
    padding-right: 12px;
    max-width: 100%;
  }

  .packages--highlight {
    padding: 20px 20px;
  }

  .packages__inner {
    flex-direction: column;
    align-items: center;
    margin-top: 0;
  }

  .package-card {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
  }

  .package-card.featured {
    transform: translateX(-100px) translateY(0) scale(1);
  }

  .package-card:hover {
    transform: translateY(0) scale(1.05);
  }
  
  .package-card.featured:hover {
    transform: translateY(0);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6);
  }
}



/* Ajuste del contenedor en pantallas pequeñas */
@media (min-width: 720px) and (max-width: 920px)  {
  .container {
    width: 100%;
    padding-left: 12px;
    padding-right: 12px;
    max-width: 60%;
  }

  .packages--highlight {
    padding: 20px 20px;
  }

  .packages__inner {
    flex-direction: column;
    align-items: center;
    margin-top: 0;
  }

  .package-card {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
  }

  .package-card.featured {
    transform: translateX(-100px) translateY(0) scale(1);
  }

  
  .package-card:hover {
    transform: translateY(0) scale(1.05);
  }
  
  .package-card.featured:hover {
    transform: translateY(0);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6);
  }
}





/* Botones */
.btn {
  background: linear-gradient(45deg, #5d2a8c, #a4508b);
  color: #fff;
  border: none;
  padding: 12px 25px;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn:hover {
  background: linear-gradient(45deg, #a4508b, #5d2a8c);
  transform: scale(1.05);
}

.btn.clicked {
  transform: scale(0.95);
}

/* Botón secundario */
/*.btn-secondary {
  background: linear-gradient(45deg, #4b6cb7, #8a2be2);
  color: #fff;
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: bold;
  transition: transform 0.2s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-secondary:hover {
  transform: scale(1.05);
}*/






.testimonials {
  background: #121212;
  padding: 60px 10px 40px 10px;
  border-radius: 18px;
  margin: 30px 0;
  box-shadow: 0 6px 30px rgba(0,0,0,0.10);
  text-align: center;
}
.testimonials-title {
  color: #a4508b;
  font-size: 2rem;
  margin-bottom: 24px;
  letter-spacing: 1px;
  font-family: 'Orbitron', sans-serif;
}
.testimonials-list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
}
.testimonials-list blockquote {
  background: #232325;
  color: #e0e0e0;
  border-left: 4px solid #5d2a8c;
  padding: 18px 20px;
  border-radius: 12px;
  max-width: 340px;
  min-width: 200px;
  margin: 0;
  font-style: italic;
  box-shadow: 0 2px 4px #5d2a8c30;
  transition: box-shadow 0.3s;
}
.testimonials-list blockquote:hover {
  box-shadow: 0 4px 6px #5d2a8c90;
}
.testimonials-list footer {
  font-size: 0.92rem;
  color: #ccc;
  margin-top: 12px;
  font-style: normal;
  font-weight: bold;
}
.client-logos {
  display: flex;
  gap: 30px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 14px;
}
.client-logos img {
  width: 90px;
  height: auto;
  opacity: 0.85;
  filter: grayscale(1) brightness(1.2);
  transition: filter 0.3s, opacity 0.3s;
}
.client-logos img:hover {
  filter: none;
  opacity: 1;
}
@media (max-width: 900px) {
  .testimonials-list { flex-direction: column; gap: 18px; }
  .client-logos { gap: 14px; }
  .client-logos img { width: 60px; }
}

.fade-in {
  opacity: 1 !important;
  transform: none !important;
  transition: opacity 0.6s, transform 0.6s;
}
.testimonials-list blockquote,
.client-logos img {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s, transform 0.6s;
}







.micro-cta {
  text-align: center;
  margin-bottom: 40px;
  padding: 24px 0;
}







/* Sección Contacto */
.contact {
  margin-top: 10px;
  padding: 110px 20px;
  background: #121212;
  text-align: center;
}

.contact h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: #a4508b;
}

.contact p {
  margin-bottom: 20px;
  color: #e0e0e0;
}

.contact form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.contact textarea {
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #3a3a3a;
  border-radius: 5px;
  background: #2c2c2c;
  color: #e0e0e0;
  resize: vertical;
  min-height: 100px;
  font-family: inherit;
  font-size: 1rem;
}

.contact textarea::placeholder {
  color: #aaa;
}

.contact-highlight {
  color: #fff;
  font-weight: bold;
  display: block;
  margin-top: 10px;
  font-size: 1.08rem;
  letter-spacing: .2px;
}





/* Footer */
.footer {
  background-color: #111;
  color: #aaa;
  text-align: center;
  padding: 30px;
  border-top: 1px solid #333;
}

.footer-watermark {
  opacity: 0.8;
}


/* Estilos para redes sociales */
.socials {
  margin: 10px 0px 20px;
}

.socials a {
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #e0e0e0;
  margin: 0 8px;
  font-size: 1.5rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.socials a:hover {
  color: #a4508b;
  transform: translateY(-4px) scale(1.2);
}

/* Responsive */
@media (max-width: 900px) {
  .about-us__inner,
  .pulse__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-us__image,
  .pulse__image {
    order: -1;
  }
  .pulse__inner {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }
  .pulse__content,
  .about-us__text {
    max-width: 100%;
  }
  .packages__inner {
    flex-direction: column;
    align-items: center;
  }
}

/* Animación flecha scroll */
@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) rotate(-45deg);
  }
  40% {
    transform: translateY(10px) rotate(-45deg);
  }
  60% {
    transform: translateY(5px) rotate(-45deg);
  }
}
