/* General */
.Nuestra {
  padding: 20px;
  max-width: 1200px;
  margin: auto;
}

/* Imagen principal */
.bloque_principal {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.imagen_principal {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}
.delay-1 {
      animation-delay: 0.2s;
    }

    .delay-2 {
      animation-delay: 0.4s;
    }

    .delay-3 {
      animation-delay: 0.6s;
    }
.texto_sobre_imagen {
  position: absolute;
  bottom: 30px;
  left: 30px;
  color: #fff;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.7);
}

.texto_sobre_imagen h2 {
  font-size: 28px;
  margin: 0 0 10px 0;
}

.texto_sobre_imagen p {
  margin-bottom: 15px;
}

.boton_rojo {
  display: inline-block;
  background: #d90429;
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}
 :root {
      --primary: #e74c3c;
      --primary-hover: #c0392b;
      --secondary: #2c3e50;
      --light: #ffffff;
      --gray-light: #f8f9fa;
      --gray: #6c757d;
      --shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
      --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.1);
      --radius: 16px;
      --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      --font-heading: 'Poppins', sans-serif;
      --font-body: 'Open Sans', sans-serif;
    }

      
    .fade-in {
      opacity: 0;
      transform: translateY(30px);
      animation: fadeInUp 0.8s forwards;
    }

    @keyframes fadeInUp {
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
    .contenedor_general {
      max-width: 1200px;
      margin: 40px auto;
      padding: 20px;
    }

    /* Hero Section */
    .hero {
      position: relative;
      height: 450px;
      border-radius: var(--radius);
      overflow: hidden;
      box-shadow: var(--shadow);
      margin-bottom: 40px;
      display: flex;
      align-items: flex-end;
      justify-content: center;
      background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2));
    }

    .hero img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.7s ease-out;
    }

    .hero:hover img {
      transform: scale(1.03);
    }

    .hero-text {
      position: absolute;
      bottom: 30px;
      left: 5%;
      right: 5%;
      max-width: 600px;
      background: rgba(255,255,255,0.95);
      backdrop-filter: blur(10px);
      padding: 25px;
      border-radius: var(--radius);
      text-align: center;
      box-shadow: 0 4px 12px rgba(0,0,0,0.05);
      z-index: 10;
    }

    .hero-text h1 {
      font-family: var(--font-heading);
      font-size: 2.2rem;
      font-weight: 700;
      color: var(--secondary);
      margin-bottom: 10px;
      line-height: 1.3;
    }

    .hero-text p {
      font-size: 1.1rem;
      color: var(--gray);
      margin-bottom: 20px;
    }

    .btn {
      display: inline-block;
      padding: 12px 28px;
      background-color: var(--primary);
      color: white;
      text-decoration: none;
      border-radius: 30px;
      font-weight: 600;
      transition: var(--transition);
      border: none;
      cursor: pointer;
      letter-spacing: 0.5px;
      box-shadow: 0 4px 8px rgba(231, 76, 60, 0.2);
    }

    .btn:hover {
      background-color: var(--primary-hover);
      transform: translateY(-2px) scale(1.05);
      box-shadow: 0 6px 15px rgba(231, 76, 60, 0.3);
    }

    /* Descripción */
    .descripcion {
      margin: 40px 0;
      padding: 30px;
      background: white;
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      font-size: 1rem;
      line-height: 1.8;
      text-align: justify;
      animation: fadeInUp 0.6s ease-out;
    }

    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(20px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* Tarjeta Promocional */
    .promocion-container {
      display: flex;
      gap: 30px;
      align-items: center;
      margin-top: 40px;
      padding: 30px;
      background: white;
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      transition: var(--transition);
    }

    .promocion-container:hover {
      box-shadow: var(--shadow-hover);
      transform: translateY(-3px);
    }

    .promo-img {
      width: 180px;
      height: 180px;
      object-fit: contain;
      border-radius: 12px;
      background: #f5f5f5;
      padding: 15px;
      transition: var(--transition);
    }

    .promo-img:hover {
      transform: scale(1.05);
      box-shadow: 0 6px 15px rgba(0,0,0,0.08);
    }

    .promo-text {
      flex: 1;
    }

    .promo-text h3 {
      font-family: var(--font-heading);
      font-size: 1.5rem;
      color: var(--secondary);
      margin-bottom: 15px;
    }

    .promo-text p {
      color: var(--gray);
      font-size: 1rem;
      margin-bottom: 20px;
      line-height: 1.6;
    }

    .btn-promo {
      padding: 10px 20px;
      font-size: 0.95rem;
      background-color: var(--primary);
      color: white;
      text-decoration: none;
      border-radius: 30px;
      font-weight: 600;
      transition: var(--transition);
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }

    .btn-promo:hover {
      background-color: var(--primary-hover);
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
    }

    /* Footer / CTA final */
    .cta-final {
      margin-top: 50px;
      text-align: center;
      padding: 30px;
      background: linear-gradient(135deg, #2c3e50, #1a252c);
      color: white;
      border-radius: var(--radius);
      box-shadow: var(--shadow);
    }

    .cta-final h3 {
      font-size: 1.8rem;
      margin-bottom: 15px;
      font-family: var(--font-heading);
    }

    .cta-final p {
      font-size: 1.1rem;
      max-width: 600px;
      margin: 0 auto 25px;
      opacity: 0.9;
    }

    .btn-cta {
      background: white;
      color: var(--secondary);
      padding: 12px 30px;
      border-radius: 30px;
      font-weight: 700;
      text-decoration: none;
      transition: var(--transition);
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

    .btn-cta:hover {
      background: #f8f9fa;
      transform: scale(1.05);
      box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    }

    /* Responsive */
    @media (max-width: 768px) {
      .hero {
        height: 350px;
      }

      .hero-text {
        left: 15px;
        right: 15px;
        padding: 20px;
        text-align: center;
      }

      .hero-text h1 {
        font-size: 1.8rem;
      }

      .promocion-container {
        flex-direction: column;
        text-align: center;
        padding: 25px;
      }

      .promo-img {
        width: 100%;
        max-width: 250px;
        height: auto;
      }

      .cta-final {
        padding: 25px;
      }

      .cta-final h3 {
        font-size: 1.5rem;
      }
    }

    @media (max-width: 480px) {
      .contenedor_general {
        padding: 15px;
      }

      .descripcion {
        padding: 20px;
        font-size: 0.95rem;
      }

      .btn, .btn-promo {
        padding: 10px 20px;
        font-size: 0.9rem;
      }
    }
.boton_rojo:hover {
  transform: scale(1.05);
}

/* Descripción */
.descripcion {
  margin: 25px 0;
  line-height: 1.7;
  color: #444;
  text-align: justify;
}

/* Categorías */
.categorias {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.tarjeta_categoria {
  position: relative;
  flex: 1 1 45%;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.tarjeta_categoria:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.35);
}

.imagen_categoria {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

/* Texto centrado en imagen */
.texto_categoria {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.8);
}

.texto_categoria h4 {
  font-size: 22px;
  margin-bottom: 12px;
}

:root {
  --color-principal: #0056b3;
  --color-boton: #e63946;
  --color-texto: #333;
  --fondo-suave: #f9f9f9;
}


/* Barra lateral */
.contenedor-principal {
  display: flex;
  max-width: 1200px;
  margin: 20px auto;
  gap: 20px;
}

.bloque-categorias {
  flex: 1;
  max-width: 250px;
}

.bloque-categorias h3 {
  margin-bottom: 10px;
  font-size: 18px;
  border-bottom: 2px solid #ddd;
  padding-bottom: 5px;
}

.lista-categorias {
  list-style: none;
  padding: 0;
}

.lista-categorias li {
  margin: 10px 0;
}

.lista-categorias a {
  text-decoration: none;
  color: var(--color-principal);
  font-weight: bold;
}

/* Bloques superiores */
.zona-promociones {
  flex: 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.tarjeta-producto {
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    background: #fff;
    padding: 15px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}
.tarjeta-producto:hover {
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}

.imagen-producto {
    position: relative;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.imagen-producto img {
    max-height: 160px;
    object-fit: contain;
}
.btn-favorito {
    position: absolute;
    top: 10px;
    right: 10px;
    border: none;
    background: #fff;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.btn-favorito:hover {
    background: #f8f8f8;
}

.info-producto {
    text-align: left;
    margin-top: 10px;
    min-height: 120px;
}
.info-producto .marca {
    font-size: 12px;
    font-weight: bold;
    color: #444;
}
.info-producto .nombre {
    font-size: 14px;
    font-weight: 600;
    margin: 2px 0;
}
.info-producto .sku {
    font-size: 11px;
    color: gray;
}
.info-producto .estado {
    font-size: 13px;
    color: #222;
    font-weight: 500;
}

.btn-cotizar {
    display: block;
    background: #2c3e50;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    padding: 10px;
    margin-top: 10px;
    transition: background 0.3s;
}
.btn-cotizar:hover {
    background: #0095d9;
}

.tarjeta-promocion {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.tarjeta-promocion img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.texto-promocion {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.8);
  padding: 15px;
}

.texto-promocion h4 {
  margin: 0 0 5px;
  font-size: 18px;
  color: var(--color-texto);
}

.texto-promocion p {
  font-size: 14px;
  margin: 0 0 10px;
}

.boton-rojo {
  background: var(--color-boton);
  color: white;
  padding: 8px 15px;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  display: inline-block;
}

/* Categorías destacadas */
.zona-destacados {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.zona-destacados h3 {
  font-size: 20px;
  margin-bottom: 20px;
}

.grid-destacados {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.caja-destacada {
  background: white;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.caja-destacada img {
  width: 80px;
  height: auto;
  margin-bottom: 15px;
}

.caja-destacada h4 {
  font-size: 16px;
  margin: 0;
}

@media (max-width: 992px) {
  .contenedor-principal {
    flex-direction: column;
  }

  .zona-promociones {
    grid-template-columns: 1fr;
  }

  .tarjeta_categoria {
    flex: 1 1 100%;
  }

  .imagen_principal {
    height: 300px;
  }

  .texto_sobre_imagen h2 {
    font-size: 22px;
  }
}

@media (max-width: 600px) {
  .imagen_principal {
    height: 220px;
  }

  .texto_sobre_imagen {
    bottom: 15px;
    left: 15px;
  }

  .texto_sobre_imagen h2 {
    font-size: 18px;
  }

  .texto_categoria h4 {
    font-size: 18px;
  }

  .boton_rojo {
    padding: 8px 12px;
    font-size: 13px;
  }
}