:root{
  --black:#050505;
  --graphite:#111;
  --gold:#c99327;
  --gold2:#efc15b;
  --white:#fff;
  --muted:#686868;
  --red:#e4312b;
  --line:#e9e4db;
  --cream:#f8f5ef;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;
  color:#141414;
  background:#fff;
}
a{text-decoration:none;color:inherit}
.container{
  width:min(1180px,calc(100% - 40px));
  margin-inline:auto;
}

/* HEADER */
.header{
  position:sticky;
  top:0;
  z-index:50;
  background:#050505;
  border-bottom:1px solid rgba(201,147,39,.3);
}
.nav-wrap{
  height:86px;
  display:flex;
  align-items:center;
  gap:28px;
}
.brand img{
  width:190px;
  height:64px;
  object-fit:contain;
  object-position:left center;
}
.nav{
  display:flex;
  gap:30px;
  margin-left:auto;
  align-items:center;
}
.nav a{
  color:#fff;
  font-size:13px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.03em;
  opacity:.92;
}
.nav a.active,
.nav a:hover{
  color:var(--gold2);
}
.phone{
  border:1px solid var(--gold);
  color:var(--gold2);
  padding:14px 22px;
  border-radius:6px;
  font-weight:800;
}
.menu-btn{
  display:none;
  margin-left:auto;
  background:none;
  color:#fff;
  border:0;
  font-size:30px;
}

/* HERO CON FOTO PUERTO NORTE */
.hero{
  position:relative;
  min-height:680px;
  background:#050505;
  display:flex;
  align-items:center;
  overflow:hidden;
}

.hero-bg{
  position:absolute;
  inset:0;
  background:
    linear-gradient(
      90deg,
      rgba(0,0,0,.92) 0%,
      rgba(0,0,0,.78) 38%,
      rgba(0,0,0,.28) 70%,
      rgba(0,0,0,.12) 100%
    ),
    url("../img/hero-puerto-norte.jpg");
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
}

/* Importante: eliminamos el recuadro gris */
.hero-bg:after{
  display:none;
}

.hero-inner{
  position:relative;
  z-index:1;
}
.hero-copy{
  max-width:650px;
  color:#fff;
}
.kicker{
  color:var(--gold);
  text-transform:uppercase;
  font-weight:900;
  letter-spacing:.08em;
  font-size:14px;
}
.hero h1{
  font-size:58px;
  line-height:1.05;
  margin:18px 0;
  color:#fff;
}
.gold-text{
  color:var(--gold2);
}
.lead{
  font-size:18px;
  line-height:1.75;
  color:#f0f0f0;
  max-width:560px;
}
.actions{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
  margin-top:30px;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:16px 24px;
  border-radius:6px;
  font-weight:900;
  text-transform:uppercase;
  font-size:13px;
  letter-spacing:.02em;
  border:1px solid transparent;
}
.btn.gold{
  background:linear-gradient(135deg,var(--gold2),var(--gold));
  color:#fff;
  box-shadow:0 16px 30px rgba(201,147,39,.25);
}
.btn.outline{
  border-color:rgba(255,255,255,.65);
  color:#fff;
  background:rgba(255,255,255,.04);
}
.btn.black{
  background:#050505;
  color:#fff;
}
.dark-text{
  color:#111!important;
  border-color:#111!important;
}

/* BUSCADOR */
.search-panel{
  position:relative;
  z-index:5;
  background:#fff;
  margin-top:-55px;
  border-radius:10px;
  padding:26px 26px 24px;
  box-shadow:0 18px 55px rgba(0,0,0,.16);
}
.search-title{
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:center;
  border-bottom:1px solid var(--line);
  padding-bottom:18px;
  margin-bottom:18px;
}
.search-title h2{
  margin:0;
  font-size:24px;
}
.search-title span{
  font-size:13px;
  color:#333;
}
.search-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr) 130px;
  gap:18px;
  align-items:end;
}
.search-grid label{
  font-size:13px;
  color:#555;
  font-weight:600;
}
.search-grid select{
  margin-top:8px;
  width:100%;
  height:44px;
  border:1px solid #ddd;
  border-radius:5px;
  padding:0 12px;
  background:#fff;
}

