/*h1*/
.parkinsans-regular {
    font-family: "Parkinsans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400; /*según la variante */
    font-style: normal;
}
/*h2*/
.poiret-one-regular {
    font-family: "Poiret One", sans-serif;
    font-weight: 400;
    font-style: normal;
  }
  
/*h3*/
.quicksand {
    font-family: "Quicksand", sans-serif;
    font-optical-sizing: auto;
    font-weight: weight;
    font-style: normal;
  }
/*texto botton*/
.montserrat {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: weight;
  font-style: normal;
}

body {
    background-color: #1f2629;
    color: rgb(224, 253, 231);
    margin: 3rem;
}

h2{
    font-family: "Parkinsans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400; /*según la variante */
    font-style: normal;

    display: flex;
  justify-content: center; 
  align-items: center;
    text-align: center;
}
h4{
  font-family: "Parkinsans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400; /*según la variante */
    font-style: normal;
    font-size: 25px;
    color: #94c9f5;
}
.navbar{
  display: flex;
  justify-content: center;
}
.navbarH2{
    margin: 10px;
    font-family: "Parkinsans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400; /*según la variante */
    font-style: normal;
    font-size: 60px;
  justify-content: center; 
  align-items: center;
    text-align: center;
}
.navbarh3{
  font-size: 20px;
  display: block;
}
.quienesSomos {
  background-color: rgb(22, 22, 22);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  flex-wrap: wrap;
  color: white;
  margin-left: 5%;
  margin-right: 5%;
  border-radius: 5px;
}

.quienesTexto {
  flex: 1 1 60%;
  text-align: center;
  font-size: 2rem;
}


  /* Estilo del texto */
  .textoQuienesSomos {
    font-size: 2rem;
    flex: 1; /* Ocupa el espacio disponible */
    text-align: center;
    color: white;
  }

  /* Estilo del botón */
  .buttonQuienesSomos {
    isolation: isolate;
    color: #000000;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 500;
    display: flex;
    justify-content: end;
    align-items: center;
    padding: 12px 48px;
    border-radius: 9999rem;
    background: transparent;
    position: relative;
    
  }

  /* Efecto del fondo del botón */
  .buttonQuienesSomos  .back {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #bd8585;
    background-color: #bd8585;
    color: #000000;
    border-radius: inherit;
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: -1;
  }

  /* Animaciones del botón */
  .botton_turnoyprecio a {
    color: rgb(0, 0, 0);
    margin: 10px;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    text-decoration: none;
    font-size: 15px;
    font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: weight;
  font-style: normal;
  }
  
  .botton_turnoyprecio a:hover {
    transform: scale(1.2);
    color: #5d5e8b;
    font-family: "Quicksand", sans-serif;
    font-optical-sizing: auto;
    font-weight: weight;
    font-style: normal;
    justify-content: center;
  }
  
  .buttonQuienesSomos > .back::before {
    content: "";
    width: 0;
    height: auto;
    aspect-ratio: 1;
    border-radius: 50%;
    background: rgb(255, 255, 255);
    
  }

  /* Efectos de hover y active */
  .buttonQuienesSomos:hover {
    color: rgb(0, 0, 0);
  }

  .buttonQuienesSomos:hover > .back {
    transform: scale(95%);
  }

  .buttonQuienesSomos:hover > .back::before {
    width: 120%;
  }

  .buttonQuienesSomos:active > .back {
    transform: scale(90%);
  }

/*ruts links*/

.rutas_links{
  color: #ffffff;
  font-family: "Quicksand", sans-serif;
    font-optical-sizing: auto;
    font-weight: weight;
    font-style: normal;
    text-decoration: none;
    font-size: 20px;
  display: flex;  
  justify-content: center;
  gap: 2rem;
  list-style: none;
  margin-top: 5rem;
}

.rutas_links a{
  color: #ffffff;
  text-decoration: none;
  position: relative;
  transition: 0.3s ease;
  
}

