:root {
  --bs-body-bg: #FAF5EB;
  --bs-textos: #006633;
  --bs-titulos: #2F4F3A;
  --bs-light: #D9D9D9;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
}

.navbar {
  background-color: #fff;
  padding: 0.8rem 2rem;
  width: 100%;
}

.navbar-brand {
  font-weight: bold;
  color: #0c5029;
}

.navbar-nav .nav-link {
  color: #0c5029;
  font-size: 1.3rem;
  margin: 0 0.8rem;
}

.navbar-nav .nav-link:hover {
  color: #57a639;
}

.navbar-toggler {
  border: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%280, 60, 40, 1%29' stroke-width='3' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.responsive-img {
  max-width: 29rem;
  height: auto;
  object-fit: contain;
}

.section2 {
  background-color: #ffffff;
}

@media (max-width: 992px) {
  .responsive-img {
    max-width: 20rem;
  }
}

@media (max-width: 576px) {
  .responsive-img {
    max-width: 16rem;
  }
}

@media (max-width: 991px) {
  .text-block {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
    text-align: center !important;
  }
}

@media (max-width: 591.98px) {
  .navbar-brand {
    display: none !important;
  }
}

.nosotros-box {
  position: relative;
  background-image: url('./assets/nosotrosbg.jpg');
  background-size: cover;
  background-position: center;
  border-radius: 1.25rem;
  padding: 2rem;
  text-align: center;
  color: var(--bs-textos);
  font-weight: bold;
  max-width: 80%;
  margin: 0 auto 2.5rem auto;
  overflow: hidden;
}

.nosotros-box::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-color: rgba(217, 217, 217, 0.35);
  z-index: 1;
}

.nosotros-box * {
  position: relative;
  z-index: 2;
}

.nosotros-box p {
  color: #000;
  font-weight: normal;
  margin: 0;
}

.card-custom {
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: 1.5rem;
  margin: 1rem;
  overflow: hidden;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-custom .overlay {
  position: absolute;
  inset: 0;
  background: rgba(217, 217, 217, 0.2);
  z-index: 1;
}

.card-custom .card-text {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: left;
  color: #064f26;
  font-weight: 600;
  max-width: 95%;
}

.carousel-item {
  padding: 1rem;
}

.product-card {
  border-radius: 0.5rem;
  overflow: hidden;
  text-align: center;
  background: #fff;
}

.product-card img {
  width: 100%;
  height: auto;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-size: contain;
  background-repeat: no-repeat;
  width: 2.5rem;
  height: 2.5rem;
}

.carousel-control-prev-icon {
  background-image: url("assets/left-arrow.png");
}

.carousel-control-next-icon {
  background-image: url("assets/right-arrow.png");
}

.carousel-control-prev,
.carousel-control-next {
  top: 50%;
  transform: translateY(-50%);
  width: auto;
}

@media (min-width: 992px) {
  .carousel-control-prev {
    transform: translate(-120%, -50%);
  }
  .carousel-control-next {
    transform: translate(120%, -50%);
  }
}

.mini-section {
  position: relative;
  display: inline-block;
  width: 100%;
  height: 8em;
  background-image: url("assets/span.jpg");
  background-size: cover;
  background-position: center;
  border-radius: 1.5rem;
  overflow: hidden;
  text-align: center;
}

.mini-section .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.btn-comprar {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  padding: 0.6em 1.2em;
  background: #7b2c2c;
  color: #fff;
  font-size: 1rem;
  border: none;
  border-radius: 2em;
  cursor: pointer;
}

.btn-comprar:hover {
  background: #5a1f1f;
}

@media (max-width: 991.98px) {
  #nosotros .col-md-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.follajes-section {
  width: 100%;
  padding: 2rem 5%;
  box-sizing: border-box;
}

.contenedor-titulo {
  text-align: center;
  margin-bottom: 2rem;
}

.titulo {
  font-family: "Playfair Dispay", serif;
  font-size: 2.5rem;
  color: var(--bs-titulos);
}

.contenedor-principal {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.mapa iframe {
  width: 100%;
  height: 50vh;
  border: 0;
}

.contacto {
  display: flex;
  justify-content: center;
  align-items: center;
}

.lista-contacto {
  list-style: none;
  padding: 0;
  margin: 0;
}

.lista-contacto li {
  display: flex;
  align-items: center;
  font-size: 1.7rem;
  margin-bottom: 1rem;
  width: max-content;
  color: #1e3a1e;
}

.lista-contacto img {
  width: 1.5rem;
  height: 1.5rem;
  margin-right: 0.8rem;
}

@media (min-width: 48rem) {
  .contenedor-principal {
    flex-direction: row;
    align-items: center;
  }

  .mapa,
  .contacto {
    flex: 1;
  }

  .contacto {
    justify-content: center;
  }
}

.contacto img {
  height: 2.5rem;
  width: 2.5rem;
}

.footer {
  background-color: var(--bs-body-bg);
  text-align: center;
  padding: 1.25rem 0.625rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  color: #082400;
}

.footer-logo {
  display: block;
  margin: 0 auto 0.6rem auto;
  max-height: 3.7rem;
}

 .hero-section {
      position: relative;
      width: 100%;
      height: 100vh; /* alto de la sección */
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      text-align: center;
      font-family: 'Montserrat', sans-serif;
    }

    .video-fondo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; 
  z-index: -1; 
}

    .hero-section::before {
      content: "";
      position: absolute;
      inset: 0;
      background: rgba(0, 0, 0, 0.5); /* overlay oscuro */
      z-index: 1;
    }

    .hero-content {
      position: relative;
      z-index: 2; /* para que quede por encima del overlay */
    }
    .card-box {
    background-size: cover;
  background-repeat: no-repeat;
    background-position: center;
    border-radius: 0.625rem;
    min-height: 21.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .card-box .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7); /* Overlay oscuro */
    border-radius: 0.625rem;
  }

  .card-box .content {
    position: relative;
    z-index: 2;
  }

  .card-box h4 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
  }

  .card-box p {
    margin: 0 auto;
    max-width: 50rem;
    font-size: 1.1rem;
  }
  

.stats-section {
  background: #fff;
}

.stats-box {
  background: #fff;
  /* border: 2px dashed var(--bs-textos); borde punteado */
  border-radius: 1rem;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #b5c547; /* verde mostaza */
}

.stat-text {
  font-size: 1rem;
  color: #1d3b2a;
  margin: 0;
}

.stats-section {
  background: linear-gradient(to bottom, var(--bs-body-bg) 50%, #ffffff 50%);
}