@media(prefers-reduced-motion){
  .hidden-right{
    transition: none;
  
  }
  
  .hidden-left{
    transition: none;
  }
  
  }
  
  .hidden-right{
    opacity: 0;
    filter: blur(5px);
    transform: translateX(-100%);
    transition: all 1s;
  
  }
  
  .show-right{
    opacity: 1;
    filter: blur(0);
    transform: translateX(0);
  }
  
  .hidden-left{
    opacity: 0;
    filter: blur(5px);
    transform: translateX(50px);
    transition: all 1s;
  
  }
  
  .show-left{
    opacity: 1;
    filter: blur(0);
    transform: translateX(0);
  }




body {
  margin: 0;
  font-family: "Poppins","Source Sans Pro", sans-serif;
  /* (20-nov) Como en style3.css y prices.css: que nada que se salga por la derecha deje scroll lateral */
  overflow-x: hidden;

}

#logo {
  height: 10vh;
  z-index: 2;
  margin-left: 20px;
  margin-right: 20px;
  margin-top: 20px;
  margin-bottom: 20px;
  border-radius:7px;
}

header {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

#div-navbar {
  margin: 0 auto;
  text-align: center;
  z-index: 10;
}

.contact-button {
  /* background-color: #32de84; */
  background-color: #8cc3fb;
  border-radius: 30px;
  padding: 15px;
  text-decoration: none;
  color: #fff;
  text-align: center;
}

#button-app {
  text-align: center;
  margin: 0 auto;
}

#navbar {
  list-style-type: none;
  display: flex;
  text-align: center;
  position: relative;
  padding-inline-start: 0px;
  z-index: 10;
}
#navbar li {
  display: block;
  float: left;
  padding: 10px;
  margin: 10px;
  z-index: 10;
  
}

.normal {
  color: black;
  text-decoration: none;
}

#navbar li a:hover {
  color: #c3251d;
  text-decoration: underline;
}

.active {
  color: #c3251d;
  text-decoration: underline;
}

.item{
    z-index: 10;
}
.container{
    display: flex;
    justify-content: space-around;
    
}

.container > .image > img {
    width: 30vw;
    border-radius: 30px;
    
}
.container > .text {
    width: 50vw;
    text-align: center;
    display: flex;
    align-items: center;
    padding: 20px;
    
}

.section-video{
    background-color: #333f4b;
    margin: 0;
    width: 100%;

}

.section-video > h2 {
    color: white;
    text-align: center;
    margin: 0;
    padding: 20px;
}

#ul-app {
    text-align: center;
    margin: 0;
    padding: 20px;
}

#ul-app {
    text-align: center;
    margin: 0;
}


#ul-app  > ul {
    margin-block-start: 0px;
    margin-block-end: 0px;
    padding-inline-start: 0px;
}


#ul-app  > ul > li{
    list-style-type: none;
    text-align: center;
    margin-bottom: 15px;
}


.section-video > .videowrapper > iframe {
    width: 100%;
    height: 100%,
}

#ul-app > ul > li:before {
    content:"\2714\0020";
  }

#row-of-phones > img {
  width: 100vw;
  height: auto;
  margin: 0 auto;
}

#row-of-phones-0 > img{
  width: 500px;
  height: auto;
  display: block;
  margin: 0 auto;
  background-position: contain;

}


@media only screen and (max-width: 299px) {
#row-of-phones > img {
  width: 100vw;
  height: auto;
  margin: 0 auto;
}

#row-of-phones-0 > img{
  width: 70vw;
  height: auto;
  margin: 0 auto;

}

    header {
        background-color: white;
        z-index: 9;
        flex-wrap: wrap;
    }
  #menu {
    display: flex;
    margin-top: 20px;
    text-align: center;
    justify-content: center;
    gap: 5px;
    margin-bottom: 20px;
  }
  .menu-line {
    width: 20px;
    height: 3px;
    background-color: black;
    margin-bottom: 3px;
    margin-top: 3px;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.3s ease;
  }

  .menu-open .menu-line:nth-child(1){
    transform: translateY(6px) rotate(-26deg)

  }

  .menu-open .menu-line:nth-child(2){
   opacity: 0;

  }

  .menu-open .menu-line:nth-child(3){
    transform: translateY(-6px) rotate(26deg)

  }

  #logo {
    height: 5vh;
  }

  #navbar {
    list-style-type: none;
    display: inline-block;
    text-align: center;
    position: relative;
    padding-inline-start: 0px;
    z-index: 10;
  }

  #navbar li {
    float: none;
  }

  .undisplayed {
    display: none;
  }
  .responsivediv{
    width: 100%;
    padding: 5px;
    margin-left: auto;
    margin-right: auto;
    overflow-x: hidden;
    }

    .container{
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        
        
    }

    .section-video > .videowrapper {
        width: 280px;
        height: 157px;
        margin-top: 0px;
        margin-bottom: 20px;
        margin-left: auto;
        margin-right: auto;

    }
    .container > .text {
      width: 50vw;
      order: 2;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      
  }
  .container > .image {
      width: 100%;
      text-align: center;
      order: 1;
      
  }

    .container > .image > img {
      width: 60vw;
      border-radius: 30px;
      
  }

  #div-navbar {
  margin: 0 auto;
  width: 100%;
  text-align: center;
  z-index: 10;
}
}

