.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;
}

.recetas-cards {
  width: 100%;
  padding: 80px 20px;
  background-color: #fff;
}

.recetas-cards-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.receta-card {
  background-color: #f8f8f8;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.receta-card:hover {
  transform: translateY(-5px);
}

.receta-img img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.receta-content {
  padding: 25px;
  font-family: "Poppins", sans-serif;
}

.receta-content h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
}

.receta-content p {
  font-size: 15px;
  line-height: 1.6;
  color: #555;
}

.btn-receta {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 22px;
  background-color: #b30000; /* podés cambiar el color */
  color: #fff;
  text-decoration: none;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 500;
  border-radius: 25px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-receta:hover {
  background-color: #8f0000;
  transform: translateY(-2px);
}


/* Responsive */
@media (max-width: 768px) {
  .recetas-cards-wrapper {
    grid-template-columns: 1fr;
  }
}

/* HERO variante receta */
.receta-detalle {
  background-image: url(imag/receta-pizza-leudado.jpeg); /* vos ponés la imagen */
  height: 600px;
}

.receta-disfruta{
  font-size: 30px;
  color: tomato;
  text-align: center;}

/* CONTENEDOR */
.receta-wrapper {
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 20px;
  font-family: "Poppins", sans-serif;
}
/* HERO MOBILE */
@media (max-width: 768px) {
  .recetas,
  .receta-detalle {
    height: 300px; /* ajustá si querés más o menos alto */
    padding-top: 50px;
  }

  .recetas h1 {
    font-size: 38px;
  }
}

.receta-intro {
  text-align: center;
  font-size: 17px;
  color: #555;
  max-width: 700px;
  margin: 0 auto 50px;
  line-height: 1.7;
}

/* GRID */
.receta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.receta-box {
  background-color: #f1e0cc;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  height: 510px;
}

.receta-box h2 {
  font-size: 22px;
  margin-bottom: 20px;
}

.receta-box ul,
.receta-box ol {
  padding-left: 20px;
}

.receta-box li {
  margin-bottom: 10px;
  color: #444;
  line-height: 1.5;
}

/* BOTÓN VOLVER */
.btn-receta.volver {
  display: block;
  width: fit-content;
  margin: 50px auto 0;
  background-color: #000;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .receta-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================
   LAYOUT GENERAL
============================ */
.receta-layout {
  display: grid;
  grid-template-columns: 1fr 2fr; /* video | receta */
  gap: 40px;
  align-items: flex-start;
}

/* VIDEO */
.receta-video {
  position: sticky;
  top: 120px;
}

.receta-video video,
.receta-video iframe {
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* ============================
   GALERÍA RECETA
============================ */
.receta-galeria {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.galeria-img {
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.galeria-img img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

/* ============================
   CARDS RECETA
============================ */
.receta-box {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  padding: 1.5rem 2rem;
  margin-bottom: 2rem;

  /* altura automática y texto responsivo */
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
  display: block;
  box-sizing: border-box;
  word-wrap: break-word;
}

/* ============================
   CARD INGREDIENTES
============================ */
.receta-ingredientes {
  padding: 1rem 1.5rem;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
}

.receta-ingredientes h2 {
  margin: 0 0 0.4rem 0;
}

.receta-ingredientes ul {
  margin: 0;
  padding-left: 1.1rem;
}

.receta-ingredientes li {
  margin-bottom: 0.25rem;
  line-height: 1.35;
}

/* ============================
   CARD PROCEDIMIENTO
============================ */
.receta-preparacion {
  padding: 1.5rem 2rem;
  line-height: 1.5;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);

  overflow-wrap: break-word;
  word-break: break-word;
  height: auto;
  min-height: 0;
}

.receta-preparacion h2 {
  margin: 0 0 0.5rem 0;
}

.receta-preparacion ol {
  padding-left: 1.2rem;
  margin: 0;
}

.receta-preparacion li {
  margin-bottom: 0.6rem;
  line-height: 1.5;
}

/* ============================
   RESPONSIVE
============================ */
@media (max-width: 768px) {
  .receta-layout {
    grid-template-columns: 1fr;
  }

  .receta-video {
    position: relative;
    top: 0;
  }

  .receta-galeria {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }

  .galeria-img img {
    height: 240px;
  }

  .receta-box {
    padding: 1rem 1rem;
    height: auto;
  }

  .receta-ingredientes,
  .receta-preparacion {
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
  }

  .receta-preparacion li {
    margin-bottom: 0.4rem;
  }
}


.receta-detalle {
  background-image: url("imag/banner-muffins.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.receta-detalle-pizza {
  background-image: url("imag/receta-pizza-1.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
