/* RESET BÁSICO */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #020617;
  color: #ffffff;
}

/* ===================== */
/* HERO */
/* ===================== */

.hero {
  position: relative;
  min-height: 100vh;
  background: url("/img/hero-bg.jpg") center / cover no-repeat;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(5, 15, 30, 0.85),
    rgba(5, 15, 30, 0.55),
    rgba(5, 15, 30, 0.25)
  );
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 1100px;
  margin: auto;
  padding-top: 30px;
}

.hero-logo {
  height: 110px;
  width: auto;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 52px;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-subtitle {
  max-width: 600px;
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 35px;
}

.hero-search {
  display: flex;
  gap: 14px;
  max-width: 600px;
}

.hero-search input {
  flex: 1;
  padding: 16px 20px;
  border-radius: 30px;
  border: none;
  font-size: 16px;
}

.hero-search button {
  padding: 16px 26px;
  border-radius: 30px;
  border: none;
  background: #2563eb;
  color: #ffffff;
  font-weight: bold;
  cursor: pointer;
}

/* ===================== */
/* RESULTADOS */
/* ===================== */

.results {
  width: 100%;
  background: radial-gradient(circle at top, #0b1c2d, #020617);
  padding: 80px 0;
}

.results h3 {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto 40px;
  font-size: 28px;
}

.properties-grid {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.property-card {
  background: #ffffff;
  color: #0b1c2d;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.35);
  transition: transform .3s;
}

.property-card:hover {
  transform: translateY(-6px);
}

.property-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.property-info {
  padding: 20px;
}

.property-info h4 {
  font-size: 18px;
  margin-bottom: 6px;
}

.price {
  display: block;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 6px;
}

.property-info p {
  font-size: 14px;
  margin-bottom: 8px;
}

.property-info small {
  font-size: 12px;
  opacity: 0.7;
}

.more-options {
  text-align: center;
  margin-top: 50px;
}

.more-options button {
  padding: 16px 34px;
  border-radius: 30px;
  border: none;
  background: #2563eb;
  color: #ffffff;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}

/* ===================== */
/* OPCIÓN DESTACADA */
/* ===================== */

.featured-property {
  width: 100%;
  min-height: 420px;
  background:
    linear-gradient(rgba(8,23,38,0.6), rgba(8,23,38,0.6)),
    url("/img/casacampo.jpg") center / cover no-repeat;
  display: flex;
  align-items: center;
}

.featured-content {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.featured-content h3 {
  font-size: 36px;
  margin-bottom: 10px;
}

/* ===================== */
/* RESPONSIVE */
/* ===================== */

@media (max-width: 992px) {
  .properties-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero-search {
    flex-direction: column;
  }
}


/* OCULTAR HEADER EN HOME */
body.home header,
body.home .site-header {
  display: none;
}


