:root {
  --ink: #39373B;
  --red: #CD212A;
  --stone: #B6A893;
  --cream: #F1E6DF;
  --white: #ffffff;
  --black: #000000;
  --muted: rgba(57, 55, 59, 0.7);
  --line: rgba(182, 168, 147, 0.55);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--cream);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  align-items: center;
  background: rgba(241, 230, 223, 0.95);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 20px;
  grid-template-columns: auto 1fr auto;
  left: 0;
  padding: 14px clamp(18px, 4vw, 56px);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 10;
}

.brand img {
  height: 70px;
  width: auto;
}

.menu-toggle {
  align-items: center;
  background: var(--ink);
  border: 0;
  border-radius: 6px;
  color: var(--white);
  cursor: pointer;
  display: none;
  height: 40px;
  justify-content: center;
  padding: 0;
  position: relative;
  width: 44px;
}

.menu-toggle span {
  background: currentColor;
  border-radius: 999px;
  display: block;
  height: 2px;
  position: absolute;
  transition: transform 180ms ease, opacity 180ms ease;
  width: 20px;
}

.menu-toggle span:nth-child(1) {
  transform: translateY(-7px);
}

.menu-toggle span:nth-child(3) {
  transform: translateY(7px);
}

.site-header.menu-open .menu-toggle span:nth-child(1) {
  transform: rotate(45deg);
}

.site-header.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.menu-open .menu-toggle span:nth-child(3) {
  transform: rotate(-45deg);
}

nav {
  align-items: center;
  display: flex;
  gap: clamp(12px, 2vw, 28px);
  justify-content: center;
}

nav a {
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 750;
}

nav a:hover,
.text-link:hover {
  color: var(--red);
}

.header-actions {
  align-items: center;
  display: flex;
  gap: 10px;
}

.admin-shortcut {
  border: 1px solid var(--stone);
  border-radius: 6px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 850;
  padding: 9px 12px;
}

.language,
.button {
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font: inherit;
  font-weight: 850;
}

.language {
  background: var(--ink);
  color: var(--white);
  font-size: 0.82rem;
  min-height: 36px;
  min-width: 40px;
  padding: 7px 10px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(340px, 0.9fr) minmax(520px, 1.1fr);
  min-height: 500px;
}

.hero-media {
  height: 500px;
  min-height: 500px;
  overflow: hidden;
  position: relative;
}

.hero-media::after {
  background: linear-gradient(90deg, rgba(57, 55, 59, 0.08), rgba(205, 33, 42, 0.14));
  content: "";
  inset: 0;
  position: absolute;
}

.hero-media img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.hero-content {
  align-self: center;
  padding: clamp(24px, 3.4vw, 48px);
}

.hero-content h1 {
  font-size: clamp(2.35rem, 3.1vw, 3.35rem);
  line-height: 1.06;
  max-width: 720px;
}

.eyebrow {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0;
  margin: 0 0 10px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2.35rem, 4.2vw, 4.2rem);
  line-height: 1.02;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.04;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.18rem;
  line-height: 1.2;
}

.hero-content p {
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 640px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
}

.button.primary {
  background: var(--red);
  color: var(--white);
}

.button.ghost {
  background: rgba(182, 168, 147, 0.22);
  border: 1px solid var(--stone);
  color: var(--ink);
}

.button.wide {
  width: 100%;
}

.trust-strip {
  background: var(--ink);
  color: var(--white);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
}

.trust-strip span {
  background: rgba(241, 230, 223, 0.08);
  border-top: 3px solid var(--red);
  font-weight: 850;
  padding: 24px clamp(18px, 4vw, 56px);
}

.section,
.detail,
.listing-hero {
  padding: clamp(48px, 8vw, 96px) clamp(18px, 4vw, 56px);
}

.section-heading {
  margin-bottom: 32px;
  max-width: 760px;
}

.section-heading p,
.listing-hero p {
  color: var(--muted);
  font-size: 1.05rem;
}

.steps,
.property-grid,
.team-grid,
.review-grid {
  display: grid;
  gap: 18px;
}

.steps {
  grid-template-columns: repeat(5, 1fr);
}

.steps article,
.team-card,
.review-grid article,
.detail-aside,
.contact form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(57, 55, 59, 0.08);
  padding: 22px;
}

.steps span {
  align-items: center;
  background: var(--ink);
  border-radius: 999px;
  color: var(--white);
  display: inline-flex;
  font-weight: 950;
  height: 38px;
  justify-content: center;
  margin-bottom: 18px;
  width: 38px;
}

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

.property-grid.listings {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.property-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.property-image {
  aspect-ratio: 1.45;
  display: block;
  overflow: hidden;
  position: relative;
}

.property-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
  width: 100%;
}

.property-card:hover .property-image img {
  transform: scale(1.03);
}

.status {
  background: var(--red);
  border-radius: 999px;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 900;
  left: 14px;
  padding: 6px 10px;
  position: absolute;
  top: 14px;
}

.status.reserved {
  background: var(--stone);
  color: var(--ink);
}

.status.hidden {
  background: var(--ink);
}

.property-body {
  padding: 20px;
}

.address,
.availability,
.property-body dl dt,
.detail-aside dt,
.footer p {
  color: var(--muted);
}

.price {
  color: var(--red);
  font-size: 1.35rem;
  font-weight: 950;
  margin: 14px 0;
}

