@import url("https://fonts.googleapis.com/css2?family=Bad+Script&family=Jacquarda+Bastarda+9&family=Micro+5&family=Poppins:wght@300;400;600;700&display=swap");

@font-face {
  font-family: "Caxton";
  src: url("Caxo.otf") format("opentype");
}

:root {
  --padding-container: 100px 0;
  --color-title: #001a49;
  --color-text: rgb(87, 87, 86);

  --color-1: #e94e1b;
  --color-2: #0bbefa;
}

body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

.container {
  width: 90%;

  margin: 0 auto;
  overflow: hidden;
  padding: var(--padding-container);
}

.hero {
  width: 100%;
  height: 100vh;
  min-height: 600px;
  max-height: 1000px;
  position: relative;
  display: grid;
  /*Crear dos filas una de 100px y la otra que tome el contenido sobrante*/
  grid-template-rows: 100px 1fr;
  color: rgb(255, 255, 255);
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(180deg, #0000008c 0%, #0000008c 100%),
    url(../images/fondohome.jpg);
  background-size: cover;
  /*clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 95%, 0 80%);
    /*indica el orden de un elemento posicionado y sus descendientes.*/
  z-index: -1;
}

/* Nav */

.nav {
  --padding-container: 0;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav__title {
  .Logo {
    position: absolute;
    left: 1rem;
    top: -3%;
    height: 20%;
  }
}

.nav__link {
  margin-left: auto;
  padding: 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  gap: 2em;
}

.nav__items {
  list-style: none;
}

.nav__links {
  color: #fff;
  text-decoration: none;
}

.nav__menu {
  margin-left: auto;
  cursor: pointer;
  display: none;
}

.nav__img {
  display: block;
  width: 30px;
}

.nav__close {
  display: var(--show, none);
}

/* Hero container */

.hero__container {
  max-width: 800px;
  --padding-container: 0;
  display: grid;
  grid-auto-rows: max-content;
  align-content: center;
  gap: 1em;
  padding-bottom: 100px;
  text-align: center;
}

.hero__title {
  font-size: 4.5rem;
  font-family: "Caxton", sans-serif;
}

.hero__paragraph {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.cta {
  height: 4rem;
  width: 9rem;
  display: inline-block;
  background-color: rgb(233, 78, 27);
  justify-self: center;
  color: #fff;
  text-decoration: none;
  padding: 13px 30px;
  border-radius: 32px;
  font-family: "Caxton", sans-serif;
  font-size: 1.5rem;
}

/* About */

.about {
  text-align: center;
}

.subtitle {
  color: var(--color-title);
  font-size: 2rem;
  margin-bottom: 25px;
}

.about__paragraph {
  line-height: 1.7;
}

.about__main {
  padding-top: 80px;
  display: grid;
  width: 90%;
  margin: 0 auto;
  gap: 1em;
  overflow: hidden;
  grid-template-columns: repeat(auto-fit, minmax(260px, auto));
}

.map__icons {
  display: grid;
  gap: 1em;
  justify-items: center;
  width: 260px;
  overflow: hidden;
  margin: 0 auto;
}

.map__icon {
  color: #e94e1b;
  width: 40px;
}

.form-box {
  display: grid;
  margin: 0 25% 0 25%;
  justify-content: center;
  align-items: center;
}

.button-box {
  display: flex;
  position: relative;
  background-color: #f0f0f0;
  border-radius: 30px;
  width: 208px;
  height: 50px;

  align-items: center;
}

.toggle-btn {
  flex: 1;
  height: 100%;
  background: none;
  border: none;
  font-size: 16px;
  font-weight: bold;
  color: #000000;
  cursor: pointer;
  z-index: 1;
  transition: color 0.4s ease;
}

#btn {
  position: absolute;
  width: 98px;
  height: 100%;
  background-color: #ffffff;
  border-radius: 30px;
  transition: 0.3s ease;
  z-index: 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.form-box2 {
  padding-top: 10px;
  display: grid;
  margin: 0 25% 0 25%;
  justify-content: center;
  align-items: center;
}

.button-box2 {
  display: flex;
  position: relative;

  background-color: #f0f0f0;
  border-radius: 30px;
  width: 300px;
  height: 50px;
  align-items: center;
}

.toggle-btn2 {
  flex: 1;
  height: 100%;
  background: none;
  border: none;
  font-size: 16px;
  font-weight: bold;
  color: #000000;
  cursor: pointer;
  z-index: 1;
  transition: color 0.4s ease;
}

#btn2 {
  position: absolute;
  width: 96px;
  height: 100%;
  background-color: #ffffff;
  border-radius: 30px;
  transition: 0.3s ease;
  z-index: 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.active-left {
  color: #fff;
}

.active-right {
  color: #000;
}

/*payment*/

@keyframes move_wave {
  0% {
      transform: translateX(0) translateZ(0) scaleY(1);
  }
  50% {
      transform: translateX(-25%) translateZ(0) scaleY(0.55);
  }
  100% {
      transform: translateX(-50%) translateZ(0) scaleY(1);
  }
}

.waveWrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 190px; 
    overflow: visible;
}

.waveWrapperInner {
  position: absolute;
  width: 100%;
  overflow: hidden;
  height: 100%;
  bottom: -1px;
  background-image: linear-gradient(to top, #e94e1b 100%, #ffffff 80%);
}

/* QUITAMOS waveTop */
.bgMiddle {
  z-index: 10;
  opacity: 0.75;
}

.bgBottom {
  z-index: 5;
}

.wave {
  background-color: #e94e1b;
  position: absolute;
  left: 0;
  width: 200%;
  height: 100%;
  background-repeat: repeat no-repeat;
  background-position: 0 bottom;
  transform-origin: center bottom;
}

/* Middle y Bottom */
.waveMiddle {
    background-image: url('https://front-end-noobs.com/jecko/img/wave-mid.png');
}

.waveBottom {
    background-image: url('https://front-end-noobs.com/jecko/img/wave-bot.png');
}

.waveAnimation .waveMiddle {
  animation: move_wave 10s linear infinite;
}

.waveAnimation .waveBottom {
  animation: move_wave 15s linear infinite;
}


.payment-banner {
  background: #e94e1b; /* Fondo sólido */
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white; /* Letras blancas */
  text-align: center;
  padding: 0px;
  position: relative;
  width: 100%;
  overflow: visible;
 
}

.subtitle01
{
  align-items: start;
  color: #fff;
  font-size: 2.5rem;
  line-height: 1.5;
  margin: 0px 0px 130px;
} 
.subtitle02
{
  color: #000000;
  font-size: 2rem;
}
/* Para pantallas medianas */
@media (max-width: 1024px) {
  .subtitle01 { font-size: 2rem; }
  .subtitle02 { font-size: 1.8rem; }
}

/* Para pantallas pequeñas */
@media (max-width: 710px) {
  .subtitle01 { font-size: 1.6rem; }
  .subtitle02 { font-size: 1.3rem; }
}
.unete_text{
  margin: 0 0 8;
  font-size: 2.1rem;
  font-family: "Caxton", sans-serif;
}
.knowledge {
  background-color: #bdbcbc;

  background-size: 28px 28px;
  background-position: 0 0, 14px 14px;
  overflow: hidden;
}

.test__button{
  
    
    display: inline-block;
    background-color: rgb(233, 78, 27);
    justify-self: center;
    color: #fff;
    text-decoration: none;
    padding: 13px 30px;
    border-radius: 32px;
    
    
  
}
.payment__element {
  min-width: 337px;
  width: 360px;
  background-color: #fff;
  text-align: center;
  border-radius: 10px;
  padding: 20px;
  --color-name: #fff;
  --color-plan: #696871;
  --color-price: var(--color-title);
  --bg-cta: #ffffff;
  --color-cta: #1955c5;
  --color-items: rgb(87, 87, 86);
}
.payment_icon--tittle {
  max-width: 270px; /* Tamaño máximo */
  width: 100%; /* Se adapta al contenedor */
  height: auto; /* Mantiene la proporción */
}

/* Media query para pantallas pequeñas */
@media (max-width: 768px) {
  .payment_icon--tittle {
    max-width: 170px; /* Reduce el tamaño en móviles */
  }
}


.payment__icon--tittle1{
width: 6rem;
}

.payment__price {
  font-size: 4rem;
  margin: 0;
}
.knowledge__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1em;
  align-items: center;
}

.knowledge__picture {
  max-width: 500px;
}

.knowledge__paragraph {
  line-height: 1.7;
  margin-bottom: 15px;
}

.knowledge__img {
  width: 100%;
  display: block;
}

.price {
  width: 100%;
  text-align: center;
  margin: 0px auto;
}

.price__table {
  padding-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 2.5em;
  justify-content: space-evenly;
  align-items: center;
  width: 100%;
}

.plan1 {
  padding-top: 0px;
  display: flex;
  flex-wrap: wrap;
  gap: 2.5em;
  justify-content: space-evenly;
  align-items: center;
  width: 100%;
}

.plan2 {
  padding-top: 0px;
  display: grid;
  flex-wrap: wrap;
  gap: 2.5em;
  justify-content: space-evenly;
  align-items: center;
  width: 100%;
}

.price__element {
  min-width: 337px;
  width: 340px;
  background-color: #fff;
  text-align: center;
  border-radius: 10px;
  padding: 20px;
  --color-name: #fff;
  --color-plan: #696871;
  --color-price: var(--color-title);
  --bg-cta: #ffffff;
  --color-cta: #1955c5;
  --color-items: rgb(87, 87, 86);
}


.blue-line {
  height: 4px;
  /* Altura de la línea */
  background-color: var(--color-1);
  /* Color de la línea */
  width: 100%;
  /* Ancho completo del contenedor */
}

.price_tittle {
  gap: 0.5em;

  display: flex;
  align-items: left;
}

.price__icon {
  width: 1.8rem;
}

.globalCon__icon--tittle {
  width: 2.5rem;
}

.price__price {
  margin: 0;
}

.price__table2 {
  padding-top: 100px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  gap: 2rem;
  width: 100%;
  align-items: center;
}

.price__element--best {
  min-width: 115px;
  background-color: #fff;
  text-align: center;
  border-radius: 10px;
  width: 16%;
  padding: 0px;
  --color-name: #fff;
  --color-plan: #696871;
  --color-price: var(--color-title);
  --bg-cta: #ffffff;
  --color-cta: #1955c5;
  --color-items: rgb(87, 87, 86);
}

.blue-line--best {
  height: 4px;
  /* Altura de la línea */
  background-color: var(--color-1);
  /* Color de la línea */
  width: 100%;
  /* Ancho completo del contenedor */
}

.price__name {
  color: #fff;
  margin-bottom: 15px;
  font-weight: 300;
}

.price__price {
  text-align: left;
  font-size: 2rem;
  color: var(--color-price);
}

.price__items {
  margin-top: 35px;
  display: grid;
  gap: 0.7rem;
  font-weight: 300;
  font-size: 1.5rem;
  margin-bottom: 50px;
  color: var(--color-items);
}

.payment__place{
 max-width: 330px;
}

.price__features {
  font-size: 25px;
  display: flex;
  margin: 0;
  color: var(--color-text);
}

.feature_price {
  font-size: 27px;
  margin: 0%;
}

.price__feature {
  margin: 0;
  color: var(--color-text);
}

.button__features {
  display: flex; /* Asegura que el contenido esté alineado */
  align-items:center; /* Centra verticalmente */
  justify-content: center;
  gap: 0.5em;
  padding: 15px; /* Ajuste de padding */
  border-radius: 10px;
  background-color: #3ac15e; /* Verde del botón */
  font-weight: 600;
  color: var(--bg-cta);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  cursor: pointer; /* Hace que todo el div sea clickeable */
  transition: background-color 0.3s ease, color 0.3s ease;
  text-align: center;
  align-items: end;
  
}

/* Para que el enlace tenga el mismo color inicial */
.payment__button {
  align-items: center;
  text-decoration: none;
  color: var(--bg-cta);
  transition: color 0.3s ease;
}

/* Icono dentro del botón */
.globalCon__icon--tittle {
  width: 24px;
  height: auto;
  transition: filter 0.3s ease;
}

/* Estilos al pasar el mouse sobre todo el botón */
.button__features:hover {
  background-color: #2C8C47; /* Verde más oscuro */
}

/* Cambia el color del texto y del icono al hacer hover */
.button__features:hover .payment__button {
  color: yellow; /* Cambia el color del texto */
}

.button__features:hover .globalCon__icon--tittle {
  filter: brightness(0) invert(1); /* Cambia el color del icono si es negro */
}

.payment__cta {
  display: block;
  padding: 20px 0;
  border-radius: 10px;
  text-decoration: none;
  background-color: #3ac15e;
  font-weight: 600;
  color: var(--bg-cta);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.5);
}
.price__cta {
  display: block;
  padding: 20px 0;
  border-radius: 10px;
  text-decoration: none;
  background-color: var(--color-1);
  font-weight: 600;
  color: var(--bg-cta);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.5);
}

