@font-face {
  font-display: swap;
  font-family: "Agrandir";
  font-style: normal;
  font-weight: 400;
  src: url("assets/fonts/Agrandir-Regular.otf") format("opentype");
}

@font-face {
  font-display: swap;
  font-family: "Agrandir";
  font-style: normal;
  font-weight: 700;
  src: url("assets/fonts/Agrandir-GrandHeavy.otf") format("opentype");
}

@font-face {
  font-display: swap;
  font-family: "Chapaza";
  font-style: normal;
  font-weight: 400;
  src: url("assets/fonts/Chapaza.ttf") format("truetype");
}

:root {
  --bg: #ebe3d6;
  --surface: #f6f0e7;
  --surface-warm: #fce596;
  --ink: #943d21;
  --muted: rgba(148, 61, 33, 0.72);
  --line: rgba(146, 122, 50, 0.3);
  --accent: #943d21;
  --accent-strong: #927a32;
  --gold: #927a32;
  --highlight: #fce596;
  --olive: #927a32;
  --terracotta: #943d21;
  --shadow: 0 24px 70px rgba(148, 61, 33, 0.12);
  --radius: 8px;
  --container: min(1140px, calc(100vw - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Agrandir", Arial, sans-serif;
  letter-spacing: 0;
}

body.modal-open {
  overflow: hidden;
}

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

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

.sr-only {
  clip: rect(0, 0, 0, 0);
  border: 0;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

button,
input,
textarea,
select {
  font: inherit;
}

.site-header {
  align-items: center;
  background: rgba(235, 227, 214, 0.93);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(146, 122, 50, 0.2);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  left: 0;
  padding: 10px max(16px, calc((100vw - 1140px) / 2));
  position: sticky;
  top: 0;
  transform: translateY(0);
  transition:
    background 220ms ease,
    box-shadow 220ms ease,
    transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 20;
}

.site-header.header-scrolled {
  box-shadow: 0 10px 28px rgba(148, 61, 33, 0.08);
}

.site-header.header-hidden {
  transform: translateY(calc(-100% - 2px));
}

.brand {
  display: inline-flex;
}

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

.main-nav {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.main-nav a {
  color: var(--olive);
  font-size: 13px;
  font-weight: 800;
  padding-bottom: 5px;
  position: relative;
  text-transform: uppercase;
}

.main-nav a::after {
  background: var(--terracotta);
  bottom: 0;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 200ms ease;
  width: 100%;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a[aria-current="page"] {
  color: var(--terracotta);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.hero,
.listings-hero {
  padding: 28px 0 26px;
}

.hero {
  background:
    linear-gradient(90deg, rgba(235, 227, 214, 0.99) 0%, rgba(235, 227, 214, 0.86) 36%, rgba(235, 227, 214, 0.22) 66%, rgba(235, 227, 214, 0.02) 100%),
    linear-gradient(180deg, rgba(235, 227, 214, 0.48) 0%, rgba(235, 227, 214, 0.05) 45%, var(--bg) 100%),
    url("assets/hero/uruguay-3d-map-hero.jpg");
  background-position: center, center, center right;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: calc(100vh - 75px);
  overflow: hidden;
  position: relative;
}

.hero::before {
  backdrop-filter: blur(1px);
  background: rgba(235, 227, 214, 0.34);
  border-radius: 50%;
  content: "";
  filter: blur(36px);
  height: 460px;
  left: -140px;
  position: absolute;
  top: 86px;
  width: 680px;
  z-index: 0;
}

.hero-content,
.section,
.site-footer,
.listings-hero {
  margin: 0 auto;
  width: var(--container);
}

.hero-content {
  display: grid;
  gap: 32px;
  min-height: calc(100vh - 165px);
  position: relative;
  z-index: 1;
}

.hero-copy {
  padding-top: 24px;
}

.hero h1,
.listings-hero h1 {
  font-family: "Chapaza", Georgia, serif;
  font-size: clamp(42px, 12vw, 92px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.98;
  margin: 0;
  max-width: 960px;
}

.hero p,
.listings-hero p {
  color: var(--olive);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.55;
  margin: 24px 0 0;
  max-width: 700px;
}

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

.hero-actions .button {
  background: var(--olive);
  border-color: var(--olive);
  color: var(--bg);
}

.hero-actions .button:hover,
.hero-actions .button:focus-visible {
  background: var(--terracotta);
  border-color: var(--terracotta);
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  overflow: hidden;
  padding: 0 22px;
  position: relative;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  box-shadow: 0 12px 22px rgba(146, 122, 50, 0.18);
  transform: translateY(-2px);
}

.button-primary {
  background: var(--accent);
  color: var(--bg);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--accent-strong);
}

.button-secondary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: var(--olive);
  border-color: var(--olive);
  color: var(--bg);
}

.button-whatsapp {
  background: var(--accent);
  color: var(--bg);
}

.button-whatsapp:hover,
.button-whatsapp:focus-visible {
  background: var(--olive);
}

.section {
  padding: 56px 0;
}

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

.section-heading h2,
.section-heading h1,
.contact-copy h2 {
  font-family: "Chapaza", Georgia, serif;
  font-size: clamp(34px, 6vw, 58px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.05;
  margin: 8px 0 0;
}

.section-heading p,
.contact-copy p {
  color: var(--olive);
  font-size: 17px;
  line-height: 1.6;
  margin: 14px 0 0;
  max-width: 650px;
}

.section-number {
  color: var(--gold);
  display: block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.split-heading {
  display: grid;
  gap: 18px;
}

.process-strip {
  background:
    radial-gradient(circle at 10% 15%, rgba(146, 122, 50, 0.22), transparent 34%),
    radial-gradient(circle at 92% 82%, rgba(148, 61, 33, 0.16), transparent 32%),
    linear-gradient(118deg, rgba(235, 227, 214, 0.98) 0%, rgba(247, 242, 234, 0.94) 44%, rgba(146, 122, 50, 0.18) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 12px;
  overflow: hidden;
  padding: 16px;
  position: relative;
}

.process-progress {
  background: linear-gradient(90deg, transparent, rgba(146, 122, 50, 0.72), rgba(148, 61, 33, 0.4), transparent);
  height: 2px;
  left: 34px;
  position: absolute;
  right: 34px;
  top: 43px;
  z-index: 0;
}

.process-progress::after {
  animation: progressSweep 4.8s ease-in-out infinite;
  background: linear-gradient(90deg, var(--olive), var(--terracotta));
  border-radius: 999px;
  content: "";
  height: 6px;
  left: 0;
  position: absolute;
  top: -2px;
  width: 24%;
}

.process-item {
  background:
    linear-gradient(150deg, rgba(246, 240, 231, 0.94), rgba(235, 227, 214, 0.78) 55%, rgba(146, 122, 50, 0.12)),
    rgba(246, 240, 231, 0.82);
  border: 1px solid rgba(146, 122, 50, 0.22);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(148, 61, 33, 0.08);
  min-height: 170px;
  overflow: hidden;
  padding: 20px;
  position: relative;
  isolation: isolate;
  transition:
    border-color 200ms ease,
    transform 200ms ease,
    background 200ms ease,
    box-shadow 200ms ease;
}

.process-item::before {
  background:
    radial-gradient(circle at 0% 0%, rgba(146, 122, 50, 0.2), transparent 36%),
    radial-gradient(circle at 100% 100%, rgba(148, 61, 33, 0.14), transparent 34%);
  border-radius: inherit;
  content: "";
  inset: 0;
  opacity: 0.72;
  position: absolute;
  transition: opacity 220ms ease;
  z-index: -1;
}

.process-item:hover,
.process-item.active {
  border-color: rgba(148, 61, 33, 0.34);
  box-shadow: 0 24px 52px rgba(87, 42, 27, 0.13);
  transform: translateY(-5px);
}

.process-item:hover::before,
.process-item.active::before {
  opacity: 1;
}

.step-index {
  align-items: center;
  background: var(--olive);
  border-radius: 50%;
  color: var(--bg);
  display: inline-flex;
  font-weight: 900;
  height: 38px;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(146, 122, 50, 0.22);
  width: 38px;
}

.process-item h3 {
  font-family: "Chapaza", Georgia, serif;
  font-size: 20px;
  margin: 18px 0 10px;
}

.process-item p {
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

@keyframes progressSweep {
  0%,
  18% {
    transform: translateX(0);
  }
  32%,
  48% {
    transform: translateX(100%);
  }
  62%,
  78% {
    transform: translateX(200%);
  }
  92%,
  100% {
    transform: translateX(300%);
  }
}

.section-action {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.featured-carousel {
  position: relative;
}

.featured-carousel .property-grid-featured {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 6px 2px 18px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.featured-carousel .property-grid-featured::-webkit-scrollbar {
  display: none;
}

.featured-carousel .property-grid-featured .property-card {
  flex: 0 0 min(920px, calc(100% - 82px));
  scroll-snap-align: center;
}

.featured-nav {
  align-items: center;
  background: rgba(235, 227, 214, 0.94);
  border: 1px solid rgba(146, 122, 50, 0.36);
  border-radius: 50%;
  box-shadow: 0 14px 32px rgba(148, 61, 33, 0.14);
  color: var(--accent);
  cursor: pointer;
  display: none;
  font-size: 30px;
  font-weight: 700;
  height: 48px;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition:
    background 180ms ease,
    transform 180ms ease;
  width: 48px;
  z-index: 4;
}

.featured-nav:hover,
.featured-nav:focus-visible {
  background: var(--highlight);
  transform: translateY(-50%) scale(1.04);
}

.featured-prev {
  left: -58px;
}

.featured-next {
  right: -58px;
}

.property-grid {
  display: grid;
  gap: 24px;
}

.property-card {
  background:
    linear-gradient(180deg, rgba(252, 229, 150, 0.16), rgba(246, 240, 231, 0) 34%),
    var(--surface);
  border: 1px solid rgba(146, 122, 50, 0.42);
  border-radius: var(--radius);
  box-shadow: 0 22px 58px rgba(146, 122, 50, 0.12);
  overflow: hidden;
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.property-card:hover {
  border-color: rgba(146, 122, 50, 0.82);
  box-shadow: 0 30px 76px rgba(146, 122, 50, 0.2);
  transform: translateY(-4px);
}

.property-carousel {
  aspect-ratio: 4 / 5;
  background: var(--surface-warm);
  overflow: hidden;
  position: relative;
}

.property-carousel img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.demo-label {
  background: rgba(146, 122, 50, 0.92);
  border-radius: 999px;
  color: var(--bg);
  font-size: 12px;
  font-weight: 900;
  left: 12px;
  padding: 8px 10px;
  position: absolute;
  text-transform: uppercase;
  top: 12px;
}

.carousel-button {
  align-items: center;
  background: rgba(235, 227, 214, 0.94);
  border: 1px solid rgba(146, 122, 50, 0.42);
  border-radius: 50%;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  font-size: 22px;
  font-weight: 800;
  height: 40px;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
}

.carousel-button.prev {
  left: 12px;
}

.carousel-button.next {
  right: 12px;
}

.carousel-dots {
  bottom: 12px;
  display: flex;
  gap: 6px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
}

.carousel-dot {
  background: rgba(235, 227, 214, 0.68);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  height: 7px;
  padding: 0;
  width: 7px;
}

.carousel-dot.active {
  background: var(--highlight);
  width: 22px;
}

.property-body {
  padding: 22px;
}

.property-meta {
  align-items: center;
  color: var(--olive);
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 800;
  gap: 10px;
  margin: -4px 0 14px;
}

.property-meta span {
  background: rgba(146, 122, 50, 0.08);
  border: 1px solid rgba(146, 122, 50, 0.16);
  border-radius: 999px;
  padding: 6px 9px;
}

.property-body h3 {
  font-family: "Chapaza", Georgia, serif;
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.05;
  margin: 14px 0;
}

.property-body p {
  color: var(--olive);
  line-height: 1.55;
  margin: 0;
}

.property-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
  padding: 0;
}

.property-features li {
  background: rgba(235, 227, 214, 0.74);
  border: 1px solid rgba(146, 122, 50, 0.36);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  list-style: none;
  padding: 8px 11px;
}

.property-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  padding-top: 18px;
}

.property-price {
  display: grid;
  gap: 3px;
}

.property-price span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.property-price strong {
  font-size: 20px;
  color: var(--olive);
}

.filters-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
  margin-bottom: 34px;
  padding: 16px;
}

.listings-section {
  padding-top: 18px;
}

.filters-panel label {
  color: var(--muted);
  display: grid;
  font-size: 13px;
  font-weight: 900;
  gap: 8px;
  text-transform: uppercase;
}

.filters-panel select {
  appearance: none;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  cursor: pointer;
  min-height: 48px;
  padding: 0 14px;
}

.listings-map-panel {
  background:
    linear-gradient(135deg, rgba(252, 229, 150, 0.2), transparent 42%),
    var(--surface);
  border: 1px solid rgba(146, 122, 50, 0.34);
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(146, 122, 50, 0.12);
  display: grid;
  gap: 18px;
  margin: 34px 0 0;
  overflow: hidden;
  padding: 18px;
}

.map-copy {
  display: grid;
  gap: 8px;
}

.map-copy h2 {
  color: var(--terracotta);
  font-family: "Chapaza", Georgia, serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 400;
  line-height: 1.05;
  margin: 0;
}

.map-copy p {
  color: var(--olive);
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
  max-width: 560px;
}

.map-shell {
  border: 1px solid rgba(146, 122, 50, 0.42);
  border-radius: var(--radius);
  height: 520px;
  min-height: unset;
  overflow: hidden;
  position: relative;
}

.listings-map {
  display: block;
  height: 100%;
  min-height: 100%;
  position: relative;
  width: 100%;
  z-index: 1;
}

.listings-map.leaflet-container,
.leaflet-container {
  background: var(--bg);
  height: 100%;
  overflow: hidden;
  position: relative;
  touch-action: pan-x pan-y;
  width: 100%;
}

.leaflet-container img,
.leaflet-container svg {
  max-height: none !important;
  max-width: none !important;
}

.leaflet-pane,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-container,
.leaflet-map-pane,
.leaflet-pane > svg,
.leaflet-pane > canvas,
.leaflet-zoom-box,
.leaflet-image-layer,
.leaflet-layer {
  left: 0;
  position: absolute;
  top: 0;
}

.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow {
  max-height: none !important;
  max-width: none !important;
  user-select: none;
}

.leaflet-tile {
  filter: saturate(0.9) contrast(0.96);
}

.leaflet-pane {
  height: 100%;
  width: 100%;
  z-index: 400;
}

.leaflet-tile-pane {
  height: 100%;
  width: 100%;
  z-index: 200;
}

.leaflet-map-pane {
  height: 100%;
  width: 100%;
}

.leaflet-overlay-pane {
  z-index: 400;
}

.leaflet-marker-pane {
  z-index: 600;
}

.leaflet-marker-icon,
.leaflet-interactive {
  pointer-events: auto;
}

.leaflet-popup-pane {
  z-index: 700;
}

.leaflet-tooltip-pane {
  z-index: 650;
}

.leaflet-control-container {
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 800;
}

.leaflet-top,
.leaflet-bottom {
  pointer-events: none;
  position: absolute;
  z-index: 800;
}

.leaflet-top {
  top: 0;
}

.leaflet-bottom {
  bottom: 0;
}

.leaflet-left {
  left: 0;
}

.leaflet-right {
  right: 0;
}

.leaflet-control {
  clear: both;
  float: left;
  pointer-events: auto;
}

.leaflet-top .leaflet-control {
  margin-top: 10px;
}

.leaflet-left .leaflet-control {
  margin-left: 10px;
}

.leaflet-right .leaflet-control {
  margin-right: 10px;
}

.leaflet-bottom .leaflet-control {
  margin-bottom: 10px;
}

.map-empty {
  align-items: center;
  background: rgba(246, 240, 231, 0.9);
  color: var(--terracotta);
  display: flex;
  font-weight: 900;
  inset: 0;
  justify-content: center;
  padding: 24px;
  pointer-events: none;
  position: absolute;
  text-align: center;
  z-index: 750;
}

.map-empty[hidden] {
  display: none !important;
}

.estumont-map-marker {
  align-items: center;
  background: var(--olive);
  border: 2px solid var(--highlight);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(87, 42, 27, 0.22);
  color: var(--bg);
  cursor: pointer;
  display: inline-flex;
  font-family: "Agrandir", Arial, sans-serif;
  font-size: 12px;
  font-weight: 900;
  justify-content: center;
  min-height: 34px;
  min-width: 84px;
  padding: 0 12px;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
  white-space: nowrap;
  width: max-content !important;
}

.estumont-map-marker:hover,
.estumont-map-marker:focus,
.estumont-map-marker:focus-visible {
  background: var(--terracotta);
  border-color: var(--bg);
  box-shadow: 0 16px 32px rgba(148, 61, 33, 0.28);
  outline: none;
  transform: translateY(-2px);
}

.leaflet-popup-content-wrapper {
  background: var(--surface);
  border-radius: var(--radius);
  color: var(--ink);
}

.leaflet-popup-content {
  margin: 0;
}

.map-popup-card {
  display: grid;
  gap: 12px;
  max-width: 250px;
  padding: 10px;
}

.map-popup-card img {
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  object-fit: cover;
  width: 100%;
}

.map-popup-card strong,
.map-popup-card span,
.map-popup-card em {
  display: block;
}

.map-popup-card strong {
  color: var(--terracotta);
  font-family: "Chapaza", Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.05;
}

.map-popup-card span {
  color: var(--olive);
  font-weight: 800;
  margin-top: 6px;
}

.map-popup-card em {
  color: var(--terracotta);
  font-style: normal;
  font-weight: 900;
  margin-top: 8px;
}

.map-popup-link {
  background: var(--terracotta);
  border: 0;
  border-radius: 999px;
  color: var(--bg);
  cursor: pointer;
  font-weight: 900;
  margin-top: 12px;
  min-height: 40px;
  padding: 0 16px;
}

.map-popup-link:hover,
.map-popup-link:focus-visible {
  background: var(--olive);
}

.property-card-highlight {
  border-color: var(--highlight);
  box-shadow: 0 0 0 4px rgba(252, 229, 150, 0.62), 0 30px 76px rgba(146, 122, 50, 0.2);
}

.contact-section {
  background:
    linear-gradient(135deg, rgba(252, 229, 150, 0.12), transparent 38%),
    radial-gradient(circle at 0% 0%, rgba(252, 229, 150, 0.24), transparent 34%),
    radial-gradient(circle at 100% 100%, rgba(146, 122, 50, 0.28), transparent 40%),
    var(--terracotta);
  border-radius: var(--radius);
  color: var(--bg);
  margin-top: 32px;
  overflow: hidden;
  padding: 34px;
  position: relative;
  scroll-margin-top: 94px;
}

.contact-section::before {
  background:
    linear-gradient(90deg, rgba(235, 227, 214, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(235, 227, 214, 0.06) 1px, transparent 1px);
  background-size: 34px 34px;
  content: "";
  inset: 0;
  opacity: 0.32;
  pointer-events: none;
  position: absolute;
}

.contact-section > * {
  position: relative;
  z-index: 1;
}

.contact-layout {
  display: grid;
  gap: 28px;
}

.contact-copy p,
.contact-section .section-number {
  color: rgba(235, 227, 214, 0.82);
}

.direct-contact {
  display: grid;
  gap: 8px;
  margin-top: 24px;
  max-width: 360px;
}

.direct-contact a {
  color: var(--bg);
  font-weight: 900;
}

.direct-contact p {
  color: rgba(235, 227, 214, 0.86);
  line-height: 1.5;
  margin: 10px 0 4px;
}

.direct-contact .button {
  justify-self: start;
}

.direct-contact .button-whatsapp {
  background: var(--bg);
  color: var(--accent);
}

.direct-contact .button-whatsapp:hover,
.direct-contact .button-whatsapp:focus-visible {
  background: var(--olive);
  color: var(--bg);
}

.accordion-list {
  display: grid;
  gap: 14px;
}

.contact-accordion {
  background: var(--bg);
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--ink);
  overflow: hidden;
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.contact-accordion:hover,
.contact-accordion[open] {
  border-color: rgba(146, 122, 50, 0.28);
  box-shadow: 0 14px 28px rgba(87, 42, 27, 0.08);
}

.contact-accordion summary {
  font-family: "Chapaza", Georgia, serif;
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
  list-style: none;
  padding: 20px 22px;
  transition:
    background 200ms ease,
    color 200ms ease;
}

.contact-accordion summary::-webkit-details-marker {
  display: none;
}

.contact-accordion summary::after {
  content: "+";
  float: right;
}

.contact-accordion[open] summary::after {
  content: "-";
}

.contact-accordion[open] summary {
  background: rgba(252, 229, 150, 0.28);
}

.contact-form {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 14px;
  padding: 20px 22px 22px;
}

.contact-form label {
  color: var(--muted);
  display: grid;
  font-size: 13px;
  font-weight: 900;
  gap: 7px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  outline: 0;
  padding: 13px 14px;
  width: 100%;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(146, 122, 50, 0.16);
}

.checkbox-row {
  align-items: start;
  display: flex !important;
  gap: 10px !important;
}

.checkbox-row input {
  margin-top: 2px;
  width: auto;
}

.checkbox-row a {
  color: var(--olive);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-message {
  color: var(--accent);
  font-size: 14px;
  font-weight: 900;
  margin: 0;
  min-height: 20px;
}

.site-footer {
  align-items: start;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 18px;
  padding: 34px 0 46px;
}

.footer-logo {
  height: auto;
  width: 132px;
}

.site-footer p {
  color: var(--muted);
  margin: 8px 0 0;
}

.footer-contact {
  display: grid;
  gap: 8px;
}

.footer-contact a {
  color: var(--accent);
  font-weight: 900;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.footer-legal a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
  color: var(--olive);
}

.legal-page {
  min-height: 72vh;
}

.legal-document {
  background: var(--surface);
  border: 1px solid rgba(146, 122, 50, 0.32);
  border-radius: var(--radius);
  box-shadow: 0 22px 60px rgba(146, 122, 50, 0.12);
  color: var(--ink);
  display: grid;
  gap: 20px;
  line-height: 1.7;
  padding: clamp(22px, 4vw, 42px);
}

.legal-document h2,
.legal-document h3 {
  color: var(--terracotta);
  font-family: "Chapaza", Georgia, serif;
  font-weight: 400;
  line-height: 1.08;
  margin: 0;
}

.legal-document h2 {
  font-size: clamp(28px, 5vw, 44px);
}

.legal-document h3 {
  font-size: clamp(22px, 3vw, 30px);
}

.legal-document p,
.legal-document li {
  color: var(--terracotta);
  margin: 0;
}

.legal-document ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 22px;
}

.admin-section {
  display: grid;
  min-height: calc(100vh - 96px);
  place-items: center;
}

.admin-card {
  background:
    radial-gradient(circle at 12% 0%, rgba(252, 229, 150, 0.22), transparent 34%),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 680px;
  padding: clamp(28px, 5vw, 54px);
}

.admin-card h1 {
  color: var(--terracotta);
  font-family: "Chapaza", Georgia, serif;
  font-size: clamp(42px, 8vw, 72px);
  font-weight: 400;
  line-height: 0.96;
  margin: 10px 0 18px;
}

.admin-card p {
  color: var(--olive);
  font-size: 17px;
  line-height: 1.55;
  margin: 0 0 24px;
}

.admin-card .admin-note {
  color: var(--muted);
  font-size: 13px;
  margin: 18px 0 0;
}

.empty-state {
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  font-weight: 800;
  padding: 28px;
  text-align: center;
}

.modal-backdrop {
  align-items: center;
  background: rgba(72, 61, 31, 0.56);
  display: none;
  inset: 0;
  justify-content: center;
  padding: 18px;
  position: fixed;
  z-index: 50;
}

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

.contact-modal {
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: 0 30px 90px rgba(87, 42, 27, 0.24);
  max-width: 540px;
  outline: 0;
  padding: 28px;
  position: relative;
  width: 100%;
}

.modal-close {
  align-items: center;
  background: var(--accent);
  border: 0;
  border-radius: 50%;
  color: var(--bg);
  cursor: pointer;
  display: inline-flex;
  font-size: 24px;
  height: 38px;
  justify-content: center;
  position: absolute;
  right: 18px;
  top: 18px;
  width: 38px;
}

.modal-close:hover,
.modal-close:focus-visible {
  background: var(--olive);
}

.contact-modal h2 {
  font-family: "Chapaza", Georgia, serif;
  font-size: clamp(30px, 6vw, 44px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  margin: 12px 44px 12px 0;
}

.contact-modal p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.cookie-banner {
  align-items: center;
  background: rgba(246, 240, 231, 0.96);
  border: 1px solid rgba(146, 122, 50, 0.38);
  border-radius: var(--radius);
  bottom: 18px;
  box-shadow: 0 22px 70px rgba(87, 42, 27, 0.16);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  left: 50%;
  max-width: min(860px, calc(100vw - 32px));
  padding: 18px;
  position: fixed;
  transform: translateX(-50%);
  transition:
    opacity 220ms ease,
    transform 220ms ease;
  width: 100%;
  z-index: 60;
}

.cookie-banner.is-hidden {
  opacity: 0;
  transform: translate(-50%, 16px);
}

.cookie-banner strong {
  color: var(--olive);
  display: block;
  font-weight: 900;
  margin-bottom: 4px;
}

.cookie-banner p {
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
}

.cookie-banner a {
  color: var(--olive);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-accept {
  background: var(--accent);
  color: var(--bg);
  flex: 0 0 auto;
}

.cookie-accept:hover,
.cookie-accept:focus-visible {
  background: var(--olive);
}

@media (min-width: 720px) {
  .main-nav {
    overflow: visible;
    padding-bottom: 0;
  }

  .hero {
    padding-top: 42px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    min-height: calc(100vh - 90px);
    place-items: center start;
  }

  .process-strip {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 30px;
  }

  .property-card {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
  }

  .featured-carousel .property-grid-featured {
    grid-template-columns: none;
  }

  .featured-nav {
    display: inline-flex;
  }

  .catalog-list .property-card {
    grid-template-columns: 0.82fr 1.18fr;
  }

  .property-carousel {
    aspect-ratio: 4 / 5;
    min-height: 0;
  }

  .catalog-list .property-carousel {
    min-height: 0;
  }

  .split-heading {
    align-items: end;
    grid-template-columns: 1fr 0.8fr;
  }

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

  .listings-section {
    padding-top: 10px;
  }

  .contact-layout {
    grid-template-columns: 0.82fr 1.18fr;
  }

  .site-footer {
    align-items: center;
    grid-template-columns: 1fr auto;
  }

  .footer-legal {
    grid-column: 1 / -1;
  }
}

@media (max-width: 719px) {
  :root {
    --container: min(calc(100vw - 32px), 1140px);
  }

  .site-header {
    gap: 8px;
    padding: 8px 12px;
  }

  .brand img {
    height: 42px;
  }

  .main-nav {
    flex: 1;
    gap: 7px;
    justify-content: space-between;
    max-width: 254px;
    overflow: visible;
    padding-bottom: 0;
  }

  .main-nav a {
    font-size: 11px;
    font-weight: 400;
  }

  .hero {
    background:
      linear-gradient(180deg, rgba(235, 227, 214, 0.96) 0%, rgba(235, 227, 214, 0.9) 52%, rgba(235, 227, 214, 0.86) 100%),
      url("assets/hero/uruguay-3d-map-hero.jpg");
    background-position: center, 78% center;
    background-size: cover, auto 100%;
    min-height: 0;
    padding: 30px 0 54px;
  }

  .hero::before {
    display: none;
  }

  .hero-content {
    align-content: start;
    min-height: 0;
  }

  .hero-copy {
    padding-top: 0;
  }

  .hero h1,
  .listings-hero h1 {
    font-size: clamp(29px, 8vw, 34px);
    line-height: 1.08;
  }

  .hero p {
    font-size: 15.5px;
    line-height: 1.5;
    margin-top: 20px;
    max-width: 350px;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 24px;
    max-width: 350px;
  }

  .section {
    padding: 56px 0;
  }

  .listings-hero {
    padding: 26px 0 34px;
  }

  .listings-section {
    padding-top: 0;
  }

  .listings-map-panel {
    margin-inline: -8px;
    padding: 14px;
  }

  .map-shell {
    height: 360px;
    min-height: unset;
  }

  .listings-map {
    height: 100%;
  }

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

  .section-heading h2,
  .contact-copy h2 {
    font-size: clamp(32px, 9vw, 40px);
  }

  .process-strip {
    display: flex;
    gap: 12px;
    margin-inline: -16px;
    overflow-x: auto;
    padding: 18px 16px 22px;
    scroll-padding-inline: 16px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .process-strip::-webkit-scrollbar {
    display: none;
  }

  .process-progress {
    display: none;
  }

  .process-item {
    flex: 0 0 min(82vw, 300px);
    min-height: 192px;
    scroll-snap-align: start;
  }

  .featured-carousel .property-grid-featured {
    margin-inline: -16px;
    padding-inline: 16px;
  }

  .featured-carousel .property-grid-featured .property-card {
    flex-basis: min(88vw, 360px);
  }

  .property-body {
    padding: 18px;
  }

  .property-body h3 {
    font-size: clamp(28px, 8.6vw, 34px);
  }

  .property-footer {
    align-items: stretch;
    display: grid;
    gap: 16px;
  }

  .contact-section {
    padding: 24px 16px;
    width: min(100vw - 16px, 1140px);
  }

  .button {
    width: 100%;
  }

  .site-footer {
    padding-left: 16px;
    padding-right: 16px;
    width: 100%;
  }

  .cookie-banner {
    align-items: stretch;
    display: grid;
    bottom: 10px;
    max-width: calc(100vw - 20px);
    padding: 14px;
  }
}

@media (max-width: 390px) {
  .site-header {
    gap: 8px;
    padding-inline: 12px;
  }

  .brand img {
    height: 39px;
  }

  .main-nav {
    gap: 6px;
  }

  .main-nav a {
    font-size: 10px;
  }

  .hero {
    background-position: center, 80% center;
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