@media only screen and (min-width: 300px) and (max-width: 900px) {

#row-of-phones > img {
  width: 100vw;
  height: auto;
  margin: 0 auto;
}

#row-of-phones-0 > img{
  width: 70vw;
  height: auto;
  margin: 0 auto;

}
    header {
        background-color: white;
        z-index: 9;
        flex-wrap: wrap;
    }
    #menu {
    display: flex;
    margin-top: 20px;
    text-align: center;
    justify-content: center;
    gap: 5px;
    margin-bottom: 20px;
    z-index: 10;
    
  }
  .menu-line {
    width: 30px;
    height: 3px;
    background-color: black;
    margin-bottom: 3px;
    margin-top: 3px;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.3s ease;
  }

  .menu-open .menu-line:nth-child(1){
    transform: translateY(6px) rotate(-26deg)

  }

  .menu-open .menu-line:nth-child(2){
   opacity: 0;

  }

  .menu-open .menu-line:nth-child(3){
    transform: translateY(-6px) rotate(26deg)

  }

  #logo {
    height: 8vh;
  }

  #navbar {
    list-style-type: none;
    display: inline-block;
    text-align: center;
    position: relative;
    padding-inline-start: 0px;
    z-index: 10;
  }

  #navbar li {
    float: none;
  }

  .undisplayed {
    display: none;
  }
  .responsivediv{
    width: 85%;
    padding: 5px;
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;
    overflow-x: hidden;
    }

    .container{
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;

        
    }
    .container > .text {
        width: 50vw;
        order: 2;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        
    }
    .container > .image {
        width: 100%;
        text-align: center;
        order: 1;
        
    }
    .section-video > .videowrapper {
        width: 280px;
        height: 157px;
        margin-top: 0px;
        margin-bottom: 20px;
        margin-left: auto;
        margin-right: auto;
        padding-bottom: 20px;

    }

    .container > .image > img {
      width: 60vw;
      border-radius: 30px;
      
  }
  #div-navbar {
  margin: 0 auto;
  width: 100%;
  text-align: center;
  z-index: 10;
}
}

@media (min-width: 901px) {
  #logo {
    height: 10vh;
    z-index: 1001;
  }
  #div-navbar {
    display: block;
  }
  #menu {
    display: none;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .responsivediv{
    width: 85%;
    padding: 5px;
    margin-left: auto;
    margin-right: auto;
    overflow-x: hidden;
    }

    .section-video > .videowrapper > iframe {
        width: 560px;
        height: 315px;
        margin-top: 0px;
        margin-bottom: 20px;
        margin-left: auto;
        margin-right: auto;

    }

    .section-video > .videowrapper {
        width: 560px;
        margin-top: 0px;
        margin-bottom: 20px;
        margin-left: auto;
        margin-right: auto;

    }

}

#button-app-1 {
  text-align: center;
  margin: 0 auto;
}

#button-app-2 {
  text-align: center;
  margin: 0 auto;
}

#button-app-3 {
  text-align: center;
  margin: 0 auto;
}

#button-app-4 {
  text-align: center;
  margin: 0 auto;
}

#button-app-5 {
  text-align: center;
  margin: 0 auto;
}


.contact-button-final {
  /* background-color: #32de84; */
  background-color: #8cc3fb;
  border-radius: 30px;
  padding: 15px;
  text-decoration: none;
  color: #fff;
  text-align: center;
  display: inline-block;

}

.contact-button-margin-bottom {
  /* background-color: #32de84; */
  background-color: #8cc3fb;
  border-radius: 30px;
  padding: 15px;
  text-decoration: none;
  color: #fff;
  text-align: center;
  margin-bottom: 20;
  display: inline-block;
}


