
  * { box-sizing: border-box; margin: 0; padding: 0; }
  body { font-family: 'Segoe UI', sans-serif; background: transparent; color: #333; }

  /* === Header === */
    header {
  background: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 20px 20px;
  overflow: hidden;
}

header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1;
}

    .logo { font-size: 24px; font-weight: bold; color: #4B2E0E; }
    nav a {
      margin: 0 15px; color: #4B2E0E; text-decoration: none;
      font-weight: 600; transition: color 0.3s;
    }
    nav a:hover { color: #6F4E37; }

    /* === Hero con carrusel === */
    .hero {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.fondo-sticky {
  position: relative;
  z-index: 1;
  align-items: center;
  justify-content: center;
}

.fondo-sticky::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('img/fondo.jpeg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.1;
  z-index: -1;
}
@media (min-width: 768px) { .fondo-sticky::before {opacity: 0.1;}}

.carousel {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}
.carousel img {
  position: absolute;
  top: 0; left: 0;
  width: 100vw; height: 300px; object-fit: cover;
  opacity: 0; transition: opacity 1s ease-in-out;
}
.carousel img.active {
  opacity: 1;
  z-index: 0;
}

    .hero-text {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-shadow: 1px 1px 8px #000;
  text-align: center;
  z-index: 2; /* Asegura que esté siempre arriba */
  width: 100%;
}
    .hero-text h1 { font-size: 2.5rem; margin-bottom: 10px;  }
    .hero-text p { font-size: 1.5rem; margin-bottom: 10px; }
    .hero-text button {
      background: #4B2E0E; color: white; padding: 12px 30px;
      border: none; border-radius: 20px; cursor: pointer;
    }

    /* === Sección Recomendaciones === */
    .recomendaciones {
    padding: 40px 0;
    text-align: center;
    }
    
    .recomendaciones h2 {
      color: #4B2E0E; margin-bottom: 20px;
      max-width: 68vw;
      justify-self: center;
    }
    .scroll-productos {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding-left: 10px; /* Opcional, para dar espacio */
  scroll-snap-type: x mandatory;
}


    .producto {
      scroll-snap-align: start;
      width: 180px;
      min-width: 180px;
      background: #fff;
      border-radius: 12px; padding: 15px;
    }
    /* En pantallas grandes (PC), centramos el scroll */
@media (min-width: 768px) {
  .scroll-productos {
    justify-content: center !important;
    overflow-x: hidden; /* Ya no necesitamos scroll horizontal */
    flex-wrap: wrap;    /* Opcional: los productos pueden pasar a segunda línea */
  }
}

    .imgSection {
      width: 100%; border-radius: 10px; height: 160px; object-fit: cover;
    }
    .imgSucursales {
      width: 80%; border-radius: 10px; height: 190px; object-fit: cover;
    }
    .producto h3 { margin-top: 10px; font-size: 1.1rem; }
    .producto p { font-size: 0.9rem; color: #666; }
    .producto .precio { font-weight: bold; margin-top: 5px; }

    /* === Botón general === */
    .btn {
    display: inline-block;
    margin-top: 20px;
    background: #4B2E0E !important;
    color: white !important;
    padding: 12px 24px;
    border-radius: 20px;
    text-decoration: none;
    align-self: center;
}

    /* === Cafeterías cercanas === */
    section.cafeterias h2 {
    justify-self: center;
    text-align: center;
}

    .sucursales-container {
      position: relative;
    }

    .menu-img {
    width: 120px ;
    height: 120px ;
    object-fit: cover;
    border-radius: 50%;
    margin-top: -50px;
    margin-bottom: 10px;
    border: 3px solid white;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
}
    
    .card-sucursales {
      display: flex;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      gap: 16px;
      margin: 60px 13px;
    padding: 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}
    .sucursal {
    scroll-snap-align: start;
    flex-shrink: 0;
    background: white;
    width: 90vw;
    border-radius: 10px;
    padding: 16px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    text-align: center;
}
    .sucursal img {
      width: 100%;
      border-radius: 8px;
      margin-bottom: 10px;
    }

    .flecha {
    position: absolute;
    clip-path: circle(21px at 26px 54px);
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    width: 50px;
    font-size: 52px;
    padding: 8px 12px;
    cursor: pointer;
    z-index: 1;
    border-radius: 0%;
}

    .flecha.izq {
    left: 2px;
}

    .flecha.der {
      right: 10px;
    }

    @media (min-width: 768px) {
      .card-sucursales {
        flex-wrap: wrap;
        justify-content: center;
        overflow-x: hidden;
            
      }

      .sucursal {
        width: calc(33.33% );
        margin: 10px;
      }

      .flecha {
        display: none;
      }
    }

    /* Scrollbar oculto en mobile */
    .card-sucursales::-webkit-scrollbar {
      display: none;
      
    }


    .sucursal h3 { margin: 10px 0; }
    .sucursal button {
      margin: 5px 5px 0 0; padding: 8px 16px;
      background: #4B2E0E; color: white; border: none; border-radius: 10px;
      cursor: pointer;
    }

    /* === Bandeja Ideal / Sala Privada === */
   /* SECCIONES CON ESTILO DE CARD SEPARADAS */
.seccion-card {
      display: grid;
    justify-content: center;
    padding: 50px 20px;
    background-color: #fdf9f4;
    height: max-content;
}

.card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  max-width: 100vw;
  max-height: max-content;
  width: 80vw;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: scale(1.02);
}

.card img {
      width: 50vw;
    height: 25vh;
    object-fit: cover;
    margin: 0 auto 20px;
    display: block;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    transform: rotate(-1deg);
    transition: all 0.3s ease;
}
@media (min-width: 768px) {
  .card img {
        width: 30vw;
    height: 30vh;
}
}

.card img:hover {
  transform: rotate(0deg) scale(1.03);
}

.card h2 {
  font-size: 26px;
  color: #5d3a1a;
  margin-bottom: 15px;
}

.card p {
  color: #6f4e37;
  font-size: 16px;
  margin-bottom: 25px;
}

.btn-card {
  background-color: #d5a67a;
  color: white;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn-card:hover {
  background-color: #bb895e;
}
/* Puntitos indicadores */
.dots-container {
  text-align: center;
  margin-top: 10px;
}

.dots-container .dot {
  height: 10px;
  width: 10px;
  margin: 0 4px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.dots-container .dot.active {
  background-color: #333;
}

/* Animación entrada suave */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


    /* === Reseñas === */
    .reseñas {
      padding: 40px;
      background: #fff4ec;
    }
    .reseñas h2 { color: #4B2E0E; margin-bottom: 20px; }
    .reseña {
      background: #fff; padding: 20px; border-radius: 10px;
      box-shadow: 0 0 8px rgba(0,0,0,0.05);
      margin-bottom: 15px;
    }

/*//////////////////////////  Footer  ////////////////////////////////////*/
footer {
  padding: 30px;
  background: #fff;
  color: white;
  text-align: center;
}
footer a {
  color: #373737; 
  margin: 0 10px;
  text-decoration: none;
}

.logo-img {
  height: 50px;
}
.logo-img-footer{
    height: 120px;
    margin-bottom: -31px;
}
footer p {
    color: #373737;
    margin: 0 10px;
    padding: 20px 0 0;
    text-decoration: none;
}


@media (min-width: 768px) {
    .postsIg {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        justify-content: center;
    }
}

.instagram-media {
    display: grid
;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    justify-content: center;
    padding: 40px;
    background: #fffaf3;
    transform: scale(0.8) !important;
    border-radius: 21px !important;
}

  .instagram-media iframe {
    transform: scale(0.8);
    transform-origin: top left;
    width: 100%;
    height: 100%;
    pointer-events: none; /* evita que se pueda interactuar con ellos */
    border-radius: 12px;
  }
  
  
  /* card nueva */


.scroll-productos {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 40px 0;
  justify-content: flex-start;
  scroll-snap-type: x mandatory;
}

.menu-card {
    width: 180px;
    background-color: white;
    border-radius: 20px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
    padding: 20px 15px;
    text-align: center;
    font-family: sans-serif;
    scroll-snap-align: start;
    flex-shrink: 0;
}

.menu-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-top: -50px;
  margin-bottom: 10px;
  border: 3px solid white;
  box-shadow: 0px 0px 5px rgba(0,0,0,0.2);
}

.menu-title {
  font-weight: bold;
  font-size: 1em;
  margin: 8px 0 4px;
  text-transform: capitalize;
}

.menu-desc {
  font-size: 0.9em;
  color: #444;
  margin: 0;
  line-height: 1.3;
}

.menu-price {
  font-weight: bold;
  font-size: 1em;
  margin-top: 8px;
  color: #222;
}

/* //////////header //////////////////////// */
header {
    box-shadow: none;
    position: sticky;
    top: 0px;
    z-index: 100;
    height: 110px !important;
    padding: 20px 20px 40px;
    overflow: visible;
    background: linear-gradient(to bottom, #ffffff, #ffffff, #ffffff, #ffffff, #ffffff, #ffffff, #ffffff, #ffffff, #ffffee, #ffffee, #ffffffee, #fffd, #fffc, #fffb, #fffa, transparent, transparent, transparent, transparent, transparent, transparent, transparent);
    display: flex;
    justify-content: space-between;
    transition: all ease .5s;
}
header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30px;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}

header.scrolled::after {
  opacity: 1;
}

.logo-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 190px;
}
.logo-container img {
    width: 216px;
    height: 80px;
    position: absolute;
    left: 0;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #000;
}

.logo-img {
  height: 40px;
  margin-left: 10px;
}

nav {
  display: flex;
  gap: 20px;
  margin-top: 10px;
  justify-content: center;
}

nav a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover {
  color: #c89d5b;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
  nav {
    display: none;
    flex-direction: column;
    margin-top: 10px;
  }

  nav.show {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}

.reseñas h2 {
    text-align: center !important;
}
.reseñas {
    padding: 0;
    background: #fff4ec;
}
.postsIg {
    display: flex
;
    overflow-x: scroll;
    width: 100%;
        justify-content: center;
}

.cafeterias h2 {
    justify-self: center;
    text-align: center;
}

/* carrusel */

    .testimonial-card1 {
      background-color: #f9f9f9;
      border-radius: 12px;
      padding: 30px;
      box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
      margin: 0 auto;
      max-width: 700px;
    }

    .stars {
      color: #f5c518;
      font-size: 1.2rem;
      margin-bottom: 10px;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
      filter: invert(1);
    }

  .container.my-5.aos-init.aos-animate {
    background: #fff;
    
}
footer.blockquote-footer.mt-2
 {
    background: #373737ff;
    color: #fff !important;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(0); /* esto las hace negras */
}

/* ///////// */


/* /////////////////// RESEÑAS estilo ////////////////////////// */
.testimonial-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding: 20px;
  font-family: 'Segoe UI', sans-serif;
}

.testimonial-card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  padding: 20px;
  width: 45%;
}

.stars {
  color: #2f57eb;
  font-size: 20px;
  margin-bottom: 10px;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  margin-bottom: 10px;
}

.user-info img {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-text {
  font-size: 14px;
  color: #333;
  margin-bottom: 15px;
}

.reply-box {
  background: #f7f7f7;
  border-radius: 10px;
  padding: 10px;
}

.reply-text {
  font-size: 13px;
  color: #555;
  margin-top: 5px;
}


/* */
.testimonio-card {
      position: relative;
      background: white;
      border-radius: 12px;
      padding: 20px;
      margin: 20px auto;
      width: 100%;
      max-width: 400px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .insta-etiqueta {
      position: absolute;
      top: 0;
      left: 0;
      background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
      color: white;
      font-size: 12px;
      font-weight: bold;
      padding: 5px 10px;
      border-top-left-radius: 12px;
      border-bottom-right-radius: 12px;
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .alumno-etiqueta {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #4285F4; /* Azul Google */
    color: white;
    font-size: 13.5px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 8px 0 8px 0;
    font-family: 'Roboto', sans-serif;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.2px;
}


    .mensaje {
      font-size: 15px;
      color: #333;
      margin-bottom: 15px;
    }

    .autor {
      font-weight: bold;
      text-align: right;
      color: #555;
    }
    .titulosReseñas {
    text-align: center;
    font-size: 25px;
}
.carousel-track {
    display: flex;
    gap: 50px;
    animation: scrollCarousel 30s linear infinite;
    width: max-content;
}

.testimonio-card {
    flex: 0 0 300px;
    background: white;
    border-radius: 10px;
    padding: 51px 20px 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}
.carousel {
    overflow: hidden;
    position: relative;
    width: 100%;
    max-width: 100% !important;
    margin: 0px !important;
    justify-self: anchor-center;
}
/* ////////////////////////////////////////////////////// */
 /*/////////////////////////////// CARROUSEL COMENTARIOS //////////////////////////*/
    .carousel {
  overflow: hidden;
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto 40px;
}

.carousel-track {
  display: flex;
  gap: 20px;
  animation: scrollCarousel 30s linear infinite;
  width: max-content;
}


.insta-etiqueta {
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: white;
  font-size: 12px;
  font-weight: bold;
  padding: 5px 10px;
  border-top-left-radius: 10px;
  border-bottom-right-radius: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

@keyframes scrollCarousel {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.carousel {
    overflow: hidden;
    position: relative;
    width: 100%;
    max-width: 91%;
    margin: 0 auto 40px;
}
.tituloComentarios{
  text-align: center;
}
 /* ////////////////////////////////// */
 .menu-modal {
    position: fixed;
    top: 77px;
    padding: 10px 0px 30px;
    right: 0;
    width: max-content;
    height: max-content;
    background-color: #fffd;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 999;
    border-radius: 10px 0px 0px 10px;
    font-weight: 600;
}

.menu-modal.open {
  transform: translateX(0%);
}

.menu-content {
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.menu-content a {
  text-decoration: none;
  color: #333;
  margin: 10px 0;
  font-size: 18px;
}
/* Ocultar botón menú en desktop */
.menu-toggle {
  display: none;
  font-size: 30px;
  cursor: pointer;
  padding: 10px;
}

/* Mostrar nav en desktop */
.nav-desktop {
  display: flex;
  gap: 20px;
}

/* Responsive: cambiar comportamiento en pantallas pequeñas */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-desktop {
    display: none;
  }

  .menu-modal {
    display: block; /* ya tiene su comportamiento de deslizar */
  }
}



/* ///////////////////////////////////////////// */ 

.carousel-container {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto 3rem;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.carousel-wrapper {
  display: flex;
  transition: transform 0.4s ease-in-out;
  touch-action: pan-y;
}

.carousel-img {
  min-width: 100%;
  height: 250px;
  object-fit: cover;
  display: none;
  border-radius: 12px;
}

.carousel-img.active {
  display: block;
}

.carousel-buttons {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 10px;
  pointer-events: none;
}

.carousel-buttons button {
  background-color: rgba(0,0,0,0.5);
  border: none;
  color: white;
  font-size: 1.8rem;
  padding: 8px 14px;
  border-radius: 50%;
  cursor: pointer;
  pointer-events: all;
  transition: background-color 0.2s;
}

.carousel-buttons button:hover {
  background-color: rgba(0,0,0,0.7);
}
.carousel-buttons button {
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 3.8rem;
    padding: 0px 11px;
    cursor: pointer;
    pointer-events: all;
    clip-path: circle(19px at 49% 60%);
    transition: background-color 0.2s;
}
.carousel-slide {
  position: relative;
  display: none;
  text-align: center;
}

.carousel-slide.active {
  display: block;
}

.carousel-caption {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 1rem;
  max-width: 80%;
}
