/* FONTS */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

/* GENERAL */
* {
    padding: 0;
    margin: 10;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}
html.lenis {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}
.lenis.lenis-scrolling iframe {
  pointer-events: none;
}


/* Botón WhatsApp flotante */
.btn-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 25px;
  background: #25d366;
  color: #fff;
  font-size: 1.8rem;
  padding: 12px 22px;
  border-radius: 50%;
  box-shadow: 0 6px 15px rgba(0,0,0,0.25);
  z-index: 1000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.btn-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}


/* Efecto hover en cards */
.card {
  transition: all 0.2s ease;
  border-radius: 2px;
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

.descripcion p {
  font-size: 1.05rem;
  margin-bottom: 12px;
  line-height: 1.6;
}

.descripcion .highlight {
  font-weight: 600;
  color: #007bff; /* azul elegante */
}

.descripcion-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.descripcion-list li {
  font-size: 1.05rem;
  margin-bottom: 10px;
  position: relative;
  padding-left: 28px;
}

.descripcion-list li i {
  position: absolute;
  left: 0;
  top: 3px;
  color: #007bff;
  font-size: 1rem;
}

body.detalle-pro3 {
  padding-top: 120px; /* Ajusta según el alto real del navbar */
}

.property-info i {
  color: #007bff; /* Azul solo en los íconos */
  margin-right: 6px;
}

.property-info .precio {
  color: #007bff; 
  font-weight: bold;
  font-size: 1.8rem;
}

a{
    text-decoration: none!important;
}
/* Ajuste para que el contenido no quede debajo del navbar en páginas de detalle */
body.detalle-pro1 section.pt-5.pb-5 {
    margin-top: 120px; /* prueba con 150px o ajusta el valor hasta que quede perfecto */
}
body.detalle-pro5 section.container {
        margin-top: 120px;
      }


.transition{ /* transition for diferents class */
    -webkit-transition:all 200ms linear;
	-moz-transition:all 200ms linear;
	-o-transition:all 200ms linear;
	-ms-transition:all 200ms linear;
	transition:all 200ms linear;
}
.cover-full{ /* object absolute cover full area */
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0; 
}
.center{ /* set in center */
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    width: 100%;
}

h1, h2{
    font-weight: 700;
    color:var(--color-dark);
}
h3, h4, h5, h6{
    font-weight: 500;
    color:var(--color-dark);
}
.content-right{
    text-align: right;
}
.btn-primary{
    background-color: var(--color-medium)!important;
    border-color:var(--color-medium)!important;
    color: var(--color-light2)!important;
    font-weight: 500!important;
}
.btn-secondary{
    background-color: transparent!important;
    border-color:var(--color-light)!important;
    color: var(--color-light)!important;
    font-weight: 500!important;
}

.social-links a {
    margin-left: 20px;
}
.social-links a:hover i{
    color: var(--color-light);
}

/* TEAM SECTION */
.team-member {
  background: #fff;
  border-radius: 15px;
  padding: 50px;
  transition: all 0.3s ease;
}

.team-member:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.team-img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #027c89;
}

.team-member h4 {
  font-weight: 700;
  color: #027c89;
}

.team-member p {
  font-size: 0.95rem;
}

/* Botón mini de WhatsApp */
.btn-whatsapp-mini {
  display: inline-block;
  background-color: #25d366;
  color: #fff;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-whatsapp-mini i {
  margin-right: 6px;
}

.btn-whatsapp-mini:hover {
  background-color: #1ebc5b;
  transform: scale(1.05);
  color: #fff;
}

.team-member a {
  color: #027c89;
  text-decoration: none;
}

/* ALL SECTIONS */
.section-title{
    font-weight: 700;
    margin-bottom: 50px;
    font-size: 2em;
    position:relative;
    text-align: center;
    z-index: 2;
}
.section-title:after{
    content: "";
    width: 30px;
    height: 4px;
    background-color: var(--color-light);
    display: block;
    position: absolute;
    top: 46px;
    left: 50%;
    transform: translate(-50%,0);
}


