/* ========== Container & Layout ========== */
.hc-search {
  max-width: 800px;
  margin: 0px auto 40px;
  font-family: Arial, sans-serif;
}

.hc-form {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 25px;
}

.hc-form input {
  flex: 1;
  padding: 12px 14px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.2s;
  margin-bottom: 0 !important;
}
.hc-form input:focus {
  border-color: #b30000;
}

.hc-form button {
  padding: 6px 20px;
  font-size: 15px;
  background: #b30000;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.hc-form button:hover {
  background: #900;
}

/* ========== Result Card ========== */
.hc-card {
  background: #fff;
  border: 1px solid #ddd;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  margin-top: 25px;
}

/* Address (normal, sin bold ni mayúsculas) */
.hc-address {
  margin: 0 0 20px;
  font-size: 18px;
  font-weight: 400;
  text-transform: none;
  color: #222;
}

/* ========== Stats Section ========== */
.hc-stats {
  display: flex;
  justify-content: space-between;
  margin: 20px 0;
  text-align: center;
  gap: 10px;
  flex-wrap: wrap;
}

.hc-stats div {
  flex: 1;
  padding: 10px;
  background: #f9f9f9;
  border-radius: 6px;
  min-width: 120px;
}

.hc-stats strong {
  display: block;
  font-size: 20px;
  color: #b30000;
}

/* ========== Tables ========== */
.hc-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}
.hc-table td {
  padding: 10px 8px;
  border-bottom: 1px solid #eee;
  font-size: 15px;
}
.hc-table td:first-child {
  font-weight: 600;
  color: #444;
}

.hc-card h4 {
  margin: 20px 0 10px;
  font-size: 16px;
  font-weight: 600;
  color: #555;
  border-bottom: 2px solid #eee;
  padding-bottom: 5px;
}

/* ========== Zillow-like Value Boxes ========== */
.hc-values {
  margin-top: 20px;
}

.hc-values h4 {
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: bold;
  color: #b30000;
}

.hc-flex {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  flex-wrap: nowrap; /* siempre en una fila en desktop */
}

.hc-box {
  background: #f7f7f9;
  padding: 16px 20px;
  border-radius: 6px;
  flex: 0 0 calc(50% - 11px); /* 3 cajas iguales */
  text-align: left;
  min-width: 0;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
}

.hc-box small {
  display: block;
  font-size: 13px;
  color: #666;
  margin-bottom: 4px;
}

.hc-box p {
  margin: 0;
  font-size: 20px;
  font-weight: bold;
  color: #000;
}

/* ========== Image ========== */
.hc-img {
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
  margin-bottom: 15px;
  display: none;
}
.hc-img img {
  width: 100%;
  object-fit: cover;
  display: block;
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
  .hc-flex {
    flex-wrap: wrap;
  }
  .hc-box {
    flex: 1 1 100%;
  }
  .hc-form {
    flex-direction: column;
    align-items: stretch;
  }
  .hc-form button {
    width: 100%;
  }
  .hc-stats {
    flex-direction: column;
  }
}