/* SECCIONES */
.section{
  padding:76px 0;
}
.section-head{
  display:flex;
  justify-content:space-between;
  gap:24px;
  align-items:end;
  margin-bottom:26px;
}
.section h2{
  font-size:34px;
  margin:10px 0 0;
}
.small-link{
  border:1px solid #111;
  border-radius:4px;
  padding:13px 18px;
  text-transform:uppercase;
  font-size:12px;
  font-weight:900;
}

/* PROPIEDADES */
.property-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:36px;
}
.property-card{
  background:#fff;
  border:1px solid #eee;
  border-radius:8px;
  overflow:hidden;
  box-shadow:0 18px 40px rgba(0,0,0,.08);
  transition:.25s;
}
.property-card:hover{
  transform:translateY(-5px);
}
.property-img{
  height:245px;
  position:relative;
  background-size:cover;
  background-position:center;
}
.img-1{
  background:
    linear-gradient(135deg,rgba(0,0,0,.18),rgba(0,0,0,.08)),
    linear-gradient(120deg,#d8d1c6,#49433b);
}
.img-2{
  background:
    linear-gradient(135deg,rgba(0,0,0,.1),rgba(0,0,0,.0)),
    linear-gradient(120deg,#9e8d76,#e8c899 60%,#627c47);
}
.img-3{
  background:
    linear-gradient(135deg,rgba(0,0,0,.15),rgba(0,0,0,.04)),
    linear-gradient(120deg,#f5f0e8,#2f2924);
}
.badge{
  position:absolute;
  top:12px;
  padding:8px 12px;
  border-radius:3px;
  color:#fff;
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
}
.badge.dark{
  left:12px;
  background:#080808;
}
.badge.red{
  right:12px;
  background:var(--red);
}
.property-body{
  padding:20px;
}
.location{
  font-size:13px;
  color:#333;
}
.property-body h3{
  margin:8px 0 10px;
  font-size:18px;
}
.icons{
  color:#6d6255;
  font-size:14px;
  margin-bottom:18px;
}
.property-body strong{
  color:var(--gold);
  font-size:18px;
}

/* SERVICIOS */
.services{
  background:#050505;
  color:#fff;
  padding:54px 0;
}
.services-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}
.service{
  padding:20px 24px;
  border-right:1px solid rgba(255,255,255,.12);
}
.service:last-child{
  border-right:0;
}
.service span{
  font-size:34px;
  color:var(--gold);
}
.service h3{
  font-size:17px;
}
.service p{
  color:#d7d7d7;
  line-height:1.65;
  font-size:14px;
}

/* NOSOTROS */
.why{
  background:var(--cream);
}
.why-grid{
  display:grid;
  grid-template-columns:.85fr 1.4fr;
  gap:80px;
  align-items:center;
}
.why p{
  line-height:1.7;
  color:#333;
}
.why-list{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:28px;
}
.why-list div{
  display:grid;
  grid-template-columns:64px 1fr;
  gap:16px;
  align-items:start;
}
.why-list span{
  width:58px;
  height:58px;
  border-radius:50%;
  background:#efe3cf;
  color:#9d7224;
  display:grid;
  place-items:center;
  font-size:26px;
}
.why-list h3{
  margin:0 0 6px;
}
.why-list p{
  margin:0;
}

/* TASACIONES */
.tasaciones{
  background:#fff;
}
.quote-card{
  border-radius:18px;
  background:linear-gradient(135deg,#101010,#28221a);
  color:#fff;
  padding:42px;
  display:flex;
  justify-content:space-between;
  gap:30px;
  align-items:center;
  box-shadow:0 24px 60px rgba(0,0,0,.16);
}
.quote-card p{
  color:#eee;
  line-height:1.7;
}

/* CONTACTO */
.contact-band{
  background:#0a0a0a;
  color:#fff;
  padding:46px 0;
}
.contact-grid{
  display:grid;
  grid-template-columns:1.4fr repeat(3,1fr);
  gap:36px;
  align-items:center;
}
.contact-grid h2{
  font-size:28px;
  margin:0;
}
.contact-grid p{
  color:#d9a938;
  margin:8px 0;
}
.contact-item{
  display:grid;
  grid-template-columns:40px 1fr;
  gap:7px 14px;
  align-items:center;
}
.contact-item span{
  grid-row:span 2;
  color:var(--gold);
  font-size:30px;
}
.contact-item a,
.contact-item p{
  color:#fff;
  margin:0;
  font-size:14px;
}

/* FOOTER */
.footer{
  background:#050505;
  color:#fff;
  border-top:1px solid rgba(201,147,39,.25);
  padding:30px 0;
}
.footer-inner{
  display:flex;
  gap:32px;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
}
.footer img{
  width:160px;
  height:55px;
  object-fit:contain;
}
.footer nav{
  display:flex;
  gap:20px;
  flex-wrap:wrap;
}
.footer nav a{
  font-size:12px;
  text-transform:uppercase;
  font-weight:800;
}
.footer p{
  color:#aaa;
  font-size:13px;
}

/* WHATSAPP */
.float-wa{
  position:fixed;
  right:24px;
  bottom:24px;
  width:62px;
  height:62px;
  border-radius:50%;
  background:#25d366;
  color:#fff;
  display:grid;
  place-items:center;
  font-size:30px;
  box-shadow:0 10px 30px rgba(37,211,102,.4);
  z-index:60;
}

/* ANIMACIONES */
.reveal{
  opacity:0;
  transform:translateY(18px);
  transition:.7s ease;
}
.reveal.show{
  opacity:1;
  transform:none;
}

/* TABLET */
@media(max-width:980px){
  .phone{
    display:none;
  }
  .nav{
    position:absolute;
    left:0;
    right:0;
    top:86px;
    background:#050505;
    display:none;
    flex-direction:column;
    padding:22px;
  }
  .nav.open{
    display:flex;
  }
  .menu-btn{
    display:block;
  }
  .hero{
    min-height:620px;
  }
  .hero h1{
    font-size:44px;
  }
  .search-grid{
    grid-template-columns:1fr 1fr;
  }
  .property-grid,
  .services-grid{
    grid-template-columns:1fr 1fr;
  }
  .why-grid,
  .contact-grid{
    grid-template-columns:1fr;
  }
  .quote-card{
    flex-direction:column;
    align-items:flex-start;
  }
}

/* CELULAR */
@media(max-width:640px){
  .container{
    width:min(100% - 28px,1180px);
  }
  .brand img{
    width:150px;
  }
  .nav-wrap{
    height:74px;
  }
  .nav{
    top:74px;
  }
  .hero{
    min-height:600px;
  }
  .hero-bg{
    background:
      linear-gradient(
        90deg,
        rgba(0,0,0,.88) 0%,
        rgba(0,0,0,.68) 58%,
        rgba(0,0,0,.22) 100%
      ),
      url("../img/hero-puerto-norte.jpg");
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
  }
  .hero h1{
    font-size:35px;
  }
  .lead{
    font-size:16px;
  }
  .search-panel{
    margin-top:-28px;
    padding:20px;
  }
  .search-title{
    align-items:flex-start;
    flex-direction:column;
  }
  .search-grid,
  .property-grid,
  .services-grid,
  .why-list{
    grid-template-columns:1fr;
  }
  .section-head{
    flex-direction:column;
    align-items:flex-start;
  }
  .section{
    padding:54px 0;
  }
  .services-grid .service{
    border-right:0;
    border-bottom:1px solid rgba(255,255,255,.12);
  }
  .quote-card{
    padding:28px;
  }
  .footer-inner{
    align-items:flex-start;
    flex-direction:column;
  }
  .float-wa{
    width:56px;
    height:56px;
  }
}