/* Listing sheet — property particulars */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: #1e293b;
  background: #e2e8f0;
  background-image:
    linear-gradient(90deg, rgba(42, 92, 69, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(42, 92, 69, 0.04) 1px, transparent 1px);
  background-size: 20px 20px;
}

a {
  color: #2a5c45;
}

.u-skip {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: #1e293b;
  color: #fff;
  padding: 0.5rem 1rem;
  font-size: 14px;
}

.u-skip:focus {
  top: 1rem;
  z-index: 100;
}

.agent-card {
  position: fixed;
  right: max(1rem, calc(50% - 520px));
  top: 2rem;
  width: 200px;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid #cbd5e1;
  box-shadow: 0 4px 16px rgba(30, 41, 59, 0.1);
  font-size: 13px;
  line-height: 1.5;
  display: none;
}

@media (min-width: 1100px) {
  .agent-card {
    display: block;
  }
}

.agent-firm {
  font-family: Georgia, serif;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.agent-branch {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 1rem;
}

.agent-name {
  font-weight: 600;
}

.agent-role {
  color: #64748b;
  margin-bottom: 0.75rem;
}

.agent-ref {
  margin-top: 1rem;
  font-size: 11px;
  font-family: ui-monospace, monospace;
  color: #94a3b8;
}

.sheet {
  max-width: 680px;
  margin: 2rem auto;
  padding: 2.5rem 1.5rem 4rem;
  background: #fff;
  border: 1px solid #cbd5e1;
  box-shadow: 0 8px 32px rgba(30, 41, 59, 0.08);
}

.address-block {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid #1e293b;
}

.listing-type {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 0.75rem;
}

.address-block h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.price {
  font-family: Georgia, serif;
  font-size: 1.375rem;
  font-variant-numeric: tabular-nums;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem 1rem;
  padding: 1.25rem 0;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
}

.stats-strip dt {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

.stats-strip dd {
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}

.jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-bottom: 2rem;
  font-size: 13px;
  counter-reset: section;
}

.jump a {
  text-decoration: none;
  color: #475569;
  counter-increment: section;
}

.jump a::before {
  content: counter(section, decimal-leading-zero) " ";
  font-family: ui-monospace, monospace;
  font-size: 11px;
  color: #2a5c45;
  font-weight: 600;
}

.jump a:hover {
  text-decoration: underline;
  color: #1e293b;
}

.jump span {
  display: none;
}

.block {
  margin-bottom: 2.5rem;
}

.block h2 {
  font-family: Georgia, serif;
  font-size: 1.125rem;
  font-weight: 400;
  margin-bottom: 1rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid #e2e8f0;
}

.block p {
  margin-bottom: 0.75rem;
  color: #334155;
}

.disclaimer {
  font-size: 13px;
  color: #64748b;
  font-style: italic;
  margin-top: 1rem;
}

.gallery {
  margin-bottom: 2.5rem;
}

.gallery figure {
  margin-bottom: 2rem;
}

.gallery img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(30, 41, 59, 0.06);
}

.gallery figcaption {
  font-size: 13px;
  color: #64748b;
  margin-top: 0.5rem;
}

.room-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.room-table th,
.room-table td {
  padding: 0.6rem 0.5rem 0.6rem 0;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
  vertical-align: top;
}

.room-table thead th {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
  font-weight: 500;
}

.room-table tbody th {
  font-weight: 500;
}

.foot {
  font-size: 13px;
  color: #64748b;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
}

@media (max-width: 480px) {
  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .room-table thead {
    display: none;
  }

  .room-table tr {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
  }

  .room-table td,
  .room-table th {
    display: block;
    border: none;
    padding: 0.15rem 0;
  }
}
