:root{
  --azul:#0f1f3d;
  --azul-2:#15294f;
  --dorado:#c9a56a;
  --dorado-2:#e0c08d;
  --gris:#f5f7fb;
  --texto:#1d2430;
  --blanco:#ffffff;
  --nav-height:88px;
}

@media (max-width: 991.98px){
  :root{
    --nav-height:78px;
  }
}
html{
  scroll-behavior:smooth;
}

body{
  font-family:'Inter',sans-serif;
  color:var(--texto);
  background:#fff;
}

h1,h2,h3,h4,h5,.display-title{
  font-family:'Playfair Display',serif;
  color:var(--azul);
}

a{
  text-decoration:none;
}

img{
  max-width:100%;
  display:block;
}

.section{
  padding:80px 0;
}

.section-light{
  background:var(--gris);
}

.haven-navbar{
  background:rgba(15,31,61,.92);
  backdrop-filter:blur(10px);
  box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.nav-logo{
  width:90px;
  height:45px;
  object-fit:contain;
}

.navbar-brand span{
  font-family:'Playfair Display',serif;
  font-size:1.15rem;
  color:#fff;
}

.navbar .nav-link{
  color:rgba(255,255,255,.85);
  font-weight:500;
}

.navbar .nav-link.active,
.navbar .nav-link:hover{
  color:#fff;
}

.btn-gold{
  background:var(--dorado);
  color:#fff;
  border:none;
}

.btn-gold:hover{
  background:#b99354;
  color:#fff;
}

.btn-outline-gold{
  border:1px solid var(--dorado);
  color:var(--dorado);
}

.btn-outline-gold:hover{
  background:var(--dorado);
  color:#fff;
}

.hero{
  position:relative;
  min-height:100vh;
  padding-top:var(--nav-height);
  display:flex;
  align-items:center;
  color:#fff;
  background:
    linear-gradient(rgba(10,20,40,.65), rgba(10,20,40,.65)),
    url('../images/hero.jpeg') center/cover no-repeat;
}

.hero h1,
.hero p{
  color:#fff;
}

.hero .hero-box{
  max-width:760px;
}

.page-hero{
  background:linear-gradient(135deg, var(--azul), var(--azul-2));
  color:#fff;
  min-height:340px;
  display:flex;
  align-items:center;
  padding-top:var(--nav-height);
  padding-bottom:70px;
}

.page-hero h1,
.page-hero p{
  color:#fff;
}

.section-title{
  font-size:2.2rem;
  margin-bottom:12px;
}

.section-subtitle{
  max-width:760px;
  color:#596273;
}

.info-card,
.project-card,
.contact-card{
  background:#fff;
  border:none;
  border-radius:22px;
  box-shadow:0 15px 40px rgba(19,34,68,.08);
  height:100%;
  overflow:hidden;
}

.info-card .card-body,
.project-card .card-body,
.contact-card .card-body{
  padding:28px;
}

.icon-box{
  width:60px;
  height:60px;
  border-radius:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(201,165,106,.12);
  color:var(--dorado);
  font-size:1.3rem;
  margin-bottom:18px;
}

.project-image{
  height:260px;
  width:100%;
  object-fit:cover;
}

.badge-soft{
  display:inline-block;
  padding:8px 14px;
  border-radius:999px;
  background:rgba(201,165,106,.14);
  color:var(--dorado);
  font-size:.85rem;
  font-weight:600;
  margin-bottom:14px;
}

.cta-box{
  background:linear-gradient(135deg, var(--azul), var(--azul-2));
  color:#fff;
  border-radius:28px;
  padding:45px 35px;
}

.cta-box h2,
.cta-box p{
  color:#fff;
}

.site-footer{
  background:var(--azul);
  color:#fff;
  padding:60px 0 25px;
}

.site-footer h5,
.site-footer h6{
  color:#fff;
}

.site-footer a{
  color:rgba(255,255,255,.8);
}

.site-footer a:hover{
  color:#fff;
}

.whatsapp-float{
  position:fixed;
  right:18px;
  bottom:18px;
  width:58px;
  height:58px;
  border-radius:50%;
  background:#25D366;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.7rem;
  box-shadow:0 14px 30px rgba(0,0,0,.18);
  z-index:999;
}

.form-control,
.form-select{
  min-height:52px;
  border-radius:14px;
  border:1px solid #d8deea;
}

textarea.form-control{
  min-height:140px;
}

@media (max-width: 991.98px){
  .hero{
    min-height:100vh;
    padding-top:var(--nav-height);
    padding-bottom:50px;
  }

  .section{
    padding:65px 0;
  }

  .project-image{
    height:220px;
  }
}

@media (max-width: 575.98px){
  .section-title{
    font-size:1.9rem;
  }

  .hero .display-4{
    font-size:2.2rem;
  }

  .cta-box{
    padding:32px 22px;
  }
}

.page-hero-developments{
  background:
    linear-gradient(rgba(15,31,61,.78), rgba(21,41,79,.88)),
    url('../images/proyectos/mbpoint/1.jpg') center/cover no-repeat;
}

.hero-kicker{
  display:inline-block;
  padding:10px 16px;
  border-radius:999px;
  background:rgba(255,255,255,.14);
  color:#fff;
  font-size:.85rem;
  font-weight:600;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.hero-lead{
  max-width:760px;
  color:rgba(255,255,255,.92);
}

.hero-side-card{
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.16);
  backdrop-filter:blur(10px);
  border-radius:24px;
  padding:28px;
  color:#fff;
  box-shadow:0 16px 40px rgba(0,0,0,.10);
}

.hero-side-card h4,
.hero-side-card p,
.hero-side-card span{
  color:#fff;
}

.section-eyebrow{
  display:inline-block;
  font-size:.82rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:var(--dorado);
  margin-bottom:10px;
}

.section-paragraph{
  color:#556072;
  line-height:1.8;
}

.mini-feature-card{
  background:#fff;
  border-radius:22px;
  padding:24px;
  box-shadow:0 14px 40px rgba(19,34,68,.08);
  height:100%;
}

.mini-feature-card h5{
  margin-bottom:8px;
}

.mini-feature-card p{
  color:#5d6675;
}

.process-card{
  position:relative;
  background:#fff;
  border-radius:24px;
  padding:30px 26px;
  box-shadow:0 15px 40px rgba(19,34,68,.08);
  height:100%;
  overflow:hidden;
}

.process-number{
  font-family:'Playfair Display',serif;
  font-size:2.5rem;
  line-height:1;
  color:rgba(201,165,106,.18);
  margin-bottom:14px;
}

.process-card h4{
  margin-bottom:12px;
}

.process-card p{
  color:#5d6675;
}

.insight-box{
  background:linear-gradient(135deg, #f7f9fc, #eef3f9);
  border-radius:28px;
  padding:34px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8);
}

.insight-item{
  background:#fff;
  border-radius:20px;
  padding:22px 18px;
  height:100%;
  box-shadow:0 10px 30px rgba(19,34,68,.06);
}

.insight-item strong{
  display:block;
  color:var(--azul);
  margin-bottom:8px;
  font-size:1rem;
}

.insight-item span{
  display:block;
  color:#5e6878;
  line-height:1.6;
}

.project-card-enhanced .card-body{
  padding:30px;
}

.project-link{
  display:inline-flex;
  align-items:center;
  font-weight:600;
  color:var(--azul);
  margin-top:10px;
}

.project-link:hover{
  color:var(--dorado);
}

@media (max-width: 991.98px){
  .hero-side-card{
    padding:22px;
  }

  .insight-box{
    padding:24px;
  }
}
.page-hero-recycled{
  background:
    linear-gradient(rgba(15,31,61,.76), rgba(21,41,79,.88)),
    url('../images/proyectos/alberdi/1.jpg') center/cover no-repeat;
}
.page-hero-demoliciones{
  background:
    linear-gradient(rgba(15,31,61,.78), rgba(21,41,79,.90)),
    url('../images/demoliciones/1.jpg') center/cover no-repeat;
}

.machinery-card .project-image{
  height:280px;
}

@media (max-width: 991.98px){
  .machinery-card .project-image{
    height:220px;
  }
}




.haven-navbar .dropdown-menu{
  background: rgba(15, 31, 61, 0.98);
  border-radius: 14px;
  padding: 10px;
  min-width: 220px;
  margin-top: 10px;
}

.haven-navbar .dropdown-item{
  color: rgba(255,255,255,0.82);
  border-radius: 10px;
  padding: 10px 14px;
  transition: 0.2s ease;
}

.haven-navbar .dropdown-item:hover,
.haven-navbar .dropdown-item.active{
  background: rgba(255,255,255,0.08);
  color: #fff;
}

.haven-navbar .dropdown-toggle::after{
  margin-left: 8px;
  vertical-align: middle;
}

.projects-section .row{
  --bs-gutter-y: 1.75rem;
}

.project-tile{
  background:#fff;
  border-radius:24px;
  overflow:hidden;
  border:1px solid rgba(15,31,61,.08);
  box-shadow:0 18px 50px rgba(15,31,61,.08);
  height:100%;
  cursor:pointer;
  transition:transform .28s ease, box-shadow .28s ease;
}

.project-tile:hover{
  transform:translateY(-8px);
  box-shadow:0 24px 60px rgba(15,31,61,.14);
}

.project-tile-media{
  position:relative;
  height:280px;
  overflow:hidden;
}

.project-tile-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .45s ease;
}