/* (11-nov) Navbar con 10 elementos: menos separación y sin partir los textos en dos líneas */
@media (min-width: 901px) {
  #navbar li {
    padding: 10px 6px;
    margin: 10px 4px;
  }
  #navbar li a {
    white-space: nowrap;
  }
}

/* (11-nov) "Nuestra plataforma" y "La app de tu restaurante" en dos líneas solo en escritorio */
@media (max-width: 900px) {
  .solo-escritorio {
    display: none;
  }
}

/* (11-nov) Elementos del menú centrados verticalmente (los de dos líneas son más altos) */
@media (min-width: 901px) {
  #navbar {
    align-items: center;
  }
  #navbar li a {
    display: inline-block;
    text-align: center;
  }
}

/* ---------- (11-nov) Tarjetas compactas de funciones (página TPV) ---------- */
/* Primera versión, en rejilla de 4 columnas (no gustó):
.tarjetas {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.tarjeta {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e3e8ee;
  border-radius: 18px;
  padding: 14px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .06);
}
.tarjeta-img {
  display: block;
  width: 100%;
  height: 340px;
  padding: 12px 0;
  border: 0;
  border-radius: 12px;
  background: #eef3f8;
  cursor: zoom-in;
  box-sizing: border-box;
}
.tarjeta-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
}
.tarjeta h3 {
  font-size: 1.05rem;
  margin: 14px 0 6px;
}
.tarjeta p {
  font-size: .9rem;
  line-height: 1.45;
  margin: 0;
  color: #333;
}
@media (max-width: 1100px) {
  .tarjetas { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .tarjetas { grid-template-columns: repeat(2, 1fr); gap: 14px; padding: 0 14px; margin: 24px auto; }
  .tarjeta { padding: 10px; border-radius: 14px; }
  .tarjeta-img { height: 240px; padding: 8px 0; }
  .tarjeta h3 { font-size: .95rem; margin: 10px 0 4px; }
  .tarjeta p { font-size: .8rem; }
}
*/

/* Segunda versión: como las secciones originales (imagen a un lado y texto al otro,
   alternando), pero en tarjetas pequeñas, una por fila */
.tarjetas {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 860px;
  margin: 40px auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.tarjeta {
  display: flex;
  align-items: center;
  gap: 28px;
  background: #fff;
  border: 1px solid #e3e8ee;
  border-radius: 18px;
  padding: 16px 28px 16px 16px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .06);
}
.tarjeta:nth-child(even) {
  flex-direction: row-reverse;
  padding: 16px 16px 16px 28px;
}
/* Título y texto juntos en un bloque, al otro lado de la imagen */
.tarjeta-texto {
  flex: 1;
  min-width: 0;
}
.tarjeta-img {
  flex: none;
  width: 150px;
  height: 260px;
  padding: 10px 0;
  border: 0;
  border-radius: 12px;
  background: #eef3f8;
  cursor: zoom-in;
  box-sizing: border-box;
}
.tarjeta-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}
.tarjeta h3 {
  font-size: 1.25rem;
  margin: 0 0 8px;
}
.tarjeta p {
  font-size: .95rem;
  line-height: 1.5;
  margin: 0;
  color: #333;
}
@media (max-width: 900px) {
  .tarjetas { gap: 12px; padding: 0 12px; margin: 24px auto; }
  .tarjeta, .tarjeta:nth-child(even) { gap: 14px; padding: 10px; border-radius: 14px; }
  .tarjeta-img { width: 100px; height: 190px; padding: 6px 0; }
  .tarjeta h3 { font-size: 1rem; margin-bottom: 4px; }
  .tarjeta p { font-size: .82rem; line-height: 1.4; }
}

/* Captura en grande al pulsar una tarjeta */
.visor {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .85);
  cursor: zoom-out;
}
.visor[hidden] { display: none; }
.visor img {
  max-width: 92vw;
  max-height: 92vh;
  border-radius: 16px;
}

/* (11-nov) Página TPV: distribución original pero con las capturas algo más pequeñas
   (antes 30vw en escritorio y 60vw en móvil). Solo afecta a .funciones-tpv (TPV)
   y .funciones-app (App para tu restaurante). */
.funciones-tpv .container > .image > img,
.funciones-app .container > .image > img {
  width: 20vw;
  max-width: 280px;
}
@media only screen and (max-width: 900px) {
  .funciones-tpv .container > .image > img,
  .funciones-app .container > .image > img {
    width: 45vw;
  }
}
