:root {
  --primary: #8c6a3d;
  --primary-hover: #6d522f;
  --primary-soft: #f3eadf;
  --ink: #1c1c1c;
  --text: #3d3934;
  --muted: #6b645c;
  --line: #e6e1d8;
  --paper: #ffffff;
  --warm: #f4f3f1;
  --mist: #eef3f6;
  --hero-wash: #efe8de;
  --charcoal: #1e1c1a;
  --radius: 1rem;
  --radius-sm: 0.85rem;
  --media-cover: 16 / 10;
  --media-card: 4 / 3;
  --shadow: 0 8px 22px rgba(28, 28, 28, 0.05);
  --ease: 180ms ease;
}

body.site {
  background: var(--warm);
  color: var(--text);
  font-size: 1.075rem;
  line-height: 1.65;
}

@media (min-width: 1200px) {
  body.site .container { max-width: 1240px; }
}

@media (min-width: 1400px) {
  body.site .container { max-width: 1320px; }
}

body.site h1,
body.site h2,
body.site h3,
body.site .h1,
body.site .h3,
body.site .h4,
body.site .h5 {
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

body.site .shortcut-card h2,
body.site .shortcut-card p,
body.site .cta-dark h2 {
  color: #fff;
}

body.site .shortcut-card strong {
  color: #f8e7c8;
}

body.site .cta-dark p {
  color: #d5cfc7;
}

body.site .site-footer h2,
body.site .site-footer a {
  color: #fff;
}

body.site .site-footer a:hover {
  color: #e0c48a;
}

body.site a {
  color: var(--ink);
  text-decoration: none;
}

body.site a:hover {
  color: var(--primary);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 1080;
  background: var(--paper);
  color: var(--ink);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: 0.75rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(28, 28, 28, 0.04);
  backdrop-filter: blur(10px);
}

.site-header .navbar {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-left: auto;
}

@media (min-width: 992px) {
  .header-actions {
    margin-left: 0.75rem;
    order: 2;
  }

  .site-header .navbar-collapse {
    order: 1;
  }
}

.favorite-nav,
.favorite-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
}

.favorite-nav {
  position: relative;
  width: 2.7rem;
  height: 2.7rem;
  flex: 0 0 auto;
}

.favorite-nav .icon-heart,
.favorite-toggle .icon-heart {
  font-size: 1.15rem;
  line-height: 1;
}

.favorite-nav:hover,
.favorite-nav.is-active,
.favorite-toggle:hover {
  color: var(--primary);
  border-color: var(--primary);
  background: var(--primary-soft);
}

.favorite-nav [data-favorites-count] {
  position: absolute;
  top: -0.28rem;
  right: -0.28rem;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: var(--charcoal);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.15rem;
  text-align: center;
}

.favorite-toggle {
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
}

.favorite-toggle.is-saved {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: #fff;
}

.brand-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: #111;
  border-radius: 0.75rem;
}

.site-header .navbar-nav {
  column-gap: 0.2rem;
}

.site-header .nav-link {
  color: var(--text);
  font-weight: 550;
  font-size: 1.0625rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
}

.site-header .nav-link:hover {
  color: var(--primary);
  background: var(--primary-soft);
}

.site-header .nav-link.active {
  color: var(--primary);
  background: var(--primary-soft);
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(140, 106, 61, 0.28);
}

body.site .site-header .btn-whatsapp {
  min-height: 2.7rem;
  padding: 0.4rem 1.05rem;
  font-size: 0.95rem;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  margin: 0;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
}

.lang-switch a:hover {
  color: var(--ink);
  background: var(--warm);
}

.lang-switch a.is-active {
  background: var(--charcoal);
  color: #fff;
}

.site-footer .lang-switch {
  border-color: rgba(255, 255, 255, 0.22);
  background: transparent;
}

