
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.7;
  background-color: #f9f9f9;
  color: #333;
}

.barra-azul {
  background-color: #0033a0;
  /*background-image: url('img/barra-fondo.jpg');*/
  background-position: center;
  height: 60px;
  width: 100%;
  position: relative;
  z-index: 0;
}

.header-wrapper {
  background-color: white;
  border-radius: 15px;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.15);
  width: 90%;
  max-width: 1000px;
  margin: -30px auto 20px auto;
  position: relative;
  z-index: 1;
  padding: 10px 20px;
  
}

.header-rimax {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  justify-content: center;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 25px;
}

.header-left img {
  height: 60px;
  padding: 20px;
}

.menu-btn {
  background-color: #0033a0;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
}

.new-tag {
  background-color: #e60000;
  color: white;
  font-size: 20px;
  padding: 4px 10px;
  border-radius: 6px;
  margin-right: 10px;
  font-weight: bold;
}

.Title-bar h1 {
  color: #0033a0;
  font-size: 25px;
  margin-left: 0px;
}

.header-right {
  display: flex;
  gap: 10px;
  align-items: center;
}

.header-button {
  background-color: #e8e9ec;
  border: none;
  padding: 12px 12px;
  border-radius: 6px;
  color: #0033a0;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 500;
}

.cart-button {
  background-color: #e60000;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
}

.content {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.segments {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 40px 20px;
}

.segment {
  text-align: center;
  width: 30%;
  margin-bottom: 30px;
}

.segment .icon {
  width: 50px;
  height: 50px;
}

.footer {
  background-color: #0033a0;
  color: white;
  padding: 20px;
  font-family: 'Poppins', sans-serif;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.footer-right {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.footer-right img {
  height: 25px;
}

.footer .icon {
  width: 25px;
  height: 25px;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

.footer .icon:hover {
  opacity: 0.7;
}

@media (max-width: 768px) {
  .segment {
    width: 100%;
  }
}



body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f9f9f9;
}

.tarjetas-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  padding: 40px 20px;
  max-width: 1200px;
  margin: auto;
}

.tarjeta {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  width: 300px;
  display: flex;
  flex-direction: column;
}

.tarjeta img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.tarjeta-texto {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tarjeta-texto h3 {
  margin-top: 0;
  color: #333;
  font-size: 18px;
}

.tarjeta-texto p {
  font-size: 15px;
  color: #555;
  flex-grow: 1;
}

.boton-mas {
  margin-top: 20px;
  display: inline-block;
  background-color: #0033a0;
  color: white;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 600;
  text-align: center;
}

.cta {
  text-align: center;
  padding: 30px 0;
}

.cta a {
  background-color: #e60000;
  color: white;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: bold;
}


h1, h2 {
  color: #0033a0;
}

.hero-image {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 20px;
}


.section {
  margin-bottom: 40px;
}

.section img {
  width: 100%;
  border-radius: 10px;
  margin-top: 10px;
}

.ideas-list {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.idea-card {
  background-color: #f5f6fa;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.idea-card h3 {
  margin-top: 0;
  color: #0033a0;
}


.descanso-section {
  display: flex;
  flex-wrap: nowrap;
  background-color: #0033a0;
  border-radius: 12px;
  overflow: hidden;
  margin: 40px auto;
  max-width: 1000px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.descanso-img {
  flex: 1 1 50%;
  max-width: 50%;
}

.descanso-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.descanso-texto {
  flex: 1 1 50%;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #0033a0;
  color: #fafafa;
}

.descanso-texto h2 {
  font-size: 26px;
  margin-bottom: 20px;
  color: #fff;
}

.descanso-texto p {
  font-size: 16px;
  margin-bottom: 30px;
  line-height: 1.6;
}

.descanso-boton {
  background-color: #fafafa;
  color: #0033a0;
  padding: 12px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
  display: inline-block;
}

.descanso-boton:hover {
  background-color: #00a9f2;
}

/* MÓVIL */
@media (max-width: 768px) {
  .descanso-section {
    flex-direction: column;
  }

  .descanso-img, .descanso-texto {
    max-width: 100%;
  }

  .descanso-texto {
    padding: 30px 20px;
    text-align: center;
  }

  .descanso-boton {
    align-self: center;
  }
}



.composiciones-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  margin-top: 20px;
  overflow: hidden;
}

.composiciones-container {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 0;
  scrollbar-width: none;
}

.composiciones-container::-webkit-scrollbar {
  display: none;
}

.compo-card {
  min-width: 260px;
  background-color: #f5f6fa;
  border-radius: 12px;
  padding: 0 0 20px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  flex-shrink: 0;
  color: #0033a0;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

.compo-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.compo-card h3 {
  font-size: 16px;
  margin: 15px 10px 5px;
}

.compo-card p {
  font-size: 14px;
  color: #555;
  margin: 0 10px;
}

.scroll-btn {
  background-color: #0033a0;
  color: white;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 20px;
  cursor: pointer;
  z-index: 2;
}

.scroll-btn.izquierda {
  margin-right: 10px;
}

.scroll-btn.derecha {
  margin-left: 10px;
}

@media (max-width: 768px) {
  .scroll-btn {
    display: none;
  }

  .compo-card {
    min-width: 220px;
  }

  .compo-card img {
    height: 140px;
  }
}


/* RESTO DEL ESTILO */
    .banner {
      position: relative;
      text-align: center;
    }

    .banner-image {
      width: 100%;
      height: auto;
      display: block;
       border-radius: 12px;
    }

    .hotspot {
      position: absolute;
      width: 30px;
      height: 30px;
      background-color: red;
      border-radius: 50%;
      cursor: pointer;
      transform: translate(-50%, -50%);
      opacity: 0.7;
      z-index: 2;
    }



    .info-box {
  display: none;
  position: absolute;
  background-color: #fff;
  border: 1px solid #ccc;
  padding: 15px;
  border-radius: 5px;
  max-width: 250px;
  z-index: 10;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  line-height: 1.5;
}


@media (max-width: 768px) {
  .header-left {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .Title-bar {
    margin-top: 10px;
  }

  .Title-bar h1 {
    font-size: 20px;
  }

  .Title-bar p {
    font-size: 14px;
    padding: 0 10px;
  }
}


.cta-botones {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.cta-botones a {
  background-color: #e60000; /* rojo */
  color: white;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: bold;
  min-width: 200px;
  text-align: center;
  transition: background-color 0.3s ease;
}

.cta-botones a:hover {
  background-color: #0033a0; /* azul Rimax */
  color: white;
}

/* Comportamiento en móviles */
@media (max-width: 768px) {
  .cta-botones {
    flex-direction: column;
    align-items: center;
  }
}

/* Este bloque hará que todos los hotspots titilen suavemente cada 1.2 segundos. */

@keyframes parpadeo {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.0;
  }
}

.hotspot {
  animation: parpadeo 2.2s infinite;
  transition: transform 0.2s ease;
}


.boton-flotante {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #e60000;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: background-color 0.3s ease, transform 0.2s ease;
  z-index: 1000;
}

.boton-flotante:hover {
  background-color: #1f5bb8;
  transform: scale(1.05);
}


.btn-comprar {
  display: inline-block;
  margin-top: 15px;
  background-color: #ffeb00;
  color: #0033a0;
  font-weight: bold;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-comprar:hover {
  background-color: #ffe200;
  transform: scale(1.05);
}