.rutas_links a::after{
  position: absolute;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.rutas_links a:hover{
  color: #bd8585;
}

.rutas_links a:hover::after{
  transform: scaleX(1);
  transform-origin: left;
}








  .carrito-flotante {
    position: fixed;
    top: 100px;
    right: 20px;
    width: 250px;
    background-color: #2e2e2e;
    border: 2px solid #444;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.4);
    z-index: 999;
    font-family: "Quicksand", sans-serif;
    color: white;
  }
  
  .carrito-flotante h2 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    text-align: center;
  }
  
  .carrito-flotante ul {
    list-style: none;
    padding: 0;
    max-height: 150px;
    overflow-y: auto;
  }
  
  .carrito-flotante button {
    width: 100%;
    background-color: #25D366;
    color: white;
    border: none;
    padding: 10px;
    margin-top: 10px;
    border-radius: 5px;
    cursor: pointer;
  }
  
  .carrito-flotante button:hover {
    background-color: #1ebc5b;
  }
 

/* Estilo para los items de servicio */
.service-item {
  display: block;
  margin: 1rem 0;
}

/* Estilo para los detalles de servicio */
.service-details {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

/* Botón para añadir al carrito */
.add-to-cart {
  background-color: #111;
  color: white;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 10px;
}

.add-to-cart:hover {
  background-color: #333;
}
/*explicacion funcionamiento carrito*/
.explicacion_carrito{
  margin: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center; /* centra el texto dentro del contenedor */
  
  height: 200px; /* o el alto que necesites */
  
  color: #fdfcfc;
  font-size: 1rem;
  font-family: "Quicksand", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
/*lista de precios*/
.accordion {
  margin-left: 5%;
  margin-right: 5%;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  overflow: hidden;
  font-family: "Quicksand", sans-serif;
    font-optical-sizing: auto;
    font-weight: weight;
    font-style: normal;
}

.accordion-header {
  width: 100%;
  text-align: left;
  background: #ddd;
  border: none;
  padding: 10px 15px;
  font-size: 18px;
  cursor: pointer;
  font-weight: bold;
}

.accordion-content {
  display: none;
  padding: 15px;
  background: #1f2629;
}

.accordion-content .service-item {
  margin-bottom: 10px;
}

.accordion-content span {
  display: block;
  margin: 5px 0;
}
.subtitulo {
  grid-column: 1 / -1;
  font-size: 1.2rem;
  font-weight: 600;
  color: #e4dfdf;
  margin: 2rem 0 0.5rem 0;
  border-left: 4px solid rgb(49, 46, 209);
  padding-left: 0.5rem;
}

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

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float img {
  width: 35px;
  height: 35px;
}

.cuadrados{
  margin: 3rem;
  display: flex;
  justify-content: space-around;
  
}

    .cuadro {
      position: relative;
      width: 200px;
      height: 200px;
      background-color: #d2b48c;
      color: #111;
      font-size: 24px;
      font-weight: bold;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      cursor: pointer;
      border-radius: 20px;
      box-shadow: 0 10px 20px rgba(0,0,0,0.1);
      transition: all 0.3s ease-in-out;
    }

    .cuadro::before {
      content: "";
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: #d3d2d1; /* color dorado nude */
      transition: top 0.4s ease-in-out;
      z-index: 1;
    }

    .cuadro:hover::before {
      top: 0;
    }

    .cuadro .texto-frontal {
      position: relative;
      z-index: 2;
      transition: opacity 0.3s ease-in-out;
    }

    .cuadro .frase {
      position: absolute;
      bottom: 20px;
      padding: 0 10px;
      font-size: 25px;
      opacity: 0;
      color: #111;
      text-align: center;
      z-index: 2;
      transition: opacity 0.4s ease-in-out;
    }

    .cuadro:hover .texto-frontal {
      opacity: 0;
    }

    .cuadro:hover .frase {
      opacity: 1;
    }


    .cuadro.activo .texto-frontal {
  opacity: 0;
}

.cuadro.activo .frase {
  opacity: 1;
}

    .final{
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      text-align: center;
      font-size: 25px;
    }

.footer {
  background-color: #111;
  color: white;
  text-align: center;
  padding: 20px;
  font-family: "Quicksand", sans-serif;
    font-optical-sizing: auto;
    font-weight: weight;
    font-style: normal;
    flex-direction: column;
    align-items: center;     /* centra horizontalmente */
    justify-content: center; /* centra verticalmente */
    text-align: center;
    
}

.footer-content {
  display: flex;
  flex-direction: column; /* apila los elementos verticalmente */
  align-items: center;    /* centra horizontalmente */
  gap: 15px;
  margin-bottom: 10px
}

.footer a {
  color: white;
  margin: 0 10px;
  font-size: 1.5rem;
  transition: transform 0.3s ease;
  text-decoration: none;
  font-size: 15px;
}

.footer a:hover {
  transform: scale(1.2);
  color: #5d5e8b;
}

.footer-credit {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #aaa;
}

#carrito {
  position: fixed;
  top: 0;
  
  width: 50%; /* Que ocupe todo el ancho */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color:rgb(22, 22, 22);
  border-bottom: 1px solid rgba(22, 22, 22, 0.164);
  z-index: 9999;

  font-family: "Quicksand", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;

  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  margin: 3%;
  margin-right: 15px;
  border-radius: 3%;

}

#lista-carrito {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 300px; /* o lo que quieras */
  overflow-y: auto;
  overflow-x: hidden; /* <-- esto evita el scroll horizontal */
  word-wrap: break-word; /* para evitar que el texto largo cree overflow */
}