.project-tile:hover .project-tile-media img{
  transform:scale(1.05);
}

.project-tile-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,.06) 0%, rgba(0,0,0,.22) 100%);
}

.project-state{
  position:absolute;
  top:16px;
  right:16px;
  z-index:3;
  display:inline-flex;
  align-items:center;
  padding:.5rem .9rem;
  border-radius:999px;
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.05em;
  text-transform:uppercase;
  color:#fff;
  box-shadow:0 10px 24px rgba(0,0,0,.14);
}

.static-state{
  position:static;
  box-shadow:none;
}

.project-state-sold{
  background:#c73b32;
}

.project-state-process{
  background:#d47a1f;
}

.project-state-finished{
  background:#2d8a57;
}

.project-tile-body{
  padding:1.45rem 1.45rem 1.35rem;
}

.project-meta-top{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:.5rem;
  margin-bottom:.8rem;
}

.project-category{
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:#8a6a3e;
}

.project-meta-dot{
  width:5px;
  height:5px;
  border-radius:50%;
  background:#c8ccd3;
}

.project-location{
  font-size:.86rem;
  color:#7a818c;
}

.project-tile h3{
  font-size:1.45rem;
  margin-bottom:.75rem;
}

.project-tile p{
  color:#626b76;
  line-height:1.7;
  margin-bottom:1.15rem;
}