.price span {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

dl {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.property-body dl {
  grid-template-columns: repeat(3, 1fr);
}

dt {
  font-size: 0.78rem;
  font-weight: 800;
}

dd {
  font-weight: 900;
  margin: 0;
}

.text-link {
  color: var(--red);
  font-weight: 900;
}

.safety {
  align-items: center;
  background: var(--ink);
  color: var(--white);
  display: grid;
  gap: 28px;
  grid-template-columns: 1.2fr 0.8fr;
  padding: clamp(48px, 8vw, 96px) clamp(18px, 4vw, 56px);
}

.safety .eyebrow {
  color: var(--stone);
}

.safety p {
  color: rgba(241, 230, 223, 0.82);
}

.safety ul,
.features {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.safety li,
.features li {
  background: rgba(241, 230, 223, 0.1);
  border: 1px solid rgba(182, 168, 147, 0.35);
  border-radius: 6px;
  font-weight: 850;
  padding: 14px 16px;
}

.features li {
  background: rgba(182, 168, 147, 0.18);
  color: var(--ink);
}

.team-grid {
  grid-template-columns: repeat(4, 1fr);
}

.avatar-placeholder {
  align-items: center;
  aspect-ratio: 1;
  background: var(--cream);
  border: 1px dashed var(--stone);
  border-radius: 8px;
  color: var(--red);
  display: flex;
  font-size: 2rem;
  font-weight: 950;
  justify-content: center;
  margin-bottom: 16px;
}

.team-photo {
  aspect-ratio: 1;
  border-radius: 8px;
  height: auto;
  margin-bottom: 16px;
  object-fit: cover;
  object-position: center top;
  width: 100%;
}

.team-contact {
  display: grid;
  gap: 6px;
  margin-top: 14px;
}

.team-contact a {
  color: var(--red);
  font-size: 0.9rem;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.reviews {
  background: rgba(182, 168, 147, 0.22);
  padding: clamp(48px, 8vw, 96px) clamp(18px, 4vw, 56px);
}

.review-grid {
  grid-template-columns: repeat(3, 1fr);
}

.review-grid strong {
  color: var(--red);
  font-size: 2.4rem;
}

.stars {
  color: var(--red);
  font-weight: 950;
  margin: 4px 0 14px;
}

.contact {
  align-items: start;
  display: grid;
  gap: 30px;
  grid-template-columns: 0.9fr 1.1fr;
  padding: clamp(48px, 8vw, 96px) clamp(18px, 4vw, 56px);
}

form {
  display: grid;
  gap: 16px;
}

label {
  color: var(--muted);
  display: grid;
  font-size: 0.9rem;
  font-weight: 800;
  gap: 8px;
}

input,
select,
textarea {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
  min-height: 46px;
  padding: 12px;
  width: 100%;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--red);
  outline: 2px solid rgba(205, 33, 42, 0.18);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.website-field {
  height: 0;
  left: -10000px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  width: 0;
}

.form-note {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.contact-form.show-errors input:invalid,
.contact-form.show-errors textarea:invalid {
  border-color: var(--red);
}

.listing-hero {
  background: rgba(182, 168, 147, 0.2);
}

.filters-shell {
  background: rgba(241, 230, 223, 0.92);
  border-bottom: 1px solid var(--line);
  padding: 18px clamp(18px, 4vw, 56px);
  position: sticky;
  top: 99px;
  z-index: 8;
}

.filter-summary,
.filter-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(57, 55, 59, 0.08);
}

.filter-summary {
  align-items: center;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(240px, 1fr) auto auto;
  padding: 14px;
}

.filter-panel {
  margin-top: 12px;
  padding: 14px;
}

.filter-panel-head {
  display: none;
}

.filters {
  align-items: end;
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1.2fr 1fr 1fr auto;
}

.filter-result-count {
  color: var(--ink);
  font-size: 0.95rem;
  white-space: nowrap;
}

.filter-toggle,
.filter-close {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.filter-toggle {
  align-items: center;
  background: var(--ink);
  border-radius: 6px;
  color: var(--white);
  display: none;
  font-weight: 900;
  gap: 8px;
  min-height: 46px;
  padding: 0 14px;
}

.filter-toggle strong {
  align-items: center;
  background: var(--red);
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.75rem;
  height: 22px;
  justify-content: center;
  min-width: 22px;
  padding: 0 6px;
}

.filter-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 14px;
}

.check {
  align-items: center;
  display: flex;
  gap: 8px;
  min-height: 46px;
}

.check input {
  accent-color: var(--red);
  min-height: auto;
  width: auto;
}

.gallery {
  display: grid;
  gap: 12px;
  grid-template-columns: 2fr 1fr 1fr;
  margin: 24px 0;
}

.gallery img {
  border-radius: 8px;
  height: 260px;
  object-fit: cover;
  width: 100%;
}

.gallery .main-photo {
  grid-row: span 2;
  height: 532px;
}

.detail-layout {
  align-items: start;
  display: grid;
  gap: 30px;
  grid-template-columns: minmax(0, 1fr) 360px;
}

.detail-main {
  max-width: 780px;
}

.detail-main h1 {
  font-size: clamp(2.3rem, 4vw, 4.2rem);
}

.safety-note {
  background: rgba(182, 168, 147, 0.2);
  border: 1px solid var(--stone);
  border-radius: 8px;
  color: var(--ink);
  font-weight: 850;
  margin: 24px 0;
  padding: 16px;
}

.detail-aside {
  position: sticky;
  top: 112px;
}

.detail-aside dl {
  margin-bottom: 24px;
}

.detail-aside dl div {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr 1.4fr;
  padding: 11px 0;
}

.footer {
  background: var(--white);
  border-top: 1px solid var(--line);
  color: var(--ink);
  display: block;
  padding: 72px clamp(18px, 4vw, 56px) 32px;
}

.footer img {
  height: 92px;
  width: auto;
}

.footer p {
  color: rgba(57, 55, 59, 0.68);
}

.footer a {
  color: rgba(57, 55, 59, 0.68);
  font-weight: 750;
}

.footer-main {
  display: grid;
  gap: clamp(36px, 6vw, 96px);
  grid-template-columns: 1.2fr 1fr 1.2fr;
}

.footer-brand p {
  font-size: 1.05rem;
  margin-bottom: 10px;
  max-width: 330px;
}

.footer-column {
  display: grid;
  gap: 12px;
  align-content: start;
}

.footer-column h2 {
  color: var(--ink);
  font-size: 1.12rem;
  line-height: 1.1;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.footer-contact p {
  margin-bottom: 0;
}

.footer-socials {
  display: flex;
  gap: 16px;
  margin-top: 4px;
}

.footer-socials a {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  display: flex;
  font-weight: 950;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  color: rgba(57, 55, 59, 0.42);
  margin-top: 72px;
  padding-top: 24px;
}

.footer-bottom strong {
  color: var(--ink);
}

.admin-app {
  background: var(--cream);
  color: var(--ink);
  display: grid;
  grid-template-columns: 290px 1fr;
  min-height: 100vh;
}

.admin-sidebar {
  background: var(--ink);
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 28px;
}

.admin-logo img {
  width: 170px;
}

.admin-sidebar nav {
  align-items: stretch;
  display: grid;
  gap: 10px;
  justify-content: stretch;
}

.admin-sidebar nav a {
  background: rgba(241, 230, 223, 0.08);
  border: 1px solid rgba(182, 168, 147, 0.26);
  border-radius: 6px;
  color: var(--white);
  padding: 13px;
}

.admin-sidebar p {
  color: rgba(241, 230, 223, 0.72);
  margin-top: auto;
}

.admin-logout {
  color: var(--white);
}

.admin-panel {
  padding: clamp(24px, 4vw, 56px);
}

.admin-alert {
  border-radius: 8px;
  font-weight: 800;
  margin-bottom: 18px;
  padding: 14px 16px;
}

.admin-alert.success {
  background: rgba(182, 168, 147, 0.28);
  border: 1px solid var(--stone);
}

.admin-alert.error {
  background: rgba(205, 33, 42, 0.08);
  border: 1px solid rgba(205, 33, 42, 0.38);
  color: var(--red);
}

.admin-login {
  max-width: 520px;
}

.admin-login h1,
.admin-heading h1 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
}

.admin-login form,
.admin-form,
.admin-table,
.admin-stats article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(57, 55, 59, 0.08);
  padding: 22px;
}

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

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

.admin-stats {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 22px;
}

.admin-stats strong {
  color: var(--red);
  display: block;
  font-size: 2.4rem;
}

.admin-stats span {
  color: var(--muted);
  font-weight: 800;
}

.admin-table {
  display: grid;
  gap: 0;
  padding: 0;
}

.admin-table article {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 16px;
  grid-template-columns: 82px minmax(180px, 1fr) auto auto auto auto;
  padding: 16px;
}

.admin-table article:last-child {
  border-bottom: 0;
}

.admin-table img {
  aspect-ratio: 1.2;
  border-radius: 6px;
  height: 68px;
  object-fit: cover;
  width: 82px;
}

.admin-table p {
  color: var(--muted);
  margin: 0;
}

.admin-row-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.danger-link {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--red);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 900;
  gap: 6px;
  padding: 0;
}

.danger-link:hover {
  color: #9f141c;
}

.admin-form {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-form .full {
  grid-column: 1 / -1;
}

.upload-zone {
  background: rgba(182, 168, 147, 0.16);
  border: 1px dashed var(--stone);
  border-radius: 8px;
  padding: 20px;
}

.photo-manager {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
}

.photo-manager p {
  color: var(--muted);
}

.photo-card-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.photo-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  padding: 10px;
  position: relative;
}

.photo-card img {
  aspect-ratio: 1.35;
  border-radius: 6px;
  height: 150px;
  object-fit: cover;
  width: 100%;
}

.photo-delete {
  align-items: center;
  background: var(--red);
  border: 2px solid var(--white);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(57, 55, 59, 0.22);
  color: var(--white);
  cursor: pointer;
  display: flex;
  font-size: 1.25rem;
  font-weight: 900;
  height: 30px;
  justify-content: center;
  line-height: 1;
  padding: 0 0 2px;
  position: absolute;
  right: 18px;
  top: 18px;
  width: 30px;
}

.photo-delete:hover {
  background: #9f141c;
}

.photo-empty {
  align-items: center;
  background: rgba(182, 168, 147, 0.14);
  border: 1px dashed var(--stone);
  border-radius: 8px;
  color: var(--muted);
  display: flex;
  font-weight: 800;
  gap: 8px;
  min-height: 120px;
  padding: 18px;
}

.upload-zone p {
  color: var(--muted);
}

.upload-zone input[type="file"] {
  background: var(--white);
  margin-top: 10px;
}

.upload-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0;
}

.upload-preview img,
.upload-preview span {
  align-items: center;
  aspect-ratio: 1.15;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--stone);
  display: flex;
  height: 76px;
  justify-content: center;
  object-fit: cover;
  width: 88px;
}

.admin-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.admin-language-divider {
  background: rgba(182, 168, 147, 0.14);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}

.admin-language-divider p {
  color: var(--muted);
  margin: 5px 0 0;
}

