:root {
  --color-primario: rgb(62, 72, 203);
  --color-primario-oscuro: rgb(39, 50, 209);
  --color-hover: rgb(44, 55, 215);
  --color-fondo-claro: #E0F7FA;
  --color-texto: #212121;
  --color-secundario-claro: #B2EBF2;

  --color-secundario: #222;
}

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #fff;
  color: #333;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem;
}


html {
  scroll-behavior: smooth;
}




/*Boton whatsap*/
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: white;
  font-weight: bold;
  padding: 12px 20px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 999;
  transition: background 0.3s ease;
  font-size: 15px;
}

.whatsapp-float:hover {
  background-color: #1ebd5a;
}

.whatsapp-float i {
  font-size: 22px;
}







/*- NAVEGADOR -----------------------------------------------------------------------------------------------------------------------*/


.navegador {
  width: auto;
  height: 65px;
  /* <-- esto es clave */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: white;
  position: sticky;
  top: 0;
  z-index: 1000;

  /* Sombra más notoria */
  box-shadow: 0 12px 12px rgba(0, 0, 0, 0.2);

  /* Línea inferior sutil (opcional) */
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}


.navegador-links {
  display: flex;
  align-items: center;
}

.navegador-links li {
  margin: 0 10px;
  list-style: none;
}

.navegador-links-elemento {
  text-decoration: none;
  font-size: 15px;
  padding: 10px 5px;
  transition: color 0.3s ease;
  font-weight: 600;
  line-height: 1em;
  color: black;

}

.navegador-links-elemento:hover {
  color: var(--color-hover);
}


.logo {
  width: 170px;
  height: 70px;
  margin-top: 7px;
}
.colorresaltado {
    color: var(--color-hover);
}

.colorresaltado:hover {
    color: var(--color-primario-oscuro);
}

/* Responsive */
@media (max-width: 768px) {
  .navegador-links {
    display: none;
  }
}


/* Botón hamburguesa oculto por defecto */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: black;
  cursor: pointer;
  margin-top: 0px;
}

/* Responsive */
@media (max-width: 1100px) {
  .menu-toggle {
    display: block;
  }

  .navegador {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .navegador-links {
    width: 100%;
    display: none;
    flex-direction: column;
    background-color: var(--color-primario);
    padding: 10px;
    margin-top: 12px;
    border-radius: 8px;
  }

  .navegador-links li {
    margin: 10px 0;
    text-align: center;
  }

  .navegador-links-elemento {
    color: white;
  }

  .navegador-links-elemento:hover {
    color: black;
  }


  .navegador-links.mostrar {
    display: flex;
  }

  .logo {
    width: 150px;
    height: 65px;
    margin-top: 0px;
  }

  .btn-prueba {
    background-color: white;
    color: rgb(48, 64, 201)
  }
}




.btn-prueba {
  background-color: rgb(48, 64, 201);
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-prueba:hover {
  background-color: rgb(40, 54, 180);
  transform: scale(1.05);
}





/*-BANNER INICIAL-----------------------------------------------------------------------------------------------------------------------*/

.hero {
  /* background: #ede7f6; */
  background-color: var(--color-fondo-claro);
  padding: 0.8rem 2rem;
}

.hero-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 3rem;
  flex-wrap: wrap;
}


.hero-text {
  flex: 1;
  min-width: 300px;
  margin-left: 35px;
}

.hero-text h1 {
  font-size: 2.8rem;
  color: var(--color-secundario);
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.25rem;
  color: #444;
  max-width: 550px;
  line-height: 1.3;
  top: 2px;
}

.cta-button {
  display: inline-block;
  margin-top: 0.7rem;
  background: var(--color-primario-oscuro);
  color: white;
  padding: 0.75rem 1.75rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.3s ease;
}

.cta-button:hover {
  background: var(--color-hover);
}

.hero-img {
  flex: 1;
  display: flex;
  justify-content: center;
  min-width: 80px;
}

.hero-img img {
  max-width: 550px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}


@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
    padding: 0 0.5rem;
  }

  .hero-text {
    margin-left: 0;
  }

  .hero-img {
    margin-top: 2rem;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text p {
    font-size: 1rem;
    max-width: 100%;
  }

  .cta-button {
    font-size: 1rem;
    padding: 0.65rem 1.5rem;
  }

  .hero-img img {
    max-width: 90%;
  }
}