/* Payment*/
.payment {
  width: 100%;
  text-align: center;
  margin: 0px auto;
}

.payment__table {
  padding-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 2.5em;
  justify-content: space-evenly;
  align-items: center;
  width: 100%;
}

/* Testimony */

.testimony {
  background-color: rgba(229,
      229,
      231,
      0.7);
  /* Adjust opacity to 0.7 for 70% */

  background-image: radial-gradient(#575756 0.7000000000000001px,
      transparent 0.7000000000000001px),
    radial-gradient(#575756 0.7000000000000001px, #e5e5e7 0.7000000000000001px);
  background-size: 28px 28px;
  background-position: 0 0, 14px 14px;
  overflow: hidden;
}

.testimony__container {
  display: grid;
  grid-template-columns: 50px 1fr 50px;
  gap: 1em;
  align-items: center;
}

.testimony__body {
  display: grid;
  grid-template-columns: 1fr max-content;
  justify-content: space-between;
  align-items: center;
  gap: 2em;
  grid-column: 2/3;
  grid-row: 1/2;
  opacity: 0;
  pointer-events: none;
}

.testimony__body--show {
  pointer-events: unset;
  opacity: 1;
  transition: opacity 1.5s ease-in-out;
}

.testimony__img {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 30%;
}

.testimony__texts {
  max-width: 700px;
}

.testimony__course {
  background-color: rgb(233, 78, 27);
  color: #fff;
  display: inline-block;
  padding: 5px;
}

.testimony__arrow {
  width: 90%;
  cursor: pointer;
}

/* Questions */

.questions {
  text-align: center;
}

.questions__container {
  display: grid;
  gap: 2em;
  padding-top: 50px;
  padding-bottom: 100px;
}

.questions__padding {
  padding: 0;
  transition: padding 0.3s;
  border-radius: 6px;
}

.bottom-line {
  border: 1px solid #121212;
}

.questions__padding--add {
  padding-bottom: 30px;
}

.questions__answer {
  padding: 0 30px 0;
  overflow: hidden;
}

.questions__title {
  text-align: left;
  display: flex;
  font-size: 16px;
  font-weight: bold;
  padding: 30px 0 30px;
  cursor: pointer;
  color: #121212;
  justify-content: space-between;
}

.questions__arrow {
  border-radius: 50%;
  width: 25px;
  height: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: flex-end;
  margin-left: 10px;
  transition: transform 0.3s;
}
.specifications_img{
width: 200px;  
}
.questions__arrow--rotate {
  transform: rotate(180deg);
}

.questions__show {
  margin: 0;
  text-align: left;
  height: 0;
  transition: height 0.3s;
}

.questions__img {
  display: block;
}

.questions__copy {
  width: 60%;
  margin: 0 auto;
  margin-bottom: 30px;
}

/* Footer */

.footer {
  display: flex;
  background-color: #121212;
  width: 100%;

  overflow: hidden;
}

.footer__tittle {
  justify-content: left;
  align-items: left;
}

.Logo__footer {
  position: relative;
  left: 1rem;
  top: -3%;
  max-width: 400px; /* Máximo 400px */
  height: auto; /* Mantiene la proporción */
  width: 100%; /* Se adapta al contenedor */
}

/* Media query para pantallas pequeñas */
@media (max-width: 768px) {
  .Logo__footer {
    max-width: 250px; /* Reduce el tamaño en móviles */
  }
}


.footer__container {
  width: 100%;
  display: grid;
  align-items: center;
  padding-bottom: 50px;
  margin: 0%;

}

.nav--footer {
  justify-content: space-around;
  width: 100%;
  padding-bottom: 20px;
  display: flex;
  gap: 1em;
  height: 100%;
}

.footer__paragraph {
  padding-left: 10px;
  color: #e5e5e7;
}

.nav--footer-item {
  max-width: 450px;
  /* Limita el tamaño máximo a 400px */
  flex: 1 1 100%;
  /* Los elementos pueden crecer, encoger y tomar el 100% del ancho disponible */
}

.nav__link--footer {
  display: grid;
  margin: 0;
  margin-right: 20px;
  flex-wrap: wrap;
  padding-left: 10px;
}

.footer__copyright {
  font-weight: 300;
  color: #fff;
  justify-content: center;
}

.copyright__paragraph {
  max-height: 24px;
  margin: 0;
  font-size: 16px;
  padding: 0;
}

.copyright__symbol {
  max-width: 24px;
  font-size: 20px;
}

.copyright__container {
  align-items: center;
  justify-content: center;
  display: flex;
}

/*Boton Whatsapp*/
/* Contenedor principal */
.whatsapp-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  z-index: 1000;
}

