﻿:root {
  --color-primary: #049540;
  --color-primary-deep: #037532;
  --color-accent: #312982;
  --color-slate: #5c666f;
  --color-ink: #1f2a24;
  --color-muted: #64716b;
  --color-border: rgba(31, 42, 36, 0.12);
  --shadow-soft: 0 22px 46px rgba(16, 33, 24, 0.1);
  --shadow-card: 0 20px 40px rgba(16, 33, 24, 0.08);
  --radius-lg: 28px;
  --radius-md: 22px;
  --container: min(1280px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--color-ink);
  background:
    radial-gradient(circle at top left, rgba(251, 202, 24, 0.12), transparent 26%),
    linear-gradient(180deg, #fbfcf8 0%, #fffdf9 46%, #f4efe6 100%);
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; }
.container { width: var(--container); margin: 0 auto; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(255, 253, 249, 0.9);
  border-bottom: 1px solid rgba(31, 42, 36, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 92px;
}

.brand img { width: clamp(220px, 22vw, 340px); }

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

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.main-nav a {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--color-ink);
  transition: color 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--color-accent);
}

.whatsapp-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-deep) 100%);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 16px 30px rgba(4, 149, 64, 0.24);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.whatsapp-cta img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

.whatsapp-cta:hover,
.whatsapp-cta:focus-visible {
  transform: translateY(-2px);
  background: #fff;
  color: var(--color-primary-deep);
  box-shadow: 0 22px 34px rgba(4, 149, 64, 0.28);
}

.whatsapp-cta img,
.whatsapp-cta span {
  transition: filter 180ms ease, color 180ms ease;
}

.whatsapp-cta:hover img,
.whatsapp-cta:focus-visible img {
  filter: brightness(0) saturate(100%) invert(34%) sepia(84%) saturate(955%) hue-rotate(86deg) brightness(91%) contrast(92%);
}

.social-links {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.header-actions .social-link {
  border-color: rgba(49, 41, 130, 0.14);
  background: rgba(49, 41, 130, 0.06);
  color: var(--color-secondary);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.social-link:hover,
.social-link:focus-visible {
  transform: translateY(-2px);
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

.property-shell {
  padding: 28px 0 86px;
}

.listing-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.filters-card,
.price-inline,
.related-card {
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(31, 42, 36, 0.08);
  box-shadow: var(--shadow-card);
}

.filters-sidebar {
  position: static;
  display: grid;
  gap: 18px;
  align-self: start;
}

.filters-card {
  position: static;
  top: auto;
  padding: 28px;
  text-align: center;
}

.property-detail-area {
  min-width: 0;
}

.detail-hero {
  padding: 12px 0 18px;
}

.detail-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
  padding: 14px 0 18px;
  border-bottom: 1px solid rgba(24, 49, 48, 0.12);
  color: var(--color-ink);
}

.detail-destination,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

.detail-destination {
  justify-self: start;
  width: max-content;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(49, 41, 130, 0.1);
  color: #241d6e;
  box-shadow: inset 0 0 0 1px rgba(49, 41, 130, 0.14);
  font-size: 1.014rem;
}

.filters-head h2,
.detail-intro h1,
.detail-panel h2,
.section-head h2 {
  margin: 16px 0 14px;
  font-family: "Fredoka", sans-serif;
  font-weight: 500;
  line-height: 1.04;
}

.filters-head {
  padding: 8px 0 10px;
}

.filters-head h2 {
  margin-bottom: 0;
  font-size: clamp(1.2rem, 1.7vw, 1.55rem);
  white-space: nowrap;
}

.detail-intro h1 {
  margin: 0;
  font-size: clamp(1.7rem, 2.7vw, 2.6rem);
  color: #19322f;
}

.filters-form,
.code-search-form {
  display: grid;
  gap: 16px;
  margin-top: 12px;
  justify-items: center;
}

.field {
  display: grid;
  gap: 8px;
  width: 100%;
  text-align: center;
}

.field label {
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.field select,
.field input {
  min-height: 46px;
  padding: 8px 14px;
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-ink);
  font-size: 0.9rem;
  text-align: center;
}

.field input {
  text-transform: uppercase;
}

.field select.is-active-filter {
  background: #e9f8eb;
  border-color: rgba(4, 149, 64, 0.28);
  color: var(--color-primary-deep);
  font-weight: 800;
}

.destination-select {
  text-align: center;
  text-align-last: center;
  padding-left: 14px;
  padding-right: 14px;
}

.destination-select option {
  text-align: center;
}

.form-actions {
  display: grid;
  margin-top: 8px;
}

.form-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 18px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-deep) 100%);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 16px 28px rgba(4, 149, 64, 0.22);
  cursor: pointer;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 0;
}