/* NAVBAR */
.navbar {
    position: absolute!important;
    width: 100%;
    z-index: 2;
    background-color: transparent; /* inicia transparente */
    transition: background-color 0.5s ease; /* transición suave */
}

.navbar-brand img {
    max-width: 240px;
}

.navbar-nav {
    margin-left: auto;
}

.nav-link {
    font-weight: 500;
    margin: 0 10px;
    color: var(--color-light2)!important;
}

.nav-link:hover {
    color: var(--color-light)!important;
}

.navbar-toggler {
    border-color: #fff!important;
}

.navbar-toggler-icon {
    padding: 5px 0;
}

.navbar-toggler-icon i {
    color: #fff;
}

.fixed {
    position: fixed!important;
    top: 0;
    width: 100%;
    background-color: #027c89 !important; /* color cambiado */
    z-index: 4;
    transition: background-color 0.5s ease; /* transición suave */
}



/* CAROUSEL IMAGES */
.banner{
    position: relative;
}
.banner .owl-theme .item{
    height: 100vh;
    background-size: cover;
    background-position:center;
}

.overlay-bg{
    background-color: var(--color-dark);
    opacity: .6;
    z-index: 2;
}
.item .container{
    position: relative;
    height: 100%;
}
.caption {
    position: absolute;
    width: 100%;
    left: 0;
    top: 50%;
    transform: translate(0, -50%);
    z-index: 3;
    text-align: center;
}
.caption-heading{
    font-size: 3em;
    font-weight: 700;
    padding: 0;
    color: var(--color-light2);
    line-height: 1;
    margin: 10px 0 30px;
    text-shadow: 0 0 15px #2b2b2b;
}

/* carousel nav */
.custom-nav {
    position: absolute;
    top: 45%;
    left: 0;
    right: 0;
    height: auto;
    z-index: 3;
}
.owl-prev, .owl-next {
    position: absolute;
    height: 100px;
    color: var(--color-light2);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 8px;
    font-size: 3em;
}
.owl-prev {
    left: 3%;
}
.owl-next {
    right: 3%;
}

/* WELCOME CONTENT */

.about-content img {
    max-width: 400px;   /* ancho máximo */
    width: 100%;
    height: auto;      
    display: block;
    margin-top: -90px;  /* súbela un poquito */
    border-radius: 10px; 
}

.about-content {
    padding: 30px 20px;
}
.about-content p {
    line-height: 30px;
}
.about-content li {
    list-style-type: none;
    position: relative;
}
.about-content li h4{
    font-size: 1.1em;
    font-weight: 500;
}
.about-content li p{
    font-size: .8em;
}
.about-content li i {
    position: absolute;
    font-size: 2em;
    color:var(--color-light);
}

.about-content li h4,
.about-content li p {
    margin-left: 50px;
}

/* SERVICES */
.services .row {
    margin: 0;
}
.services .box-image{
    height: 600px;
}
.box-image {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
}

.box-image .image {
  background-size: cover;
  background-position: center;
  height: 250px;
  transition: transform 0.4s ease;
}

.box-image:hover .image {
  transform: scale(1.1);
}

.box-image .shadow {
  background-color: rgba(0,0,0,0.6);
  transition: opacity 0.4s ease;
}

.box-image:hover .shadow {
  opacity: 0.3;
}

.box-image .desc {
  text-align: center;
  color: #fff;
}

.desc h4, 
.desc a,
.desc a:hover{
    color: #fff;
}
.desc h4 {
    font-weight: 700;
    margin-bottom:30px;
}
.desc a {
    border:1px solid #fff;
    padding:10px;
    border-radius:20px;
    font-size:.9em;
}
.box-image:hover .image {
    transform: scale(1.1);
}
.box-image:hover .shadow {
    opacity: 0.1;
}
.box-image:hover .desc *{
    text-shadow: 1px 1px 10px #080808;
}