.site-footer .lang-switch a {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer .lang-switch a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.site-footer .lang-switch a.is-active {
  background: #fff;
  color: var(--charcoal);
}

body.site .btn {
  border-radius: 999px;
  min-height: 3rem;
  padding: 0.6rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  transition: background-color var(--ease), color var(--ease), border-color var(--ease), transform var(--ease);
}

body.site .btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

body.site .btn-primary:hover,
body.site .btn-primary:focus {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  color: #fff;
}

body.site .btn-secondary,
body.site .btn-outline-primary,
body.site .btn-outline-secondary {
  background: var(--paper);
  border-color: #cfc6ba;
  color: var(--ink);
}

body.site .btn-outline-primary:hover,
body.site .btn-outline-secondary:hover {
  background: var(--primary-soft);
  border-color: var(--primary);
  color: var(--ink);
}

body.site .btn-whatsapp {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: #fff;
}

body.site .btn-whatsapp:hover {
  background: #000;
  color: #fff;
}

body.site .form-control,
body.site .form-select {
  min-height: 2.85rem;
  border-radius: 0.85rem;
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

body.site .form-control:focus,
body.site .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(140, 106, 61, 0.16);
}

body.site .form-label {
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

body.site .invalid-feedback,
body.site .text-danger {
  color: #8a3b32;
}

.public-main {
  padding-top: 1.15rem;
  padding-bottom: 4.25rem;
}

.page-title {
  font-size: clamp(2rem, 4vw, 3.1rem);
  margin-bottom: 0.75rem;
}

.page-intro {
  color: var(--muted);
  max-width: 40rem;
  margin-top: -0.15rem;
  margin-bottom: 1.5rem;
}

.section-space {
  margin-bottom: 2.75rem;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.section-head h2,
.about-band h2,
.contact-band h2 {
  font-size: clamp(2rem, 3vw, 2.65rem);
  font-weight: 700;
  margin: 0;
}

.property-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.35rem;
  align-items: stretch;
}

.property-grid > * {
  min-width: 0;
}

@media (min-width: 768px) {
  .property-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .property-grid.is-single {
    grid-template-columns: minmax(0, 28rem);
    justify-content: center;
  }
}

@media (min-width: 1024px) {
  .property-grid:not(.is-single):not(.is-pair) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .property-grid.is-pair {
    grid-template-columns: repeat(2, minmax(0, 26rem));
    justify-content: center;
  }
}

@media (min-width: 1400px) {
  .property-grid:not(.is-single):not(.is-pair) {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .property-grid.is-max-3:not(.is-single):not(.is-pair) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.hero-stage {
  background: linear-gradient(180deg, #f7f3ee 0%, var(--hero-wash) 100%);
  box-shadow: 0 0 0 100vmax var(--hero-wash);
  clip-path: inset(0 -100vmax);
  margin: -0.35rem 0 0;
  padding: 0.85rem 0 3.35rem;
}

.public-hero {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2.25rem;
  align-items: center;
  margin-bottom: 0;
}

.hero-copy .hero-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.62rem;
  margin: 0 0 1.05rem;
  color: var(--primary);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  line-height: 1;
  text-transform: uppercase;
}

.hero-copy .hero-brand::after {
  content: "";
  width: 2.5rem;
  height: 1px;
  background: currentColor;
}

.hero-copy h1 {
  font-size: clamp(2.6rem, 4.6vw, 4.4rem);
  max-width: 11ch;
  margin: 0 0 1rem;
  white-space: pre-line;
}

.hero-support {
  max-width: 36rem;
  font-size: 1.08rem;
  margin-bottom: 1.4rem;
}

@media (max-width: 575.98px) {
  .hero-copy .hero-brand {
    font-size: 0.88rem;
    letter-spacing: 0.2em;
    margin-bottom: 0.85rem;
  }
}

.hero-visual {
  position: relative;
  min-height: 500px;
  border-radius: 1.15rem;
  overflow: hidden;
  background: #d9d3cb;
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  object-position: center;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30, 28, 26, 0) 62%, rgba(30, 28, 26, 0.16) 100%);
  pointer-events: none;
}

.search-panel {
  margin-top: -2.35rem;
  margin-bottom: 3.25rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(28, 28, 28, 0.08);
  padding: 1.65rem 1.7rem 1.75rem;
  position: relative;
  z-index: 2;
}

.search-panel .form-label {
  margin-bottom: 0.55rem;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
}

.search-panel .form-control,
.search-panel .form-select,
.search-panel .btn {
  min-height: 3.4rem;
  border-radius: 0.85rem;
}

.search-panel .btn {
  min-width: 9.75rem;
  border-radius: 999px;
  font-weight: 700;
}

.search-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.15rem;
  align-items: center;
}

.search-tab {
  position: relative;
  margin: 0;
}

.search-tab input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.search-tab span {
  display: inline-flex;
  align-items: center;
  min-height: 2.8rem;
  padding: 0.4rem 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 650;
  cursor: pointer;
}

.search-tab input:checked + span,
.search-tab input:focus-visible + span {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 0 0 3px rgba(140, 106, 61, 0.28);
}

.property-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 0 rgba(28, 28, 28, 0.02);
  transition: transform var(--ease), box-shadow var(--ease);
}

