.properties-hero .hero-panel {
  overflow: hidden;
}

.properties-section {
  padding-top: clamp(34px, 5vw, 72px);
}

.properties-board {
  display: grid;
  gap: clamp(24px, 4vw, 42px);
}

.properties-board__head {
  max-width: 820px;
}

.properties-board__head h2 {
  margin: 0 0 12px;
  color: var(--ndc-navy, #07385f);
  font-family: var(--ndc-serif, Georgia, serif);
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.properties-board__head p:last-child {
  max-width: 680px;
  color: var(--ndc-muted, #5d7186);
  font-size: 1.05rem;
  line-height: 1.7;
}

.properties-search {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(16, 67, 101, 0.14);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 60px rgba(3, 39, 66, 0.08);
  padding: clamp(18px, 3vw, 26px);
}

.properties-search label {
  color: var(--ndc-navy, #07385f);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.properties-search__controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
}

.properties-search input[type="search"] {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(13, 95, 145, 0.22);
  border-radius: 999px;
  background: #fff;
  color: #102b40;
  font: inherit;
  padding: 12px 18px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.properties-search input[type="search"]:focus {
  border-color: rgba(13, 95, 145, 0.58);
  box-shadow: 0 0 0 4px rgba(13, 95, 145, 0.12);
}

.properties-search__inquiry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid rgba(16, 67, 101, 0.1);
  color: var(--ndc-muted, #5d7186);
  font-weight: 700;
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 28px);
  overflow: visible;
}

.property-card {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: visible;
  border: 1px solid rgba(16, 67, 101, 0.14);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 70px rgba(3, 39, 66, 0.1);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.property-card:hover,
.property-card:focus-within {
  z-index: 5;
  border-color: rgba(13, 95, 145, 0.28);
  box-shadow: 0 32px 84px rgba(3, 39, 66, 0.16);
  transform: translateY(-5px);
}

.property-card:has(.ndc-share.is-open) {
  z-index: 30;
}

.property-card__media {
  display: grid;
  min-height: 210px;
  overflow: hidden;
  border-radius: 28px 28px 0 0;
  background: linear-gradient(135deg, #07385f, #1e806e);
  color: #fff;
  place-items: center;
  text-decoration: none;
}

.property-card__media img {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform 240ms ease;
}

.property-card:hover .property-card__media img {
  transform: scale(1.035);
}

.property-card__placeholder {
  padding: 28px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.property-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 14px;
  padding: clamp(20px, 2.6vw, 28px);
}

.property-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--ndc-muted, #5d7186);
  font-size: 0.92rem;
}

.property-card__type {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(14, 101, 145, 0.11);
  color: var(--ndc-navy, #07385f);
  font-weight: 800;
}

.property-card h2 {
  margin: 0;
  color: var(--ndc-navy, #07385f);
  font-family: var(--ndc-serif, Georgia, serif);
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  line-height: 1.05;
}

.property-card h2 a {
  color: inherit;
  text-decoration: none;
}

.property-card p {
  margin: 0;
  color: #243f57;
  line-height: 1.65;
}

.property-card__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 10px;
}

.property-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.84rem;
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid rgba(13, 95, 145, 0.22);
  border-radius: 999px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.property-button:hover,
.property-button:focus-visible {
  transform: translateY(-2px);
}

.property-button:disabled {
  cursor: wait;
  opacity: 0.62;
  transform: none;
}

.property-button--primary {
  background: linear-gradient(135deg, #0b5f91, #2d806d);
  box-shadow: 0 18px 40px rgba(3, 39, 66, 0.16);
  color: #fff;
}

.properties-search .property-button--primary,
.properties-search .property-button--ghost{
  height: 52px;
}

.property-button--ghost {
  background: #eef5f9;
  color: var(--ndc-navy, #07385f);
}

.properties-load-more {
  display: grid;
  justify-items: center;
  gap: 12px;
}

.properties-load-more__status {
  min-height: 1.4em;
  margin: 0;
  color: var(--ndc-muted, #5d7186);
  font-weight: 700;
}

.properties-board.is-loading .properties-grid {
  opacity: 0.64;
  pointer-events: none;
}

.properties-pagination .page-numbers {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.properties-pagination .page-numbers a,
.properties-pagination .page-numbers span {
  display: inline-flex;
  min-width: 42px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(13, 95, 145, 0.2);
  border-radius: 999px;
  background: #fff;
  color: var(--ndc-navy, #07385f);
  font-weight: 800;
  text-decoration: none;
}

.properties-pagination .page-numbers .current {
  background: linear-gradient(135deg, #0b5f91, #2d806d);
  color: #fff;
}

.properties-empty {
  border: 1px solid rgba(16, 67, 101, 0.14);
  border-radius: 28px;
  background: #fff;
  padding: clamp(28px, 5vw, 48px);
}

.property-single {
  display: grid;
  gap: clamp(24px, 4vw, 38px);
}

.property-single__image {
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(16, 67, 101, 0.12);
  box-shadow: 0 24px 70px rgba(3, 39, 66, 0.1);
}

.property-single__image img {
  display: block;
  width: 100%;
  max-height: 620px;
  object-fit: cover;
}

.property-single__description {
  color: #14324a;
  font-size: 1.04rem;
  line-height: 1.75;
}

.property-single__description img {
  max-width: 100%;
  height: auto;
  border-radius: 18px;
}

.property-single__document h2 {
  margin: 0 0 18px;
  color: var(--ndc-navy, #07385f);
  font-family: var(--ndc-serif, Georgia, serif);
}

.property-single__pdf-shell {
  overflow: hidden;
  min-height: 720px;
  border: 1px solid rgba(16, 67, 101, 0.16);
  background: #1f2933;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.property-single__pdf {
  display: block;
  width: 100%;
  height: min(78vh, 860px);
  min-height: 720px;
  border: 0;
  background: #1f2933;
}

.property-single__pdf-fallback {
  margin: 14px 0 0;
  color: var(--ndc-muted, #5d7186);
  font-weight: 700;
}

.property-single__pdf-fallback a {
  color: var(--ndc-navy, #07385f);
}

@media (max-width: 1040px) {
  .properties-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .properties-search__controls {
    grid-template-columns: 1fr;
  }

  .properties-grid {
    grid-template-columns: 1fr;
  }

  .property-card__media img {
    height: 210px;
  }

  .property-single__pdf-shell,
  .property-single__pdf {
    min-height: 520px;
  }
}
