.poppins-thin {
  font-family: "Poppins", sans-serif;
  font-weight: 100;
  font-style: normal;
}

.poppins-extralight {
  font-family: "Poppins", sans-serif;
  font-weight: 200;
  font-style: normal;
}

.poppins-light {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.poppins-regular {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.poppins-medium {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.poppins-semibold {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.poppins-bold {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.poppins-extrabold {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-style: normal;
}

.poppins-black {
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.poppins-thin-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 100;
  font-style: italic;
}

.poppins-extralight-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 200;
  font-style: italic;
}

.poppins-light-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-style: italic;
}

.poppins-regular-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.poppins-medium-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-style: italic;
}

.poppins-semibold-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-style: italic;
}

.poppins-bold-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-style: italic;
}

.poppins-extrabold-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-style: italic;
}

.poppins-black-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-style: italic;
}

p{
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-style: normal;
  color: rgb(27, 26, 26);
}

body {
  margin: 0;
  padding: 0;
}
header {
  margin: 0;
  padding: 0;
}

header{
	background-color: rgba(0, 0, 0, 0.607);
	top: 0;
	z-index: 1000;
	backdrop-filter: blur(10px);
}
header {
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;          
}

main{
    margin: 0;
    padding: 0;
    z-index: 999;
}
#carouselExampleCaptions{
    margin-top: 0;
    display: flex;
}
#carouselExampleCaptions {
  margin: 0;
  padding: 0;
}
.carousel-caption {           
  transform: translateY(-80%);  
}
#carouselExampleCaptions {
  margin: 0;             
  padding: 0;           
  top: 0;                
  width: 100%;           
}

.carousel-item img {
  width: 100%;
  height: 80vh;
  object-fit: cover; 
}

.carousel-caption h5 {
  font-size: 1.3rem; 
  font-weight: 700;
  font-family: "Poppins", sans-serif;          
}
.carousel-caption a {
  display: inline-block;
  background-color: #e60023;
  color: #fff;               
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.2rem;
  font-family: "Poppins", sans-serif; 
  transition: background-color 0.3s ease;
}

.carousel-caption a:hover {
  background-color: #ae041b; 
  color: #fff;
}

.carousel-caption h2 {
  font-size: 3.5rem;        
  font-weight: 800;
   font-family: "Poppins", sans-serif; 
}

header img{
	height: 80px;
	width: auto;
	margin: 7px 10px;
}
header {
  background-color: rgba(0, 0, 0, 0.607);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(10px);
  margin: 0;
  padding: 0;
}
#carouselExampleCaptions {
  margin: 0;
  padding: 0;
  top: 0;
}
.carousel-item img {
  width: 100%;
  height: 80vh;
  object-fit: cover;
}

.encabezado{
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 50%;
    padding: 20px;
     font-family: "Poppins", sans-serif;
    font-weight: 400;
}
.encabezado img{
    width: 150px;
}

.encabezado .botones a{
    text-decoration: none;
    color: white;
    transition: all 1s ease;
}

.encabezado .botones a:hover {
  color: #dd0b24;
  text-decoration:underline;
}

.encabezado .botones{
    gap: 30px;
    display: flex;
    align-items: center;
}
.trayectoria-rojo{
  background-color: #dd0b24 ;
  color: white;
  font-family: "Poppins", sans-serif;
  justify-content: center;
  align-items: center;
  display: flex;
  flex-direction: row;
  padding: 40px;
  padding-bottom: 80px;
  gap: 5%;
}

.trayectoria-rojo p{
  color: white;
}

.trayectoria-rojo h3{
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-style: normal; 
}

.trayectoria-rojo .texto{
  display: flex;
  flex-direction: column;
  text-align: left;
}

