:root {
  --bg: #ffffff;
  --panel: #fffdf8;
  --text: #26332e;
  --muted: #6f7d75;
  --brand: #4b6157;
  --brand-dark: #34473f;
  --sand: #d5bd94;
  --border: #e1d8cb;
  --whatsapp: #23b55b;
  --shadow: 0 18px 45px rgba(38, 51, 46, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Segoe UI, Arial, sans-serif;
}

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

.site-header {
  display: grid;
  grid-template-columns: 240px minmax(320px, 1fr) 240px;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding: 14px max(24px, calc((100vw - 1180px) / 2));
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(16px);
}

.brand img {
  display: block;
  width: min(220px, 48vw);
  height: auto;
  margin-inline: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  color: var(--brand);
  font-weight: 700;
  margin-left: 0;
}

.header-actions a:first-child {
  white-space: nowrap;
}

.header-center {
  display: grid;
  justify-items: center;
  gap: 8px;
  flex: 1;
  color: var(--brand);
  text-align: center;
}

.main-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  font-weight: 900;
}

.main-menu a {
  position: relative;
  color: var(--brand-dark);
}

.main-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transition: transform .2s ease;
}

.main-menu a:hover::after {
  transform: scaleX(1);
}

.header-center p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.preview-bar {
  padding: 10px 16px;
  text-align: center;
  background: #fff4c7;
  color: #705b19;
}

.preview-bar a {
  text-decoration: underline;
}

.listing {
  width: min(1180px, calc(100% - 32px));
  margin: 28px auto 56px;
}

.hero-listing,
.box,
.gallery,
.contact-card,
.price-card {
  background: rgba(255, 253, 248, .96);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.hero-listing {
  display: block;
  min-height: 150px;
  padding: 22px;
  margin-bottom: 22px;
}

.eyebrow,
.code {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .10em;
  font-size: 13px;
  font-weight: 800;
}

.eyebrow {
  font-size: 11px;
}

.hero-listing h1 {
  margin: 10px 0 8px;
  max-width: 900px;
  font-size: clamp(26px, 3vw, 30px);
  line-height: 1.08;
  color: var(--brand-dark);
}

.hero-listing p,
.box p,
.contact-card p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.btn {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--brand);
  padding: 12px 18px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  cursor: pointer;
}

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

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

.btn.full {
  width: 100%;
}

.gallery {
  padding: 14px;
  margin-bottom: 22px;
}

.main-photo-button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 22px;
  overflow: hidden;
  background: #efe4d5;
  cursor: zoom-in;
}

.main-photo-button img {
  display: block;
  width: 100%;
  max-height: 620px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform .25s ease;
}

.main-photo-button:hover img {
  transform: scale(1.015);
}

.main-photo-button span {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(38, 51, 46, .82);
  color: #fff;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.thumbs button {
  border: 2px solid transparent;
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
  background: none;
  cursor: pointer;
}

.thumbs button.active {
  border-color: var(--brand);
}

.thumbs img {
  display: block;
  width: 130px;
  height: 88px;
  object-fit: cover;
}

.price-strip {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: wrap;
  margin: 0 0 22px;
  padding: 22px 24px;
  background: var(--brand-dark);
  color: #fff;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.price-strip div {
  display: grid;
  gap: 4px;
  min-width: 155px;
  text-align: right;
}

.price-strip span {
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.price-strip strong {
  font-size: clamp(20px, 2.45vw, 30px);
}

.price-strip .btn {
  margin-left: auto;
}

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

.main-content {
  display: grid;
  gap: 18px;
}

.box,
.contact-card {
  padding: 26px;
}

.box h2,
.contact-card h2 {
  margin: 0 0 16px;
  color: var(--brand-dark);
  font-size: 26px;
}

.facts,
.soft-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 28px;
  padding: 0;
  margin: 0;
}

.icon-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
}

.icon-facts span {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "icon value"
    "icon label";
  gap: 2px 10px;
  align-items: center;
  padding: 2px 0;
  color: var(--brand-dark);
}

.icon-facts i {
  grid-area: icon;
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(75, 97, 87, .10);
  color: var(--brand);
}