/* Tooltip (mensaje emergente) */
.tooltip {
  background-color: #fff;
  color: #333;
  font-size: 14px;
  padding: 5px 10px;
  border-radius: 12px;
  margin-right: 8px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
  /* Evita que el texto se divida en líneas */
  opacity: 0;
  visibility: hidden;
  position: absolute;
  right: 60px;
  /* Ajusta la distancia desde el botón */
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Botón de WhatsApp */
.whatsapp-button {
  background-color: #25d366;
  border-radius: 50%;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
}

/* Ícono dentro del botón */
.whatsapp-button img {
  width: 40px;
  height: 40px;
}

/* Hover en el botón */
.whatsapp-button:hover {
  background-color: #1ebe5b;
  transform: scale(1.1);
}

/* Mostrar el tooltip al pasar el cursor */
.whatsapp-container:hover .tooltip {
  opacity: 1;
  visibility: visible;
}


/* Estilos del contenedor del botón flotante */
.scrollTop__arrow {
  position: fixed;
  bottom: 20px;
  /* Distancia desde la parte inferior */
  left: 20px;
  /* Distancia desde la izquierda */
  border-radius: 50%;
  /* Hacer el contenedor circular */
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);

  visibility: hidden;
  transition: opacity 0.26s ease, visibility 0s 0.2s;
}