@media (max-width: 1050px) {
  .hero,
  .safety,
  .contact,
  .detail-layout,
  .footer,
  .admin-app {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    height: 300px;
    min-height: 300px;
  }

  .hero-content h1 {
    max-width: 680px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .steps,
  .property-grid,
  .property-grid.listings,
  .team-grid,
  .review-grid,
  .filters,
  .admin-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .detail-aside {
    position: static;
  }

  .admin-sidebar {
    min-height: auto;
  }

  .admin-table article {
    grid-template-columns: 82px 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    gap: 12px;
    grid-template-columns: 1fr auto auto;
    padding: 12px 16px;
    position: sticky;
  }

  .brand img {
    height: 58px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-header nav {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(57, 55, 59, 0.12);
    display: none;
    gap: 0;
    grid-column: 1 / -1;
    padding: 8px;
  }

  .site-header.menu-open nav {
    display: grid;
  }

  .site-header nav a {
    border-radius: 6px;
    padding: 12px;
  }

  .site-header nav a:hover {
    background: rgba(182, 168, 147, 0.18);
  }

  .header-actions {
    justify-self: end;
  }

  .admin-heading,
  .admin-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .trust-strip,
  .steps,
  .property-grid,
  .property-grid.listings,
  .team-grid,
  .review-grid,
  .gallery,
  .admin-stats,
  .admin-form {
    grid-template-columns: 1fr;
  }

  .filters-shell {
    padding: 12px 16px;
    top: 83px;
  }

  .filter-summary {
    grid-template-columns: 1fr auto;
    padding: 10px;
  }

  .filter-search {
    grid-column: 1 / -1;
  }

  .filter-toggle {
    display: inline-flex;
  }

  .filter-result-count {
    justify-self: end;
  }

  .filter-panel {
    border-radius: 16px 16px 0 0;
    bottom: 0;
    display: none;
    left: 0;
    margin: 0;
    max-height: 82vh;
    overflow: auto;
    padding: 18px;
    position: fixed;
    right: 0;
    z-index: 31;
  }

  .filters-shell.panel-open::before {
    background: rgba(57, 55, 59, 0.38);
    content: "";
    inset: 0;
    position: fixed;
    z-index: 30;
  }

  .filters-shell.panel-open .filter-panel {
    display: block;
  }

  .filter-panel-head {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
  }

  .filter-panel-head h2 {
    font-size: 1.45rem;
    margin-bottom: 2px;
  }

  .filter-panel-head p {
    color: var(--muted);
    margin: 0;
  }

  .filter-close {
    align-items: center;
    background: var(--ink);
    border-radius: 999px;
    color: var(--white);
    display: flex;
    font-size: 1.4rem;
    font-weight: 900;
    height: 38px;
    justify-content: center;
    line-height: 1;
    padding: 0 0 3px;
    width: 38px;
  }

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

  .filter-actions {
    bottom: 0;
    background: var(--white);
    border-top: 1px solid var(--line);
    margin: 18px -18px -18px;
    padding: 14px 18px;
    position: sticky;
  }

  .filter-actions .button {
    flex: 1;
  }

  .gallery .main-photo,
  .gallery img {
    height: 230px;
  }

  h1 {
    font-size: 2.35rem;
  }

  .hero-media {
    height: 240px;
    min-height: 240px;
  }

  .hero-content h1 {
    font-size: 2.1rem;
  }

  .hero-content {
    padding: 26px 18px 34px;
  }

  .footer {
    padding-top: 48px;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    margin-top: 44px;
  }
}

.icon {
  flex: 0 0 auto;
  height: 20px;
  width: 20px;
}

.button,
.admin-shortcut,
.text-link,
.trust-strip span,
.safety li,
.features li,
.safety-note,
.checklist li,
.admin-sidebar nav a,
.visibility-pill {
  align-items: center;
  display: inline-flex;
  gap: 9px;
}

.trust-strip span {
  display: flex;
  gap: 12px;
}

.trust-strip .icon,
.hero-badge .icon,
.safety li .icon,
.gallery-count .icon {
  color: var(--stone);
}

.hero-badge {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  bottom: 28px;
  box-shadow: 0 18px 45px rgba(57, 55, 59, 0.16);
  color: var(--ink);
  display: inline-flex;
  font-weight: 900;
  gap: 10px;
  left: 28px;
  padding: 14px 16px;
  position: absolute;
  z-index: 1;
}

.hero-badge .icon,
.fact-list .icon,
.features li .icon,
.safety-note .icon,
.checklist .icon,
.detail-facts .icon,
.filter-field .icon,
.filter-range .icon,
.check .icon,
.visibility-pill .icon,
.admin-stats .icon,
label > .icon {
  color: var(--red);
}

.steps span .icon {
  height: 20px;
  width: 20px;
}

.fact-list div {
  align-items: center;
  display: grid;
  gap: 2px 8px;
  grid-template-columns: auto 1fr;
}

.fact-list .icon {
  grid-row: span 2;
}

.text-link .icon {
  height: 17px;
  width: 17px;
}

.safety li,
.features li {
  display: flex;
}

.avatar-placeholder .icon {
  height: 34px;
  width: 34px;
}

.review-head {
  align-items: center;
  display: flex;
  gap: 12px;
}

.review-avatar {
  align-items: center;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--red);
  display: flex;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.stars {
  display: flex;
  gap: 2px;
}

.stars .icon {
  fill: currentColor;
  height: 16px;
  width: 16px;
}

.filter-field,
.filter-range {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  display: grid;
  gap: 8px;
  grid-template-columns: auto 1fr;
  min-height: 52px;
  padding: 8px 12px;
}

.filter-field span,
.filter-range span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
}

.filter-field input,
.filter-field select {
  border: 0;
  grid-column: 2;
  min-height: 26px;
  padding: 0;
}

.filter-search input {
  min-height: 34px;
}

.filter-range {
  padding: 10px 12px;
}

.filter-range input,
.filter-range strong {
  grid-column: 2;
}

.filter-range input {
  accent-color: var(--red);
  border: 0;
  min-height: 20px;
  padding: 0;
}

.filter-range strong {
  color: var(--red);
}

.check {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  min-height: 52px;
  padding: 0 12px;
}

.no-results {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-weight: 850;
  grid-column: 1 / -1;
  padding: 24px;
}

.gallery {
  position: relative;
}

.gallery-count {
  align-items: center;
  background: var(--ink);
  border-radius: 999px;
  bottom: 18px;
  color: var(--white);
  display: inline-flex;
  font-weight: 900;
  gap: 8px;
  left: 18px;
  padding: 9px 12px;
  position: absolute;
}

.safety-note {
  display: flex;
}

.checklist {
  margin-top: 32px;
}

.checklist h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.checklist ul {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.checklist li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  font-weight: 850;
  padding: 14px;
}

.detail-facts div {
  grid-template-columns: auto 1fr 1.4fr;
}

.admin-stats .icon {
  height: 28px;
  width: 28px;
}

.admin-status {
  display: inline-flex;
  left: auto;
  position: static;
  top: auto;
  width: max-content;
}

.visibility-pill {
  background: rgba(182, 168, 147, 0.16);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 850;
  padding: 6px 10px;
  width: max-content;
}

.visibility-pill .icon {
  height: 16px;
  width: 16px;
}

.upload-zone {
  align-items: start;
  display: grid;
  gap: 12px;
}

.upload-icon {
  align-items: center;
  background: var(--ink);
  border-radius: 999px;
  color: var(--white);
  display: flex;
  height: 52px;
  justify-content: center;
  width: 52px;
}

.upload-preview {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, 78px);
}

.upload-preview span {
  align-items: center;
  aspect-ratio: 1;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--red);
  display: flex;
  justify-content: center;
}

.reviews {
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}

.reviews-heading {
  align-items: end;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-bottom: 34px;
}

.reviews-heading .eyebrow {
  color: var(--stone);
}

.reviews-heading p {
  color: rgba(241, 230, 223, 0.78);
  max-width: 760px;
}

.reviews-score {
  align-items: center;
  background: rgba(241, 230, 223, 0.08);
  border: 1px solid rgba(182, 168, 147, 0.35);
  border-radius: 8px;
  display: grid;
  justify-items: end;
  min-width: 210px;
  padding: 16px;
}

.reviews-score strong {
  color: var(--white);
  font-size: 2.4rem;
  line-height: 1;
}

.reviews-score span,
.google-stars {
  color: #F1E6DF;
  display: flex;
  gap: 2px;
}

.reviews-score .icon {
  fill: var(--red);
  color: var(--red);
  height: 17px;
  width: 17px;
}

.google-stars .icon {
  color: #FBBC05;
  fill: #FBBC05;
  height: 17px;
  width: 17px;
}

.reviews-score small {
  color: rgba(241, 230, 223, 0.72);
  font-weight: 800;
}

.review-carousel {
  position: relative;
}

.review-track {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(260px, 1fr));
}

.google-review-card {
  background: var(--white);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: var(--black);
  min-height: 236px;
  padding: 22px;
}

.google-card-head {
  align-items: start;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.google-card-head h3 {
  color: var(--black);
  font-size: 1rem;
  margin-bottom: 2px;
}

.google-card-head span {
  color: rgba(57, 55, 59, 0.62);
  font-size: 0.9rem;
}

.google-stars {
  align-items: center;
  margin: 14px 0 10px;
}

.verified-check {
  align-items: center;
  background: #4285F4;
  border-radius: 999px;
  color: var(--white);
  display: inline-flex;
  height: 16px;
  justify-content: center;
  margin-left: 5px;
  width: 16px;
}

.verified-check .icon {
  color: var(--white);
  fill: none;
  height: 11px;
  width: 11px;
}

.google-review-card p {
  color: var(--black);
  font-size: 1rem;
  line-height: 1.38;
  margin-bottom: 8px;
}

@media (max-width: 1050px) {
  .reviews-heading,
  .review-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reviews-score {
    justify-items: start;
  }
}

@media (max-width: 680px) {
  .reviews-heading,
  .review-track {
    grid-template-columns: 1fr;
  }

}

/* Public website UX refresh */

:root {
  --page-pad: max(18px, calc((100vw - 1240px) / 2));
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

body.menu-open,
body.filters-open {
  overflow: hidden;
}

#app h1,
#app h2,
#app h3 {
  letter-spacing: 0;
}

#app h1 {
  font-size: 52px;
  line-height: 1.06;
  margin-bottom: 20px;
}

#app h2 {
  font-size: 38px;
  line-height: 1.1;
}

#app h3 {
  font-size: 19px;
}

#app a:focus-visible,
#app button:focus-visible,
#app input:focus-visible,
#app select:focus-visible,
#app textarea:focus-visible {
  outline: 3px solid rgba(205, 33, 42, 0.28);
  outline-offset: 3px;
}

