.site-header {
  min-height: var(--header-height);
  padding-inline: clamp(18px, 5vw, 80px);
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid rgba(22, 43, 61, 0.08);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.site-logo {
  color: var(--color-brand);
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.site-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.3vw, 30px);
}

.site-navigation a,
.demo-return {
  color: #27333c;
  font-size: 14px;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.site-navigation a:hover,
.site-navigation a[aria-current="page"],
.demo-return:hover {
  color: var(--color-brand-hover);
}

.site-navigation a[aria-current="page"] {
  font-weight: 700;
}

.demo-return {
  font-size: 13px;
  font-weight: 700;
}

.menu-toggle {
  width: 42px;
  height: 42px;
  display: none;
  place-items: center;
  align-content: center;
  gap: 6px;
  border: 1px solid var(--color-border);
  border-radius: 11px;
  background: var(--color-surface);
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  display: block;
  background: var(--color-brand);
}

.button {
  min-height: 48px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-small);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition:
    background var(--transition-fast),
    color var(--transition-fast),
    transform var(--transition-fast);
}

.button--primary {
  color: #fff;
  background: var(--color-brand);
}

.button--primary:hover {
  background: var(--color-brand-hover);
}

.button--secondary {
  border: 1px solid var(--color-border);
  color: var(--color-brand);
  background: var(--color-surface);
}

.button--secondary:hover {
  background: #edf1f2;
}

.button--wide {
  width: 100%;
}

.property-search {
  width: min(920px, 100%);
  margin-inline: auto;
  padding: 12px;
  display: grid;
  grid-template-columns: 1fr 1.35fr 0.9fr auto;
  gap: 10px;
  border-radius: 12px;
  background: var(--color-surface);
  box-shadow: 0 16px 45px rgba(7, 20, 30, 0.18);
}

.property-search input,
.property-search select,
.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-small);
  color: var(--color-ink);
  background: var(--color-surface);
}

.property-search input,
.property-search select {
  min-width: 0;
  height: 48px;
  padding-inline: 13px;
}

.property-search input::placeholder,
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #8a949b;
}

.section-heading {
  margin-bottom: 30px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.section-heading h2 {
  font-size: clamp(28px, 4vw, 36px);
  line-height: 1.1;
}

.section-heading a {
  color: var(--color-brand);
  font-weight: 700;
  text-decoration: none;
}

.section-heading p {
  color: var(--color-muted);
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.property-card {
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius-medium);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.property-card-link {
  height: 100%;
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.property-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.property-card-content {
  padding: 20px;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
}

.property-card-content h3 {
  margin: 11px 0 7px;
  font-size: 20px;
  line-height: 1.25;
}

.badge {
  padding: 6px 11px;
  display: inline-flex;
  border-radius: 999px;
  color: #fff;
  background: var(--color-brand);
  font-size: 12px;
  font-weight: 700;
}

.badge--rent {
  background: var(--color-accent);
}

.property-location,
.property-detail-location {
  color: var(--color-muted);
}

.property-card-details {
  margin: 16px 0 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: #4e5b64;
  font-size: 14px;
}

.property-price {
  margin-top: auto;
  color: var(--color-brand);
  font-size: 22px;
  font-weight: 800;
}

.notice {
  padding: 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-small);
  color: var(--color-muted);
  background: var(--color-surface);
  text-align: center;
}

.site-footer {
  padding: 28px 20px;
  color: #a8b2b8;
  background: #0d1c28;
  font-size: 14px;
  text-align: center;
}
