/* =========================
   CONFIGURACIÓN GENERAL
========================= */
*{margin:0;padding:0;box-sizing:border-box;font-family:'Poppins',sans-serif;}
body{background:#0d1017;color:white;}


/* =========================
   NAVBAR
========================= */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background: rgba(132, 2, 2, 0.638);
  backdrop-filter: blur(10px);
  position: fixed;
  width: 100%;
  height: 65px;
  top: 0;
  z-index: 1000;
}


/* =========================
   MENU
========================= */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo:hover {
  opacity: 0.8;
}

@media(max-width:768px){
  .nombre {
    font-size: 16px;
  }

  .subtexto {
    font-size: 10px;
  }

  .logo img {
    width: 40px;
    height: 40px;
  }
}

.nombre {
  letter-spacing: 0.5px;
}

.subtexto {
  opacity: 0.8;
}

/* Imagen */
.logo img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

/* Contenedor Texto */
.logo-texto {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

/* Nombre */
.nombre {
  font-size: 25px;
  font-weight: 700;
  color: white;
}

/* Subtexto */
.subtexto {
  font-size: 18px;
  color: #ccc;
}


/* Lista Menú */
.menu {
  display: flex;
  list-style: none;
  gap: 20px;
}

.menu a {
  text-decoration: none;
  color: white;
  transition: 0.3s;
}

.menu a:hover {
  color: #00d4ff;
}

/* Hamburguesa */
.hamburger {
  display: none;
  font-size: 25px;
  cursor: pointer;
  color: white;
}

/* Menú Responsivo */
@media(max-width:768px){

  .menu {
    position: absolute;
    top: 70px;
    right: 0;
    background: #f204049a;
    flex-direction: column;
    width: 200px;
    text-align: center;
    display: none;
  }

  .menu.active {
    display: flex;
  }

  .menu li {
    padding: 15px 0;
  }

  .hamburger {
    display: block;
  }

}

.menu {
  transition: all 0.3s ease;
}


/* =========================
   HERO PRINCIPAL
========================= */
.hero{
  position: relative;

  width: 100%;
  height: 100vh;

  .overlay{
  backdrop-filter: blur(1px);
}
}

/* Imagen */
.hero img{
  width: 100%;
  height: 100%;
  padding-bottom: 15px;

  object-fit: cover;

  display: block;
}

/* Capa Oscura */
.overlay{
  position: absolute;

  inset: 0;

  background: rgba(0,0,0,0.45);

  z-index: 1;
}

/* Contenido */
.hero-content{
  position: absolute;

  top: 50%;
  left: 8%;

  transform: translateY(-50%);

  z-index: 2;

  max-width: 700px;

  color: rgb(5, 247, 9);
}

/* Título */
.titulo{
  font-size: 3rem;

  font-weight: bold;

  line-height: 1.1;

  margin-bottom: 20px;

  opacity: 0;

  animation:
  aparecerTexto 1.5s ease forwards,
  vaiven 4s ease-in-out infinite;

  animation-delay: 0s, 1.5s;
}
.titulo{
  text-shadow: 0 0 25px rgb(250, 15, 15);
}

/* Descripción */
.descripcion{
  font-size: 1.8rem;

  line-height: 1.7;

  margin-bottom: 35px;

  color: #f0f3f6;

  opacity: 0;

  animation:
  aparecerTexto 2s ease forwards,
  vaiven 5s ease-in-out infinite;

  animation-delay: 0.5s, 2s;
}

/* Botón */
.btn-hero{
  display: inline-block;

  padding: 15px 35px;

  background: #fa1702;

  color: rgb(240, 233, 233);

  text-decoration: none;

  border-radius: 40px;

  font-size: 1rem;

  transition: 0.3s;

  opacity: 0;

  animation:
  aparecerTexto 2.5s ease forwards,
  vaiven 6s ease-in-out infinite;

  animation-delay: 1s, 2.5s;
}

.btn-hero{
  backdrop-filter: blur(10px);

  background: rgb(251, 2, 2);
}

/* Hover Boton */
.btn-hero:hover{
  background: #02f69084;

  transform: scale(1.05);
}

/* Araecer de Izquierda a Derecha */
@keyframes aparecerTexto{

  from{
    opacity: 0;
    transform: translateX(-150px);
  }

  to{
    opacity: 1;
    transform: translateX(0);
  }

}

/* Vaivén Infinito */
@keyframes vaiven{

  0%{
    transform: translateX(0);
  }

  25%{
    transform: translateX(12px);
  }

  50%{
    transform: translateX(0);
  }

  75%{
    transform: translateX(-12px);
  }

  100%{
    transform: translateX(0);
  }

}

/* Hero Responsivo */
@media(max-width:768px){

  .hero{
    height: 55vh;
  }

  .hero-content{
    left: 5%;
    right: 5%;
  }

  .titulo{
    font-size: 2.5rem;
  }

  .descripcion{
    font-size: 1rem;
  }

}


/* =========================
   MARQUESINA
========================= */
.marquesina {
  width: 100%;
  overflow: hidden;
  background: linear-gradient(90deg, #2563eb, #7c3aed, #ec4899);
  color: white;
  padding: 12px 0;
  font-weight: bold;
  position: relative;
}

/* Texto Animado */
.marquesina {
  width: 100%;
  height: 50px;
  overflow: hidden;
  background: #6aff00;
  padding: 10px 0; 
}

/* Contenedor Interno */
.track {
  display: flex;
  gap: 50px;
  width: max-content;
  padding-left: 100%;
  animation: scroll 40s linear infinite;
}

/* Texto */
.track span {
  white-space: nowrap;
  font-weight: bold;
  color: #000;
  font-size: 20px;
}

/* Animación */
@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
  100% {
    transform: translate(-100%, 0);
  }
}

/* Marquesina Responsiva */
@media (max-width:768px){
  .track span {
    font-size: 14px;
  }
}

.track span {
  text-shadow: 0 0 8px rgba(0,0,0,0.5);
}


/* =========================
   CARROUSEL
========================= */
.carousel-fade {
  position: relative;
  width: 100%;
  height: 450px;
  overflow: hidden;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  padding: 15px;
  object-fit: cover;
  filter: brightness(60%);
}

.transparente {
  opacity: 0.6;
}

/* Texto Encima */
.caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
}