/* MOCKUP laptop */
.hero-visual {
  flex: 1.1;
  min-width: 320px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.device-laptop {
  width: min(560px, 100%);
  background: #e8ecf8;
  border-radius: 14px 14px 10px 10px;
  box-shadow:
    0 10px 25px rgba(0, 0, 0, 0.08),
    0 30px 60px rgba(48, 64, 201, 0.12);
  overflow: hidden;
  position: relative;
}

.device-header {
  height: 36px;
  background: #f4f6ff;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
}

.device-header .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d9dde8;
}

.device-screen {
  background: #fff;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.device-screen img {
  width: 100%;
  height: auto;
  display: block;
}

.device-base {
  height: 12px;
  background: linear-gradient(180deg, #dfe5fb, #cbd6ff);
  border-radius: 0 0 10px 10px;
}

/* MOCKUP phone (superpuesto) */
.device-phone {
  position: absolute;
  right: -16px;
  bottom: -16px;
  width: 180px;
  background: #0f1220;
  border-radius: 22px;
  padding: 10px 10px 14px;
  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.18),
    0 18px 48px rgba(48, 64, 201, 0.22);
}

.phone-notch {
  width: 40%;
  height: 10px;
  background: #0f1220;
  border-radius: 0 0 16px 16px;
  margin: 0 auto 8px;
}

.phone-screen {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
}

.phone-screen img {
  width: 100%;
  height: auto;
  display: block;
}



/* Responsive: en móvil primero el texto */
@media (max-width: 950px) {
  .hero-inner {
    flex-direction: column;
    text-align: left;
  }

  .hero-visual {
    width: 100%;
  }

  .device-phone {
    right: -6px;
    bottom: -10px;
    width: 150px;
  }
}


/*-VENTAJAS-----------------------------------------------------------------------------------------------------------------------*/


.section {
  padding: 4rem 2rem;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.card {
  background: white;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: var(--color-primario-oscuro);
  transition: all 0.3s ease;

}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.section.dark {
  background: var(--color-primario-oscuro);
  color: white;
}

.section.light {
  background: var(--color-fondo-claro);
}



/*Responsive total*/
@media(max-width: 415px) {
  .section {
    padding: 1rem 0.5rem;
  }

  .hero-visual {
    min-width: 280px;
  }
}

@media(max-width: 400px) {
  .hero {
    padding: 0.8rem 0.5rem;
  }
}



/*-Nosotros-----------------------------------------------------------------------------------------------------------------------*/

.nosotros-section {
  background-color: var(--color-primario);
  padding: 5rem 2rem;
  color: white;
}

.nosotros-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nosotros-text {
  flex: 1;
  min-width: 280px;
  max-width: 600px;
  padding-left: 1rem;
}

.nosotros-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: white;
}

.nosotros-text p {
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  color: white;
}

.nosotros-img {
  flex: 1;
  display: flex;
  justify-content: center;
  min-width: 280px;
}

.nosotros-img img {
  max-width: 480px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
  .nosotros-content {
    flex-direction: column;
    text-align: center;
  }

  .nosotros-text {
    padding-left: 0;
  }

  .nosotros-img {
    margin-top: 2rem;
  }
}




/*ANIMACION*/
/* Estado inicial */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

/* Estado visible */
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger (retraso según el índice) */
.reveal {
  transition-delay: calc(var(--delay, 0) * 100ms);
}

/* Accesibilidad: sin animaciones si el usuario las desactiva */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}













/*-Precio-----------------------------------------------------------------------------------------------------------------------*/

/* Fondo invertido */
.precios-section {
  background-color: var(--color-primario);
  color: white;
  padding: 3rem 1rem;
  text-align: center;
}

.section-subtitle-precio {
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1rem;
  color: rgb(255, 255, 255);
}

.precios-grid {
  display: flex;
  justify-content: center;
}