.property-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.property-card-media {
  display: block;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  background: var(--mist);
}

.property-card-media img,
.public-card-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.property-card:hover .property-card-media img {
  transform: scale(1.04);
}

.property-card-body {
  padding: 1.2rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex: 1;
}

.property-card-body h2,
.property-card-body h3 {
  font-size: 1.28rem;
  line-height: 1.25;
  margin: 0;
}

.property-card .btn {
  min-height: 3rem;
  margin-top: 0.15rem;
}

.property-card-body p {
  margin: 0;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--mist);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.32rem 0.7rem;
  font-size: 0.95rem;
  line-height: 1.2;
}

.badge-sale,
.badge-rent,
.badge-status {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 650;
  background: #fff;
  color: var(--ink);
}

.badge-rent { left: auto; right: 0.75rem; }

.badge-tone-exclusive,
.badge-sale-inline {
  background: var(--primary);
  color: #fff;
}

.badge-tone-reserved {
  background: #c4a15a;
  color: #1e1c1a;
}

.badge-tone-sold {
  background: #6b3a3a;
  color: #fff;
}

.badge-tone-rented {
  background: #3e4a57;
  color: #fff;
}

.badge-tone-unavailable {
  background: #8d877f;
  color: #fff;
}
.property-card-media { position: relative; }

.shortcut-grid,
.area-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.75rem 1.65rem;
  min-height: 286px;
  height: 100%;
  box-shadow: 0 1px 0 rgba(28, 28, 28, 0.03);
  transition: transform var(--ease), box-shadow var(--ease);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(140, 106, 61, 0.45);
  box-shadow: var(--shadow);
}

.area-card {
  position: relative;
  display: block;
  height: 300px;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  border: 0;
  border-radius: var(--radius);
  background: #2a2622;
  box-shadow: 0 10px 24px rgba(28, 28, 28, 0.08);
}

.area-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 200ms ease;
}

.area-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 8, 6, 0.28) 0%, rgba(10, 8, 6, 0) 46%);
  transition: background 200ms ease;
}

.area-card.is-fallback {
  background: linear-gradient(160deg, #4a433c 0%, #241f1b 100%);
}

.area-card-copy {
  position: absolute;
  left: 22px;
  bottom: 22px;
  z-index: 1;
  width: min(70%, 15.5rem);
  padding: 0.9rem 1rem 0.85rem;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  background: rgba(20, 20, 20, 0.52);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 200ms ease;
}

body.site .area-card h3 {
  margin: 0 0 0.2rem;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
}

body.site .area-card p {
  margin: 0;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.35;
  white-space: normal;
}

body.site .area-card strong {
  display: inline-flex;
  align-items: center;
  margin-top: 0.45rem;
  color: #f8e7c8;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
}

.area-card strong::after {
  content: "→";
  margin-left: 0.35rem;
  transition: transform 180ms ease;
}

.area-card:hover {
  color: #fff;
}

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

.area-card:hover .area-card-copy {
  background: rgba(20, 20, 20, 0.66);
}

.area-card:hover strong::after {
  transform: translateX(3px);
}

.area-card:focus {
  outline: none;
}

.area-card:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.service-card i,
.cta-light h2 i,
.empty-state > i {
  color: var(--primary);
  font-size: 2.15rem;
  margin-bottom: 1.05rem;
}

.cta-light h2 i {
  font-size: 1.15rem;
  margin: 0 0.35rem 0 0;
}

.service-card h3 {
  font-size: 1.48rem;
  line-height: 1.25;
  margin-bottom: 0.55rem;
}

.service-card p {
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 0.8rem;
}

.service-card span {
  margin-top: auto;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.shortcut-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  min-height: 380px;
  padding: 1.35rem;
  border-radius: var(--radius);
  overflow: hidden;
  background: #e7dfd4;
  color: #fff;
}

.shortcut-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.shortcut-card:hover img {
  transform: scale(1.04);
}

.shortcut-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(14, 12, 10, 0.5) 0%, rgba(14, 12, 10, 0.08) 42%, rgba(14, 12, 10, 0) 68%),
    linear-gradient(to top, rgba(14, 12, 10, 0.62) 0%, rgba(14, 12, 10, 0.22) 40%, rgba(14, 12, 10, 0) 70%);
}