.project-tile-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
}

.project-type-pill{
  display:inline-flex;
  align-items:center;
  padding:.45rem .8rem;
  border-radius:999px;
  background:#f3f5f7;
  color:#23324a;
  font-size:.78rem;
  font-weight:700;
}

.project-link-btn{
  background:none;
  border:none;
  padding:0;
  display:inline-flex;
  align-items:center;
  gap:.55rem;
  color:#0f1f3d;
  font-weight:700;
}

.project-link-btn i{
  font-size:.9rem;
  transition:transform .2s ease;
}

.project-tile:hover .project-link-btn i{
  transform:translateX(4px);
}

.haven-project-modal .modal-content{
  border:none;
  border-radius:28px;
  overflow:hidden;
  box-shadow:0 30px 90px rgba(15,31,61,.22);
}

.project-modal-close{
  position:absolute;
  top:20px;
  right:20px;
  z-index:20;
  width:46px;
  height:46px;
  border:none;
  border-radius:50%;
  background-color:#ffffff !important;
  box-shadow:0 10px 30px rgba(0,0,0,.18);
  opacity:1 !important;
  filter:none !important;
  background-size:15px;
}

.project-modal-close:hover{
  transform:scale(1.05);
}

.project-modal-close:focus{
  box-shadow:0 0 0 0.2rem rgba(15,31,61,.15);
}

