.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: 4px;
  margin-top: 1rem;
  font-size: 1rem; 
}

.contactoa:hover {
  color: red; }

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

/* FORMULARIO */

#contact-form{
display:flex;
flex-direction:column;
gap:28px;
margin-top:10px;
}

/* grupo */

.form-group{
position:relative;
}

/* inputs */

#contact-form input,
#contact-form textarea{

width:100%;
border:none;
border-bottom:1px solid #dcdcdc;

padding:12px 5px;

font-family:"Montserrat", sans-serif;
font-size:0.85rem;

background:transparent;

transition:all .3s ease;

}

/* focus */

#contact-form input:focus,
#contact-form textarea:focus{

outline:none;

}

/* linea animada */

.form-group .line{

position:absolute;
bottom:0;
left:0;

height:1px;
width:0%;

background:#000;

transition:width .4s ease;

}

#contact-form input:focus ~ .line,
#contact-form textarea:focus ~ .line{

width:100%;

}

/* label */

.form-group label{

position:absolute;

left:5px;
top:12px;

font-size:.8rem;
color:#888;

pointer-events:none;

transition:.3s;

}

/* label animado */

#contact-form input:focus + label,
#contact-form textarea:focus + label,
#contact-form input:not(:placeholder-shown) + label,
#contact-form textarea:not(:placeholder-shown) + label{

top:-10px;
font-size:.65rem;
color:#000;

}

/* botón */

.btnenviar{

border:1px solid #000;
background:transparent;

padding:12px;

font-size:.75rem;
letter-spacing:1.5px;

text-transform:uppercase;

cursor:pointer;

display:flex;
align-items:center;
justify-content:center;
gap:8px;

transition:all .3s ease;

}

.btnenviar:hover{

background:#000;
color:white;

}

.btnenviar .arrow{

transition:transform .3s ease;

}

.btnenviar:hover .arrow{

transform:translateX(6px);

}

/* TOAST */

.toast-ok{

position:fixed;

bottom:30px;
right:30px;

display:flex;
align-items:center;
gap:12px;

background:white;

border:1px solid #e6e6e6;

padding:14px 18px;

font-family:"Montserrat";

font-size:.75rem;

box-shadow:0 10px 25px rgba(0,0,0,.08);

opacity:0;
transform:translateY(20px);

transition:.4s;

z-index:9999;

}

/* icono */

.toast-icon{

width:22px;
height:22px;

border-radius:50%;

border:1px solid #000;

display:flex;
align-items:center;
justify-content:center;

}

.toast-icon svg{

width:14px;
height:14px;

stroke:#000;
stroke-width:2;
fill:none;

stroke-dasharray:20;
stroke-dashoffset:20;

}

/* animacion check */

.toast-ok.show svg{

animation:drawCheck .6s forwards .2s;

}

@keyframes drawCheck{

to{
stroke-dashoffset:0;
}

}

/* barra progreso */

.toast-progress{

position:absolute;

bottom:0;
left:0;

height:2px;

width:100%;

background:#000;

animation:toastBar 5s linear forwards;

}

@keyframes toastBar{

from{width:100%;}
to{width:0%;}

}

/* aparecer */

.toast-ok.show{

opacity:1;
transform:translateY(0);

}

.mapagoogle{
  padding-top: 3rem;
}

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

.nosotros {
  display: flex;
  align-items: flex-start;
  gap: 6rem;
  padding: 7rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nosotros-texto {
  flex: 0.9;
  max-width: 460px;
  padding-top: 1rem;
}

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

.nosotros-imagen {
  flex: 1.1;
}

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

.nosotros-imagen .carousel-item img {
  width: 100%;
  height: 28rem;
  object-fit: cover;
  border-radius: 2px;
}

/* control del fade */
#carouselEstudio .carousel-item {
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  position: absolute;
  inset: 0;
}

/* slide activo visible */
#carouselEstudio .carousel-item.active {
  opacity: 1;
  position: relative;
  z-index: 2;
}

/* evita que el anterior quede visible */
#carouselEstudio .carousel-item:not(.active) {
  pointer-events: none;
  opacity: 0;
}

/* efecto zoom elegante */
#carouselEstudio .carousel-item img {
  transform: scale(1.03);
  transition: transform 6s ease;
}

/* cuando la imagen está activa */
#carouselEstudio .carousel-item.active img {
  transform: scale(1.1);
}

@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%;
}

.carousel {
  overflow: hidden;
}

/* ALTURA UNIFICADA */
.carousel-inner {
  height: 80vh; /* ajustable */
  overflow: hidden;
}

/* CADA SLIDE */
.carousel-item {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-item img,
.carousel-item video {
  display: block;
  margin: 0 auto;
  max-height: 80vh;
  width: auto;
}

.carousel-item video {
  max-height: 80vh;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.carousel-item img {
  max-height: 80vh;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

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

/* Fade en vez de slide */
.carousel-fade .carousel-item {
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.carousel-fade .carousel-item.active {
  opacity: 1;
}

/* Video wrapper */
.video-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Video */
.video-wrapper video {
  max-height: 100%;
  max-width: 100%;
  height: auto;
  width: auto;
  object-fit: contain;
}

/* Botón Play */
.custom-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: none;

  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(8px);

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  transition: all 0.35s ease;
}

/* TRIANGULO PLAY */
.custom-play::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 22px solid white;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  margin-left: 5px;
}

/* HOVER */
.custom-play:hover {
  transform: translate(-50%, -50%) scale(1.15);
  background: rgba(0,0,0,0.75);
}

/* ANILLO SUAVE */
.custom-play::after {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  70% {
    transform: scale(1.25);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@media (max-width: 768px) {

  .carousel-inner {
    height: 45vh;
  }

  .carousel-item img,
  .carousel-item video {
    max-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; 
  max-width: 1600px;
  margin: 0 auto;}

.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; }