.shortcut-card div {
  position: relative;
  max-width: min(100%, 30rem);
  padding: 0.95rem 1.1rem 0.9rem;
  border-radius: 0.8rem;
  background: rgba(16, 14, 12, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.shortcut-card h2,
.shortcut-card p,
.shortcut-card strong {
  position: relative;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55), 0 6px 16px rgba(0, 0, 0, 0.28);
}

.shortcut-card h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.08;
  margin: 0 0 0.4rem;
}

.shortcut-card p {
  margin: 0 0 0.7rem;
  max-width: 28rem;
  font-size: 1.05rem;
  line-height: 1.5;
}

.shortcut-card strong {
  color: #f8e7c8;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.shortcut-card strong::after {
  content: " →";
}

.shortcut-card:hover {
  color: #fff;
}

body.site .shortcut-card:hover strong {
  color: #fff;
}

.cta-band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  border-radius: var(--radius);
  padding: 2rem 2.5rem;
}

.cta-band h2 {
  font-size: clamp(1.9rem, 2.6vw, 2.45rem);
  margin: 0;
}

.cta-band p {
  margin: 0.55rem 0 0;
  max-width: 40rem;
  font-size: 1.05rem;
  line-height: 1.5;
}

.cta-band .btn {
  flex-shrink: 0;
  align-self: center;
}

.cta-dark {
  background: var(--charcoal);
  color: #f7f4ef;
}

.cta-dark h2 {
  color: #fff;
}

.cta-dark p {
  color: #d5cfc7;
}

.cta-light {
  background: #e7eef2;
  border: 1px solid #dce5ea;
}

.cta-light p {
  color: var(--text);
}

.about-band,
.contact-band,
.empty-state {
  border-radius: var(--radius);
}

.contact-band,
.empty-state {
  background: #fff;
  border: 1px solid var(--line);
}

.empty-state {
  padding: 2rem 2.25rem 2.1rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.empty-state > i {
  display: inline-block;
  font-size: 1.55rem;
  margin-bottom: 0.7rem;
}

.empty-state h3 {
  margin-bottom: 0.55rem;
  font-size: 1.45rem;
}

.empty-state p {
  color: var(--muted);
  margin: 0 auto 1.15rem;
  max-width: 36rem;
  line-height: 1.6;
}

.band-mist,
.band-paper {
  box-shadow: 0 0 0 100vmax var(--band, var(--mist));
  clip-path: inset(0 -100vmax);
  padding-top: 1.35rem;
  padding-bottom: 1.15rem;
}

.band-mist { --band: var(--mist); background: var(--mist); }
.band-paper { --band: #fff; background: #fff; }

.about-band,
.contact-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: center;
  padding: 0.35rem 0;
}

.about-copy {
  max-width: 40rem;
}

.about-copy .btn {
  margin-top: 0.75rem;
}

.about-band h2,
.about-band .page-title {
  margin-bottom: 1.1rem;
  font-size: clamp(2.15rem, 3.2vw, 2.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.about-lead {
  margin: 0 0 1.15rem;
  max-width: 40rem;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.75;
}

.about-highlight {
  margin: 0 0 1.45rem;
  max-width: 26rem;
  color: var(--primary);
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.45;
}

.about-hours {
  margin: -0.4rem 0 1.35rem;
  color: var(--muted);
  line-height: 1.6;
}

.contact-band {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  padding: 2rem 2.15rem;
  margin-bottom: 0;
}

.about-visual {
  min-height: 280px;
  border-radius: 1.15rem;
  overflow: hidden;
  background: #d9d3cb;
}

.about-visual img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0.5rem;
}

.contact-list li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 0.95rem 0;
  font-size: 1.05rem;
  line-height: 1.5;
}

.contact-list li + li {
  border-top: 1px solid var(--line);
}

.contact-phone {
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.contact-list i {
  color: var(--primary);
  font-size: 1.35rem;
  width: 1.45rem;
  margin-top: 0.12rem;
  flex: 0 0 auto;
}

.contact-list .address-link {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  color: inherit;
  text-decoration: none;
}

.contact-list .address-link:hover span {
  color: var(--primary);
}

.footer-links .address-link {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.45rem;
  color: #fff;
  text-decoration: none;
}

.footer-links .address-link i {
  color: #e0c48a;
  margin-top: 0.18rem;
}

.location-map {
  margin-top: 1.15rem;
}

.location-map-head h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.7rem, 2.4vw, 2.15rem);
}