.detail-meta span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(24, 49, 48, 0.05);
  color: #3f4a45;
}

.detail-meta svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: #759199;
}

.detail-meta strong {
  font-weight: 800;
}

.detail-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 2px auto 8px;
  width: 100%;
  flex-wrap: wrap;
}

.detail-action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(60, 69, 76, 0.18);
  border-radius: 999px;
  background: #4d5964;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 22px rgba(16, 33, 24, 0.08);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.detail-action-button:hover,
.detail-action-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(16, 33, 24, 0.12);
}

.detail-action-button svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: #fff;
}

.detail-action-button.is-saved {
  border-color: rgba(60, 69, 76, 0.18);
  background: #4d5964;
  color: #fff;
}

.detail-action-button.is-saved svg {
  color: #e53b3b;
}

.price-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-self: stretch;
  width: 100%;
  margin-top: 6px;
}

.price-inline {
  flex: 0 0 auto;
  padding: 14px 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, #4d5964 0%, #3c454c 100%);
  color: #fff;
  box-shadow: 0 16px 30px rgba(31, 42, 36, 0.14);
}

.price-inline strong {
  display: block;
  font-size: 1.35rem;
  line-height: 1.15;
  margin: 0;
  white-space: nowrap;
}

.price-note {
  display: flex;
  align-items: center;
  flex: 1 1 280px;
  min-height: 54px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(4, 149, 64, 0.08);
  color: #45604d;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.4;
}

@media (max-width: 680px) {
  .detail-actions {
    justify-content: center;
  }

  .detail-action-button {
    flex: 0 1 auto;
  }
}

.reserve-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  justify-self: center;
  width: max-content;
  min-height: 62px;
  padding: 16px 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff8a3d 0%, #ff4f6d 100%);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 24px 40px rgba(255, 79, 109, 0.32);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.reserve-cta img {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}

.reserve-cta:hover,
.reserve-cta:focus-visible {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 30px 46px rgba(255, 79, 109, 0.38);
  filter: saturate(1.05);
}

.detail-panel p,
.detail-html,
.detail-html p,
.detail-html li,
.section-head p,
.location-copy p {
  line-height: 1.55;
  color: var(--color-muted);
}

.detail-code {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: 100%;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(4, 149, 64, 0.08);
  color: #304a38;
  font-size: 0.95rem;
  font-weight: 600;
}

.detail-code strong {
  letter-spacing: 0.04em;
}

.detail-video {
  overflow: hidden;
  border-radius: 20px;
  background: #d9e1d8;
  box-shadow: 0 18px 32px rgba(16, 33, 24, 0.12);
}

.detail-video iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.gallery-section,
.content-section,
.related-section {
  padding: 0 0 24px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.gallery-link img {
  width: 100%;
  aspect-ratio: 1 / 0.78;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 14px 28px rgba(16, 33, 24, 0.11);
  transition: transform 240ms ease, box-shadow 240ms ease, filter 240ms ease;
}

.detail-image-placeholder {
  display: grid;
  place-items: center;
  grid-column: 1 / -1;
  min-height: 180px;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(4, 149, 64, 0.09), rgba(49, 41, 130, 0.12)),
    #f3f6f1;
  color: var(--color-muted);
  font-weight: 800;
  box-shadow: var(--shadow-card);
}

