@font-face {
  font-family: 'MiFuente';
  src: url('Baloo2-ExtraBold.ttf')
}

@font-face {
  font-family: 'MiFuente2';
  src: url('Baloo2-Bold.ttf')
}

@font-face {
  font-family: 'MiFuente3';
  src: url('Baloo2-Regular.ttf')
}

body {
  font-family: Mifuente;
  margin: 0;
  padding: 0;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #093F5D;
  color: rgb(0, 0, 0);
  padding: 0.5rem 2rem 0.5rem 1rem;
}

.link-header {
  padding-left: 25px;
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.75rem;
  transition: transform 0.3s ease;
}

.link-header:hover {
  transform: scale(1.03);
  text-decoration: none;
}

.login-button {
    border: 1px solid white;
    color:#ffffff;
    padding:10px 18px;
    border-radius:6px;
    text-decoration:none;
    font-weight:bold;
}

.login-button:hover {
    background:#185b80;
}

.correo {
  margin: 0 0 0 16%;
  display: flex;
  flex-direction: row;
}

.copyright {
  margin: 0 10px 0 18%;
}

footer {
  background-color: #093F5D;
  color: white;
  text-align: center;
  padding: 2rem 4rem;
  display: flex;
  justify-content: start;
}

.iconos-footer {
  display: flex;
  flex-direction: row;
}

.vitrina {
  position: relative;
  height: 700px;
  overflow: hidden;
}

.vitrina-carrusel {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 1;
}

.vitrina-carrusel .slide {
  position: absolute;
  height: 100%;
  width: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
}

.vitrina-carrusel .slide.active {
  opacity: 1;
  z-index: 1;
}

.contenido-slide {
  position: relative;
  z-index: 3;
  display: flex;
/*  background: rgba(0, 0, 0, 0.4);*/
  padding: 2rem 0;
  width: 100%;
  gap: 30px;
  align-items: center;
}

.contenido-slide img {
  display: flex;
  width: 50%;
  height: auto;
  object-fit: cover;
}

.slide2 img{
   width: 35%;
}

.texto-slide {
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 40%;
  color: #f8ab1c;
  font-size: 3rem;
}

.contenido-texto1 {
  width: 40%; 
  line-height: 1; 
  margin-right: 20%;
}

.contenido-texto2 {
  width: 50%; 
  line-height: 1.2;
}

.contenido-texto4 {
  width: 50%; 
  line-height: 1; 
  margin-right: 3%;
}

.texto1 {
  font-size: 6.7rem;
}

.texto2 {
  font-size: 7.3rem; 
  color: white;
}

.texto3 {
  font-size: 5.7rem; 
  color: white;
}

.texto4 {
  font-size: 5.7rem; 
  color: #093F5D;
}

.texto5 {
  color: #093F5D;
}

.texto6 {
  font-size: 6.1rem; color: #f8ab1c;
}

.texto7 {
  color: #f8ab1c; 
  font-size: 5.5rem; 
  line-height: 1; 
  margin-bottom: 0;
}

.texto8 {
  color: white; 
  margin-top: -50px;
}

.texto9 {
  font-size: 4.8rem;
}

.texto10 {
  display: block;
  padding: 0 75px; 
  color: black; 
  font-size: 2.7rem; 
  margin-top: 0;
}

.texto11 {
  display: none;
}

.texto12 {
  display: none;
}

.afiliar {
  font-family: miFuente;
  font-size: 2rem;
  background-color: red;
  color: white;
  border-radius: 25px;
  padding: 15px 30px;
}

.justificar {
  text-align: justify;
  text-align-last: justify;
}

.delineado {
  text-shadow: 
    -1px -1px 0 white,  
     1px -1px 0 white,
    -1px  1px 0 white,
     1px  1px 0 white;
}

.persona-empresa {
  margin: 50px 100px;
  border-top: solid 2px gray;
  border-bottom: solid 2px gray;
}

.botones {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 50px;
}