.location-map-head p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.location-map-frame {
  width: 100%;
  height: 420px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--warm);
}

.location-map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.location-map .btn {
  margin-top: 1rem;
}

.location-map-compact {
  margin-top: 1rem;
}

.location-map-compact .location-map-head h2 {
  font-size: 1.45rem;
}

.location-map-compact .location-map-frame {
  height: 260px;
}

.contact-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.35rem;
  margin-top: 0.15rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}

.contact-social:not(:has(p)) {
  display: none;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
  min-width: 230px;
  margin-left: 0.5rem;
  padding-left: 1.75rem;
  border-left: 1px solid var(--line);
}

.contact-actions .btn {
  width: 100%;
  min-height: 3.15rem;
}

.footer-locales {
  display: flex;
  gap: 0.85rem;
}

.footer-base {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: start;
  align-items: center;
  gap: 0.9rem 1.25rem;
  margin-top: 2.15rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(186, 168, 146, 0.28);
}

.catalogue-shell {
  background: var(--mist);
  border-radius: 1.75rem;
  padding: 1.25rem;
}

.catalogue-filters,
.contact-card,
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1.35rem;
}

.testimonial-intro {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
  max-width: 36rem;
}

.testimonial-grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: minmax(0, 1fr);
}

.testimonial-grid.is-single {
  justify-items: center;
}

.testimonial-grid.is-pair {
  max-width: 980px;
}

.testimonial-card {
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  padding: 1.45rem 1.5rem 1.35rem;
  background: #fff;
  border: 1px solid rgba(140, 106, 61, 0.18);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(42, 32, 18, 0.07);
}

.testimonial-grid.is-single .testimonial-card {
  max-width: 720px;
}

body.site .testimonial-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.testimonial-stars {
  margin: 0.1rem 0 0.15rem;
  color: var(--primary);
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  line-height: 1;
}

.testimonial-card blockquote {
  margin: 0.35rem 0 0;
  max-width: 38rem;
}

.testimonial-mark {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--primary);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  line-height: 1;
  opacity: 0.8;
}

.testimonial-text {
  margin: 0;
  color: var(--ink);
  font-size: 1.125rem;
  line-height: 1.7;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.testimonial-text.is-clamped {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  overflow: hidden;
}

.testimonial-more {
  margin-top: 0.35rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--primary);
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.4;
}

.testimonial-more:hover {
  color: var(--primary-hover);
}

@media (min-width: 768px) {
  .testimonial-grid.is-pair,
  .testimonial-grid.is-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .testimonial-grid.is-pair {
    margin-inline: auto;
  }
}

@media (min-width: 1024px) {
  .testimonial-grid.is-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.catalogue-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

body.site .pagination {
  gap: 0.35rem;
}

body.site .page-link {
  border-radius: 999px;
  color: var(--ink);
  border-color: var(--line);
  min-width: 2.4rem;
  text-align: center;
}

body.site .page-item.active .page-link {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.gallery-main,
.property-gallery-cover img,
.property-gallery-side img,
.property-gallery-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--mist);
}

.property-gallery-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(140px, 0.7fr);
  gap: 0.55rem;
  align-items: stretch;
}

.property-gallery-stage.is-single {
  grid-template-columns: minmax(0, 1fr);
}

.property-gallery-cover,
.property-gallery-side button,
.property-gallery-strip button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--mist);
  overflow: hidden;
  border-radius: var(--radius);
}

.property-gallery-cover {
  aspect-ratio: var(--media-cover);
  max-height: 560px;
}

.property-gallery-side {
  display: grid;
  gap: 0.55rem;
}

.property-gallery-side button {
  aspect-ratio: var(--media-cover);
  min-height: 0;
}

.property-gallery-strip {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.65rem;
  overflow-x: auto;
  padding-bottom: 0.15rem;
}

.property-gallery-strip button {
  flex: 0 0 7.5rem;
  aspect-ratio: 4 / 3;
}

.property-gallery-open {
  margin-top: 0.75rem;
}

.photo-lightbox-stage {
  position: relative;
  background: #111;
}