#lista-carrito li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; /* permite que los elementos se ajusten si son muy anchos */
  padding: 8px 0;
}

#whatsapp-btn button {
  margin-top: 10px;
  padding: 10px 20px;
  background-color: #25D366;
  color: rgb(0, 0, 0);
  border: none;
  cursor: pointer;
  border-radius: 5px;
}

#whatsapp-btn button:hover {
  background-color: #1ebc57;
}

/*responsive*/
/* Teléfonos pequeños (hasta 600px) */
@media (max-width: 600px) {
  .navbarH2 {
    font-size: 30px;
  }

  .navbarh3 {
    font-size: 14px;
    text-align: center;
    padding: 0 10px;
  }

  .botton_turnoyprecio {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .buttonQuienesSomos {
    width: 80%;
    justify-content: center;
    padding: 10px 20px;
    font-size: 14px;
    margin: 10px 0;
  }

  .rutas_links {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    font-size: 18px;
  }

  .quienesTexto,
  .textoQuienesSomos {
    font-size: 1.2rem;
    padding: 10px;
  }

  .carrito-flotante {
    width: 90%;
    right: 5%;
    top: 80px;
  }

  #carrito {
    width: 90%;
    flex-direction: column;
    gap: 10px;
  }

  .footer-content {
    font-size: 14px;
  }

  .footer a {
    font-size: 14px;
  }

  .explicacion_carrito {
    font-size: 14px;
    margin: 30px;
    height: auto;
  }
}

/* Tablets (601px a 991px) */
@media (min-width: 601px) and (max-width: 991px) {
  .navbarH2 {
    font-size: 40px;
  }

  .navbarh3 {
    font-size: 16px;
  }

  .buttonQuienesSomos {
    font-size: 14px;
    padding: 10px 30px;
  }

  .rutas_links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
  }

  .quienesTexto,
  .textoQuienesSomos {
    font-size: 1.5rem;
  }

  .carrito-flotante {
    width: 80%;
    right: 10%;
    top: 80px;
  }

  #carrito {
    width: 80%;
    flex-direction: column;
    gap: 10px;
  }
}


@media (max-width: 600px) {
  .cuadrados {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin: 2rem 1rem;
  }

  .cuadro {
    width: 90%;
    height: 180px;
  }
}

@media (max-width: 600px) {
  .footer {
    padding: 10px;
  }

  .footer-content {
    gap: 10px;
  }

  .footer-credit {
    font-size: 0.75rem;
  }
}

@media (max-width: 600px) {
  .quienesSomos {
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
  }
}

@media (max-width: 600px) {
  .accordion-header {
    font-size: 1rem;
  }

  .accordion-content {
    padding: 10px;
    font-size: 14px;
  }
}

@media (max-width: 600px) {
  .add-to-cart {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
  }

  .cuadro .frase {
    font-size: 18px;
    bottom: 10px;
  }

  .final {
    font-size: 18px;
    padding: 10px;
  }
}

h1, h2, h4, .navbarH2 {
  font-family: "Parkinsans", sans-serif;
}

h3, .navbarh3, .rutas_links, .final, .cuadro, .accordion, .footer {
  font-family: "Quicksand", sans-serif;
}

.buttonQuienesSomos, .botton_turnoyprecio a {
  font-family: "Montserrat", sans-serif;
}