/* Imagen dentro del botón */
.scrollTopBtn__image {
  opacity: 1;
  transform: rotate(180deg);
  width: 50px;
  /* Tamaño de la imagen */
  height: 50px;
}

.scrollTop__arrow.show {
  opacity: 1;
  background-color: #e94e1b;
  /*background-color: #ffffff;*/
  visibility: visible;
  transition: opacity 0.4s ease;
}

/* Efecto hover para el botón */
.scrollTop__arrow:hover {
  opacity: 1;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Media queries */
/*
@media (min-width: 681px) and (max-width: 1199px) {
  .button-box2 {
    left: 38%;
  }
  .button-box {
    margin: 0 15% 0 15%;
  }
}*/
@media (min-width: 681px) and (max-width: 800px) {
  .about__main {
    grid-template-columns: repeat(2, 1fr);
    /* Mantener máximo 2 columnas */
  }
}

@media (min-width: 600px) and(max-width: 991px) {}

@media (max-width: 800px) {
  .nav__menu {
    display: block;
  }

  .nav__link--menu {
    position: fixed;
    background-color: #000;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: 0.7s opacity;
  }

  .nav__link--show {
    --show: block;
    opacity: 1;
    pointer-events: unset;
  }

  .nav__close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 30px;
    cursor: pointer;
  }

  .hero__title {
    font-size: 2.5rem;
  }

  .knowledge__container {
    grid-template-columns: 1fr;
    grid-template-rows: max-content 1fr;
    gap: 3em;
    text-align: center;
  }

  .knowledge__picture {
    grid-row: 1/2;
    justify-self: center;
  }

  .testimony__container {
    grid-template-columns: 30px 1fr 30px;
  }

  .testimony__body {
    grid-template-columns: 1fr;
    grid-template-rows: max-content max-content;
    gap: 3em;
    justify-items: center;
  }

  .testimony__img {
    width: 200px;
    height: 200px;
  }

  .questions__copy {
    width: 100%;
  }

  .footer__container {
    flex-wrap: wrap;
  }

  .nav--footer {
    width: 100%;
    justify-items: center;
  }

  .nav__link--footer {
    width: 100%;
    justify-content: space-evenly;
    margin: 0;
  }

  .footer__form {
    width: 100%;
    justify-content: space-evenly;
  }

  .footer__input {
    flex: 1;
  }
}