/* PROJECTS */
.projects .box-image{
    height: 280px;
    margin: 0 auto 30px;
}
.projects {
  margin-top: 100px; /* ajusta según la altura del navbar */
}


/* TESTIMONIALS */
.testimonials{
    background-image:url('../images/testimonials.jpg');
    background-size: cover;
    background-position: center center;
    padding: 80px 0;
    position: relative;
}
.testimonials:after{
    content:"";
    position: absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
    background-color:var(--color-dark);
    opacity: .8;
}
.testimonials h1{
    color: var(--color-light2);
}
.testimonial {
    max-width: 70%;
    margin: 0 auto;
}
.testimonial:hover img{
    transform:scale(1.1);
}
.testimonial img {
    max-width: 100px;
    float: left;
    margin: 5px 0 0 5px;
}
.testimonial-content *{
    color:var(--color-light2);
}
.testimonial-content {
    margin-left: 120px;
    color: var(--color-light2);
}
.testimonial-content p{
    font-size: 1.2em;
}
.testimonial-content h4{
    font-weight: 500;
}
.testimonial-content h5{
    font-size: .9em;
}

/* CONTACT */
.contact{
    padding: 80px 0;
}
.contact-desc {
    text-align: center;
    margin-bottom: 60px;
}
.contact-desc h1 {
    color: var(--color-dark);
    font-weight: 700;
}
.contact-desc p {
    font-size: 1.4em;
}
.contact-form {
    max-width: 50%;
    margin: 0 auto;
}

/* FOOTER */

.footer1{
    background-color: #027c89 !important; /* color cambiado */
}
.footer2{
    background-color: #027c89 !important; /* color cambiado */
}
.footer *{
    color: var(--color-light2);
}
.foot-col h4{
    font-weight: 500;
    margin-bottom: 40px;
    position: relative;
    font-size: 1em;
}
.foot-col h4:after{
    content: "";
    width: 20px;
    height: 4px;
    background-color:var(--color-light);
    display: block;
    position: absolute;
    top:32px;
}
.foot-col p{
    line-height: 30px;
    margin-bottom: 5px;
}
.foot-col a:hover{
    color:var(--color-light);
}
.foot-logo{
    width: auto;
}
.foot-bottom-text{
    font-size: .8em;
}
/* Ajuste para que el scroll no tape los títulos con el navbar fijo */
html {
  scroll-behavior: smooth; /* desplazamiento suave */
  scroll-padding-top: 80px; /* altura aproximada del navbar */
}

/* Alternativa por sección (si prefieres afinar cada una) */
section {
  scroll-margin-top: 44px; /* deja espacio arriba al navegar con ancla */
}

/* ---------------- EFECTOS EXTRA ---------------- */

/* Fade in, slide y zoom */
.fade-in { opacity:0; transform:translateY(30px); transition:all .8s ease; }
.fade-in.visible { opacity:1; transform:translateY(0); }

.slide-left { opacity:0; transform:translateX(-40px); transition:all .8s ease; }
.slide-left.visible { opacity:1; transform:translateX(0); }

.slide-right { opacity:0; transform:translateX(40px); transition:all .8s ease; }
.slide-right.visible { opacity:1; transform:translateX(0); }

.zoom-in { opacity:0; transform:scale(0.9); transition:all .8s ease; }
.zoom-in.visible { opacity:1; transform:scale(1); }

/* Botones con gradiente animado */
.btn-primary {
  background: linear-gradient(135deg, #027c89, #00bcd4)!important;
  border: none!important;
  border-radius: 30px;
  transition: all 0.3s ease;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.2);
  background: linear-gradient(135deg, #00bcd4, #027c89)!important;
}

/* ---- Cards Misión, Visión, Valores ---- */
.card-mvv {
  background: #fff;
  padding: 30px 20px;
  border-radius: 15px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  transition: all .4s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.card-mvv h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #027c89;
  margin-top: 20px;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.card-mvv p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #444;
}

/* Efecto hover con 3D */
.card-mvv:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 12px 25px rgba(0,0,0,0.25);
}

