*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body{
  background:#f5f5f5;
}

/* ================= HEADER PREMIUM ================= */

.header{

  width:100%;

  background:white;

  padding:18px 8%;

  display:flex;

  justify-content:space-between;

  align-items:center;

  position:sticky;

  top:0;

  z-index:1000;

  box-shadow:
  0 2px 15px rgba(0,0,0,0.05);
}

/* LOGO */

.logo{

  font-size:34px;

  font-weight:800;

  color:#111;

  text-decoration:none;

  letter-spacing:-1px;

  transition:0.3s;
}

/* COLOR DEL GROUP */

.logo span{

  color:#5dc1b9;
}

/* HOVER LOGO */

.logo:hover{

  transform:scale(1.03);
}

/* MENÚ */

.menu{

  display:flex;

  gap:30px;
}

/* LINKS */

.menu a{

  position:relative;

  text-decoration:none;

  color:#333;

  font-size:15px;

  font-weight:600;

  transition:0.3s;
}

/* EFECTO HOVER */

.menu a::after{

  content:"";

  position:absolute;

  left:0;

  bottom:-6px;

  width:0%;

  height:2px;

  background:#5dc1b9;

  transition:0.3s;
}

.menu a:hover{

  color:#5dc1b9;
}

.menu a:hover::after{

  width:100%;
}

/* RESPONSIVE */

@media(max-width:768px){

  .header{

    flex-direction:column;

    gap:15px;

    padding:20px;
  }

  .menu{

    flex-wrap:wrap;

    justify-content:center;

    gap:15px;
  }

  .logo{

    font-size:28px;
  }

}

/* LISTADO */
.listado{
  padding:20px 10%;
}

.info{
  flex:1;

  padding:28px 40px;

  display:flex;
  flex-direction:column;
  justify-content:center;
}
.info h3{

  font-size:38px;

  font-weight:800;

  color:#111;

  margin-bottom:14px;

  letter-spacing:-1px;
}

.info p{
  margin-bottom:8px;
}

.info span{

  color:#777;

  font-size:18px;

  margin-bottom:18px;

  display:block;
}

/* BOTONES */
.acciones{
  margin-top:15px;
}

.whatsapp{
  background:#25D366;
  color:white;
  border:none;
  padding:10px 15px;
  margin-right:10px;
  cursor:pointer;
}

.contactar{
  background:#5dc1b9;
  color:white;
  border:none;
  padding:10px 15px;
  cursor:pointer;
}

/* RESPONSIVE */
@media(max-width:768px){

  .propiedad{
    flex-direction:column;
  }

  .propiedad img{
    width:100%;
  }

  .filtros{
    flex-direction:column;
  }

}
/* ================= FILTROS PREMIUM ================= */

.filtros{

  width:80%;

  margin:30px auto;

  padding:25px;

  background:white;

  border-radius:20px;

  box-shadow:
  0 5px 20px rgba(146, 89, 89, 0.08);

  display:flex;

  gap:15px;

  justify-content:center;

  align-items:center;

  flex-wrap:wrap;
}

/* SELECTS */

.filtros select{

  min-width:220px;

  padding:14px 18px;

  border:1px solid #ddd;

  border-radius:12px;

  background:#f9f9f9;

  font-size:15px;

  color:#333;

  outline:none;

  cursor:pointer;

  transition:0.3s;
}

/* EFECTO HOVER */

.filtros select:hover{

  border-color:#5dc1b9;

  background:white;
}

/* AL HACER CLICK */

.filtros select:focus{

  border-color:#5dc1b9;

  box-shadow:
  0 0 10px rgba(255,106,0,0.2);

  background:white;
}

/* BOTÓN */

.btn{

  background:linear-gradient(
  135deg,
  #5dc1b9,
  #a5e2de
  );

  color:white;

  border:none;

  padding:14px 30px;

  border-radius:12px;

  font-size:15px;

  font-weight:bold;

  cursor:pointer;

  transition:0.3s;

  box-shadow:
  0 5px 15px rgba(92, 91, 90, 0.25);
}