.icon-facts b {
  grid-area: value;
  font-size: 18px;
}

.icon-facts small {
  grid-area: label;
  color: var(--muted);
  font-weight: 700;
}

.soft-facts {
  margin-top: 18px;
}

.soft-facts span,
.features li {
  list-style: none;
  border-radius: 999px;
  padding: 5px 0;
  background: transparent;
  color: var(--brand-dark);
  font-weight: 700;
}

.soft-facts span,
.features li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.soft-facts i,
.features i {
  color: var(--brand);
  opacity: .85;
}

.video-frame,
.map-frame {
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--border);
  margin-top: 14px;
}

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

.video-frame iframe {
  aspect-ratio: 16 / 9;
}

.map-frame iframe {
  height: 380px;
}

.contact-card {
  position: sticky;
  top: 106px;
}

.lead-form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.lead-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 800;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px 14px;
  background: #fff;
  color: var(--text);
  font: inherit;
}

.lead-form .consent-check {
  display: flex;
  grid-template-columns: none;
  align-items: flex-start;
  gap: 9px;
  color: var(--brand-dark);
  font-size: 13px;
  line-height: 1.35;
}

.lead-form .consent-check input {
  width: auto;
  margin-top: 2px;
  accent-color: var(--brand);
}

.lead-feedback {
  min-height: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.trust {
  display: grid;
  gap: 4px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

.trust strong {
  color: var(--brand-dark);
}

.site-footer {
  padding: 34px max(20px, calc((100vw - 1180px) / 2)) 58px;
  border-top: 1px solid var(--border);
  background: #fff;
  color: var(--muted);
}

.site-footer > img,
.site-footer > p {
  display: none;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(220px, 360px) minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  width: 100%;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-brand img {
  width: 150px;
  height: auto;
  flex: 0 0 auto;
}

.footer-brand p {
  display: grid;
  gap: 4px;
  margin: 0;
}

.footer-brand strong {
  color: var(--brand-dark);
  font-size: 17px;
}

.footer-brand span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.footer-info {
  display: grid;
  justify-items: end;
  gap: 9px;
  text-align: right;
  line-height: 1.45;
}

.footer-line {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 9px;
  max-width: 620px;
}

.footer-line i {
  margin-top: 3px;
  color: var(--brand);
}

.footer-map-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 5px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 16px;
  color: var(--brand-dark);
  font-weight: 900;
  background: var(--panel);
  transition: transform .18s ease, border-color .18s ease;
}

.footer-map-link:hover {
  border-color: var(--brand);
  transform: translateY(-1px);
}

.related-section {
  margin-top: 34px;
}

.section-heading {
  margin-bottom: 18px;
}

.section-heading span {
  display: block;
  color: var(--muted);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .10em;
  font-size: 13px;
}

.section-heading h2 {
  margin: 6px 0 0;
  color: var(--brand-dark);
  font-size: clamp(26px, 3vw, 30px);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.search-page {
  margin-top: 34px;
}

.search-hero {
  margin-bottom: 22px;
  padding: 18px 26px;
  border-radius: 22px;
  background: rgba(255, 253, 248, .78);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.search-hero h1 {
  margin: 4px 0 0;
  color: var(--brand-dark);
  font-size: clamp(26px, 3vw, 30px);
}

.search-hero p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.home-page {
  margin-top: 24px;
}

.home-hero {
  display: grid;
  align-items: center;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 34px;
  padding: clamp(28px, 6vw, 66px);
  background:
    linear-gradient(120deg, rgba(75, 97, 87, .14), rgba(213, 189, 148, .18)),
    var(--panel);
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
}

.home-hero.has-image {
  color: #fff;
}

.home-hero.has-image .eyebrow,
.home-hero.has-image p {
  color: rgba(255, 255, 255, .86);
}

.home-hero.has-image h1 {
  color: #fff;
  text-shadow: 0 12px 34px rgba(0, 0, 0, .28);
}

.home-hero-copy {
  max-width: 720px;
}

.home-hero h1 {
  margin: 12px 0 16px;
  color: var(--brand-dark);
  font-size: clamp(38px, 6vw, 72px);
  line-height: .98;
  letter-spacing: -.055em;
}

.home-hero p {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
}

.home-search {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 14px;
  align-items: end;
  margin: -42px auto 42px;
  padding: 18px;
  width: min(1080px, calc(100% - 32px));
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255, 253, 248, .98);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 2;
}

.home-search label {
  display: grid;
  gap: 8px;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 900;
}

.home-search input,
.home-search select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 13px 14px;
  background: #fff;
  color: var(--text);
  font: inherit;
}

.home-search .btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.home-section {
  margin: 34px 0;
}

.home-about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1fr;
  gap: 22px;
  align-items: stretch;
  margin: 44px 0;
}

.home-about .box {
  display: grid;
  align-content: center;
}

.home-about .box .btn {
  width: fit-content;
  margin-top: 10px;
}

.home-benefits {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.home-benefits div {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 4px 14px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 18px;
  background: var(--panel);
  box-shadow: 0 12px 30px rgba(38, 51, 46, .07);
}

.home-benefits i {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(75, 97, 87, .10);
  color: var(--brand);
  font-size: 20px;
}

.home-benefits strong {
  color: var(--brand-dark);
  font-size: 17px;
}

.home-benefits span {
  color: var(--muted);
  line-height: 1.5;
}

.home-cta {
  display: grid;
  justify-items: center;
  margin: 46px 0 10px;
  border-radius: 30px;
  padding: clamp(30px, 5vw, 56px);
  background: var(--brand-dark);
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow);
}

.home-cta .eyebrow,
.home-cta p {
  color: rgba(255, 255, 255, .78);
}

.home-cta h2 {
  max-width: 760px;
  margin: 8px 0 12px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.05;
}

.home-cta p {
  max-width: 720px;
  margin: 0;
  line-height: 1.7;
}

.search-toolbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 0;
  background: transparent;
  color: var(--brand-dark);
}

