.divnav {
  background-color: #212529; }

.espacios {
  padding-left: 30px; }

header {
  background-color: #212529; }

.navbar-nav .nav-link {
  letter-spacing: 1px;
  padding-left: 1.2rem;
  padding-right: 1.2rem;
}


/* ======================
   FOOTER RESPONSIVE
====================== */

/* LINKS */ 
.footer a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer a:hover {
  opacity: 0.6;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* FOOTER GENERAL */
.footer {
  padding: 3rem 4rem 1.5rem;
  font-family: "Montserrat", sans-serif;
  font-style: normal;
  font-size: clamp(12px, 1.1vw, 14px);
}

/* BLOQUE SUPERIOR */
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

/* IZQUIERDA / DERECHA */
.footer-left,
.footer-right {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

/* DERECHA ALINEADA */
.footer-right {
  text-align: right;
}

/* BLOQUE INFERIOR */
.footer-bottom {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 0.4rem;
  font-size: 0.7rem;
  opacity: 0.6;
  letter-spacing: 1px;
}

/* ICONO COPYRIGHT */
.footer-bottom .copyright {
  font-size: 14px;
  position: relative;
  top: 1px;
}


/* RESPONSIVE */
@media (max-width: 768px) {
  .footer {
    padding: 2rem;
  }

  .footer-top {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-right {
    text-align: center;
  }
}


.aviso {
  padding-top: 80px;
  font-family: "Montserrat", sans-serif;
  line-height: 1.5;
  font-style: normal;
  font-weight: bold;
  font-size: small;
  display: flex;
  justify-content: center; }
  .aviso .avisotext {
    padding-top: 30px;
    padding-bottom: 30px;
    background-color: #c7c4c4;
    font-size: xx-large;
    border-radius: 10px; }

.margin {
  margin-top: 25px; }

.contactonav {
  padding-top: 50px;
  padding-left: 25px;
  justify-content: left; }
  .contactonav .contactop {
    margin-bottom: 0;
    color: black; }

.contactop {
  font-family: "Montserrat", sans-serif;
  letter-spacing: 1px;
  margin-bottom: 0px;
  margin-top: 5px;
  font-size: 1.5rem; }

.contactoa:hover {
  color: red; }

.contactoa {
  font-family: "Montserrat", sans-serif;
  text-decoration: none;
  color: black;
  margin-bottom: 1px;
  font-size: 0.75rem; }

.btnenviar {
  color: white;
  background-color: black;
  margin-bottom: 1rem; }

@media screen and (max-width: 990px) {
  .paddcontact {
    margin-left: 0.1rem; }
  .paddform {
    padding-top: 0.5rem; } }

.nosotros {
  display: flex;
  align-items: flex-start;
  gap: 4rem;
  padding: 6rem 1rem;
}

.nosotros-texto {
  max-width: 520px;
  flex: 1;
}

.nosotros-texto p {
  font-family: "Montserrat", sans-serif;
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.nosotros-imagen {
  flex: 1;
  margin-top: 0.5rem;
}

.nosotros-imagen img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.nosotros-imagen .carousel-item img {
  width: 100%;
  height: 26.25rem;
  object-fit: cover;
}

@media (max-width: 900px) {
  .nosotros {
    flex-direction: column;
    padding: 3rem 2rem;
  }

  .nosotros-imagen {
    order: 2;
  }

  .nosotros-texto {
    order: 1;
  }
}


/* .conainer-boton-wp {
  background-color: #2e6329;
  border: 0.1rem solid #fff;
  position: fixed;
  z-index: 999;
  border-radius: 50%;
  bottom: 1.1rem;
  right: 1.1rem;
  padding: 1rem;
  transition: ease 0.3s;
  animation: efecto 1.2s infinite; }

.conainer-boton-wp:hover {
  transform: scale(1.1);
  transition: 0.3s; }

.wp {
  width: 2rem;
  transition: ease 1s; }

@keyframes efecto {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.85); }
  100% {
    box-shadow: 0 0 0 25px rgba(0, 0, 0, 0); } } */

/* ======================
   PROYECTOS
====================== */

.divproyecto {
  margin: 1rem 1rem;
}

.titproyect {
 font-family: "Montserrat", sans-serif;
  letter-spacing: 1px;
}

/* GRID */
.gridproyect {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.project-card {
  display: block;
  position: relative;
  overflow: hidden;
  height: 26rem;
  background: #ffffff;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.9s ease;
}

.project-card:hover img {
  transform: scale(0.92); /* efecto alejamiento */
}

/* OVERLAY */
.project-card .overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0);
  color: white;
  font-size: 1.2rem;
  letter-spacing: 1px;
  opacity: 0;
  transition: opacity 0.6s ease;
  text-align: center;
  font-family: "Montserrat", sans-serif;
}

.project-card:hover .overlay {
  opacity: 1;
}

/* Responsive */
@media (max-width: 1070px) {
  .gridproyect {
    grid-template-columns: 1fr;
  }

  .project-card {
    height: 20rem;
  }
}

/* CONTENEDOR DEL CAROUSEL */
#carouselExampleIndicators {
  max-width: 100%;
}

/* ALTURA UNIFICADA */
.carousel-inner {
  height: 70vh; /* ajustable */
  padding: 10px;

}

/* CADA SLIDE */
.carousel-item {
  height: 100%;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: #ffffff;
  object-position: center;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1);
}

@media (max-width: 768px) {
  .carousel-inner {
    height: 45vh;
  }
}


.divproyect1 {
  display: flex;
  justify-content: center;
  width: 85%;
  height: 85%;
  padding-top: 3rem;
  padding-bottom: 3rem;
  flex-direction: column; }

.divcarrusel {
  padding: 4rem;
  display: grid;
  grid-template-columns: 40% 60%;
  height: 25%; }

.tproyect1 {
  font-family: "Montserrat", sans-serif;
  letter-spacing: 1px; }

.textproyect1 {
  padding-top: 5rem;
  padding-left: 3rem; }

.divproyect3 {
  display: flex;
  justify-content: center;
  width: 85%;
  height: 85%;
  padding-top: 3rem;
  padding-bottom: 3rem;
  flex-direction: column; }

.divproyect2 {
  display: flex;
  justify-content: center;
  width: 85%;
  height: 85%;
  padding-top: 3rem;
  padding-bottom: 3rem;
  flex-direction: column; }

.divproyect4 {
  display: flex;
  justify-content: center;
  width: 85%;
  height: 85%;
  padding-top: 3rem;
  padding-bottom: 3rem;
  flex-direction: column; }

.divproyect5 {
  display: flex;
  justify-content: center;
  width: 75%;
  height: 75%;
  padding-top: 3rem;
  padding-bottom: 3rem;
  flex-direction: column; }

* {
  margin: 0;
  padding: 0; }