.caption h2 {
  font-size: 2.5rem;
}

.caption p {
  margin-top: 10px;
  font-size: 1.2rem;
}

.caption {
  opacity: 0;
  transform: translate(-50%, -40%);
  transition: all 1s;
}

.slide.active .caption {
  opacity: 1;
  transform: translate(-50%, -50%);
}


/* =========================
   CIRCULOS INFORMATIVOS
========================= */
.circulos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding: 60px 20px;
  text-align: center;
}

.item {
  max-width: 220px;
  transition: 0.3s;
}

.item img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid #ff0000;
  transition: 0.3s;
}

/* Hover elegante */
.item:hover img {
  transform: scale(1.1);
  box-shadow: 0 0 20px #a8fa03;
}

.item h3 {
  margin-top: 15px;
}

.item p {
  font-size: 14px;
  color: #ccc;
  margin-top: 5px;
}

/* Circulos Responsivos */
@media(max-width:768px){
  .circulos {
    flex-direction: column;
    align-items: center;
  }
}

.item {
  opacity: 0;
  transform: translateY(30px);
  animation: aparecer 1s forwards;
}

@keyframes aparecer {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.circulos {
  background: linear-gradient(180deg,#011fa2,#0b1120);
}


/* =========================
   BENEFICIOS
========================= */
.beneficios{
background-color: #231a3380;
display:flex;
flex-wrap:wrap;
justify-content:center;
gap:20px;
padding:60px 20px;
}

.beneficio{
background:#312e5f8a;
padding:20px;
border-radius:20px;
width:250px;
text-align:center;
}


/* =========================
   PRECIOS 1
========================= */
.pricing {
  padding: 80px 20px;
  background: #566b02;
  text-align: center;
}

.pricing h2 {
  color: white;
  margin-bottom: 40px;
  font-size: 2rem;
}

/* Contenedor */
.pricing-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* Tarjetas */
.price-card {
  background: #02194d;
  padding: 35px;
  width: 320px;
  border-radius: 20px;
  transition: 0.3s;
  position: relative;
}

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

/* Destacado */
.destacado {
  border: 2px solid #ff7802;
}

/* Etiqueta */
.badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffcc00;
  color: black;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
}

/* Precios */
.precio1 {
  font-size: 1.5rem;
  text-decoration: line-through;
  color: #4e6ff7;
  margin: 10px 0;
}

.precio2 {
  font-size: 2.2rem;
  color: #00d4ff;
  margin: 20px 0;
}

/* Descripción */
.descripcion {
  color: #ccc;
  margin-bottom: 20px;
  line-height: 1.5;
}

/* Lista */
.price-card ul {
  list-style: none;
  padding: 0;
}

.price-card li {
  margin: 10px 0;
  color: #ddd;
}

/* Botón */
.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 25px;
  background: #00d4ff;
  color: white;
  text-decoration: none;
  border-radius: 30px;
  transition: 0.3s;
}