.filter-toolbar {
  display: grid;
  grid-template-columns: minmax(130px, 1fr) minmax(110px, .75fr) minmax(150px, 1fr) minmax(160px, 1fr) auto auto;
  align-items: end;
  gap: 12px;
  justify-content: stretch;
}

.search-toolbar label {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--brand-dark);
  font-weight: 800;
  white-space: nowrap;
}

.filter-toolbar label {
  display: grid;
  gap: 7px;
  font-size: 13px;
}

.search-toolbar select,
.search-toolbar input {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 12px 16px;
  background: #fff;
  color: var(--brand-dark);
  font: inherit;
  font-weight: 800;
}

.filter-toolbar .btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.clear-filter {
  background: #fff;
}

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

.search-card {
  min-width: 0;
}

.search-card .property-card-body h2 {
  margin: 0 0 8px;
  color: #000;
  font-size: 18px;
}

.empty-state {
  text-align: center;
}

.property-card {
  display: grid;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 2px;
  box-shadow: 0 10px 28px rgba(38, 51, 46, .08);
  transition: transform .2s ease, box-shadow .2s ease;
}

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

.property-card figure {
  position: relative;
  margin: 0;
}

.property-card figure img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9.7;
  object-fit: cover;
  background: #efe4d5;
}

.property-card figure span {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .86);
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.card-photo-nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .88);
  color: var(--brand-dark);
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow: 0 8px 22px rgba(38, 51, 46, .16);
  opacity: 0;
  transition: opacity .18s ease, transform .18s ease;
}

.property-card:hover .card-photo-nav {
  opacity: 1;
}

.card-photo-nav:hover {
  transform: translateY(-50%) scale(1.06);
}

.card-photo-nav.prev {
  left: 10px;
}

.card-photo-nav.next {
  right: 10px;
}

.property-card-body {
  padding: 18px 20px 20px;
}

.property-card-body strong,
.property-card-body h3,
.property-card-body p {
  margin: 0;
}

.property-card-body strong {
  display: block;
  font-size: 20px;
  color: #000;
  margin-bottom: 7px;
}

.property-card-body h3 {
  font-size: 18px;
  color: #000;
  margin-bottom: 8px;
}