.gallery-link {
  display: block;
  overflow: hidden;
  border-radius: 14px;
  cursor: zoom-in;
}

.gallery-link:hover img,
.gallery-link:focus-visible img {
  transform: scale(1.06);
  box-shadow: 0 24px 40px rgba(16, 33, 24, 0.16);
  filter: saturate(1.05);
}

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

.detail-panel {
  position: relative;
  padding: 8px 0 10px 18px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.detail-panel h2,
.section-head h2 {
  font-size: clamp(1.1rem, 1.7vw, 1.45rem);
}

.detail-panel::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 0;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(32, 79, 94, 0.95) 0%, rgba(103, 190, 214, 0.72) 100%);
}

.detail-panel h2 {
  margin: 0 0 8px;
  color: #183130;
  letter-spacing: 0.01em;
}

.detail-panel p,
.detail-html p {
  margin: 0;
}

.detail-label {
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.detail-panel .detail-label {
  margin-bottom: 10px;
}

.detail-panel p + p {
  margin-top: 8px;
}

.detail-html ul,
.detail-html ol {
  margin: 8px 0 0;
  padding-left: 20px;
}

.detail-html strong,
.detail-html b {
  color: var(--color-ink);
}

.map-frame {
  overflow: hidden;
  margin-top: 10px;
  border-radius: 0;
  min-height: 290px;
  box-shadow: inset 0 0 0 1px rgba(31, 42, 36, 0.08);
}

.map-frame iframe {
  width: 100%;
  min-height: 290px;
  border: 0;
}

.location-copy p {
  margin: 0;
}

.payment-copy p {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-ink);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(8, 18, 20, 0.84);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(1100px, 100%);
  max-height: calc(100vh - 80px);
}

.lightbox-image {
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - 80px);
  border-radius: 22px;
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.34);
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.lightbox-close {
  top: 22px;
  right: 22px;
  width: 48px;
  height: 48px;
  font-size: 1.8rem;
  line-height: 1;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  font-size: 1.6rem;
}

.lightbox-prev {
  left: 22px;
}

.lightbox-next {
  right: 22px;
}

.section-head {
  display: block;
  margin-bottom: 28px;
}

.property-card {
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(31, 42, 36, 0.08);
  box-shadow: var(--shadow-card);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  position: relative;
}

.property-favorite-indicator {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #e53b3b;
  font-size: 1rem;
  line-height: 1;
  box-shadow: 0 10px 18px rgba(16, 33, 24, 0.16);
  opacity: 0;
  transform: scale(0.82);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
}

.property-favorite-indicator svg {
  width: 13px;
  height: 13px;
  display: block;
}

.property-favorite-indicator.is-visible {
  opacity: 1;
  transform: scale(1);
}

.property-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 52px rgba(16, 33, 24, 0.14);
  border-color: rgba(31, 42, 36, 0.14);
}

.property-card--alt {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.property-card img {
  width: 100%;
  aspect-ratio: 1.1 / 1;
  object-fit: cover;
  transition: transform 260ms ease;
}

.property-image-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1.1 / 1;
  background:
    linear-gradient(135deg, rgba(4, 149, 64, 0.09), rgba(49, 41, 130, 0.12)),
    #f3f6f1;
  color: var(--color-muted);
  font-weight: 800;
}

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

.property-card--alt > img {
  aspect-ratio: 1.1 / 1;
}

.properties-grid {
  display: grid;
  gap: 22px;
}

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

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

.properties-grid--quad .property-destination {
  font-size: 0.7rem;
  padding: 7px 10px;
}

.properties-grid--quad .property-card--alt .property-content h3 {
  font-size: 0.88rem;
  line-height: 1.28;
  padding: 10px 12px;
}

.properties-grid--quad .property-meta-row {
  font-size: 0.76rem;
}

.properties-grid--quad .property-price-row {
  font-size: 0.84rem;
  padding: 10px 12px;
}

.property-content {
  padding: 18px 18px 22px;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0;
}

