:root {
  --bg: #f3f8f7;
  --panel: #ffffff;
  --line: #d8e5e2;
  --text: #182125;
  --muted: #5a6b71;
  --sea: #007a73;
  --sun: #f36b29;
  --blue: #1f6fd9;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Onest", "Segoe UI", sans-serif;
  background:
    radial-gradient(900px 420px at 0% -8%, #fce4c0, transparent 58%),
    radial-gradient(800px 420px at 100% 0%, #d6ebff, transparent 58%),
    linear-gradient(180deg, #f7fbfa 0%, #edf5f3 100%);
}

.hero {
  max-width: 1240px;
  margin: 0 auto;
  padding: 36px 20px 18px;
}

.kicker {
  margin: 0;
  color: var(--sea);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font: 600 12px/1.2 "Unbounded", "Segoe UI", sans-serif;
}

h1 {
  margin: 12px 0 10px;
  font: 700 clamp(30px, 6.2vw, 62px)/1.03 "Unbounded", "Segoe UI", sans-serif;
  max-width: 900px;
}

.hero p {
  margin: 0;
  max-width: 930px;
  color: var(--muted);
  font-size: 18px;
}

.page {
  max-width: 1240px;
  margin: 0 auto;
  padding: 10px 20px 36px;
}

.toolbar {
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--panel) 88%, #f8fffd 12%);
  border-radius: 22px;
  padding: 16px;
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

.filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(190px, 1fr));
  gap: 10px;
}

label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #35515a;
}

select,
button {
  width: 100%;
  margin-top: 6px;
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 11px 12px;
  font: 500 15px/1.2 "Onest", "Segoe UI", sans-serif;
  background: #fff;
  color: var(--text);
}

button {
  max-width: 280px;
  border: 0;
  background: linear-gradient(135deg, var(--sun), #ff8f45);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.toolbar-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
}

.toolbar-meta p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

#counter {
  font-weight: 700;
  color: #1f2d33;
}

.hint a {
  color: var(--blue);
}

.offer-group {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 16px;
  margin-bottom: 14px;
}

.group-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
}

.group-head h2 {
  margin: 0;
  font: 700 clamp(21px, 3vw, 34px)/1.1 "Unbounded", "Segoe UI", sans-serif;
}

.group-head p {
  margin: 0;
  color: #265e52;
  font-weight: 700;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
  gap: 10px;
}

.card {
  border: 1px solid #d8e3ee;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fcff 100%);
  padding: 13px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 270px;
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.type {
  border-radius: 999px;
  padding: 3px 10px;
  background: color-mix(in srgb, #007a73 16%, white 84%);
  color: #0b5e5b;
  font-size: 12px;
  font-weight: 700;
}

.price {
  color: #106e3e;
  font-weight: 800;
  font-size: 18px;
}

.title {
  margin: 0;
  font-size: 24px;
  line-height: 1.06;
  letter-spacing: -0.01em;
}

.meta,
.desc,
.city {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.city {
  font-weight: 700;
  color: #26434e;
}

.url-line {
  margin: 0;
  font-size: 12px;
  color: #5f6d83;
}

.url-line a {
  color: var(--blue);
  text-decoration: none;
}

.url-line a:hover {
  text-decoration: underline;
}

.card-bottom {
  margin-top: auto;
}

.go {
  display: inline-block;
  text-decoration: none;
  border-radius: 999px;
  padding: 10px 14px;
  background: linear-gradient(145deg, #24364e, #1f2f44);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.empty {
  margin: 0;
  padding: 12px;
  border-radius: 10px;
  background: #f8fbff;
  border: 1px dashed #ccdae7;
  color: #58708a;
}

@media (max-width: 980px) {
  .filters {
    grid-template-columns: 1fr;
  }

  .toolbar-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  button {
    max-width: 100%;
  }
}