.cards-N{
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.cards-N .cards-i{
  background-color: white;
  border-radius: 15px;
  font-size: x-large;
  padding: 15px;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cards-i h1{
  font-size: 70px;
  font-style: normal;
  font-weight: 700;
  color: #dd0b24;
  margin: 0;
}

.cards-i p{
  color: #063874;
}

/* opcional: estilo del span */
.counter {
  display: inline-block;
}

@media (max-weight:780px) {
  .trayectoria-rojo .cards-N{
    display: flex;
    flex-direction: column;
  }
  .porque-elegirnos .fotos-elegirnos{
    display: flex;
    flex-direction: column;
  }

}
.porque-elegirnos{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10%;
    margin: 5%;
    margin-top: 10%;
}
.mas-texto{
    display: flex;
    flex-direction: column;
    text-align: left;
    max-width: 400px;
}

.masmas-texto{
    display: flex;
    flex-direction: column;
    text-align: left;
    max-width: fit-content;
     position: relative; /* para que quede encima de la máscara */
  z-index: 2;
}
.mas-texto h2{
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-style: normal; 
  font-size: 50px;
  margin-bottom: 20px;
  color: rgb(27, 26, 26);

}
.linea{
    width: 70px;
    border-bottom: 3px solid #dd0b24;
    margin-bottom: 30px;
}
.mas-texto p{
   font-weight: 400; 
   color: rgb(27, 26, 26);
}
.mas-texto h4{
  margin-top: 5px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size:large;
  color: rgb(27, 26, 26);
}
.mas-texto a {
  font-family: "Poppins", sans-serif;
   text-decoration: none;
    padding: 10px;
    width: 180px;
    text-align: center;
    color: #dd0b24;
    background-color: white;
    border: 1px solid #dd0b24;
    border-radius: 2px;
    transition: all 0.4s;
}

.masmas-texto a {
  font-family: "Poppins", sans-serif;
   text-decoration: none;
    padding: 10px;
    width: 180px;
    text-align: center;
    color: #dd0b24;
    background-color: white;
    border: 1px solid #dd0b24;
    border-radius: 2px;
    transition: all 0.4s;
}

.botonr:hover{
    border: 0;
    background-color: #063874;
    color: white;
}
.porque-elegirnos .fotos-elegirnos img{
    width: 100%;
    max-width: 300px;
}
.fotos-elegirnos{
    margin-top: -420px;
    display: flex;
    flex-direction: row;
    gap: 15px;
}
.fotos-elegirnos .colum1{
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 50px;
}
.fotos-elegirnos .colum{
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.catalogo-azul{
    background-color: #063874;
    color: white;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 5%;
    padding: 30px;
    padding-top: 50px;
    padding-bottom: 50px;
}
.catalogo-azul img{
    max-width: 500px;
    width: 100%;
    
}
.catalogo-azul p{
    color: white;
    font-weight: 400;
    margin-bottom: 30px;
}
.catalogo-azul h2{
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 40px;
}
.catalogo-azul .texto{
    max-width: 550px;
}
.catalogo-azul .texto a{
  font-family: "Poppins", sans-serif;
    text-decoration: none;
    padding: 13px;
    padding-left: 55px;
    padding-right: 55px;
    text-align: center;
    color: white;
    background-color: #dd0b24;
    border-radius: 2px;
    width: 180px;
    transition: all 0,4s;
}
.catalogo-azul img {
  max-width: 500px;
  width: 100%;
  
  /* arranca pequeña */
  transform: scale(0.5);
  opacity: 0;

  /* animación */
  animation: zoomIn 1s ease-out forwards;
}

/* keyframes de la animación */
@keyframes zoomIn {
  from {
    transform: scale(0.5);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.catalogo-azul .texto a:hover{
   color: #063874;
    background-color: white 
}
.historia{
  font-family: "Poppins", sans-serif;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 5%;
    padding: 15px;
    padding-top: 100px;
    padding-bottom: 100px; 
}

.historia img{
    max-width: 500px;
    width: 100%;
    border-radius: 15px;
}
.historia .texto{
    text-align: left;
    max-width: 500px;
    width: 100%;
}
.historia .texto{
    color: rgb(50, 48, 48);
}
.historia .texto h1{
    color: #dd0b24;
    font-weight: 700;
}
.historia .texto p{
    color: rgb(61, 59, 59);
    font-weight: 400;
}
.historia .texto a{
   font-family: "Poppins", sans-serif;
   text-decoration: none;
    padding: 13px;
    padding-left: 55px;
    padding-right: 55px;
    text-align: center;
    width: 100%;
    max-width: 180px;
    height: auto;
    text-align: center;
    color: #dd0b24;
    background-color: white;
    border: 1px solid #dd0b24;
    border-radius: 2px;
    transition: all 0.4s;
}
.historia .texto a:hover{
    border: 0;
    background-color: #063874;
    color: white;
}

.historia-lis i{
  color: #dd0b24;
}

footer{
   font-family: "Poppins", sans-serif;
  background-color: rgb(36, 36, 36);
  display: flex;
  flex-direction: row;
  padding: 40px;
  gap: 150px;
  color: white;
  justify-content: center;
  align-items: center;
}

footer img{
  width: auto;
  height: 130px;
}
footer a{
  font-family: "Poppins", sans-serif;
   text-decoration: none;
    padding: 10px;
    width: 60px;
    text-align: center;
    color: #dd0b24;
    background-color: rgb(36, 36, 36);
    border: 1px solid #dd0b24;
    border-radius: 2px;
    transition: all 0.4s;
}
.sobre-nosotros {
  position: relative; /* importante para que ::before se posicione bien */
  display: flex;
  justify-content: center; /* centra horizontal */
  align-items: center;     /* centra vertical */
  background-image: url(imag/trigo-trigal.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

/* máscara negra semi-transparente */
.sobre-nosotros::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5); /* negro 50% opaco */
  z-index: 1;
}

.sobre-nosotros h1 {
  position: relative; /* para que quede encima de la máscara */
  z-index: 2;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 70px;
  color: white;
  text-align: center;
  margin-top: 5%;
  transform: none; /* quitamos el translateX */
}

.porque-elegirnos img{
  border-radius: 20px;
  width: 550px;
}
.nuestros-productos {
  position: relative; /* importante para que ::before se posicione bien */
  display: flex;
  justify-content: center; /* centra horizontal */
  align-items: center;     /* centra vertical */
  background-image: url(imag/nuestros-productos.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 450px;
  overflow: hidden;
}

/* máscara negra semi-transparente */
.nuestros-productos::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5); /* negro 50% opaco */
  z-index: 1;
}

.nuestros-productos h1 {
  position: relative; /* para que quede encima de la máscara */
  z-index: 2;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 70px;
  color: white;
  text-align: center;
  transform: none; /* quitamos el translateX */
}

@media (max-width:780px){
  .sobre-nosotros{
    display: flex;
    flex-direction: column;
  }
}

.catalogo{
  position: relative; /* importante para que ::before se posicione bien */
  display: flex;
  justify-content: center; /* centra horizontal */
  align-items: center;     /* centra vertical */
  background-image: url(imag/catalogo.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 500px;
  overflow: hidden;
}
.catalogo h1{
  position: relative; /* para que quede encima de la máscara */
  z-index: 2;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 70px;
  color: white;
  text-align: center;
  margin-top: 5%;
  transform: none; /* quitamos el translateX */
}

.catalogo::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5); /* negro 50% opaco */
  z-index: 1;
}
.titulos{
  font-family: "Poppins", sans-serif;
  text-align: center;
  justify-content: center;
  gap: 20px;
  margin-top: 8%;
}
.titulos h2{
  color: #dd0b24;
  font-weight: 700;
  font-size: 35px;
}
.titulo{
  font-family: "Poppins", sans-serif;
  text-align: left;
  justify-content: left;
  gap: 20px;
  max-width: 550px;
}
.titulo h2{
  color: #dd0b24;
  font-weight: 700;
  font-size: 35px;
  margin-bottom: 10%;
}
.titulos h3{
  color: #063874;
}
.pastas{
  display: flex;
  flex-direction: row;
  gap: 50px;
  justify-content: center;
  margin-bottom: 40px;
}
.fideo{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-items: center;
  color: #063874;
  font-family: "Poppins", sans-serif;
}
.fideo img{
  max-width: 250px;
}
.imagen{
  max-width: 750px;
  justify-content: center;
  align-items: center;
  margin-left: 30%;
  margin-top: 10%;
}
.harina{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-items: center;
}
.harina h4{
  color: #063874;
  font-size: 18px;
  font-family: "Poppins", sans-serif;
}
.harinas-25 img{
  max-width: 200px;
  margin-bottom: 20px;
  margin-top: 30px;
}
.harinas-25{
  display: flex;
  flex-direction: row;
  gap: 40px;
  justify-content: center;
  margin-bottom: 50px;
}
.grupete{
  display: flex;
  flex-direction: row;
  gap: 6%;
  text-align: left;
  margin-left: 10%;
  margin-right: 10%;
  margin: 5%;
  justify-content: center;
}
.grupete img{
  width: auto;
  height: 400px;
  border-radius: 20px;
  align-items: center;
}
 .contacto{ position: relative; /* importante para que ::before se posicione bien */
  display: flex;
  justify-content: center; /* centra horizontal */
  align-items: center;     /* centra vertical */
  background-image: url(imag/elegirnos2.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 500px;
  overflow: hidden;
}
.contacto h1{
  position: relative; /* para que quede encima de la máscara */
  z-index: 2;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 70px;
  margin-top: 5%;
  color: white;
  text-align: center;
  transform: none; /* quitamos el translateX */
}

.contacto::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5); /* negro 50% opaco */
  z-index: 1;
}


@media (max-width: 768px) {
  .carousel-item img {
  width: 100%;
  height: 60vh;
  object-fit: cover; 
}
.carousel-caption {           
  transform: translateY(-60%);  
}
.carousel-caption h2 {
  font-size: 35px; 
  font-weight: 700;
  font-family: "Poppins", sans-serif;
  text-align: center;       
}
  .encabezado {
    flex-direction: row;
    gap: 10px;
    padding: 8px;
  }
  .encabezado img {
    height: 50px;
    width: auto;
  }
  .encabezado a{
    font-size: 12px;
  }
  .imagen{
    max-width: 300px;
    justify-content: center;
   margin-left: 12%;
  }
  /* Secciones imagen + texto en columna */
  .trayectoria-rojo {
    flex-direction: column;
    gap: 30px;
    padding: 20px;
    text-align: center;
  }
  .trayectoria-rojo .texto {
    text-align: center;
  }
  .cards-N {
    flex-direction: column;
    width: 100%;
    gap: 20px;
  }
  .cards-N .cards-i {
    width: 100%;
  }

  .porque-elegirnos {
    flex-direction: column;
    gap: 30px;
    margin: 5% 10%;
  }
  .porque-elegirnos .fotos-elegirnos {
    flex-direction: column;
    gap: 15px;
    margin-top: 0;
  }
  .porque-elegirnos img {
    max-width: 100%;
    width: 100%;
  }

  .catalogo-azul {
    flex-direction: column;
    gap: 30px;
    padding: 50px;
    padding-bottom: 60px;
    padding-top: 60px;
    text-align: center;
  }
  .catalogo-azul img {
    max-width: 100%;
    width: 100%;
  }
  .catalogo-azul .texto {
    max-width: 100%;
  }
  .catalogo-azul .texto a {
    width: 100%;
    max-width: 250px;
  }
  .contacto h1{
    font-size: 50px;
  } 
  .historia {
    flex-direction: column;
    gap: 30px;
    padding: 50px;
    padding-bottom: 60px;
    padding-top: 60px;
    text-align: center;
  }
  .historia img {
    max-width: 100%;
    width: 100%;
    margin-top: 5%;
  }
  .historia .texto {
    max-width: 100%;
    text-align: center;
  }

  /* Pastas y harinas en columnas */
  .pastas {
    flex-direction: column;
    gap: 30px;
    margin: 0 20px 40px 20px;
  }
  .fideo img {
    max-width: 100%;
  }

  .harinas-25 {
    flex-direction: column;
    gap: 30px;
    margin: 0 20px 50px 20px;
  }
  .harinas-25 img {
    max-width: 60%;
  }

  /* Ajustar títulos grandes */
  .titulos{
    width: 100%;
    max-width: 350px;
    justify-content: center;
    margin-left: 15px;
  }
  .titulos h2 {
    font-size: 28px;
  }
  .titulos h3 {
    font-size: 20px;
  }
  .grupete{
    flex-direction: column;
  }
  .grupete img{
    height: auto
  }
  /* Footer en columna */
  footer {
    flex-direction: column;
    gap: 30px;
    padding: 20px;
    text-align: left;
  }
  footer img {
    height: 100px;
  }
  .masmas-texto{
    max-width: 300px;
  }
  .masmas-texto h1{
    font-size: 60px;
    text-align: left;
  }
  .texto{
    text-align: left;
  }
  .historia .texto{
    text-align: left;
  }
}

.recetas{
  position: relative; /* importante para que ::before se posicione bien */
  display: flex;
  justify-content: center; /* centra horizontal */
  align-items: center;     /* centra vertical */
  background-image: url(imag/recetas-img.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 500px;
  overflow: hidden;
}
.recetas h1{
  position: relative; /* para que quede encima de la máscara */
  z-index: 2;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 70px;
  color: white;
  text-align: center;
  margin-top: 5%;
  transform: none; /* quitamos el translateX */
}

.recetas::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5); /* negro 50% opaco */
  z-index: 1;
}