@import url('https://fonts.googleapis.com/css2?family=Satisfy&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lobster&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;700;800&display=swap');
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  /* font-family: 'Helvetica Neue', sans-serif; */
  /* font-family: 'Montserrat', sans-serif; */
  font-family: 'Manrope', sans-serif;
  background: linear-gradient(to bottom right, #eaf7ff, #d0f0ff);
  color: #111;
  overflow-x: hidden;
}

/* header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 5%;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;

  background: transparent;

  z-index: 1000;
  animation: fadeDown 1.5s ease-out forwards;
}


.logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: bold;
  color: #111;
}

nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

nav a {
  text-decoration: none;
  color: #333;
  font-size: 16px;
  transition: color 0.3s;
}

nav a:hover {
  color: #fff;
}

.nav-button {
  background-color: #111;
  color: white;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.3s;
}

.nav-button:hover {
  background-color: #333;
}

*/

header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 5%;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  background: transparent;
  /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); */
  z-index: 1000;
  animation: fadeDown 1.5s ease-out forwards;
}


.pack{
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 70%;

}

.compania{
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: default;
}

.logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: bold;
  color: #111;
}
/* .logo{

  display: flex;
  
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;

  background-color: #333A48;

  margin-right: 5px;
  padding: 12px;
  border: none;
  border-radius: 20px;

  color: #fff;

} */



.nombre-producto{
  font-family: 'Montserrat', sans-serif;
  color: #333A48;

  font-weight: 500;
}

nav {

  display: flex;
  align-items: center;
  gap: 30px;
}

nav a {
  text-decoration: none;
  color: #333A48;
  font-size: 16px;
  transition: color 0.3s;
}

nav a:hover {
  color: #9b9b9b;
}

.cta-button-empieza {
  background-color: #111;
  color: white;
  /* padding: 1% 5%; */
  border: none;
  /* border-radius: 12px; */
  /* font-size: 16px; */
  cursor: pointer;
  /* transition: background 0.3s; */
  /* text-decoration: none; */

  padding: 10px 20px;
  border-radius: 10px;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.3s;
}
.title-text-content{
  font-family: 'Montserrat', sans-serif;
}

/* HERO SECTION */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;

  padding: 90px 0%;
  min-height: 100vh;
  background: transparent;
}

.hero-text {
  position: absolute;
  bottom: 56%;
  left: 40%;
  max-width: 500px;

  text-align: center;
  animation: fadeDown 1.5s ease-out forwards;
}

.hero-text h1 {
  font-size: 48px;
  margin: 0 0 20px;
}

.hero-text p {
  font-size: 20px;
  margin-bottom: 30px;
}

.cta-button {
  background-color: #111;
  color: white;
  padding: 15px 30px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
  text-decoration: none;
}

.cta-button:hover {
  background-color: #333;
}

.hero-img {
  width: 100%;
  height: 90vh;
  transform: rotate(-5deg);
  animation: fadeInRight 1s ease-out forwards;
}

.hero-img img {

  width: 100%;
  height: 85%;

} 






/* 2da seccion cobro automatico */


.section.whatsapp {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 100px 0%;
  gap: 60px;
  background: transparent;
  /* Estado inicial sin animación */
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1.6s ease-out, transform 1.6s ease-out;
}


.section.whatsapp.animate {
  opacity: 1;
  transform: translateY(0); /* de abajo hacia arriba es más natural que de lado */
  transition: opacity 1.6s ease-out, transform 1.6s ease-out;
}


.section.whatsapp .text-content {
  position: absolute;
  bottom: 30%;
  left: 10%;
  color: #fff;
}

.section.whatsapp .text-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  /* color: #111; */
}

.section.whatsapp .text-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  /* color: #444; */
  margin-bottom: 30px;
}

.title-text-content{
  font-family: 'Montserrat', sans-serif;
}


.section.whatsapp .cta {
  display: inline-block;
  background-color: #111;
  color: #fff;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s;
}

.section.whatsapp .cta:hover {
  background-color: #333;
}

.whatsapp-img {

  width: 100%;

  /* left: 40%; */
  /* height: 1280px; */
  /* background-color: #eee;
  border-radius: 20px; */
  opacity: 0;
  /* animation: fadeInRight 1.2s ease-out forwards; */
  /* animation-delay: 1.6s; */
}

.whatsapp-img video{
  width: 100%;

}



/* .whatsapp-img.animate-img {
  animation: fadeInRight 2.5s ease-out forwards;
  animation-delay: 0.4s;
} */


/* 3ra Seccion whatsapp */

.section.mensajes {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 100px 0%;
  gap: 60px;
  min-height: 190vh;
  background: transparent;
  /* Estado inicial sin animación */
  opacity: 1;
  transform: translateY(50px);
  transition: opacity 1.6s ease-out, transform 1.6s ease-out;
}


.section.mensajes.animate {
  opacity: 1;
  transform: translateY(0); /* de abajo hacia arriba es más natural que de lado */
  transition: opacity 1.6s ease-out, transform 1.6s ease-out;
}

