/* CONTENEDORES */
.top-container,
.nav-container {
 max-width: 1400px; margin: auto; display: flex; align-items: center; justify-content: space-between;
}

/* TOP BAR */
.top-bar {
  background:#1a5e47;
  color:white;
  padding:10px 20px;
  font-size:14px;
}

.top-right {
  display:flex;
  gap:15px;
}

/* NAV */
.main-nav {
  background:#7e9d4e;
  padding:15px 20px;
}

.nav-container {
  gap:10px;
}

/* LOGO */
.logo {
  display:flex;
  align-items:center;
  gap:10px;
  color:white;
}

.logo b {
  font-size:22px;
}

.logo p {
  margin:0;
  font-size:11px;
}

/* BUSCADOR */
.search {
  display:flex;
  flex:1;
  max-width:500px;
}

.search input {
  flex:1;
  padding:10px;
  border:none;
  border-radius:8px 0 0 8px;
}

.search button {
  background:#1a5e47;
  border:none;
  color:white;
  padding:10px 15px;
  border-radius:0 8px 8px 0;
}

/* MENU */
.menu {
  display:flex;
  align-items:center;
  gap:15px;
}

.menu a {
  color:white;
  text-decoration:none;
  font-weight:bold;
}

/* WHATSAPP */
.whatsapp {
  width:50px;
  height:50px;
  background:white;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration: none;
  font-size:20px;
}.whatsapp:link,
.whatsapp:visited,
.whatsapp:active {
  color: #135C41;
}

/* HAMBURGUESA */
.menu-toggle {
  display:none;
  font-size:25px;
  background:none;
  border:none;
  color:white;
  cursor:pointer;
}

/* MENU DESKTOP */
.menu-container {
  display:flex;
  align-items:center;
  gap:15px;
}
 .fa-phone,.fa-envelope.fa-whatsapp {
  font-size: 20px; /* cambia el tamaño aquí */
}

/* ofertas */
.img-portada {
  width: 100%;
  height: 500px; /* tamaño en PC */
  object-fit: cover; /* recorta sin deformar */
}
.galeria-productos {
  display: flex;
  justify-content: center;
  gap: 40px;
}

.galeria-productos img {
  width: 20%;
}

/* 📱 MÓVIL */
@media (max-width: 768px) {
  .galeria-productos {
    gap: 10px;
  }

  .galeria-productos img {
    width: 45%;
  }
}
@media (max-width: 768px) {
  .img-portada {
    height:250px; /* más grande en móvil */
  }
}
/* SOLO en móvil */
@media (max-width: 768px) {
  .top-container {
    justify-content: flex-end; /* manda todo a la derecha */
  }

  .top-right {
    width: 100%;
    display: flex;
    justify-content: flex-end; /* esquina derecha */
  }

  .top-right span {
    margin-left: 10px;
  }

  .menu-toggle {
    display:block;
  }

  .search {
    display:none; /* ocultamos buscador de arriba */
  }

  /* MENU LATERAL */
  .menu-container {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100%;
    background:#7e9d4e;
    flex-direction: column;
    padding:20px;
    transition: right 0.3s ease;
    z-index:1000;
  }

  .menu-container.active {
    right:0;
  }

  .menu {
    flex-direction: column;
    margin-top:20px;
    text-align:left;
  }

  .menu a {
    padding:10px 0;
  }

  .whatsapp {
    margin-top:auto;
  }

  .close-btn {
    color:white;
    font-size:20px;
    cursor:pointer;
    align-self:flex-end;
  }
  .logo img {
    width: 200px; /* más pequeño en móvil */
  }
}
.footer-container {
  position: relative;
}

.footer-logo-bottom {
  position: absolute;
  right: 40px;
  bottom: 40px;
  width: 80px; /* ajusta tamaño */
}

/* Móvil: más pequeño */
@media (max-width: 576px) {
  .footer-logo-bottom {
    width: 80px;
    right: 10px;
    bottom: 10px;
  }
}
/* OVERLAY */
.overlay {
  position: fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.5);
  display:none;
  z-index:999;
}

.overlay.active {
  display:block;
}
/* Título */
h1{
    text-align:center;
    font-size:40px;
    margin:0;
}

/* Subtitulo */
h3{
    margin-top:20px;
    font-size:18px;
}

/* Labels */
label{
    font-weight:bold;
    display:block;
    margin-top:15px;
}

/* Inputs normales */
.libro input,
.libro select {
    width:100%;
    padding:10px;
    margin-top:6px;
    border:2px solid #73964A;
    border-radius:8px;
    font-size:15px;
}

/* Textarea detalle */
.detalle{
    width:100%;
    height:140px;
    padding:10px;
    margin-top:10px;
    border:2px solid #73964A;
    border-radius:8px;
    font-size:15px;
    resize:none;
}

/* Botón */
.libro button{
    width:100%;
    margin-top:20px;
    padding:12px;
    border:none;
    border-radius:8px;
    font-size:16px;
    font-weight:bold;
    color:white;
    cursor:pointer;
    background: linear-gradient(
        to right,
        #86A666,
        #5D8762,
        #38755E,
        #135C41
    );
}

button:hover{
    opacity:0.85;
}

/* NOSTROS */

.imagen {
  background: url("/Jireh/imagenes/Fondos/Recurso 22.jpg.jpeg");
      padding-top:1px;
      padding-bottom:1px;

}

.container, .libro{
    background:white;
    padding:25px;
    width:20px;
}
.libro{
    padding:25px;
    width:1000px;
}
.fila {
  display: flex;
  align-items: center;
  gap: 20px; /* menos espacio */
  margin: 30px 0; /* más pegado */
}

.reverse {
  flex-direction: row-reverse;
}

.img img {
  width: 350px; /* más compacto */
  border-radius: 10px;
  text-align: center;
}
.carda p {
    font-size: 18px;
}
.texto {
  flex: 1;
}

.texto h2 {
  font-size: 40px;
  margin-bottom: 8px;
  font-weight: 800;
}

.texto p {
  font-size: 17px;
  line-height: 1.5;
}
.container {
  background: transparent;
}
.barra-nosotro{
    height:18px;
    background: linear-gradient(
        to right,
        #86A666,
        #5D8762,
        #38755E,
        #135C41
    );
    border-radius:4px;
    margin:10px 0 20px 0;
    width: 40%;
    filter: blur(2px); /* 👈 efecto borroso */
}

.barra{
    height:18px;
    background: linear-gradient(
        to right,
        #86A666,
        #5D8762,
        #38755E,
        #135C41
    );
    border-radius:4px;
    margin:10px 0 20px 0;
}