.botones button {
  font-family: miFuente;
  position: relative;
  width: 750px;
  height: 500px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  font-size: 1.5rem;
  /*box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);*/
  border-radius: 10px;
  cursor: pointer;
  color: rgb(0, 0, 0);
  transition: transform 0.3s ease, background-color 0.3s;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.persona {
  background-image: url(fondo_persona.jpg);
  display: flex;
}

.contenido-persona {
  margin-top: 100px;
  flex: 1;
  display: flex;
  flex-direction: row;
  gap: 0;
}

.contenido-persona img {
  width: 50%;
  height: 100%;
  object-fit: cover;
}

.precio-popup {
  display: flex;
  width: fit-content;
  margin: 0 auto;
}

.col-izquierda {
  margin: 25px 0 0 0;
  font-size: 30px;
  display: flex;
  flex-direction: column;
  align-items: end;
}

.col-derecha {
  margin: 0;
  font-size: 80px;
}

.fila-wsp {
  display: flex;
  justify-content: center;
  gap: 35px;
  margin: 20px 0;
}

.wsp-icon {
  transition: filter 0.3s ease;
}

.wsp-icon:hover {
  filter: brightness(0.75);
}

.boton-comprar {
  height: 40px;
  font-size: 1.5rem;
  background-color: red;
  color: white;
  font-weight: bold;
  text-decoration: none;
  padding: 0px 35px;
  border-radius: 12px;
  transition: filter 0.3s ease;
}

.boton-comprar:hover {
  filter: brightness(0.75);
}

.sello-garantia {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 120px;
}

.sello-garantia img {
  width: 100%;
  height: auto;
}

.semaforo-lista {
  line-height: 1;
  text-align: left; 
  font-size: 0.78rem;
  list-style: none;
  padding-left: 1.5em;
}

.semaforo-lista li {
  font-size: 0.77rem;
  position: relative;
  margin-bottom: 10px;
  padding-left: 17px;
  color: white;
}

.semaforo-lista li::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.semaforo-lista li:nth-child(3n+1)::before {
  background-color: #ed0f04;
}

.semaforo-lista li:nth-child(3n+2)::before {
  background-color: #f8ab1c;
}

.semaforo-lista li:nth-child(3n)::before {
  background-color: #28b630;
}

.empresa {
  background-image: url(fondo_empresa.jpg);
  display: flex;
}

.contenido-empresa {
  margin-top: 100px;
  flex: 1;
  display: flex;
  flex-direction: row;
  gap: 0;
}

.contenido-empresa img {
  width: 50%;
  height: 100%;
  object-fit: cover;
}

.botones button:hover {
  transform: scale(1.05);
}

.franja {  
  font-size: 3rem;
  color: white;
  position: absolute;
  top: 0;
  left: 0;
  height: 70px;
  width: 100%;
  background-color: #093F5D;
}

.popup {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
}

.popup-content {
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 40px;
  border-radius: 15px;
  max-width: 600px;
  width: 80%;
  text-align: center;
  position: relative;
}

.popup-content h2 {
  margin-top: 0;
}

.popup p {
  margin-top: -23px;
}

.close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
}

.boton1 {
  display: none;
}
.boton2 {
  display: block;
}

#resenas-aprobadas {
  background: #f9f9f9;
  padding: 40px 20px 0 20px;
  text-align: center;
}

#resenas-aprobadas h2 {
  font-size: 4rem;
  margin-bottom: 20px;
  color: #093F5D;
}

.contador-resenas {
  font-weight: bold;
  color: #555;
  margin-bottom: 30px;
  font-size: 1.1rem;
  text-align: center;
}

.resenas-wrapper {
  margin: 0 auto;
  width: 90%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  flex-wrap: wrap;
}

#contenedor-resenas {
  display: flex;
  justify-content: center;
  gap: 55px;
  margin: 50px auto;
} 

.resena {
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.9);
  padding: 0 20px 20px 20px;
  width: 325px;
  text-align: left;
}

.resena p {
  font-family: miFuente3;
  font-size: 0.95rem;
  color: #333;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.estrellas {
  color: #f8ab1c;
  font-size: 1.5rem;
  position: relative;
  top: 5px;
  left: 71%;
}

#dejar-resena {
  padding: 0 0 70px 0;
}

.boton:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.formulario-section {
  background-image: url(formulario.png);
  background-size: cover;
  padding: 40px 20px 90px 20px;
  background-color: #f7f7f7;
  text-align: center;
}

.formulario-section h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #333;
}

form {
  max-width: 400px;
  margin: auto;
  display: flex;
  flex-direction: column;
  /*gap: 10px;*/
}

h4 {
  margin: 0;
  font-weight: normal;
  text-align: left;
}

