/* reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* estilo del header */

.barraInicial{
    background-color: #fde6ec;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
}

.logo{
    width: 5%;
}

.navegacion{
    display: flex;
    list-style: none;
    gap: 15px;
    padding-right: 35px;
}

.navegacion li a{
    text-decoration: none;
    color: black;
}

/* Cambio para el carousel */

.carousel-inner{
    height: 600px;
}

.mejorasImagenes{
    height: 100%;
    object-fit: contain;
}

/* barra de info */
.contenedorInfo{
  background:#fde6ec;
  display:flex;
  flex-direction: column;     
  align-items: stretch;       
  margin:10px;
  padding:10px;
}

.contenedorInfo > div{
  display:flex;
  flex-direction: column;
  align-items: center;
  text-align:center;
  padding:1rem 0;
  border-bottom:1px solid #999;   
}

.contenedorInfo > div:last-child{
  border-bottom:none;           
}

.contenedorInfo img{
  width:48px;                    
  height:auto;
  margin-bottom:.5rem;
}

/* info de nosotros */
#nosotros .contenedor {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
  margin-top: 2rem;
}

.textoUs {
  order: 2;
}

.fotoUs {
  order: 1;
}

.fotoUs img {
  max-width: 100%;
  height: auto;
  border-radius: 10px; /* opcional */
}

/* Desktop (fila: texto izquierda, foto derecha) */
@media (min-width: 992px) {
  #nosotros .contenedor {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-align: left;
  }

  .textoUs {
    flex: 2;   /* 75% */
    order: 2;  /* aparece primero */
  }

  .fotoUs {
    flex: 1;   /* 25% */
    order: 2;  /* aparece después */
  }
}


/* Desktop: en fila + separadores verticales */
@media (min-width: 992px){       
  .contenedorInfo{
    flex-direction: row;
    align-items: center;
  }
  .contenedorInfo > div{
    flex:1;                       
    padding:0 1rem;
    border-bottom:none;          
    border-right:1px solid #999; 
  }
  .contenedorInfo > div:last-child{
    border-right:none;          
  }
}


/* estilos del main */
/* subititulos generales */
h2{
    font-family: "Playfair Display", serif;
    text-align: center;
    font-size: x-large;
}

/* articulos */
.productos-ind {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.productos-ind h3, .productos-ind p {
    font-family: "Montserrat", sans-serif;
}

.productos-ind article{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius: 12px;
  padding: .75rem;
  text-align:center;
}

.productos-ind img{
  width:100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom:.5rem;
}

/* Desktop: 4 en una sola fila */
@media (min-width: 992px) { /* lg en Bootstrap */
  .productos-ind {
    grid-template-columns: repeat(4, minmax(0,1fr));
  }
}


/* redes de contacto */
main section ul li{
    list-style: none;
    text-align: center;
}

main section ul li a{
    color: black;
    text-decoration: none;
}

/* footer */
footer p{
    background-color: #fde6ec;
    text-align: center;
}