.btn:hover {
  background: #009ec3;
}

/* Precio 1 Responsivo */
@media(max-width:768px){
  .price-card {
    width: 100%;
    max-width: 400px;
  }
}

.price-card:hover {
  box-shadow: 0 0 25px rgba(0,212,255,0.3);
}

.price-card {
  animation: fadeUp 1s ease;
}


/* =========================
   PRECIOS 2
========================= */
.pricing-table {
  padding: 80px 20px;
  background: #026f2e;
  text-align: center;
}

.pricing-table h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 50px;
}

/* Contenedor */
.tabla-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* Tarjetas */
.card-precio {
  background: #111827;
  width: 320px;
  padding: 40px 30px;
  border-radius: 25px;
  position: relative;
  transition: 0.4s;
  overflow: hidden;
}

/* Hover Tarjetas */
.card-precio:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 25px rgba(0,212,255,0.3);
}

/* Etiquetas */
.etiqueta {
  position: absolute;
  top: 20px;
  right: -40px;

  background: #ffd500;
  color: black;

  padding: 10px 50px;

  font-weight: bold;
  transform: rotate(45deg);

  transition: 0.6s;
}

/* Efecto de Girar */
.card-precio:hover .etiqueta {
  transform: rotate(405deg);
}

/* Precio */
.card-precio h3 {
  margin-top: 50px;
  font-size: 2.5rem;
  color: #00d4ff;
}

/* Descripción */
.card-precio p {
  color: #ccc;
  line-height: 1.6;
  margin: 20px 0;
}

/* Lista */
.card-precio ul {
  list-style: none;
  padding: 0;
}

.card-precio li {
  margin: 12px 0;
  color: #ddd;
}

/* Botón */
.card-precio a {
  display: inline-block;
  margin-top: 25px;
  padding: 14px 28px;
  background: #ff0000;
  color: white;
  text-decoration: none;
  border-radius: 30px;
  transition: 0.3s;
}

.card-precio a:hover {
  background: #009ec3;
}

/* Destacado */
.destacado {
  border: 2px solid #00d4ff;
}

/* Precios 2 Responsivos */
@media(max-width:768px){

  .card-precio {
    width: 100%;
    max-width: 400px;
  }

}

/* Hover */
.contenido img:hover {
  transform: scale(1.05);
}

/* Precios 2 Responsivos */
@media(max-width:768px){
  .contenido {
    flex-direction: column;
    text-align: center;
  }

  .contenido img,
  .texto {
    width: 100%;
  }
}

.contenido.reverse {
  flex-direction: row-reverse;
}

.contenido {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.info-section {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 60px 20px;
  flex-wrap: wrap;
  background: #011777;
}


/* =========================
   CUADROS INFORMATIVOS
========================= */
.info-card {
  background: #111827;
  padding: 30px;
  width: 320px;
  border-radius: 20px;
  text-align: center;
  transition: 0.3s;
}

/* Titulo */
.info-card h2 {
  color: white;
  margin-bottom: 15px;
}

/* Texto */
.info-card p {
  color: #ccc;
  line-height: 1.6;
}

/* Hover */
.info-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 20px rgba(0,212,255,0.3);
}