.sr-only {
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.site-header {
  background: rgba(241, 230, 223, 0.97);
  gap: 28px;
  grid-template-columns: auto 1fr auto;
  min-height: 90px;
  padding: 9px var(--page-pad);
  z-index: 40;
}

.brand {
  display: block;
  min-width: 180px;
}

.brand img {
  height: 70px;
  object-fit: contain;
  width: auto;
}

.site-header nav {
  display: flex;
  gap: 26px;
  justify-content: center;
}

.site-header nav a {
  border-bottom: 2px solid transparent;
  padding: 10px 0 8px;
  white-space: nowrap;
}

.site-header nav a[aria-current="page"] {
  border-color: var(--red);
  color: var(--red);
}

.header-actions {
  gap: 8px;
  justify-self: end;
}

.language {
  min-height: 38px;
  min-width: 42px;
  padding: 7px 9px;
}

.menu-backdrop,
.mobile-whatsapp {
  display: none;
}

.hero {
  background: var(--cream);
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  margin: 0 auto;
  max-width: 1440px;
  min-height: 460px;
}

.hero-media {
  height: 460px;
  min-height: 460px;
}

.hero-media::after {
  background: linear-gradient(90deg, rgba(57, 55, 59, 0.04), rgba(57, 55, 59, 0.14));
}

.hero-content {
  align-self: center;
  max-width: 650px;
  padding: 44px 52px;
}

.hero-content h1 {
  max-width: 570px;
}

.hero-content p:not(.eyebrow) {
  font-size: 18px;
  line-height: 1.65;
  max-width: 580px;
}

.hero-actions {
  align-items: stretch;
  margin-top: 26px;
}

.button {
  border-radius: 6px;
  min-height: 50px;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary:hover {
  background: #a9171f;
}

.whatsapp-button {
  background: var(--ink);
  border: 1px solid var(--ink);
  color: var(--white);
}

.whatsapp-button:hover {
  background: var(--black);
}

.trust-strip {
  grid-template-columns: repeat(3, 1fr);
}

.trust-strip span {
  font-size: 15px;
  justify-content: center;
  min-height: 76px;
  padding: 20px 24px;
}

.section,
.detail,
.page-hero,
.listing-hero,
.contact,
.safety,
.landlord-band,
.centered-cta,
.footer {
  padding-left: var(--page-pad);
  padding-right: var(--page-pad);
}

.section {
  padding-bottom: 82px;
  padding-top: 82px;
}

.section-heading {
  margin-bottom: 34px;
  max-width: 760px;
}

.section-heading.with-action {
  align-items: end;
  display: flex;
  justify-content: space-between;
  max-width: none;
}

.section-heading.with-action > div {
  max-width: 760px;
}

.section-heading.with-action > .text-link {
  flex: 0 0 auto;
  margin-bottom: 4px;
}

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

.property-grid.listings {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1180px;
}

.property-card {
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(57, 55, 59, 0.07);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.property-image {
  aspect-ratio: 1.48;
}

.property-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 21px;
}

.property-body h3 {
  margin-bottom: 8px;
}

.property-body .address {
  margin-bottom: 0;
}

.property-body .price {
  font-size: 25px;
  margin: 17px 0;
}

.price-request {
  color: var(--red) !important;
  font-size: 20px !important;
  font-weight: 900 !important;
}

.fact-list {
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  margin: 0 0 16px;
}

.fact-list div {
  background: rgba(182, 168, 147, 0.12);
  border-radius: 6px;
  min-width: 0;
  padding: 9px;
}

.fact-list dt {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.availability {
  border-top: 1px solid var(--line);
  font-size: 14px;
  margin: 0 0 17px;
  padding-top: 15px;
}

.card-cta {
  background: var(--ink);
  color: var(--white);
  justify-content: space-between;
  margin-top: auto;
  width: 100%;
}

.card-cta:hover {
  background: var(--red);
}

.empty-state {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  grid-column: 1 / -1;
  justify-content: center;
  min-height: 260px;
  padding: 38px 22px;
  text-align: center;
}

.empty-state .icon {
  color: var(--red);
  height: 34px;
  width: 34px;
}

.steps {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.steps article {
  box-shadow: none;
  min-width: 0;
  padding: 22px 19px;
}

.steps article p,
.reason-grid p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 0;
}

.landlord-band {
  align-items: center;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding-bottom: 62px;
  padding-top: 62px;
}

.landlord-band > div {
  max-width: 760px;
}

.landlord-band h2 {
  margin-bottom: 12px;
}

.landlord-band p:not(.eyebrow) {
  color: var(--muted);
  margin-bottom: 0;
}

.safety {
  min-height: 390px;
}

.safety h2 {
  max-width: 620px;
}

.team-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.team-card {
  box-shadow: 0 14px 36px rgba(57, 55, 59, 0.06);
  min-width: 0;
}

.team-photo,
.avatar-placeholder {
  aspect-ratio: 4 / 4.2;
}

.avatar-placeholder {
  background: var(--ink);
  border: 0;
  color: var(--white);
}

.avatar-placeholder span {
  border-bottom: 3px solid var(--red);
  font-size: 32px;
  padding-bottom: 6px;
}

.page-hero {
  background: rgba(182, 168, 147, 0.16);
  border-bottom: 1px solid var(--line);
  padding-bottom: 70px;
  padding-top: 70px;
}

.page-hero h1 {
  max-width: 840px;
}

.page-hero > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
  max-width: 760px;
}

.page-hero .button {
  margin-top: 10px;
}

.about-story {
  display: grid;
  gap: 64px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-story > div {
  border-left: 3px solid var(--red);
  padding-left: 24px;
}

.about-story p:last-child {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.reason-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.reason-grid article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.reason-grid article > .icon {
  color: var(--red);
  height: 28px;
  margin-bottom: 16px;
  width: 28px;
}

.centered-cta {
  background: var(--ink);
  color: var(--white);
  padding-bottom: 70px;
  padding-top: 70px;
  text-align: center;
}

.centered-cta p {
  color: rgba(255, 255, 255, 0.76);
  margin-left: auto;
  margin-right: auto;
  max-width: 620px;
}

.centered-cta > div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}

.centered-cta .ghost {
  background: var(--white);
}

.reviews {
  padding-left: var(--page-pad);
  padding-right: var(--page-pad);
}

.contact {
  gap: 54px;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  padding-bottom: 82px;
  padding-top: 82px;
}

.contact-intro {
  position: sticky;
  top: 118px;
}

.direct-contact {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.direct-contact a {
  align-items: center;
  color: var(--red);
  display: inline-flex;
  font-weight: 850;
  gap: 10px;
  overflow-wrap: anywhere;
}

.contact-form {
  padding: 26px !important;
}

.form-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-full {
  grid-column: 1 / -1;
}

.form-submit {
  align-items: center;
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.form-note {
  margin: 0;
  max-width: 420px;
}

.form-feedback {
  border-radius: 6px;
  display: none;
  font-weight: 800;
  padding: 12px 14px;
}

.form-feedback.success,
.form-feedback.error {
  display: block;
}

.form-feedback.success {
  background: rgba(182, 168, 147, 0.2);
  border: 1px solid var(--stone);
}

.form-feedback.error {
  background: rgba(205, 33, 42, 0.08);
  border: 1px solid rgba(205, 33, 42, 0.45);
  color: var(--red);
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.listing-hero {
  background: rgba(182, 168, 147, 0.16);
}

.filters-shell {
  padding-left: var(--page-pad);
  padding-right: var(--page-pad);
  top: 89px;
}

.filter-summary,
.filter-panel {
  margin-left: auto;
  margin-right: auto;
  max-width: 1240px;
}

.filter-panel {
  box-shadow: 0 12px 30px rgba(57, 55, 59, 0.06);
}

.filter-field,
.filter-range,
.check {
  border-radius: 6px;
  min-width: 0;
}

.filter-field select {
  text-overflow: ellipsis;
}

.detail {
  padding-bottom: 76px;
  padding-top: 42px;
}

.detail > .text-link .icon {
  transform: rotate(180deg);
}

.gallery {
  border-radius: 8px;
  margin: 26px 0 42px;
  overflow: hidden;
  position: relative;
}

.gallery img {
  border-radius: 0;
}

.gallery-count {
  align-items: center;
  background: rgba(57, 55, 59, 0.9);
  border-radius: 6px;
  bottom: 16px;
  color: var(--white);
  display: inline-flex;
  font-weight: 850;
  gap: 8px;
  padding: 10px 13px;
  position: absolute;
  right: 16px;
}

.detail-layout {
  gap: 48px;
  grid-template-columns: minmax(0, 1fr) 380px;
}

.detail-main h1 {
  font-size: 46px !important;
}

.detail-address {
  align-items: center;
  display: flex;
  gap: 8px;
}

.property-description {
  font-size: 17px;
  line-height: 1.75;
  white-space: pre-line;
}

.features {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.features li {
  min-width: 0;
}

.detail-aside {
  top: 108px;
}

.detail-aside > .price {
  font-size: 28px;
  margin-top: 0;
}

.detail-aside .button + .button {
  margin-top: 10px;
}

.detail-facts div {
  align-items: center;
  grid-template-columns: auto 1fr 1.3fr !important;
}

.detail-facts .icon {
  color: var(--red);
}

.not-found {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 58vh;
  padding: 70px 18px;
  text-align: center;
}

.not-found .error-code {
  color: var(--red);
  font-size: 18px;
  font-weight: 950;
  margin-bottom: 10px;
}

.not-found > p:not(.error-code) {
  color: var(--muted);
  max-width: 560px;
}

.not-found > div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.footer {
  padding-bottom: 30px;
  padding-top: 62px;
}

.footer img {
  height: 74px;
}

.footer-main {
  gap: 64px;
  grid-template-columns: 1.3fr 0.9fr 1.1fr;
}

.footer a:hover {
  color: var(--red);
}

@media (max-width: 1050px) {
  #app h1 {
    font-size: 44px;
  }

  #app h2 {
    font-size: 34px;
  }

  .site-header {
    gap: 18px;
  }

  .site-header nav {
    gap: 15px;
  }

  .site-header nav a {
    font-size: 14px;
  }

  .brand {
    min-width: 150px;
  }

  .brand img {
    height: 62px;
  }

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

  .hero-content {
    padding: 34px;
  }

  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .property-grid,
  .property-grid.listings,
  .team-grid,
  .reason-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-layout {
    grid-template-columns: minmax(0, 1fr) 330px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --page-pad: 18px;
  }

  #app h1 {
    font-size: 36px;
  }

  #app h2 {
    font-size: 30px;
  }

  .site-header {
    gap: 10px;
    grid-template-columns: 1fr auto;
    min-height: 68px;
    padding: 7px 14px;
  }

  .brand {
    min-width: 0;
    width: min(190px, 58vw);
  }

  .brand img {
    height: 52px;
    max-width: 100%;
  }

  .header-actions {
    align-items: center;
    display: flex;
    grid-column: 2;
    grid-row: 1;
  }

  .language {
    font-size: 12px;
    min-height: 44px;
    min-width: 36px;
    padding: 6px;
  }

  .menu-toggle {
    display: inline-flex;
    height: 44px;
    width: 44px;
  }

  .site-header nav {
    align-items: stretch;
    background: var(--white);
    border: 0;
    border-radius: 0;
    box-shadow: 0 22px 44px rgba(57, 55, 59, 0.17);
    display: grid;
    gap: 0;
    grid-column: auto;
    left: 0;
    opacity: 0;
    padding: 10px 14px 16px;
    pointer-events: none;
    position: fixed;
    right: 0;
    top: 67px;
    transform: translateY(-12px);
    transition: opacity 160ms ease, transform 160ms ease;
    visibility: hidden;
    z-index: 42;
  }

  .site-header.menu-open nav {
    display: grid;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }

  .site-header nav a {
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    font-size: 16px;
    min-height: 50px;
    padding: 14px 10px;
  }

  .site-header nav a:last-child {
    border-bottom: 0;
  }

  .site-header nav a[aria-current="page"] {
    border-bottom-color: var(--line);
    border-left: 3px solid var(--red);
    padding-left: 12px;
  }

  .menu-backdrop {
    background: rgba(57, 55, 59, 0.38);
    border: 0;
    bottom: 0;
    cursor: pointer;
    left: 0;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    right: 0;
    top: 67px;
    transition: opacity 160ms ease;
    z-index: 39;
  }

  body.menu-open .menu-backdrop {
    display: block;
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-whatsapp {
    align-items: center;
    background: var(--ink);
    border: 2px solid var(--white);
    border-radius: 999px;
    bottom: max(14px, env(safe-area-inset-bottom));
    box-shadow: 0 12px 28px rgba(57, 55, 59, 0.25);
    color: var(--white);
    display: inline-flex;
    font-size: 14px;
    font-weight: 900;
    gap: 8px;
    min-height: 48px;
    padding: 10px 15px;
    position: fixed;
    right: 14px;
    z-index: 25;
  }

  .hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .hero-media {
    height: 245px;
    min-height: 245px;
    order: 2;
  }

  .hero-content {
    order: 1;
    padding: 34px 18px 30px;
  }

  .hero-content h1 {
    font-size: 36px !important;
    max-width: 100%;
  }

  .hero-content p:not(.eyebrow) {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .button {
    width: 100%;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .trust-strip span {
    justify-content: flex-start;
    min-height: 62px;
    padding: 17px 18px;
  }

  .section {
    padding-bottom: 58px;
    padding-top: 58px;
  }

  .section-heading.with-action {
    align-items: flex-start;
    display: grid;
    gap: 4px;
  }

  .section-heading.with-action > .text-link {
    margin-top: 4px;
  }

  .steps,
  .property-grid,
  .property-grid.listings,
  .team-grid,
  .reason-grid,
  .about-story,
  .features {
    grid-template-columns: 1fr;
  }

  .property-grid,
  .property-grid.listings {
    gap: 22px;
  }

  .property-image {
    aspect-ratio: 1.45;
  }

  .property-body {
    padding: 19px;
  }

  .fact-list {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .fact-list .icon {
    height: 18px;
    width: 18px;
  }

  .fact-list dt {
    font-size: 11px;
  }

  .landlord-band {
    gap: 24px;
    grid-template-columns: 1fr;
    padding-bottom: 48px;
    padding-top: 48px;
  }

  .landlord-band .button {
    width: 100%;
  }

  .safety {
    gap: 26px;
    grid-template-columns: 1fr;
    min-height: 0;
    padding-bottom: 58px;
    padding-top: 58px;
  }

  .team-grid {
    gap: 20px;
  }

  .page-hero {
    padding-bottom: 48px;
    padding-top: 48px;
  }

  .page-hero > p:not(.eyebrow) {
    font-size: 16px;
  }

  .about-story {
    gap: 38px;
  }

  .centered-cta {
    padding-bottom: 56px;
    padding-top: 56px;
  }

  .centered-cta > div {
    display: grid;
  }

  .reviews {
    padding-bottom: 58px;
    padding-top: 58px;
  }

  .contact {
    gap: 32px;
    grid-template-columns: 1fr;
    padding-bottom: 70px;
    padding-top: 58px;
  }

  .contact-intro {
    position: static;
  }

  .contact-form {
    padding: 19px !important;
  }

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

  .form-full {
    grid-column: auto;
  }

  .form-submit {
    align-items: stretch;
    flex-direction: column;
  }

  .form-submit .button {
    width: 100%;
  }

  .filters-shell {
    padding: 10px 12px;
    top: 67px;
  }

  .filter-summary {
    gap: 9px;
    grid-template-columns: 1fr auto;
    padding: 10px;
  }

  .filter-search {
    grid-column: 1 / -1;
  }

  .filter-toggle {
    display: inline-flex;
    min-height: 46px;
  }

  .filter-result-count {
    align-self: center;
    font-size: 13px;
    justify-self: end;
  }

  .filter-panel {
    border-radius: 8px 8px 0 0;
    bottom: 0;
    display: block;
    left: 0;
    margin: 0;
    max-height: 84vh;
    opacity: 0;
    overflow-y: auto;
    padding: 18px;
    pointer-events: none;
    position: fixed;
    right: 0;
    transform: translateY(100%);
    transition: opacity 180ms ease, transform 180ms ease;
    visibility: hidden;
    z-index: 61;
  }

  .filters-shell.panel-open::before {
    background: rgba(57, 55, 59, 0.42);
    content: "";
    inset: 0;
    position: fixed;
    z-index: 60;
  }

  .filters-shell.panel-open .filter-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }

  .filter-panel-head {
    display: flex;
  }

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

  .filter-close {
    min-height: 44px;
    min-width: 44px;
  }

  .filter-actions {
    bottom: -18px;
  }

  .listing-section {
    padding-top: 38px;
  }

  .detail {
    padding-bottom: 54px;
    padding-top: 28px;
  }

  .gallery {
    border-radius: 0;
    display: flex;
    gap: 10px;
    margin: 24px -18px 34px;
    overflow-x: auto;
    padding: 0 18px 12px;
    scroll-snap-type: x mandatory;
  }

  .gallery img,
  .gallery .main-photo {
    border-radius: 8px;
    flex: 0 0 86vw;
    height: 255px;
    scroll-snap-align: center;
  }

  .gallery-count {
    bottom: 26px;
    position: sticky;
    right: 10px;
  }

  .detail-layout {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .detail-main h1 {
    font-size: 36px !important;
  }

  .detail-aside {
    order: -1;
    position: static;
    width: 100%;
  }

  .detail-facts div {
    grid-template-columns: auto 1fr 1.2fr !important;
  }

  .footer {
    padding-bottom: 88px;
    padding-top: 52px;
  }

  .footer-main {
    gap: 38px;
    grid-template-columns: 1fr;
  }

  .footer img {
    height: 66px;
  }
}

/* Property platform refresh: public pages only. The dashboard keeps its own interface. */
#app {
  --ink: #14212b;
  --black: #0d171f;
  --red: #f2a144;
  --stone: #f7d7a8;
  --cream: #fff3e5;
  --muted: #64717c;
  --line: #e1e6e9;
}

#app .site-header {
  background: #ffffff;
}

#app .site-header nav a[aria-current="page"],
#app .site-header nav a:hover {
  border-color: var(--red);
  color: var(--ink);
}

#app .platform-hero {
  display: block;
  isolation: isolate;
  min-height: 548px;
  overflow: hidden;
  position: relative;
  background: var(--ink);
}

#app .platform-hero-media {
  display: block;
  height: 100%;
  inset: 0;
  min-height: 548px;
  position: absolute;
  width: 100%;
  z-index: -2;
}

#app .platform-hero-media::after {
  background: none;
}

#app .platform-hero-media img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

#app .platform-hero::after {
  background: linear-gradient(90deg, rgba(13, 23, 31, 0.9) 0%, rgba(13, 23, 31, 0.72) 43%, rgba(13, 23, 31, 0.1) 78%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

#app .platform-hero-content {
  color: #ffffff;
  margin: 0 auto;
  max-width: 1240px;
  padding: 115px max(24px, calc((100vw - 1240px) / 2)) 178px;
}

#app .platform-hero-content .eyebrow {
  color: #ffd9a9;
}

