*{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;
}


/* LOGO */
.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;
}


/* 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;
}

/* MOBILE */
@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;
}


/* 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);
  }
}

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

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


/* CAROUSEL */
.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 */
.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;
}

/* Responsive */
@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 */
.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;
}

/* PRECIO */
.precio {
  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;
}

/* RESPONSIVE */
@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;
}


/* PRECIOS1 */
.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;
}

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

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

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

  background: #ffd500;
  color: black;

  padding: 10px 50px;

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

  transition: 0.6s;
}

/* EFECTO 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;
}

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

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

}

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

/* RESPONSIVE */
@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 */
.info-card {
  background: #111827;
  padding: 30px;
  width: 320px;
  border-radius: 20px;
  text-align: center;
  transition: 0.3s;
}

/* TÍTULO */
.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);
}

/* RESPONSIVE */
@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{
  min-width: 320px;

  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;
}

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

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

  .opinion{
    min-width: 260px;
  }

}


/* BOTÓN WHATSAPP */
.whatsapp {
  position: fixed;

  bottom: 20px;
  right: 20px;

  width: 65px;
  height: 65px;

  background: #25d366;

  border-radius: 50%;

  display: flex;
  justify-content: center;
  align-items: center;

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

  z-index: 999;

  transition: 0.3s;
}

/* IMAGEN */
.whatsapp img {
  width: 38px;
}

/* HOVER */
.whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 0 25px rgba(37,211,102,0.7);
}

.whatsapp {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37,211,102,0.7);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(37,211,102,0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37,211,102,0);
  }
}


/* 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;
}

.dev {
  text-align: center;
  background: #020617;
  padding: 10px;
}

.dev a {
  font-size: 12px;
  color: #555;
  text-decoration: none;
  transition: 0.3s;
}

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