input, textarea {
  margin: 0 0 15px 0;
  font-family: miFuente;
  background-color: rgb(255, 255, 255);
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

textarea {
  resize: none;
}

input::placeholder,
textarea::placeholder {
  font-style: italic;
}

button {
  background-color: #093F5D;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s ease;
}

form > button {
  margin-top: 15px;
}

button:hover {
  background-color: #0b6697;
}

.slide button:hover {
  transform: scale(1.05);
  background-color: #c00c03;
}

.whatsapp-btn {
  line-height: 1.2;
  position: fixed;
  bottom: 40px;
  right: 40px;
  background-color: #29A71A;
  color: white;
  padding: 0 0 0 20px;
  border-radius: 30px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: background 0.3s, transform 0.3s ease;
  z-index: 2;
}

.whatsapp-btn:hover {
transform: scale(1.05);
}

.whatsapp-btn img {
  width: 65px;
  height: 65px;
}
@media (max-width: 1750px) {
  .slide1 > .contenido-slide > div {
    margin: 0 0 110px 45%;
    z-index: 3;
  }
  .slide1 img{
    position: absolute;
    width: 55%;
  }
  .slide2 > .contenido-slide > div {
    margin: 0 35% 25px 0;
    z-index: 3;
  }
  .slide2 img{
    position: absolute;
    width: 65%;
  }
  .resenas-wrapper {
    flex-direction: row;
  }
  .resena {
    width: 200px;
    height: 200px;
  }
  .estrellas {
    left: 53%;
  }
  .botones button {
    height: 370px;
  }
  footer {
    padding: 2rem 2rem;
  }
  .correo {
    margin: 0 0 0 6%;
  }
  .copyright {
    margin: 0 0 0 8%;
  }
}
@media (max-width: 1360px) {
  .botones button {
    height: 250px;
  }
  .slide1 > .contenido-slide > div {
    margin: 0 0 110px 45%;
    z-index: 3;
  }
  .slide1 img{
    position: absolute;
    width: 65%;
  }
  .texto1 {
    font-size: 5.3rem;
  }
  .texto2 {
    font-size: 5.8rem; 
    color: white;
  }
  .texto3 {
    font-size: 4.5rem; 
    color: white;
  }
  .texto4 {
    font-size: 4.5rem; 
    color: #093F5D;
  }
  .contenedor-resenas {
    gap: 5px;
  }
}
@media (max-width: 825px) {
  header {
    flex-direction: row;
    padding: 1rem;
    text-align: justify;
  }
  .link-header {
    display:none;
  }
  header img {
    height: 55px;
  }
  .vitrina {
    height: 400px;
  }
  .contenido-slide {
    display: flex;
    align-items: flex-end;
    height: 400px;
  }
  .texto-slide {
    font-size: 1.5rem;
  }
  .slide1 > .contenido-slide > div {
    margin: 0 0 90px 45%;
    z-index: 3;
    width: 100%;
  }
  .contenido-texto1 {
    width: 40%; 
    line-height: 1; 
    margin-right: 20%;
  }
  .contenido-texto2 {
    width: 100%;
  }
  .slide2 > .contenido-slide > div {
    margin: 0 11% 110px 0;
    z-index: 3;
  }
  .contenido-texto3 {
    width: 70%;
  }
  .slide3 > .contenido-slide > div {
    margin: 0 0 150px 235px;
    z-index: 3;
  }
  .contenido-texto4 {
    margin-right: 7%;
  }
  .slide4 > .contenido-slide > div {
    margin: 0 35px 45px 0;
    z-index: 3;
  }
  .slide1 img{
    position: absolute;
    width: 57%;
  }
  .slide2 img{
    position: absolute;
    width: 57%;
  }
  .slide3 img{
    position: absolute;
    left: -50px;
    width: 55%;
  }
  .texto1 {
    font-size: 3.6rem;
  }
  .texto2 {
    font-size: 3.9rem; 
    color: white;
  }
  .texto3 {
    font-size: 3rem; 
    color: white;
  }
  .texto4 {
    font-size: 3rem; 
    color: #093F5D;
  }
  .texto5 {
    font-size: 2.8rem;
    color: #093F5D;
  }
  .texto6 {
    font-size: 3rem; 
    color: #f8ab1c;
  }
  .texto7 {
    color: #f8ab1c; 
    font-size: 1.9rem; 
    line-height: 1; 
  }
  .texto8 {
    margin: 0 auto;
    font-size: 1.2rem;
    color: white; 
    width: 79%;
  }
  .texto9 {
    font-size: 2.8rem;
  }
  .texto10 {
    padding: 0; 
    color: black; 
    font-size: 1.6rem; 
    margin-top: 0;
  }
  .afiliar {
    font-family: miFuente;
    font-size: 2rem;
    background-color: red;
    color: white;
    border-radius: 25px;
    padding: 15px 30px;
    margin-bottom: 35px;
  }
  .persona-empresa {
    margin: 0;
    width: 100%;
    border: none;
  }
  .botones {
    flex-direction: column;
    padding: 20px;
  }
  .botones button {
    width: 100%;
    height: 400px;
    font-size: 1.2rem;
  }
  .afiliar {
    font-size: 1.2rem;
    padding: 10px 20px;
  }
  .boton-comprar {
    font-size: 1rem;
    padding: 5px 20px;
  }
  .sello-garantia {
    top: -65px;
  }
  .col-izquierda {
    margin-top: 27px;
  }
  .col-izquierda div {
    margin-bottom: 0;
  }
  .popup p {
    margin-top: 0px;
  }
  .boton-comprar {
    font-size: 1.6rem;
    margin: 0 auto;
    padding: 0 20px;
    height: 40px;
    width: 37%;
  }
  .botones-mobil {
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 50px;
  }
  .boton2 {
    display: none;
  }
  .boton1 {
    display: block;
  }
  #contenedor-resenas {
  flex-direction: column;
  justify-content: center;
  gap: 25px;
  margin: 25px auto;
  } 
  .boton.anterior,
  .boton.siguiente {
    width: 100%;
  }
  #resenas-aprobadas h2 {
    font-size: 2rem;
    line-height: 1;
    margin-bottom: -20px;
  }
  .resena {
    width: 450px;
  }
  .estrellas {
    top: 5px;
    left: 79%;
  }
  form {
    width: 90%;
    padding: 0 10px;
  }
  button {
    font-size: 0.9rem;
    padding: 8px;
  }
  .popup-content {
    width: 90%;
    padding: 20px;
  }
  .whatsapp-btn {
    position: fixed;
    bottom: 45px;
    right: 20px;
    padding: 10px 15px;
    font-size: 0.9rem;
  }
  .whatsapp-btn img {
    width: 30px;
    height: 30px;
  }
  footer {
    flex-direction: column;
    align-items: start;
    font-size: 0.7rem;
    padding: 1rem 0.2rem;
  }
  footer > a {
    margin: 0 5px;
  }
  footer > i {
    margin: 0 5px;
  }
  .correo {
    margin: 10px 0 0 15px;
  }
  .copyright {
  margin: 10px auto;
}
}