#app .platform-hero-content h1 {
  color: #ffffff;
  font-size: clamp(42px, 5vw, 62px);
  line-height: 1.04;
  max-width: 660px;
}

#app .platform-hero-content p:not(.eyebrow):not(.hero-guidance) {
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.65;
  max-width: 575px;
}

#app .hero-guidance {
  align-items: center;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
  gap: 12px;
  margin: 26px 0 0;
}

#app .hero-guidance a {
  align-items: center;
  color: #ffffff;
  display: inline-flex;
  font-weight: 700;
  gap: 8px;
}

#app .hero-guidance a:hover {
  color: #ffd9a9;
}

#app .home-search-wrap {
  margin: -82px auto 0;
  max-width: 1280px;
  padding: 0 20px;
  position: relative;
  z-index: 4;
}

#app .home-search {
  background: #ffffff;
  border: 1px solid rgba(20, 33, 43, 0.1);
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(20, 33, 43, 0.18);
  display: grid;
  gap: 0;
  grid-template-columns: 1.3fr repeat(4, minmax(115px, 1fr)) auto;
  padding: 16px 18px 18px;
}

#app .home-search-heading {
  align-items: center;
  display: flex;
  grid-column: 1 / -1;
  padding: 0 0 13px;
}

#app .home-search-heading p {
  color: var(--ink);
  font-size: 15px;
  font-weight: 750;
  margin: 0;
}

#app .home-search-field {
  align-items: center;
  background: #ffffff;
  border-right: 1px solid var(--line);
  color: var(--muted);
  display: grid;
  gap: 2px 9px;
  grid-template-columns: 18px 1fr;
  grid-template-rows: auto 1fr;
  min-height: 55px;
  padding: 5px 14px;
}

#app .home-search-field .icon {
  color: var(--red);
  grid-row: 1 / span 2;
  height: 17px;
  width: 17px;
}

#app .home-search-field > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
}

#app .home-search-field input,
#app .home-search-field select {
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  min-width: 0;
  outline: 0;
  padding: 0;
  width: 100%;
}

#app .home-search-field input::placeholder {
  color: var(--ink);
  opacity: 0.72;
}

#app .home-search-field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 9px) 50%, calc(100% - 5px) 50%;
  background-repeat: no-repeat;
  background-size: 4px 4px, 4px 4px;
  padding-right: 16px;
}