/* HOVER BOTÓN */

.btn:hover{

  transform:translateY(-3px);

  box-shadow:
  0 10px 20px rgba(27, 157, 167, 0.3);
}

/* RESPONSIVE */

@media(max-width:768px){

  .filtros{

    width:90%;

    padding:20px;
  }

  .filtros select{

    width:100%;
  }

  .btn{

    width:100%;
  }

}

/* CARD MEJORADA */

.propiedad{

  display:flex;

  align-items:stretch;

  background:white;

  border-radius:14px;

  overflow:hidden;

  margin-bottom:25px;

  box-shadow:0 5px 18px rgba(0,0,0,0.08);

  transition:0.3s;
}
/* HOVER */

.propiedad:hover{

  transform:translateY(-5px);

  box-shadow:0 12px 25px rgba(0,0,0,0.12);
}

/* IMAGEN */

.propiedad img{

  width:380px;

  min-width:380px;

  height:100%;

  object-fit:cover;

  display:block;
}

/* INFO */

.info{

  flex:1;

  padding:28px;

  display:flex;

  flex-direction:column;

  justify-content:center;
}

/* INFO */

.info{
  flex:1;
  padding:22px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

/* BADGE */

.badge{
  display:inline-block;
  background:#5dc1b9;
  color:white;
  padding:6px 12px;
  border-radius:30px;
  font-size:12px;
  font-weight:bold;
  margin-bottom:12px;
  width:max-content;
}

/* TITULO */

.titulo{

  font-size:24px;

  font-weight:700;

  margin-bottom:14px;

  color:#222;
}

/* DETALLES */

.detalles{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:10px;
  margin-top:18px;
  color:#555;
  font-size:14px;
}

/* PANEL DERECHO */

.extra{
  width:220px;
  background:#f9f9f9;
  border-left:1px solid #eee;
  padding:25px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  align-items:center;
}

/* ESTADO */

.estado{
  background:#d4f8e8;
  color:#14a44d;
  padding:8px 18px;
  border-radius:30px;
  font-weight:bold;
  font-size:14px;
}

/* PUBLICADO */

.publicado{
  color:#777;
  font-size:14px;
  text-align:center;
}

/* BOTON VER MAS */

.vermas{
  width:100%;
  background:#111;
  color:white;
  border:none;
  padding:14px;
  border-radius:10px;
  cursor:pointer;
  font-weight:bold;
  transition:0.3s;
}

.vermas:hover{
  background:#5dc1b9;
}
/* ================= CELULAR ================= */

@media(max-width:768px){

  .propiedad{

    flex-direction:column;
  }

  /* IMAGEN */

  .propiedad img{

    width:100%;

    height:240px;
  }

  /* INFO */

  .info{

    padding:22px;
  }

  /* PANEL DERECHO */

  .extra{

    width:100%;

    border-left:none;

    border-top:1px solid #eee;

    padding:20px;

    align-items:center;

    text-align:center;

    gap:15px;
  }

  /* BOTÓN */

  .vermas{

    max-width:220px;
  }

  /* DETALLES */

  .detalles{

    grid-template-columns:1fr;
  }

}
/* ================= LOADER ================= */

.loader{

  position:fixed;

  top:0;
  left:0;

  width:100%;
  height:100%;

  background:rgba(255,255,255,0.9);

  display:none;

  justify-content:center;

  align-items:center;

  flex-direction:column;

  z-index:9999;
}

/* CÍRCULO */

.spinner{

  width:60px;
  height:60px;

  border:6px solid #ddd;

  border-top:6px solid #5dc1b9;

  border-radius:50%;

  animation:girar 1s linear infinite;

  margin-bottom:20px;
}

/* TEXTO */

.loader p{

  font-size:18px;

  font-weight:600;

  color:#333;
}

/* ANIMACIÓN */

@keyframes girar{

  100%{
    transform:rotate(360deg);
  }

}