@media (max-width: 640px) {
  .resena {
    width: 360px;
  }
  .estrellas {
    left: 69%;
  }
  .slide2 img{
    position: absolute;
    width: 73%;
  }
}

@media (max-width: 480px) {
  header img {
    height: 55px;
  }
  .vitrina {
    height: 400px;
  }
  .contenido-slide {
    display: flex;
    align-items: flex-end;
    height: 400px;
  }
  .texto-slide {
    font-size: 1.5rem;
  }
  .slide1 > .contenido-slide > div {
    margin: 0 0 190px 50%;
    line-height: 0.8;
    z-index: 3;
  }
  .contenido-texto2 {
    line-height: 1;
    width: 100%;
  }
  .slide2 > .contenido-slide > div {
    margin: 0 20% 0px 0;
    z-index: 3;
  }
  .contenido-texto3 {
    width: 70%;
  }
  .slide3 > .contenido-slide > div {
    margin: 0 0 50px 120px;
    z-index: 3;
  }
  .contenido-texto4 {
    margin-right: 7%;
  }
  .slide4 > .contenido-slide > div {
    margin: 0 30px 30px 0;
    z-index: 3;
  }
  .slide1 img{
    position: absolute;
    width: 90%;
  }
  .slide2 img{
    position: absolute;
    width: 100%;
  }
  .slide3 img{
    position: absolute;
    left: -100px;
    width: 100%;
  }
  .texto1 {
    font-size: 2.2rem;
  }
  .texto2 {
    font-size: 2.4rem; 
    color: white;
  }
  .texto3 {
    font-size: 1.9rem; 
    color: white;
  }
  .texto4 {
    font-size: 1.9rem; 
    color: #093F5D;
  }
  .texto5 {
    font-size: 2.1rem;
    color: #f8ab1c;
  }
  .texto6 {
    font-size: 2.7rem; 
    color: #093F5D;
  }
  .texto7 {
    margin: 0 0 50px 0;
    color: #f8ab1c; 
    font-size: 2.5rem; 
    line-height: 1; 
  }
  .texto8 {
    display: none;
    font-size: 0.9rem;
    color: white; 
  }
  .texto9 {
    font-size: 2.2rem;
  }
  .texto10 {
    display: none;
    padding: 0; 
    color: black; 
    font-size: 1.6rem; 
    margin-top: 0;
  }
  .texto11 {
    font-size: 2rem;
    color: white; 
    margin-top: -50px;
    display: block;
  }
  .texto12 {
    display: block;
    padding: 0; 
    color: black; 
    font-size: 1.6rem; 
    margin-top: 0;
  }
  .afiliar {
    font-family: miFuente;
    font-size: 2rem;
    background-color: red;
    color: white;
    border-radius: 25px;
    padding: 15px 30px;
    margin-bottom: 35px;
  }
  .persona-empresa {
    margin: 0;
    width: 100%;
    border: none;
  }
  .botones {
    flex-direction: column;
    padding: 20px;
  }
  .botones button {
    width: 100%;
    height: 275px;
    font-size: 1.2rem;
  }
  .afiliar {
    font-size: 1.2rem;
    padding: 10px 20px;
  }
  .boton-comprar {
    font-size: 1rem;
    padding: 5px 20px;
  }
  .sello-garantia {
    top: -65px;
  }
  .col-izquierda {
    margin-top: 27px;
  }
  .col-izquierda div {
    margin-bottom: 0;
  }
  .popup p {
    margin-top: 0px;
  }
  .boton-comprar {
    font-size: 1.6rem;
    margin: 0 auto;
    padding: 0 20px;
    height: 40px;
    width: 37%;
  }
  #contenedor-resenas {
  flex-direction: column;
  justify-content: center;
  gap: 15px;
  margin: 25px auto;
  } 
  .boton.anterior,
  .boton.siguiente {
    width: 100%;
  }
  #resenas-aprobadas h2 {
    font-size: 2rem;
    line-height: 1;
    margin-bottom: -20px;
  }
  .resena {
    width: 300px;
    height: 180px;
  }
  .estrellas {
    left: 69%;
  }
  form {
    width: 90%;
    padding: 0 10px;
  }
  button {
    font-size: 0.9rem;
    padding: 8px;
  }
  .popup-content {
    width: 90%;
    padding: 20px;
  }
  .whatsapp-btn {
    position: fixed;
    bottom: 45px;
    right: 20px;
    padding: 10px 15px;
    font-size: 0.9rem;
  }
  .whatsapp-btn img {
    width: 30px;
    height: 30px;
  }
  footer {
    flex-direction: column;
    align-items: start;
    font-size: 0.7rem;
    padding: 1rem 0.2rem;
  }
  footer > a {
    margin: 0 5px;
  }
  footer > i {
    margin: 0 5px;
  }
  .correo {
    margin: 10px 0 0 15px;
  }
  .copyright {
  margin: 10px auto;
}
}
@media (max-width: 420px) {
  .estrellas {
    left: 63%;
  }
}
@media (max-width: 370px) {
  .vitrina {
    height: 350px;
  }
  .slide1 > .contenido-slide > div{
    width: 100%; 
    line-height: 0.8; 
    margin: 0 0 175px 30%;
  }
  .slide2 > .contenido-slide > div{
    width: 100%; 
    line-height: 1; 
    margin: 0 0 140px 0;
  }
  .contenido-texto4 {
    margin: 0 8% 6% 0;
  }
  .texto9 {
    font-size: 1.9rem;
  }
  .texto10 {
    padding: 0; 
    color: black; 
    font-size: 1.4rem; 
    margin-top: 20px;
  }
  .slide2 img{
    position: absolute;
    width: 125%;
  }
  .botones button {
    height: 250px;
  }
  .estrellas {
    left: 55%;
  }
  .resena {
    width: 210px;
  }
}