.section.mensajes .text-content{
  position: absolute;
  bottom: 50%;
  left: 5%;
  color: #fff;
}

.section.mensajes .text-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  /* color: #111; */
}

.section.mensajes .text-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  /* color: #444; */
  margin-bottom: 30px;
}

.section.mensajes .cta {
  display: inline-block;
  background-color: #111;
  color: #fff;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s;
}

.section.mensajes .cta:hover {
  background-color: #333;
}

.mensajes-img {
  width: 100%;
  max-height: 90vh;
  /* background-color: #eee;
  border-radius: 20px; */
  opacity: 1;
  /* animation: fadeInRight 1.2s ease-out forwards; */
  /* animation-delay: 1.6s; */
}

.mensajes-img img{
  width: 100%;
  height: 110vh;
  /* height: 1280px; */
}



/* .whatsapp-img.animate-img {
  animation: fadeInRight 2.5s ease-out forwards;
  animation-delay: 0.4s;
} */

/* ANALITICAS */
.section.analytics {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 100px 0%;
  /* min-height: 190vh; */
  gap: 60px;
  background: transparent;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1.6s ease-out, transform 1.6s ease-out;
}

.section.analytics.animate {
  opacity: 1;
  transform: translateY(0);
}

.section.analytics .text-content{
  position: absolute;
  bottom: 65%;
  left: 8%;
}

.section.analytics .text-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #111;
}

.section.analytics .text-content p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #111;
  font-weight: bold;
  margin-bottom: 30px;
}

.section.analytics .cta {
  display: inline-block;
  background-color: #111;
  color: #fff;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s;
}

.section.analytics .cta:hover {
  background-color: #333;
}

.analytics-img {
  width: 100%;
  /* height: 783px; */
  opacity: 1;
}

.analytics-img img {
  width: 100%;
  /* height: 783px; */

}


/* FOOTER */

.footer {
  background-color: #0f0f0f;
  color: #f2f2f2;
  padding: 60px 20px 30px;
  font-family: 'Inter', sans-serif;
}

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

.footer-brand {
  flex: 1 1 300px;
}

.footer-brand h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.footer-brand p {
  font-size: 0.95rem;
  color: #aaa;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  flex: 2 1 600px;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-column h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #fff;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column li {
  margin-bottom: 8px;
}

.footer-column a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #222;
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: #777;
}




/* Animaciones */
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}

/* @keyframes fadeInRight {
  from { opacity: 0; transform: translateX(5px); }
  to { opacity: 1; transform: translateX(0); }
} */

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateY(80px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


@keyframes revealBox {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.96);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.1);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  }
}

.whatsapp-img.animate-img {
  animation: revealBox 2.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0.4s;
}


/* ========================
  Responsive - Móviles
  ======================== */
@media (max-width: 767px) {
  body {
    overflow-x: hidden;
  }

  header {
    overflow-x: hidden;
    position: absolute;
    display: flex;
    justify-content: center;
    text-align: center;
    width: 100%;    
    padding: 1rem;    
    margin-bottom: 2rem;
    align-items: center;
    right: 50%;
  }



  nav {
    display: none; /* Ocultamos el nav en móviles */
  }

  .logo {
    max-width: 100%;
    display: flex;
    font-size: 1.5rem;
    font-weight: bold;

    justify-content: center;
    align-items: center;
    text-align: center;
    
  }


  .hero {
    min-height: 80vh;
    flex-direction: column;
    padding: 2rem 1rem;
    text-align: center;
    margin-top: 1rem;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .cta-button {
    width: 100%;
    font-size: 1rem;
    padding: 0.8rem 1rem;
  }

  .hero-image {
    max-width: 60%;
    /* margin-top: 0.5rem; */
  }
  .hero-image img {
    max-width: 100%;
  }


  .section {
    padding: 2rem 1rem;
    flex-direction: column;

    text-align: center;
  }

  /* .section img {
    max-width: 60%;
    margin-bottom: 2rem;
  } */

  img, .hero-image {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    /* margin: 0 auto; */


  }
  
  .section img {
    max-width: 90%;
    height: auto;
  }

  .section.analytics img{
    max-width: 90%;
    overflow: hidden;
  }

  .footer {
    padding: 1rem;
    font-size: 0.8rem;
  }

  header nav a {
    font-size: 0.9rem;
    /* margin: 0 0.5rem; */
  }
}


/* ========================
   Responsive - Tablets
   ======================== */
@media (min-width: 768px) and (max-width: 1023px) {

  .hero {
    padding: 6rem 2rem;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 3rem;
  }

  .hero-text p {
    font-size: 1.2rem;
  }

  .hero-image {
    max-width: 80%;
    margin-top: 1rem;
  }

  .section {
    padding: 6rem 2rem;
    flex-direction: column;
    text-align: center;
  }

  .section img {
    max-width: 80%;
    margin-bottom: 2rem;
  }

  .footer {
    font-size: 0.9rem;
    padding: 1.5rem;
  }
}