/* Icono dentro de círculo */
.icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto;
  background: linear-gradient(135deg, #027c89, #00bcd4);
  color: #fff;
  font-size: 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: all .4s ease;
}

/* Hover: icono crece y brilla */
.card-mvv:hover .icon-circle {
  transform: rotate(10deg) scale(1.2);
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
  background: linear-gradient(135deg, #00bcd4, #027c89);
}

/* Fondo animado sutil */
.card-mvv::before {
  content: "";
  position: absolute;
  top: -30%;
  left: -30%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(2,124,137,0.1), transparent 70%);
  transform: rotate(25deg);
  transition: opacity .6s ease;
  opacity: 0;
}

.card-mvv:hover::before {
  opacity: 1;
}





/* Títulos con subrayado animado */
h1, h2 {
  position: relative;
}
h1::after, h2::after {
  content:"";
  position:absolute;
  bottom:-6px;
  left:50%;
  width:0;
  height:3px;
  background: linear-gradient(90deg,#027c89,#00bcd4);
  transition: all .4s ease;
  transform: translateX(-50%);
}
h1:hover::after, h2:hover::after { width:60%; }

/* Íconos flotantes */
.property-info i, .descripcion-list li i {
  animation: float 3s ease-in-out infinite;
}

.footer {
  position: relative;
  background: linear-gradient(-45deg, #027C89, #00bcd4, #0288a7, #01c3d9);
  background-size: 400% 400%;
  animation: gradientBG 18s ease infinite;
  overflow: hidden;
}

/* movimiento del gradiente */
@keyframes gradientBG {
  0% {background-position: 0% 50%;}
  50% {background-position: 100% 50%;}
  100% {background-position: 0% 50%;}
}

/* blobs tipo lava encima del gradiente */
.footer::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 20% 30%, rgba(0, 0, 0, 0.25), transparent 60%),
              radial-gradient(circle at 70% 40%, rgba(255, 255, 255, 0.12), transparent 60%),
              radial-gradient(circle at 40% 75%, rgba(0, 0, 0, 0.2), transparent 60%),
              radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1), transparent 60%);
  animation: lavaFooter 25s ease-in-out infinite alternate;
  z-index: 0;
  filter: blur(70px);
  opacity: 0.8;
}

/* animación de blobs */
@keyframes lavaFooter {
  0%   { transform: scale(1) translate(0, 0); }
  50%  { transform: scale(1.3) translate(-8%, -6%); }
  100% { transform: scale(1) translate(0, 0); }
}

/* asegura que el contenido quede arriba */
.footer * {
  position: relative;
  z-index: 1;
}

/* links con efecto hover */
.footer .foot-col a {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  transition: transform 0.25s ease, color 0.25s ease;
}

.footer .foot-col a:hover {
  color: #00f7ff;
  transform: scale(1.12);
}

/* === BOTÓN "VER DETALLES" === */
.btn-ver-detalles {
  display: inline-block;
  background: linear-gradient(135deg, #027c89, #00bcd4);
  color: #fff !important;
  padding: 10px 25px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none !important;
  border: none;
  box-shadow: 0 5px 15px rgba(2, 124, 137, 0.3);
  transition: all 0.3s ease;
}

.btn-ver-detalles:hover {
  background: linear-gradient(135deg, #00bcd4, #027c89);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 188, 212, 0.4);
}

.btn-ver-detalles:active {
  transform: scale(0.96);
}


.projects .desc {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.projects .desc a {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 25px;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #027c89, #00bcd4);
  border: none;
  border-radius: 30px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.projects .desc a:hover {
  transform: translateY(-4px) scale(1.05);
  background: linear-gradient(135deg, #00bcd4, #027c89);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  color: #fff;
}


/* ===== Animación de aparición suave ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.9s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Puedes ajustar tiempos o dirección si quieres */

/* ==== Animación de aparición suave ==== */




@keyframes float {
  0% { transform:translateY(0); }
  50% { transform:translateY(-4px); }
  100% { transform:translateY(0); }
}