.property-card-body p {
  color: #000;
  font-size: 17px;
  margin-bottom: 10px;
}

.mini-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
  align-items: center;
  color: var(--muted);
  margin: 14px 0;
}

.mini-facts span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  white-space: nowrap;
  font-size: 13px;
  line-height: 1.2;
}

.mini-facts b {
  font-size: 15px;
  color: var(--brand-dark);
}

.mini-facts i {
  color: var(--brand);
  font-size: 12px;
  opacity: .78;
}

.property-card-body em {
  display: block;
  color: var(--brand);
  font-style: normal;
  font-weight: 900;
  font-size: 20px;
}

.contact-page {
  margin-top: 34px;
}

.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  gap: 22px;
  align-items: stretch;
  margin-bottom: 22px;
}

.contact-hero-copy,
.company-photo,
.contact-page-card {
  background: rgba(255, 253, 248, .96);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.contact-hero-copy {
  display: grid;
  align-content: center;
  min-height: 360px;
  padding: clamp(28px, 5vw, 54px);
}

.contact-hero h1 {
  max-width: 680px;
  margin: 10px 0 14px;
  color: var(--brand-dark);
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.02;
  letter-spacing: -.04em;
}

.contact-hero p {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

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

.contact-hero-actions .btn,
.contact-page-card .btn.full {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.company-photo {
  overflow: hidden;
  margin: 0;
  min-height: 360px;
}

.company-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 22px;
  align-items: start;
}

.contact-main {
  display: grid;
  gap: 22px;
}

.company-about h2 {
  max-width: 680px;
}

.contact-page-card {
  position: sticky;
  top: 106px;
  padding: 26px;
}

.form-feedback {
  margin: 16px 0;
  border-radius: 16px;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
}

.form-feedback.success {
  background: rgba(35, 181, 91, .12);
  color: #197343;
}

.form-feedback.error {
  background: rgba(173, 77, 60, .12);
  color: #8c3729;
}

.contact-map iframe {
  height: 430px;
}

.mobile-cta {
  display: none;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(14, 21, 18, .88);
}

.gallery-modal.open {
  display: flex;
}

.gallery-modal figure {
  width: min(1120px, 100%);
  margin: 0;
}

.gallery-modal img {
  display: block;
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  cursor: zoom-in;
  transition: transform .2s ease;
}

.gallery-modal.zoomed img {
  transform: scale(1.45);
  cursor: zoom-out;
}

.gallery-modal figcaption {
  margin-top: 12px;
  color: #fff;
  text-align: center;
  font-weight: 800;
}

.modal-close,
.modal-nav {
  position: absolute;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.modal-close {
  top: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
}

.modal-nav {
  top: 50%;
  width: 54px;
  height: 54px;
  transform: translateY(-50%);
  font-size: 20px;
}

.modal-prev {
  left: 22px;
}

.modal-next {
  right: 22px;
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .brand,
  .header-center,
  .header-actions {
    width: 100%;
  }

  .header-center,
  .header-actions {
    justify-content: center;
    justify-items: center;
  }
}

@media (max-width: 900px) {
  .site-header,
  .header-actions,
  .header-center,
  .main-menu,
  .hero-listing {
    align-items: center;
    flex-direction: column;
  }

  .header-center {
    justify-items: center;
    text-align: center;
    width: 100%;
  }

  .main-menu {
    justify-content: center;
    gap: 10px;
  }

  .hero-ctas {
    justify-content: flex-start;
  }

  .site-header {
    display: flex;
    justify-content: center;
    text-align: center;
    position: static;
    gap: 12px;
    padding-block: 12px;
  }

  .brand,
  .header-actions {
    width: 100%;
  }

  .header-actions {
    justify-content: center;
    gap: 10px;
  }

  .hero-listing,
  .content-layout {
    grid-template-columns: 1fr;
  }

  .price-strip .btn {
    width: 100%;
    margin-left: 0;
  }

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

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

  .search-toolbar {
    justify-content: center;
    flex-wrap: wrap;
  }

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

  .search-toolbar label {
    flex-wrap: wrap;
    justify-content: center;
  }

  .property-search-grid {
    grid-template-columns: 1fr;
  }

  .home-search {
    grid-template-columns: 1fr 1fr;
    margin-top: -28px;
  }

  .home-search .btn {
    grid-column: span 2;
  }

  .home-about {
    grid-template-columns: 1fr;
  }

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

  .contact-page-card {
    position: static;
  }

  .contact-card {
    position: static;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-brand {
    flex-direction: column;
    gap: 10px;
  }

  .footer-info {
    justify-items: center;
    text-align: center;
  }

  .footer-line {
    justify-content: center;
  }

  .mobile-cta {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 50;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .mobile-cta.single {
    grid-template-columns: 1fr;
  }

  .mobile-cta a {
    border-radius: 999px;
    padding: 14px 12px;
    text-align: center;
    background: var(--brand);
    color: #fff;
    font-weight: 800;
    box-shadow: var(--shadow);
  }

  .mobile-cta a + a {
    background: var(--whatsapp);
  }

  .mobile-cta.single a {
    background: var(--whatsapp);
  }
}

@media (max-width: 620px) {
  .site-header {
    gap: 10px;
    padding: 10px 16px 12px;
  }

  .brand img {
    width: min(170px, 62vw);
  }

  .header-center {
    gap: 8px;
  }

  .main-menu {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px 18px;
    font-size: 14px;
  }

  .main-menu a::after {
    bottom: -3px;
  }

  .header-center p {
    max-width: 300px;
    font-size: 12px;
    line-height: 1.25;
  }

  .listing {
    width: min(100% - 20px, 1180px);
    margin-top: 14px;
  }

  .hero-listing,
  .box,
  .contact-card,
  .contact-hero-copy,
  .contact-page-card {
    padding: 20px;
    border-radius: 22px;
  }

  .contact-page {
    width: min(100% - 20px, 1180px);
  }

  .contact-hero-copy,
  .company-photo,
  .company-photo img {
    min-height: 280px;
  }

  .contact-hero h1 {
    font-size: 30px;
  }

  .contact-hero p {
    font-size: 16px;
  }

  .contact-hero-actions .btn {
    width: 100%;
  }

  .home-hero {
    min-height: 430px;
    border-radius: 24px;
  }

  .home-search {
    grid-template-columns: 1fr;
    width: 100%;
    margin: 14px 0 28px;
    border-radius: 20px;
  }

  .home-search .btn {
    grid-column: span 1;
  }

  .filter-toolbar {
    grid-template-columns: 1fr;
    width: 100%;
    gap: 12px;
    margin-bottom: 22px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: rgba(255, 253, 248, .96);
    box-shadow: 0 12px 28px rgba(38, 51, 46, .06);
    align-items: stretch;
    justify-items: stretch;
  }

  .filter-toolbar label {
    display: grid;
    width: 100%;
    justify-content: stretch;
    justify-items: stretch;
    text-align: left;
    white-space: normal;
  }

  .filter-toolbar select,
  .filter-toolbar input {
    display: block;
    width: 100%;
    min-height: 46px;
  }

  .filter-toolbar .btn,
  .filter-toolbar .clear-filter {
    width: 100%;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .home-benefits div {
    grid-template-columns: 42px 1fr;
    padding: 16px;
  }

  .home-benefits i {
    width: 42px;
    height: 42px;
  }

  .gallery {
    border-radius: 22px;
  }

  .main-photo-button span {
    right: 10px;
    bottom: 10px;
    font-size: 13px;
  }

  .thumbs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    overflow-x: visible;
    padding-bottom: 0;
  }

  .thumbs button {
    width: 100%;
    border-radius: 12px;
  }

  .thumbs img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .header-actions {
    width: 100%;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 10px;
    font-size: 13px;
  }

  .header-actions .btn,
  .header-actions a {
    width: auto;
  }

  .header-actions .btn {
    padding: 10px 16px;
    font-size: 13px;
  }

  .site-footer {
    padding-bottom: 78px;
  }

  .footer-brand img {
    width: 145px;
  }

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