.photo-lightbox-stage img {
  display: block;
  width: 100%;
  max-height: min(78vh, 820px);
  object-fit: contain;
  background: #111;
}

.photo-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  border-radius: 999px;
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}

.photo-lightbox-nav.prev { left: 0.75rem; }
.photo-lightbox-nav.next { right: 0.75rem; }

@media (max-width: 767.98px) {
  .property-gallery-stage {
    grid-template-columns: minmax(0, 1fr);
  }

  .property-gallery-side {
    display: none;
  }

  .property-gallery-cover {
    aspect-ratio: 4 / 3;
    max-height: 420px;
  }
}

.gallery-thumb,
.thumb-btn img {
  width: 100%;
  height: 84px;
  object-fit: cover;
  border-radius: 0.7rem;
  border: 1px solid var(--line);
}

.contact-card {
  background: #fff;
}

.fact-grid,
.amenity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
}

.fact-grid div,
.amenity-grid span {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 0.85rem;
}

.site-footer {
  background: var(--charcoal);
  color: #efeae3;
  padding: 2.75rem 0 1.35rem;
  font-size: 1rem;
  line-height: 1.6;
}

.site-footer a,
.site-footer h2 {
  color: #fff;
}

.footer-brand h2 {
  margin: 1rem 0 0.55rem;
  font-size: 1.2rem;
}

.footer-brand p {
  max-width: none;
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  display: block;
  -webkit-line-clamp: unset;
  -webkit-box-orient: unset;
}

.footer-brand .footer-signature {
  margin-top: 0.85rem;
  color: #c4ad86;
  font-size: 0.9rem;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.85rem 1.75rem;
}

.footer-title {
  color: #e0c48a;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-weight: 650;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.site-footer a {
  transition: color 180ms ease;
}

.site-footer a:hover {
  color: #e0c48a;
}

.site-footer a:focus-visible,
.site-footer .lang-switch a:focus-visible {
  outline: 2px solid #e0c48a;
  outline-offset: 3px;
}

.footer-links .footer-contact {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: #fff;
  line-height: 1.5;
  text-decoration: none;
}

.footer-links .footer-contact i {
  width: 1.05rem;
  margin-top: 0.22rem;
  color: #e0c48a;
  font-size: 0.95rem;
  flex: 0 0 auto;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.15rem;
}

.legal-page {
  max-width: 42rem;
}

.legal-page h2 {
  margin: 1.5rem 0 0.45rem;
  font-size: 1.2rem;
}

.legal-page p {
  line-height: 1.7;
}

.footer-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: #111;
  border-radius: 0.8rem;
}

.mobile-contact {
  position: sticky;
  bottom: 0;
  z-index: 1020;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 0.75rem;
}

.form-section {
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--line);
}

.form-section h2 {
  font-size: 1.05rem;
  margin-bottom: 0.8rem;
}

.inquiry-dialog {
  max-width: 460px;
}

.inquiry-modal .modal-content {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 1.35rem;
  padding: 2rem 1.5rem 1.5rem;
  box-shadow: var(--shadow);
}

.inquiry-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1;
}

.inquiry-close:hover,
.inquiry-close:focus {
  border-color: var(--primary);
  color: var(--primary);
}

.inquiry-title {
  font-size: 1.65rem;
  margin: 0 2rem 0.5rem 0;
}

.inquiry-support,
.inquiry-note,
.inquiry-property {
  color: var(--muted);
  margin-bottom: 0.85rem;
}

.inquiry-property span {
  color: var(--ink);
}

.inquiry-star {
  color: var(--primary);
}

.inquiry-phone {
  display: flex;
  align-items: center;
  min-height: 2.85rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: #fff;
  overflow: hidden;
}

.inquiry-phone span {
  padding: 0 0.8rem;
  color: var(--ink);
  font-weight: 650;
  border-right: 1px solid var(--line);
}

.inquiry-phone input {
  flex: 1;
  min-width: 0;
  border: 0;
  min-height: 2.75rem;
  padding: 0.55rem 0.8rem;
  background: transparent;
  color: var(--ink);
}

.inquiry-phone input:focus {
  outline: none;
}

.inquiry-phone:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(140, 106, 61, 0.16);
}