.project-modal-close.btn-close{
  --bs-btn-close-color:#000;
  --bs-btn-close-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707A1 1 0 01.293.293z'/%3e%3c/svg%3e");
  background-image:var(--bs-btn-close-bg) !important;
}

.project-gallery .carousel-inner img{
  width:100%;
  height:560px;
  object-fit:cover;
  display:block;
}

.project-thumbs{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:.75rem;
  padding:1rem;
  background:#fff;
  border-top:1px solid rgba(15,31,61,.08);
}

.project-thumbs button{
  border:none;
  background:none;
  padding:0;
  border-radius:14px;
  overflow:hidden;
  opacity:.85;
  transition:all .2s ease;
}

.project-thumbs button.active,
.project-thumbs button:hover{
  opacity:1;
  transform:translateY(-2px);
}

.project-thumbs img{
  width:100%;
  height:82px;
  object-fit:cover;
  display:block;
}

.project-modal-content{
  padding:3rem 2.2rem;
  height:100%;
  display:flex;
  flex-direction:column;
  justify-content:center;
  background:#fff;
}

.project-modal-content h2{
  font-size:2rem;
  margin-bottom:.5rem;
}

.project-modal-location{
  color:#7a818c;
  margin-bottom:1.4rem;
  font-size:.96rem;
}

.project-modal-content p{
  color:#5f6873;
  line-height:1.8;
  margin-bottom:1rem;
}

.project-info-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:.85rem;
  margin-top:.8rem;
}

.project-info-item{
  background:#f7f8fa;
  border:1px solid rgba(15,31,61,.06);
  border-radius:18px;
  padding:1rem;
}

.project-info-item span{
  display:block;
  font-size:.75rem;
  text-transform:uppercase;
  letter-spacing:.05em;
  color:#8a919a;
  margin-bottom:.3rem;
  font-weight:700;
}

.project-info-item strong{
  color:#12213b;
  font-size:.95rem;
}

@media (max-width: 991.98px){
  .project-gallery .carousel-inner img{
    height:360px;
  }

  .project-modal-content{
    padding:2rem 1.35rem 2.2rem;
  }

  .project-info-grid{
    grid-template-columns:1fr;
  }
}

@media (max-width: 767.98px){
  .project-tile-media{
    height:240px;
  }

  .project-thumbs{
    grid-template-columns:repeat(4, 1fr);
    gap:.5rem;
    padding:.75rem;
  }

  .project-thumbs img{
    height:58px;
  }

  .project-gallery .carousel-inner img{
    height:280px;
  }

  .project-tile-footer{
    flex-direction:column;
    align-items:flex-start;
  }
}
.team-pillar-card{
  background:#fff;
  border-radius:22px;
  padding:1.75rem;
  border:1px solid rgba(15,31,61,.08);
  box-shadow:0 16px 45px rgba(15,31,61,.07);
  transition:transform .25s ease, box-shadow .25s ease;
}

.team-pillar-card:hover{
  transform:translateY(-6px);
  box-shadow:0 22px 55px rgba(15,31,61,.12);
}

.team-pillar-label{
  display:inline-block;
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.05em;
  text-transform:uppercase;
  color:#8a6a3e;
  margin-bottom:.7rem;
}

.team-pillar-card h4{
  margin-bottom:.35rem;
}

.team-role{
  color:#6c7480;
  font-weight:600;
}