#app .home-search-submit {
  align-self: stretch;
  background: var(--ink);
  border-color: var(--ink);
  border-radius: 6px;
  display: inline-flex;
  font-size: 14px;
  gap: 8px;
  justify-content: center;
  margin-left: 14px;
  min-width: 150px;
}

#app .home-search-submit:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--ink);
}

#app .trust-strip {
  background: #ffffff;
  border-bottom: 0;
  margin-top: 56px;
}

#app .trust-strip .icon,
#app .steps article > span .icon,
#app .safety .icon {
  color: var(--red);
}

#app .section-listings-preview {
  padding-top: 80px;
}

#app .property-card {
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 4px 16px rgba(20, 33, 43, 0.05);
  transition: box-shadow 180ms ease, transform 180ms ease;
}

#app .property-card:hover {
  box-shadow: 0 16px 32px rgba(20, 33, 43, 0.12);
  transform: translateY(-3px);
}

#app .property-image {
  aspect-ratio: 16 / 10;
}

#app .property-image img {
  transition: transform 300ms ease;
}

#app .property-card:hover .property-image img {
  transform: scale(1.025);
}

#app .status {
  background: var(--cream);
  border-color: #f8d5a4;
  color: #985d14;
}

#app .fact-list div {
  background: #f7f9fa;
}

#app .price-request,
#app .empty-state .icon,
#app .reason-grid article > .icon,
#app .direct-contact a,
#app .detail-facts .icon,
#app .not-found .error-code {
  color: var(--red) !important;
}

#app .page-hero,
#app .listing-hero,
#app .landlord-band {
  background: var(--cream);
  border-color: #f3dcc0;
}

#app .landlord-band .button.primary,
#app .card-cta,
#app .button.primary {
  background: var(--ink);
  border-color: var(--ink);
}

#app .landlord-band .button.primary:hover,
#app .card-cta:hover,
#app .button.primary:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--ink);
}

#app .safety,
#app .centered-cta {
  background: var(--ink);
}

#app .filter-summary,
#app .filter-panel {
  background: #f8fafb;
  border-color: var(--line);
}

#app .filter-toggle,
#app .filter-close {
  background: var(--ink);
}

#app .filter-toggle:hover,
#app .filter-close:hover {
  background: var(--red);
  color: var(--ink);
}

#app input[type="range"],
#app input[type="checkbox"] {
  accent-color: var(--red);
}

#app .footer {
  background: #ffffff;
}

#app .footer a:hover,
#app .text-link:hover {
  color: #a86414;
}

#app .mobile-whatsapp {
  background: var(--ink);
}

@media (max-width: 1100px) and (min-width: 761px) {
  #app .home-search {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  #app .home-search-heading {
    grid-column: 1 / -1;
  }

  #app .home-search-field {
    border: 1px solid var(--line);
    border-radius: 6px;
  }

  #app .home-search-submit {
    margin-left: 0;
  }
}

@media (max-width: 760px) {
  #app .platform-hero {
    display: block;
    min-height: 454px;
  }

  #app .platform-hero-media {
    min-height: 454px;
  }

  #app .platform-hero-media img {
    object-position: center center;
  }

  #app .platform-hero::after {
    background: linear-gradient(180deg, rgba(13, 23, 31, 0.83) 0%, rgba(13, 23, 31, 0.65) 57%, rgba(13, 23, 31, 0.32) 100%);
  }

  #app .platform-hero-content {
    padding: 74px 20px 64px;
  }

  #app .platform-hero-content h1 {
    font-size: 40px !important;
    max-width: 360px;
  }

  #app .platform-hero-content p:not(.eyebrow):not(.hero-guidance) {
    font-size: 16px;
    line-height: 1.55;
  }

  #app .home-search-wrap {
    margin: 0;
    padding: 0;
  }

  #app .home-search {
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    box-shadow: none;
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr;
    padding: 22px 18px 26px;
  }

  #app .home-search-heading {
    padding: 0 0 5px;
  }

  #app .home-search-heading p {
    font-size: 17px;
  }

  #app .home-search-field {
    border: 1px solid var(--line);
    border-radius: 6px;
    min-height: 58px;
    padding: 7px 13px;
  }

  #app .home-search-submit {
    min-height: 54px;
    margin: 2px 0 0;
    width: 100%;
  }

  #app .trust-strip {
    margin-top: 0;
  }

  #app .section-listings-preview {
    padding-top: 54px;
  }
}

@media (max-width: 380px) {
  #app h1,
  .hero-content h1,
  .detail-main h1 {
    font-size: 32px !important;
  }

  #app h2 {
    font-size: 27px;
  }

  .brand {
    width: min(164px, 54vw);
  }

  .brand img {
    height: 46px;
  }

  .site-header {
    min-height: 62px;
  }

  .site-header nav,
  .menu-backdrop {
    top: 61px;
  }

  .fact-list {
    grid-template-columns: 1fr !important;
  }

  .fact-list dt {
    font-size: 12px;
  }

  .mobile-whatsapp span {
    display: none;
  }

  .mobile-whatsapp {
    border-radius: 999px;
    justify-content: center;
    padding: 0;
    width: 50px;
  }
}

/* Minimal public redesign: keep the dashboard's existing visual language untouched. */
body:has(#app) {
  background: #ffffff;
}

#app {
  --ink: #18212a;
  --black: #10161c;
  --red: #27313a;
  --stone: #d9dee4;
  --cream: #f5f7f8;
  --muted: #64707c;
  --line: #e1e5e9;
  background: #ffffff;
  color: var(--ink);
}

#app a:focus-visible,
#app button:focus-visible,
#app input:focus-visible,
#app select:focus-visible,
#app textarea:focus-visible {
  outline-color: rgba(39, 49, 58, 0.34);
}

#app .site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--line);
  box-shadow: none;
}

#app .site-header nav a {
  color: #39434d;
  font-weight: 700;
}

#app .site-header nav a:hover,
#app .site-header nav a[aria-current="page"] {
  border-color: var(--ink);
  color: var(--ink);
}

#app .language,
#app .menu-toggle {
  background: var(--ink);
  border: 1px solid var(--ink);
  color: #ffffff;
}

#app .hero {
  background: #ffffff;
  grid-template-areas: "content media";
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  max-width: 1360px;
  min-height: 442px;
}

#app .hero-content {
  grid-area: content;
  max-width: 600px;
  padding: 58px clamp(28px, 5vw, 80px);
}

#app .hero-content .eyebrow,
#app .eyebrow {
  color: #56616c;
}

#app .hero-content h1 {
  color: var(--ink);
  font-size: 50px;
  line-height: 1.08;
  max-width: 500px;
}

#app .hero-content p:not(.eyebrow) {
  color: var(--muted);
  max-width: 480px;
}

#app .hero-media {
  grid-area: media;
  height: 442px;
  min-height: 442px;
}

#app .hero-media::after {
  background: linear-gradient(90deg, rgba(16, 22, 28, 0.02), rgba(16, 22, 28, 0.08));
}

#app .hero-media img {
  object-position: 66% center;
}

#app .button.primary,
#app .card-cta {
  background: var(--ink);
  border: 1px solid var(--ink);
  color: #ffffff;
}

#app .button.primary:hover,
#app .card-cta:hover {
  background: var(--black);
  border-color: var(--black);
}

#app .whatsapp-button {
  background: #ffffff;
  border: 1px solid #cbd2d9;
  color: var(--ink);
}

#app .whatsapp-button:hover {
  background: #f5f7f8;
  border-color: #9ca7b2;
}

#app .trust-strip {
  background: #f5f7f8;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  color: var(--ink);
  gap: 0;
}

#app .trust-strip span {
  border-right: 1px solid var(--line);
}

#app .trust-strip span:last-child {
  border-right: 0;
}

#app .property-card,
#app .team-card,
#app .reason-grid article,
#app .contact-form,
#app .filter-summary,
#app .filter-panel,
#app .empty-state {
  border-color: var(--line);
  box-shadow: none;
}

#app .property-card {
  border-radius: 8px;
}

#app .property-image {
  aspect-ratio: 16 / 10;
}

#app .status {
  background: #eef1f3;
  border: 1px solid #d8dee3;
  color: #34404a;
}

#app .fact-list div {
  background: #f5f7f8;
}

#app .price-request,
#app .empty-state .icon,
#app .reason-grid article > .icon,
#app .direct-contact a,
#app .detail-facts .icon,
#app .not-found .error-code {
  color: var(--ink) !important;
}

#app .landlord-band,
#app .page-hero,
#app .listing-hero {
  background: #f5f7f8;
  border-color: var(--line);
}

#app .safety,
#app .centered-cta {
  background: var(--ink);
}

#app .safety li {
  border-color: rgba(255, 255, 255, 0.2);
}

#app .safety .icon {
  color: #dbe1e6;
}

#app .avatar-placeholder span,
#app .about-story > div {
  border-color: #aeb8c1;
}

#app .centered-cta .primary {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--ink);
}

#app .centered-cta .primary:hover {
  background: #eef1f3;
  border-color: #eef1f3;
}

#app .centered-cta .ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.56);
  color: #ffffff;
}

#app .filter-summary,
#app .filter-panel {
  background: #f5f7f8;
}

#app .filter-toggle,
#app .filter-close {
  background: var(--ink);
  color: #ffffff;
}

#app .filter-field,
#app .filter-range,
#app .check {
  background: #ffffff;
  border-color: var(--line);
}

#app input[type="range"],
#app input[type="checkbox"] {
  accent-color: var(--ink);
}

#app .gallery-count {
  background: rgba(16, 22, 28, 0.9);
}

#app .form-feedback.success,
#app .form-feedback.error {
  background: #f1f4f6;
  border-color: #cfd7de;
  color: var(--ink);
}