@media (max-width: 575.98px) {
  .inquiry-dialog {
    margin: 0.75rem auto;
    max-width: calc(100% - 1.5rem);
  }

  .inquiry-modal .modal-content {
    padding: 1.5rem 1rem 1rem;
  }
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    column-gap: 2.75rem;
  }

  .footer-base {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  }

  .footer-legal {
    justify-self: center;
  }

  .footer-base .lang-switch {
    justify-self: end;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr) minmax(0, 1fr) minmax(0, 1.35fr);
    column-gap: 3.25rem;
  }
}

@media (max-width: 991.98px) {
  body.site.has-contact-bar {
    padding-bottom: 4.75rem;
  }

  .public-hero,
  .shortcut-grid,
  .about-band,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-band .btn {
    align-self: flex-start;
  }

  .hero-stage {
    padding-bottom: 1.15rem;
  }

  .search-panel {
    margin-top: 1rem;
  }

  .contact-actions {
    min-width: 0;
    width: 100%;
    margin-left: 0;
    padding-left: 0;
    padding-top: 0.35rem;
    border-left: 0;
  }

  .hero-visual,
  .hero-visual img,
  .hero-fallback {
    min-height: 240px;
  }
}

@media (max-width: 575.98px) {
  .brand-logo { width: 56px; height: 56px; }
  .footer-links { gap: 0.35rem; }
  .footer-links > a,
  .footer-legal a {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
  }
  .section-space { margin-bottom: 2.75rem; }
  .catalogue-shell { padding: 0.75rem; border-radius: 1rem; }
  .gallery-thumb { width: 72px; height: 54px; }
  .location-map-frame { height: 300px; }
  .location-map-compact .location-map-frame { height: 240px; }
}

.listing-back {
  margin-bottom: 0.85rem;
}

.listing-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.85rem 1.5rem;
  margin-bottom: 1.25rem;
}

.listing-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.45rem;
}

.listing-title-row .page-title {
  margin-bottom: 0;
}

.listing-location {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--muted);
}

.listing-price-block {
  text-align: right;
}

.listing-price {
  font-size: clamp(1.55rem, 2vw, 2rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
}

.listing-price-old {
  color: var(--muted);
  text-decoration: line-through;
}

.listing-section {
  margin-bottom: 1.25rem;
}

.listing-heading {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.listing-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
}

.listing-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0;
}

.listing-facts div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  padding: 0.75rem 0.9rem;
}

.listing-facts dt {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.listing-facts dd {
  margin: 0.15rem 0 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.listing-copy {
  max-width: 42rem;
  font-size: 1.05rem;
  line-height: 1.75;
  white-space: pre-line;
}

.listing-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.listing-layout {
  display: grid;
  gap: 1.25rem;
  align-items: start;
  margin-bottom: 1.5rem;
}

.listing-contact {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.listing-agency {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
}

.listing-contact-price {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
}

.listing-phone {
  margin: 0;
  font-size: 1.05rem;
}

.listing-phone a {
  color: inherit;
  text-decoration: none;
}

.listing-lead {
  margin: 0.15rem 0 0.55rem;
  color: var(--muted);
  line-height: 1.5;
}

.listing-primary {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.listing-primary .btn {
  width: 100%;
  min-height: 3rem;
}

.listing-more {
  margin-top: 0.75rem;
}

.listing-more summary {
  cursor: pointer;
  color: var(--primary);
  font-weight: 650;
  min-height: 2.5rem;
  display: inline-flex;
  align-items: center;
}

.listing-secondary {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  padding-top: 0.25rem;
}

.listing-secondary a,
.listing-secondary button {
  background: none;
  border: 0;
  padding: 0.45rem 0;
  min-height: 2.5rem;
  color: var(--ink);
  text-align: left;
  text-decoration: none;
}

.listing-secondary a:hover,
.listing-secondary button:hover {
  color: var(--primary);
}

#listingModal .modal-dialog {
  height: auto;
  max-height: calc(100% - 2rem);
}

#listingModal .modal-content {
  max-height: calc(100vh - 2rem);
  overflow: auto;
}

.listing-mobile-cta {
  display: flex;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem calc(0.55rem + env(safe-area-inset-bottom));
}

.listing-mobile-cta .btn {
  min-height: 2.75rem;
}

@media (min-width: 768px) {
  .listing-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .listing-layout {
    grid-template-columns: minmax(0, 1.7fr) minmax(17rem, 0.75fr);
  }

  .listing-contact {
    position: sticky;
    top: 1rem;
  }

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

@media (max-width: 575.98px) {
  .listing-price-block {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}
