/* Reset básico */
* {
  margin: 0;
  padding: 0;
  
  box-sizing: border-box;
}
body{
  text-align: justify;
}

/* ======= ENCABEZADO ======= */
header {
  background-color: #ffffff;
  color: white;
  font-family: Arial, sans-serif;
  padding: 20px 0;
}

.logo img {
  width: clamp(180px, 20vw, 250px);
  height: auto;
  object-fit: contain;
}





/* ======= FOOTER ======= */
footer {
  background-color: #ffffff;
  color: rgb(0, 0, 0);
  text-align: center !important;
  padding: 20px;
  margin-top: 40px;
  font-family: 'Lato', sans-serif;
}

footer a {
  color: #000000;
  text-decoration: underline;
  margin-left: 10px;
}


/* ======= MENÚ BOOTSTRAP ======= */
.navbar {
  min-height: 100px;
  
}

.navbar-brand img {
  height: clamp(60px, 10vw, 80px);
  width: auto;
}

.navbar-dark .navbar-nav .nav-link {
  background-color: #6f752c !important;
  color: #fff !important;
  margin: 0 5px;
  border-radius: 4px;
  padding: 8px 16px;
  transition: background-color 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
  background-color: #34495e !important;
  color: #fff !important;
}

.dropdown-menu {
  background-color: #01200b;
  border-radius: 4px;
  color: #fff;
  border: none;
  min-width: 180px;
  white-space: nowrap;
  overflow: hidden;
}

.nav-item.dropdown:last-child .dropdown-menu,
.navbar-nav > li:last-child .dropdown-menu {
  left: auto !important;
  right: 0 !important;
  transform: none !important;
}

.dropdown-item {
  color: #fff;
}

.dropdown-item:hover {
  background-color: #bdc3c7;
  color: #000;
}

/* Enlace activo */
.nav-link.active,
.dropdown-toggle.active,
.dropdown-item.active {
  background-color: #636363 !important;
  color: white !important;
  font-weight: bold;
  border-radius: 4px;
}

/*parte de nuestra historia*/
.img-larga {
  width: 60%;
  object-fit: cover;
}

.imagenes-dos {
  width: 70%;
}

.imagenes-dos img {
  width: 150%;
  object-fit: cover;
}

.titulo-valor {
  background-color: #6f752c; /* Azul institucional */
  color: #fff;               /* Texto blanco */
  padding: 0.75rem 1rem;     /* Espaciado interno */
  border-radius: 0.5rem;     /* Esquinas redondeadas */
  display: inline-block;     /* Para que se ajuste al contenido */
}


/* ======= AJUSTES PARA PANTALLAS GRANDES (TV, 4K) ======= */
@media (min-width: 1600px) {

  .sobre-nosotros,
  .contenido,
  .servicios-container {
    max-width: 1500px;
    margin: auto;
  }

  .contenido {
    gap: 40px;
  }

  .servicio-box {
    width: 380px;
  }

  .icon-wrapper {
    width: 120px;
    height: 120px;
  }

  .servicio-box p {
    padding-right: 120px;
  }
}

/* ================================
   ⭐ MENÚ RESPONSIVO (MÓVIL)
   Color verde #6f752c
   ================================ */

/* Fondo del menú cuando se despliega */
.navbar-collapse {
  background-color: #ffffff !important; /* fondo blanco */
  padding: 15px 0;
}

/* Enlaces dentro del menú */
.navbar-nav .nav-link {
  background-color: #6f752c !important;
  color: #ffffff !important;
  margin: 5px 10px;
  border-radius: 4px;
  padding: 10px 15px;
  text-align: center;
}

/* Hover de enlaces */
.navbar-nav .nav-link:hover {
  background-color: #505525 !important;
  color: #ffffff !important;
}

/* Botón hamburguesa (fondo) */
.navbar-dark .navbar-toggler {
  background-color: #ffffff !important; /* fondo blanco */
  border: 2px solid #6f752c !important;
  border-radius: 6px;
  padding: 6px 10px;
}

/* Ícono de las 3 rayitas (verde) */
.navbar-dark .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%236f752c' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(111,117,44,1)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Fondo del dropdown en móvil */
.dropdown-menu {
  background-color: #6f752c !important;
  border-radius: 4px;
  border: none;
  padding: 0;
}

/* Items del dropdown */
.dropdown-item {
  color: #ffffff !important;
  padding: 10px 15px;
  text-align: left;
}

/* Hover del dropdown */
.dropdown-item:hover {
  background-color: #505525 !important;
  color: #ffffff !important;
}

/* Item activo */
.dropdown-item.active {
  background-color: #636363 !important; /* mismo fondo que tenías */
  color: #ffffff !important;
}

/* Link activo principal */
.nav-link.active {
  background-color: #636363 !important; /* mismo fondo que tenías */

  color: #ffffff !important;
}