.property-destination {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(18, 18, 18, 0.78);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.property-card--alt .property-content h3 {
  margin: -18px -18px 0;
  padding: 12px 14px;
  border-radius: 0;
  background: linear-gradient(135deg, #4d43b8 0%, #312982 100%);
  color: #fff;
  font-size: 0.98rem;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.property-meta-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  color: var(--color-muted);
  font-size: 0.82rem;
  align-items: center;
  margin: auto 0 0;
  padding: 6px 0;
  border-radius: 0;
}

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

.property-meta-row > span,
.property-price-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-direction: column;
  text-align: center;
}

.property-meta-row > span {
  min-height: 36px;
  padding: 4px 6px;
  flex-direction: column;
}

.property-meta-row > span + span {
  border-left: 1px solid rgba(31, 42, 36, 0.06);
}

.property-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: rgba(31, 42, 36, 0.36);
  flex-shrink: 0;
}

.property-icon svg {
  width: 14px;
  height: 14px;
  display: block;
}

.property-meta-row > span span:last-child,
.property-price-row span:last-child {
  font-weight: 800;
  letter-spacing: 0.01em;
}

.property-price-row {
  color: #fff;
  font-size: 0.94rem;
  font-weight: 800;
  margin: 0 -18px -22px;
  padding: 11px 14px;
  border-radius: 0;
  background: linear-gradient(135deg, var(--color-slate) 0%, #3f474e 100%);
  flex-direction: row;
  justify-content: center;
  gap: 7px;
  width: calc(100% + 36px);
  box-sizing: border-box;
  align-self: stretch;
}

.property-price-row .property-icon {
  width: 20px;
  height: 20px;
  color: rgba(255, 255, 255, 0.78);
}

.property-price-row .property-icon svg {
  width: 15px;
  height: 15px;
}

.site-footer {
  padding: 34px 0;
  background: linear-gradient(180deg, rgba(12, 34, 20, 0.98) 0%, rgba(18, 37, 24, 1) 100%);
  color: rgba(255, 255, 255, 0.82);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  width: min(250px, 48vw);
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.footer-brand-link,
.footer-signature-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 180ms ease, opacity 180ms ease;
}

.footer-brand-link:hover,
.footer-brand-link:focus-visible,
.footer-signature-link:hover,
.footer-signature-link:focus-visible {
  transform: translateY(-2px);
  opacity: 0.86;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.footer-links-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-links-separator {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.8rem;
}

.footer-inner p {
  margin: 0;
  text-align: center;
  line-height: 1.6;
}

.social-links--footer .social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.footer-policy-link {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.8rem;
  font-weight: 600;
  transition: color 180ms ease;
}

.footer-policy-link:hover,
.footer-policy-link:focus-visible {
  color: rgba(255, 255, 255, 0.74);
}

.footer-signature {
  width: min(120px, 26vw);
}

@media (max-width: 1100px) {
  .listing-layout {
    grid-template-columns: 1fr;
  }

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

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

  .filters-sidebar {
    position: static;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 760px) {
  .header-inner {
    flex-direction: column;
    text-align: center;
    padding: 18px 0;
  }

  .header-actions {
    flex-wrap: wrap;
    justify-content: center;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 18px;
  }

  .site-header {
    position: static;
  }

  .property-shell {
    padding-top: 22px;
  }

  .detail-intro {
    align-items: start;
  }

  .detail-intro,
  .filters-card,
  .price-inline {
    padding: 24px;
  }

  .gallery-grid,
  .properties-grid--alt,
  .properties-grid--quad {
    grid-template-columns: 1fr;
  }

  .gallery-link img {
    aspect-ratio: 1.18 / 1;
  }

  .lightbox {
    padding: 18px;
  }

  .lightbox-nav {
    width: 44px;
    height: 44px;
  }

  .lightbox-prev {
    left: 12px;
  }

  .lightbox-next {
    right: 12px;
  }

  .lightbox-close {
    top: 12px;
    right: 12px;
  }
}
