/* Freud — portada y buscador. Se apoya en freud.css; acá solo lo propio. */

.hero {
  background: linear-gradient(180deg, #0f2b46 0%, #16406a 100%);
  color: #fff;
  padding: 48px 20px 36px;
}
.hero__inner { max-width: 1120px; margin: 0 auto; }
.hero__title { font-size: 34px; margin: 0 0 6px; letter-spacing: -.4px; }
.hero__lead { margin: 0 0 22px; opacity: .85; }

.search {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr auto;
  gap: 10px;
  background: #fff;
  padding: 10px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(8, 20, 34, .22);
}
.search input, .search select {
  border: 1px solid #d7dfe8; border-radius: 9px; padding: 11px 12px;
  font: inherit; color: #1f2937; background: #fff; min-width: 0;
}
.search__q { font-size: 15.5px; }

.search__extra {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 14px;
}
.search__extra select {
  border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .1);
  color: #fff; border-radius: 999px; padding: 7px 12px; font: inherit;
}
.search__extra select option { color: #1f2937; }
.search__extra .muted { color: rgba(255, 255, 255, .75); font-size: 13.5px; }

.chip--action {
  cursor: pointer; border: 1px solid rgba(255, 255, 255, .45);
  background: rgba(255, 255, 255, .12); color: #fff;
}
.chip--action:hover { background: rgba(255, 255, 255, .2); }
.chip--on { background: #fff; color: #0f2b46; border-color: #fff; }

/* El listado con los filtros al costado */
.page { display: grid; grid-template-columns: 240px 1fr; gap: 26px; align-items: start; }
.filtros {
  position: sticky; top: 18px;
  background: #fff; border-radius: 14px; padding: 18px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .06);
}
.filtros__grupo { margin-bottom: 18px; }
.filtros__titulo {
  font-size: 12.5px; text-transform: uppercase; letter-spacing: .6px;
  color: #64748b; margin: 0 0 8px;
}
.filtros .topic { cursor: pointer; }
.topic--on { background: #0f2b46; color: #fff; border-color: #0f2b46; }

.resultados__conteo { color: #64748b; margin: 0 0 14px; font-size: 14px; }

/* Tarjeta de resultado: más compacta que la de reserva */
.hit {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 16px;
  background: #fff; border-radius: 14px; padding: 18px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .06);
}
.hit__avatar {
  width: 64px; height: 64px; border-radius: 50%; overflow: hidden;
  background: #dbe4ee; display: grid; place-items: center;
  color: #0f2b46; font-weight: 700; font-size: 20px;
}
.hit__avatar img { width: 100%; height: 100%; object-fit: cover; }
.hit__name { font-size: 18px; color: #0f2b46; margin: 0 0 2px; font-weight: 700; }
.hit__meta { color: #4b5563; font-size: 14px; margin: 0 0 8px; }
.hit__where { color: #64748b; font-size: 13.5px; margin: 6px 0 0; }
.hit__side { text-align: right; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.hit__price { color: #166534; font-weight: 700; white-space: nowrap; }
.hit__from { color: #64748b; font-size: 12.5px; }
.hit__dist {
  background: #eef2f7; color: #0f2b46; border-radius: 999px;
  padding: 3px 10px; font-size: 12.5px; white-space: nowrap;
}
.hit__modos { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.hit__dias { color: #64748b; font-size: 13px; margin-top: 6px; }

.turno { border-left: 3px solid #1d6fd0; padding: 8px 12px; background: #f6f9fc; border-radius: 8px; }
.turno__cuando { font-weight: 600; color: #0f2b46; }
.turno__donde { color: #64748b; font-size: 13.5px; }

@media (max-width: 900px) {
  .search { grid-template-columns: 1fr 1fr; }
  .search__q, .search button { grid-column: 1 / -1; }
  .page { grid-template-columns: 1fr; }
  .filtros { position: static; }
  .hit { grid-template-columns: 52px 1fr; }
  .hit__side { grid-column: 1 / -1; flex-direction: row; align-items: center;
               justify-content: space-between; text-align: left; }
}

/* Los enlaces que son botones no se subrayan: el subrayado dice "texto que
   lleva a otro lado", y acá la caja ya lo dice. */
.topbar .brand, .hit .btn { text-decoration: none; }
.topbar__action { display: flex; align-items: center; gap: 14px; }