@media (max-width: 400px) {
  .Logo__footer {
    max-width: 360px;
  }
}

@media (max-width: 600px) {
  .hero__title {
    font-size: 2rem;
  }

  .hero__paragraph {
    font-size: 1rem;
  }

  .subtitle {
    font-size: 1.8rem;
  }

  .price__element {
    width: 90%;
  }

  .price__element--best {
    width: 90%;
    /* padding: 40px; */
  }

  .price__price {
    font-size: 2rem;
  }

  .testimony {
    --padding-container: 60px 0;
  }

  .testimony__container {
    grid-template-columns: 28px 1fr 28px;
    gap: 0.9em;
  }

  .testimony__arrow {
    width: 100%;
  }

  .testimony__course {
    margin-top: 15px;
  }

  .questions__title {
    font-size: 1rem;
  }

  .footer__title {
    justify-self: start;
    margin-bottom: 15px;
  }

  .nav--footer {
    padding-bottom: 60px;
  }

  .nav__link--footer {
    justify-content: space-between;
  }

  .footer__inputs {
    flex-wrap: wrap;
  }

  .footer__input {
    flex-basis: 100%;
    margin: 0;
    margin-bottom: 16px;
  }

  .footer__submit {
    margin-right: auto;
    margin-left: 0;

    /* 
        margin:0;
        width: 100%;
        */
  }
}