.price-card {
  background: #fff;
  color: #333;
  padding: 1.5rem;
  border-radius: 12px;
  max-width: 350px;
  width: 100%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.price-card:hover {
  transform: translateY(-5px);
}

.price-title {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.price-amount strong {
  font-size: 2rem;
  color: var(--color-primario);
}

.price-subtext {
  font-size: 0.9rem;
  color: #555;
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 1rem 2rem 2rem;
  color: #444;
  line-height: 1.6;
}

.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 0.5rem;
}

.price-features li::before {
  content: "\f058";
  /* fa-check-circle */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: var(--color-primario);
  flex-shrink: 0;
}

@media (max-width: 520px) {

  .price-card {
    padding: 0.5rem;
  }

  .price-features {
    margin: 1rem 2rem 2rem;
    line-height: 1.4;
  }

  .price-features li {
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    /* achica un poco el texto */
    flex-wrap: wrap;
    /* permite que el texto baje sin apretar */
  }
}

@media (max-width: 420px) {
  .price-card {
    max-width: 430px;
  }

  .price-features {
    margin: 1rem 0.6rem 2rem;
  }
}

.cta-button {
  background: var(--color-primario);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.cta-button:hover {
  background: #1d6b88;
}

/* Toggle precios */
.toggle-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  gap: 10px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}

.switch input {
  display: none;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 26px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked+.slider {
  background-color: var(--color-secundario);
}

input:checked+.slider:before {
  transform: translateX(24px);
}

.discount {
  background: #ffce00;
  color: #333;
  padding: 2px 5px;
  font-size: 0.75rem;
  border-radius: 4px;
}







/* TUTORIALES */
.section-subtitle {
  color: #5a6473;
  margin-top: -8px;
  margin-bottom: 18px;
}

.yt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.yt-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .06);
  overflow: hidden;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease;
}

.yt-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .1);
}

.thumb-wrap {
  position: relative;
  aspect-ratio: 16/9;
  background: #eef1f8;
  overflow: hidden;
}

.thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.yt-card:hover .thumb {
  transform: scale(1.05);
}

.play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: #ff0033;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(255, 0, 51, .35);
  font-size: 1.35rem;
}

.badge {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: rgba(0, 0, 0, .75);
  color: #fff;
  font-size: .8rem;
  padding: 4px 8px;
  border-radius: 6px;
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.yt-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: #17202a;
  padding: 12px 14px 2px 14px;
}

.yt-desc {
  color: #5a6473;
  font-size: .95rem;
  padding: 0 14px 14px 14px;
}

.yt-actions {
  text-align: center;
  margin-top: 14px;
}

.btn-yt {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ff0033;
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(255, 0, 51, .25);
  transition: transform .08s ease, box-shadow .2s ease;
}

.btn-yt:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(255, 0, 51, .32);
}













/* Footer */

.footer {
  background: var(--color-primario);
  color: white;
  text-align: center;
  padding: 2rem 1rem;
}

.footer-logo {
  width: 110px;
  margin: 0 auto 1rem;
  display: block;
  border-radius: 15px;
  padding: 10px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.social-icons a {
  color: white;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: var(--color-fondo-claro);
}

.footer-text {
  font-size: 0.9rem;
  opacity: 0.8;
}









/*CONTACTO*/
.contact-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: none;
  font-size: 1rem;
  color: #333;
}


.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--color-primario);
}

.contact-form textarea {
  min-height: 120px;
  font-family: inherit;
}

/* Botones */
.cta-button-contacto {
  background: #fff;
  color: var(--color-primario);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
}

.cta-button-contacto:hover {
  background: #e0d1f3;
}

/* Variante alternativa */
.cta-button-contacto.alt {
  background: var(--color-primario);
  color: #fff;
}

.cta-button-contacto.alt:hover {
  background: var(--color-hover);
}





/*TESTIMONIO*/
.testimonial-card {
  display: flex;
  align-items: center;
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.testimonial-img {
  width: 100px;
  height: 100px;
  border-radius: 9999px;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.testimonial-content {
  flex: 1;
}

.testimonial-text {
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #444;
}

.testimonial-name {
  margin-top: 0.5rem;
  font-weight: bold;
  color: var(--color-primario);
  /* Turquesa o violeta */
}


/*CARRUSEL FOTOS*/
.carrusel-container {
  position: relative;
  max-width: 500px;
  margin: auto;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.carrusel {
  display: flex;
  transition: transform 0.4s ease-in-out;
}

.slide {
  min-width: 100%;
  display: none;
}

.slide.active {
  display: block;
}

.carrusel-controls {
  position: absolute;
  width: 100%;
  top: 50%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}

.carrusel-controls button {
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  font-size: 1.5rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 5px;
}