#app .footer {
  background: #ffffff;
  border-top: 1px solid var(--line);
}

#app .footer a:hover {
  color: var(--ink);
}

#app .mobile-whatsapp {
  background: var(--ink);
  box-shadow: 0 10px 24px rgba(16, 22, 28, 0.2);
}

@media (max-width: 1050px) and (min-width: 761px) {
  #app .hero-content {
    padding: 42px 38px;
  }

  #app .hero-content h1 {
    font-size: 44px;
  }
}

@media (max-width: 760px) {
  #app .site-header {
    min-height: 64px;
  }

  #app .brand img {
    height: 46px;
  }

  #app .site-header nav,
  #app .menu-backdrop {
    top: 63px;
  }

  #app .site-header nav a[aria-current="page"] {
    border-bottom-color: var(--line);
    border-left-color: var(--ink);
  }

  #app .hero {
    display: flex;
    flex-direction: column;
  }

  #app .hero-content {
    padding: 38px 18px 32px;
  }

  #app .hero-content h1 {
    font-size: 36px !important;
  }

  #app .hero-media {
    height: 260px;
    min-height: 260px;
  }

  #app .trust-strip span {
    border-bottom: 1px solid var(--line);
    border-right: 0;
  }

  #app .trust-strip span:last-child {
    border-bottom: 0;
  }
}

/* Final public platform layer. This intentionally comes last over earlier public styles. */
#app {
  --ink: #14212b;
  --black: #0d171f;
  --red: #f2a144;
  --stone: #f7d7a8;
  --cream: #fff3e5;
  --muted: #64717c;
  --line: #e1e6e9;
}

#app .platform-hero {
  display: block;
  isolation: isolate;
  min-height: 548px;
  overflow: hidden;
  position: relative;
  background: var(--ink);
}

#app .platform-hero-media {
  display: block;
  height: 100%;
  inset: 0;
  min-height: 548px;
  position: absolute;
  width: 100%;
  z-index: -2;
}

#app .platform-hero-media::after { background: none; }

#app .platform-hero-media img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

#app .platform-hero::after {
  background: linear-gradient(90deg, rgba(13, 23, 31, 0.9) 0%, rgba(13, 23, 31, 0.72) 43%, rgba(13, 23, 31, 0.1) 78%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

#app .platform-hero-content {
  color: #ffffff;
  margin: 0 auto;
  max-width: 1240px;
  padding: 115px max(24px, calc((100vw - 1240px) / 2)) 178px;
}

#app .platform-hero-content .eyebrow { color: #ffd9a9; }

#app .platform-hero-content h1 {
  color: #ffffff;
  font-size: clamp(42px, 5vw, 62px);
  line-height: 1.04;
  max-width: 660px;
}

#app .platform-hero-content p:not(.eyebrow):not(.hero-guidance) {
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.65;
  max-width: 575px;
}

#app .hero-guidance {
  align-items: center;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
  gap: 12px;
  margin: 26px 0 0;
}

#app .hero-guidance a { align-items: center; color: #ffffff; display: inline-flex; font-weight: 700; gap: 8px; }
#app .hero-guidance a:hover { color: #ffd9a9; }

#app .home-search-wrap {
  margin: -82px auto 0;
  max-width: 1280px;
  padding: 0 20px;
  position: relative;
  z-index: 4;
}

#app .home-search {
  background: #ffffff;
  border: 1px solid rgba(20, 33, 43, 0.1);
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(20, 33, 43, 0.18);
  display: grid;
  gap: 0;
  grid-template-columns: 1.3fr repeat(4, minmax(115px, 1fr)) auto;
  padding: 16px 18px 18px;
}

#app .home-search-heading { align-items: center; display: flex; grid-column: 1 / -1; padding: 0 0 13px; }
#app .home-search-heading p { color: var(--ink); font-size: 15px; font-weight: 750; margin: 0; }

#app .home-search-field {
  align-items: center;
  background: #ffffff;
  border-right: 1px solid var(--line);
  color: var(--muted);
  display: grid;
  gap: 2px 9px;
  grid-template-columns: 18px 1fr;
  grid-template-rows: auto 1fr;
  min-height: 55px;
  padding: 5px 14px;
}

#app .home-search-field .icon { color: var(--red); grid-row: 1 / span 2; height: 17px; width: 17px; }
#app .home-search-field > span { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: 0.02em; line-height: 1; text-transform: uppercase; }

#app .home-search-field input,
#app .home-search-field select {
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  min-width: 0;
  outline: 0;
  padding: 0;
  width: 100%;
}

#app .home-search-field input::placeholder { color: var(--ink); opacity: 0.72; }

#app .home-search-field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 9px) 50%, calc(100% - 5px) 50%;
  background-repeat: no-repeat;
  background-size: 4px 4px, 4px 4px;
  padding-right: 16px;
}

#app .home-search-submit {
  align-self: stretch;
  background: var(--ink);
  border-color: var(--ink);
  border-radius: 6px;
  display: inline-flex;
  font-size: 14px;
  gap: 8px;
  justify-content: center;
  margin-left: 14px;
  min-width: 150px;
}

#app .home-search-submit:hover { background: var(--red); border-color: var(--red); color: var(--ink); }
#app .trust-strip { background: #ffffff; border-bottom: 0; margin-top: 56px; }
#app .trust-strip .icon, #app .steps article > span .icon, #app .safety .icon { color: var(--red); }
#app .section-listings-preview { padding-top: 80px; }

#app .property-card { background: #ffffff; border: 1px solid var(--line); box-shadow: 0 4px 16px rgba(20, 33, 43, 0.05); transition: box-shadow 180ms ease, transform 180ms ease; }
#app .property-card:hover { box-shadow: 0 16px 32px rgba(20, 33, 43, 0.12); transform: translateY(-3px); }
#app .property-image { aspect-ratio: 16 / 10; }
#app .property-image img { transition: transform 300ms ease; }
#app .property-card:hover .property-image img { transform: scale(1.025); }
#app .status { background: var(--cream); border-color: #f8d5a4; color: #985d14; }
#app .fact-list div { background: #f7f9fa; }
#app .price-request, #app .empty-state .icon, #app .reason-grid article > .icon, #app .direct-contact a, #app .detail-facts .icon, #app .not-found .error-code { color: var(--red) !important; }
#app .page-hero, #app .listing-hero, #app .landlord-band { background: var(--cream); border-color: #f3dcc0; }
#app .landlord-band .button.primary, #app .card-cta, #app .button.primary { background: var(--ink); border-color: var(--ink); }
#app .landlord-band .button.primary:hover, #app .card-cta:hover, #app .button.primary:hover { background: var(--red); border-color: var(--red); color: var(--ink); }
#app .safety, #app .centered-cta { background: var(--ink); }
#app .filter-summary, #app .filter-panel { background: #f8fafb; border-color: var(--line); }
#app .filter-toggle, #app .filter-close { background: var(--ink); }
#app .filter-toggle:hover, #app .filter-close:hover { background: var(--red); color: var(--ink); }
#app input[type="range"], #app input[type="checkbox"] { accent-color: var(--red); }
#app .footer { background: #ffffff; }
#app .footer a:hover, #app .text-link:hover { color: #a86414; }
#app .mobile-whatsapp { background: var(--ink); }

#app .platform-hero-media { z-index: 0; }
#app .platform-hero::after { z-index: 1; }
#app .platform-hero-content { position: relative; z-index: 2; }
#app .platform-hero {
  background-image: url("/public/assets/home-hero-exterior-desktop.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
#app .platform-hero-media { display: none; }

@media (max-width: 1100px) and (min-width: 761px) {
  #app .home-search { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  #app .home-search-heading { grid-column: 1 / -1; }
  #app .home-search-field { border: 1px solid var(--line); border-radius: 6px; }
  #app .home-search-submit { margin-left: 0; }
}

@media (max-width: 760px) {
  #app .platform-hero { background-image: url("/public/assets/home-hero-exterior-mobile.webp"); }
  #app .platform-hero { display: block; min-height: 454px; }
  #app .platform-hero-media { min-height: 454px; }
  #app .platform-hero-media img { object-position: center center; }
  #app .platform-hero::after { background: linear-gradient(180deg, rgba(13, 23, 31, 0.68) 0%, rgba(13, 23, 31, 0.54) 57%, rgba(13, 23, 31, 0.24) 100%); }
  #app .platform-hero-content { padding: 74px 20px 64px; }
  #app .platform-hero-content h1 { color: #ffffff; font-size: 40px !important; max-width: 360px; }
  #app .platform-hero-content p:not(.eyebrow):not(.hero-guidance) { color: rgba(255, 255, 255, 0.86); font-size: 16px; line-height: 1.55; }
  #app .home-search-wrap { margin: 0; padding: 0; }
  #app .home-search { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; display: grid; gap: 10px; grid-template-columns: 1fr; padding: 22px 18px 26px; }
  #app .home-search-heading { padding: 0 0 5px; }
  #app .home-search-heading p { font-size: 17px; }
  #app .home-search-field { border: 1px solid var(--line); border-radius: 6px; min-height: 58px; padding: 7px 13px; }
  #app .home-search-submit { min-height: 54px; margin: 2px 0 0; width: 100%; }
  #app .trust-strip { margin-top: 0; }
  #app .section-listings-preview { padding-top: 54px; }
}

/* Landlord enquiry form */
#app .landlord-hero > p:not(.eyebrow) {
  max-width: 760px;
}

#app .landlord-hero-note {
  color: var(--muted);
  font-weight: 650;
  margin-top: 12px;
}

#app .landlord-form .form-grid {
  align-items: start;
}

#app .landlord-form textarea {
  min-height: 112px;
}

#app .optional-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

