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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #fff;
  color: #333;
  line-height: 1.6;
}

.logo {
  width: 250px; /* ajusta según tamaño */
  margin-bottom: 20px;
}


/* Contenedor general */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

/* 1️⃣ Top bar */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #FFA500; /* naranja */
  color: #fff;
  font-weight: 600;
  padding: 15px 0;
  text-align: center;
  z-index: 999;
}

.marquee {
  display: inline-block;
  white-space: nowrap;
  animation: scroll 12s linear infinite;
}

@keyframes scroll {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}
/* 🎨 Hero section */
.hero {
  margin-top: 0px; /* espacio para top bar */
  background: linear-gradient(180deg, #000000, #533500);
  color: #fff;
  text-align: center;
  padding: 140px 20px 100px;
  position: relative;
}

.hero::after {
  content: "";
  background: url('https://www.transparenttextures.com/patterns/cubes.png');
  opacity: 0.1;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero h1 {
  font-size: 3em;
  margin-bottom: 20px;
}

.hero h1 .highlight {
  color: #FFA500;
}

.hero p {
  font-size: 1.2em;
  color: #ddd;
  margin-bottom: 30px;
}

.btn-primary {
  background-color: #FFA500; /* naranja */
  color: #fff;
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
  background-color: #e59400; /* naranja oscuro */
  transform: scale(1.05);
}

/* 3️⃣ General Sections */
.section {
  padding: 30px 20px;
}

.pattern-bg1 {
  background: url('https://www.toptal.com/designers/subtlepatterns/uploads/blizzard.png'); /* pattern sutil */
}

.pattern-bg2 {
  background: url('https://www.ingeniaweb.cl/img/pattern.jpg'); /* pattern sutil */
}

.section h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.4em;
  color: #FFA500;
}

.section p {
  font-size: 1.1em;
  margin-bottom: 15px;
  text-align: center;
}

/* Flex para secciones combinadas */
.flex-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.why-text {
  flex: 1 1 55%;
}

.why-image {
  flex: 1 1 40%;
  text-align: center;
}

.why-image img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Lista limpia con íconos */
.why-text ul {
  list-style: none; /* quitar viñetas */
  padding-left: 0;
  margin-top: 20px;
}

.why-text ul li {
  margin-bottom: 12px;
  font-size: 1.1em;
  position: relative;
  padding-left: 30px;
}

.why-text ul li::before {
  content: "✅";
  color: #FFA500;
  position: absolute;
  left: 0;
  top: 0;
}

/* 5️⃣ Steps */
.step-boxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 20px;
}

.step {
  background-color: #fff;
  border: 2px solid #FFA500;
  border-radius: 10px;
  padding: 25px;
  flex: 1 1 30%;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

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

.step h3 {
  color: #FFA500;
  margin-bottom: 15px;
}

/* 6️⃣ Plans */
.plan-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.plan {
  background-color: #fff;
  border: 2px solid #FFA500;
  border-radius: 12px;
  padding: 25px;
  flex: 1 1 30%;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plan:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.plan h3 {
  color: #FFA500;
}

.plan p strong {
  font-size: 1.6em;
  color: #000;
}

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

.plan ul li {
  margin-bottom: 10px;
  text-align: left;
  padding-left: 20px;
  position: relative;
}

.plan ul li::before {
  content: "✔";
  color: #FFA500;
  position: absolute;
  left: 0;
  top: 0;
}

/* 7️⃣ Diferenciadores */
.differentiators ul {
  list-style: none;
  padding: 0;
  text-align: center;
}

.differentiators ul li {
  margin: 10px 0;
  font-weight: 500;
}

/* 8️⃣ CTA */
.cta {
  text-align: center;
}

.text-center {
  text-align: center;
}

/* Footer */
footer {
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 30px 20px;
  font-size: 0.9em;
}

/* Responsive */
@media (max-width: 1024px) {
  .flex-row {
    flex-direction: column;
  }
  .why-text, .why-image {
    flex: 1 1 100%;
  }
  .step-boxes, .plan-cards {
    flex-direction: column;
  }
  .step, .plan {
    flex: 1 1 100%;
  }
}
/* 🌟 Testimonios */
.testimonials {
  background-color: #f7f7f7;
  text-align: center;
}

.testimonials h2 {
  color: #FFA500;
  margin-bottom: 10px;
}

.testimonials p {
  font-size: 1.1em;
  margin-bottom: 25px;
}

.testimonial-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 10px 0;
  scroll-behavior: smooth;
}

.testimonial-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  flex: 0 0 300px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

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

.testimonial-card p {
  margin-bottom: 10px;
}

.stars {
  color: #FFA500; /* estrellas naranja */
  margin-bottom: 5px;
}

.client-name {
  font-style: italic;
  color: #555;
}
/*demo*/
.demo-cta {
  background-color: #FFA500; /* fondo naranja */
  color: #000; /* texto oscuro */
  padding: 60px 20px;
  border-radius: 10px;
  text-align: center;
}

.demo-cta h2 {
  color: #fff; /* encabezado blanco */
  margin-bottom: 15px;
}

.demo-cta p {
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #fff; /* texto también blanco */
}

.demo-cta .btn-primary {
  background-color: #000; /* botón negro */
  color: #fff; /* texto blanco */
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.demo-cta .btn-primary:hover {
  background-color: #333;
}

#storytelling {
  position: relative;
}

#storytelling::before {
  content: "";
  display: block;
  height: 100px; /* altura barra fija */
  margin-top: -100px; /* desplaza hacia arriba */
  visibility: hidden;
}

.btn-primary {
  cursor: pointer;
}
/* Animación base */
.fade-in, .fade-up, .slide-left, .slide-right, .slide-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}

.fade-in.active {
  opacity: 1;
  transform: translateY(0);
}

.fade-up.active {
  opacity: 1;
  transform: translateY(0);
}

.slide-left.active {
  opacity: 1;
  transform: translateX(0);
}

.slide-right.active {
  opacity: 1;
  transform: translateX(0);
}

.slide-up.active {
  opacity: 1;
  transform: translateY(0);
}

.fade-up {
  transform: translateY(50px);
}

.slide-left {
  transform: translateX(-50px);
}

.slide-right {
  transform: translateX(50px);
}

.slide-up {
  transform: translateY(50px);
}
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(0,0,0,0.4);
}

.whatsapp-float img {
  width: 60%;
  height: 60%;
}
/* Ajuste para mobile */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2em;
    line-height: 1.2;
    word-break: break-word;
  }

  .hero p {
    font-size: 1em;
  }

  .container {
    padding: 0 15px;
  }

  .flex-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .why-image img {
    width: 80%;
    margin-top: 20px;
  }

  .step-boxes {
    flex-direction: column;
    gap: 15px;
  }

  .plan-cards {
    flex-direction: column;
    gap: 15px;
  }

  .btn-primary {
    width: 100%;
    font-size: 1.1em;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 15px;
    right: 15px;
  }
}
/* Popups personalizados */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.popup-content {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  font-family: 'Arial', sans-serif;
}

.popup-content h2 {
  margin-bottom: 10px;
  color: #333;
}

.popup-content p {
  margin-bottom: 20px;
  color: #555;
}

.popup-content .button {
  background-color: #007BFF;
  color: #fff;
  padding: 12px 20px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  display: inline-block;
}

.popup-content .button:hover {
  background-color: #0056b3;
}

.popup-close {
  display: block;
  margin-top: 10px;
  color: #999;
  cursor: pointer;
  font-size: 14px;
}