/* Cuadro Responsivo */
@media(max-width:768px){
  .info-card {
    width: 100%;
    max-width: 400px;
  }
}

.info-card {
  border: 1px solid rgba(0,212,255,0.3);
}

.info-card h2 {
  color: #00d4ff;
}


/* =========================
   COMENTARIOS DE CLIENTES
========================= */
.opiniones-slider{
  padding: 80px 20px;
  background: #020617;

  overflow: hidden;
}

/* Título */
.opiniones-slider h2{
  text-align: center;
  color: white;
  font-size: 2.5rem;
  margin-bottom: 50px;
}

/* Contenedor */
.slider{
  width: 100%;
  overflow: hidden;
  position: relative;
}

/* Track */
.slide-track{
  display: flex;
  gap: 25px;

  width: max-content;

  animation: scroll 25s linear infinite;
}

/* Animación */
@keyframes scroll{

  from{
    transform: translateX(0);
  }

  to{
    transform: translateX(-50%);
  }
}

/* Tarjetas */
.opinion{
  width: 350px;

  background: #111827;

  padding: 30px;

  border-radius: 20px;

  text-align: center;

  transition: 0.3s;

  border: 1px solid rgba(255,255,255,0.05);

  box-shadow: 0 0 15px rgba(0,0,0,0.2);
}

/* Hover */
.opinion:hover{
  transform: translateY(-10px);

  box-shadow: 0 0 25px rgba(0,212,255,0.3);
}

/* Texto */
.opinion p{
  color: #cbd5e1;
  line-height: 1.6;
  margin: 15px 0;
}

/* Nombre */
.opinion span{
  color: #00d4ff;
  font-weight: bold;
}

/* Pausa */
.slider:hover .slide-track{
  animation-play-state: paused;
}

/* Comentarios Responsivo */
@media(max-width:768px){

  .opiniones-slider h2{
    font-size: 2rem;
  }

  .opinion{
    min-width: 260px;
  }

}


/* =========================
   BOTÓN WHATSAPP
========================= */
.whatsapp-container{
  position: fixed;
  bottom: 28px;
  right: 70px;
  display: flex;
  align-items: center;
  z-index: 9999;
}

.whatsapp-btn {
  position: fixed;
  bottom: 19px;
  right: 20px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #02fa5d1e;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  animation: breathe 2s ease-in-out infinite;
}

/*Estilos solo al icono whatsapp*/
.whatsapp-btn i {
  color: #05fa2d;
  font-size: 33px;
  animation: beat 2s ease-in-out infinite;
  text-decoration: none;
}

/* Texto lateral */
    .whatsapp-text{
        background: #02fa5d60;
        color: rgb(245, 248, 244);
        padding: 8px 10px;
        border-radius: 30px;
        margin-right: 10px;
        font-size: 12px;
        font-weight: bold;
        box-shadow: 0 4px 10px rgba(6, 6, 6, 0.2);
        animation: moverTexto 2s infinite;
    }

/*Estilos con animation contorno respirando*/
@keyframes breathe {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  }
}

/*Estilos de animacion del icono latiendo*/
@keyframes beat {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}


/* =========================
   FOOTER
========================= */
.footer {
  background: #000209;
  color: #ccc;
  padding: 15px 20px 20px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

.footer-bottom {
  border-top: 1px solid #333;
  margin-top: 30px;
  padding-top: 15px;
  text-align: center;
  font-size: 14px;
}

/* Enlace Desarrollador */
.developer{
  background-color: #111827;

  border-top: 1px solid rgba(255,255,255,0.08);

  padding-top: 15px;

  padding-bottom: 15px;

  font-size: 13px;

  color: #64748b;
}

/* Link */
.developer a{
  color: #8e8f8f;

  text-decoration: none;

  transition: 0.3s;
}

/* Hover */
.developer a:hover{
  color: rgb(6, 245, 213);
}