#app .required-mark {
  color: var(--red);
  margin-left: 2px;
}

/* Housing intake form */
#app .intake-hero > p:not(.eyebrow) {
  max-width: 790px;
}

#app .intake-hero-note {
  color: var(--muted);
  font-weight: 650;
  margin-top: 12px;
}

#app .intake-form .form-grid {
  align-items: start;
}

#app .intake-form input[type="date"] {
  font-weight: 500;
}

#app .intake-section {
  border-top: 1px solid var(--line);
  margin: 4px 0 8px;
  padding-top: 28px;
}

#app .intake-section:first-child {
  border-top: 0;
  margin-top: 0;
  padding-top: 0;
}

#app .intake-section h3 {
  color: var(--ink);
  font-size: 19px;
  margin: 0 0 18px;
}

#app .intake-section-fields {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#app .choice-group {
  border: 0;
  grid-column: 1 / -1;
  margin: 0;
  min-width: 0;
  padding: 0;
}

#app .choice-group legend {
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.4;
  margin-bottom: 10px;
  padding: 0;
}

#app .choice-options {
  display: grid;
  gap: 9px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#app .choice-options-wide .choice-options {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#app .choice-options-compact {
  grid-template-columns: repeat(2, minmax(0, 150px));
}

#app .choice-option {
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  font-size: 14px;
  font-weight: 650;
  gap: 10px;
  line-height: 1.35;
  min-height: 46px;
  padding: 10px 12px;
}

#app .choice-option:has(input:checked) {
  background: var(--cream);
  border-color: var(--red);
}

#app .choice-option input {
  accent-color: var(--red);
  flex: 0 0 auto;
  height: 18px;
  margin: 0;
  width: 18px;
}

#app .choice-group.has-error .choice-options {
  border-left: 3px solid var(--red);
  padding-left: 10px;
}

#app .input-helper {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
  margin-top: 7px;
}

#app .guarantor-income[hidden] {
  display: none;
}

@media (max-width: 760px) {
  #app .intake-section {
    padding-top: 24px;
  }

  #app .intake-section-fields,
  #app .choice-options,
  #app .choice-options-wide .choice-options,
  #app .choice-options-compact {
    grid-template-columns: 1fr;
  }

  #app .choice-option {
    min-height: 48px;
  }
}

/* Homepage process call to action */
#app .process-cta {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

#app .process-cta .button {
  min-height: 48px;
}

@media (max-width: 760px) {
  #app .process-cta {
    margin-top: 20px;
  }

#app .process-cta .button {
    justify-content: center;
    width: 100%;
  }
}

/* Footer content hierarchy */
#app .footer-main {
  grid-template-columns: 1.25fr 0.9fr 0.95fr 1.15fr;
}

#app .footer-column h2 {
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

#app .footer-brand p {
  line-height: 1.65;
  max-width: 310px;
}

@media (max-width: 1050px) {
  #app .footer-main {
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  #app .footer-contact {
    grid-column: 2 / 4;
  }
}

@media (max-width: 760px) {
  #app .footer-main {
    grid-template-columns: 1fr;
  }

  #app .footer-contact {
    grid-column: auto;
  }
}

/* Public language picker and homepage search emphasis */
#app .brand img {
  height: 90px;
}

#app .language-picker {
  position: relative;
}

#app .language {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  min-height: 40px;
  min-width: 42px;
  padding: 7px 8px;
}

#app .language.language-en,
#app .language-menu .language-option-en {
  background: #173e72;
  border-color: #173e72;
  color: #ffffff;
}

#app .language.language-nl,
#app .language-menu .language-option-nl {
  background: linear-gradient(180deg, #ae1c28 0 33%, #ffffff 33% 66%, #21468b 66% 100%);
  border-color: #21468b;
  color: #14212b;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}

#app .language.language-tr,
#app .language-menu .language-option-tr {
  background: #e30a17;
  border-color: #e30a17;
  color: #ffffff;
}

#app .language-menu {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 28px rgba(20, 33, 43, 0.16);
  display: flex;
  gap: 3px;
  min-width: 0;
  padding: 4px;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 60;
}

#app .language-menu[hidden] {
  display: none;
}

#app .language-menu button {
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  min-height: 36px;
  min-width: 38px;
  padding: 0 8px;
}

#app .language-menu button:hover,
#app .language-menu button:focus-visible,
#app .language-menu button[aria-current="true"] {
  box-shadow: inset 0 0 0 2px rgba(20, 33, 43, 0.42);
}

#app .hero-guidance {
  margin-top: 28px;
}

#app .hero-intake {
  align-items: center;
  background: var(--red);
  border: 1px solid var(--red);
  color: var(--ink);
  display: inline-flex;
  font-size: 17px;
  font-weight: 800;
  gap: 9px;
  justify-content: center;
  min-height: 58px;
  padding: 14px 24px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

#app .hero-intake:hover {
  background: #d98629;
  border-color: #d98629;
  color: var(--ink);
}

#app .home-search-heading p {
  font-size: 22px;
  font-weight: 800;
}

#app .home-search-field {
  min-height: 60px;
  gap: 2px 6px;
  padding-inline: 12px;
}

#app .home-search-field > span {
  font-size: 14px;
}

#app .home-search-field input,
#app .home-search-field select {
  font-size: 15px;
}

#app .home-search-submit {
  background: #f5b553;
  border-color: #f5b553;
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
  min-height: 60px;
  box-shadow: 0 8px 16px rgba(20, 33, 43, 0.14);
}

#app .home-search-submit:hover,
#app .home-search-submit:focus-visible {
  background: #e49a38;
  border-color: #e49a38;
  color: var(--ink);
}

#app .home-search-submit:focus-visible {
  outline: 3px solid rgba(20, 33, 43, 0.4);
  outline-offset: 3px;
}

@media (min-width: 761px) {
  #app .filters-shell {
    position: relative;
    top: auto;
  }
}

@media (max-width: 760px) {
  #app .site-header {
    min-height: 78px;
  }

  #app .brand img {
    height: 60px;
  }

  #app .site-header nav,
  #app .menu-backdrop {
    top: 77px;
  }

  #app .language {
    min-height: 44px;
    min-width: 44px;
  }

  #app .language-menu {
    top: calc(100% + 7px);
  }

  #app .hero-intake {
    width: min(100%, 340px);
    min-height: 56px;
  }

  #app .home-search-heading p {
    font-size: 21px;
  }

  #app .home-search-field {
    min-height: 64px;
  }

  #app .home-search-field > span {
    font-size: 13px;
  }

  #app .home-search-field input,
  #app .home-search-field select {
    font-size: 16px;
  }

  #app .home-search-submit {
    font-size: 17px;
    min-height: 60px;
  }
}

/* Property gallery lightbox */
#app .gallery-photo {
  appearance: none;
  background: transparent;
  border: 0;
  cursor: zoom-in;
  display: block;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  position: relative;
}

#app .gallery-photo.main-photo {
  grid-row: span 2;
}

#app .gallery-photo img {
  display: block;
  height: 260px;
  transition: transform 180ms ease;
  width: 100%;
}

#app .gallery-photo.main-photo img {
  height: 532px;
}

#app .gallery-photo:hover img,
#app .gallery-photo:focus-visible img {
  transform: scale(1.025);
}

#app .gallery-photo:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: -3px;
}

#app .gallery-lightbox[hidden] {
  display: none;
}

#app .gallery-lightbox {
  align-items: center;
  background: rgba(10, 16, 22, 0.92);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 28px;
  position: fixed;
  z-index: 1000;
}

body.gallery-open {
  overflow: hidden;
}

#app .gallery-lightbox-dialog {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: center;
  max-height: 900px;
  max-width: 1260px;
  position: relative;
  width: 100%;
}

#app .gallery-lightbox figure {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: center;
  margin: 0;
  position: relative;
  width: 100%;
}

#app .gallery-lightbox figure img {
  border-radius: 6px;
  display: block;
  height: auto;
  max-height: calc(100vh - 92px);
  max-width: 100%;
  object-fit: contain;
  width: auto;
}

#app .gallery-lightbox figcaption {
  background: rgba(20, 33, 43, 0.86);
  border-radius: 4px;
  bottom: 16px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  left: 50%;
  padding: 7px 10px;
  position: absolute;
  transform: translateX(-50%);
}

#app .gallery-lightbox-close,
#app .gallery-lightbox-nav {
  align-items: center;
  background: #fff;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  height: 46px;
  justify-content: center;
  padding: 0;
  position: absolute;
  width: 46px;
  z-index: 1;
}

#app .gallery-lightbox-close {
  font-size: 31px;
  line-height: 1;
  right: 0;
  top: 0;
}

#app .gallery-lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
}

#app .gallery-lightbox-nav svg {
  height: 22px;
  width: 22px;
}

#app .gallery-lightbox-prev {
  left: 0;
  transform: translateY(-50%) rotate(180deg);
}

#app .gallery-lightbox-next {
  right: 0;
}

#app .gallery-lightbox-close:hover,
#app .gallery-lightbox-close:focus-visible,
#app .gallery-lightbox-nav:hover,
#app .gallery-lightbox-nav:focus-visible {
  background: var(--red);
  color: var(--ink);
}

@media (max-width: 760px) {
  #app .gallery-photo,
  #app .gallery-photo.main-photo {
    flex: 0 0 86vw;
    scroll-snap-align: center;
  }

  #app .gallery-photo img,
  #app .gallery-photo.main-photo img {
    height: 255px;
  }

  #app .gallery-lightbox {
    padding: 16px;
  }

  #app .gallery-lightbox figure img {
    max-height: calc(100vh - 108px);
  }

  #app .gallery-lightbox-close {
    right: 2px;
    top: 2px;
  }

  #app .gallery-lightbox-nav {
    height: 42px;
    width: 42px;
  }
}
