:root {
  --bg-cream: #f7f1e8;
  --bg-sand: #f0dfc4;
  --brand-green: #1d6b52;
  --brand-forest: #124536;
  --brand-orange: #d46b2d;
  --text-main: #1c1f1f;
  --text-soft: #4d5658;
  --surface: #fffdfa;
  --line: #d9cdb8;
  --shadow: 0 18px 40px rgba(13, 45, 35, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at 12% 8%, rgba(212, 107, 45, 0.16), transparent 30%),
    radial-gradient(circle at 86% 16%, rgba(29, 107, 82, 0.2), transparent 34%),
    linear-gradient(180deg, var(--bg-cream) 0%, #f6efe4 35%, #f2ebdf 100%);
}

.page-shell {
  min-height: 100vh;
  overflow-x: clip;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.2rem;
  padding: 0.34rem 4vw;
  background: rgba(247, 241, 232, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(18, 69, 54, 0.1);
  animation: topbar-enter 0.42s ease both;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  color: var(--brand-forest);
  text-decoration: none;
  font-family: "Sora", sans-serif;
  font-weight: 700;
}

.brand-logo {
  display: block;
  width: 122px;
  height: auto;
  object-fit: contain;
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.26rem;
  border-radius: 999px;
  border: 1px solid rgba(18, 69, 54, 0.16);
  background: rgba(255, 253, 248, 0.8);
  box-shadow: 0 8px 20px rgba(13, 45, 35, 0.08);
}

.main-nav a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 600;
  padding: 0.38rem 0.92rem;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.main-nav a:hover {
  background: rgba(29, 107, 82, 0.14);
  color: var(--brand-forest);
  transform: translateY(-1px);
}

.main-nav .nav-current {
  background: linear-gradient(145deg, var(--brand-green), #0c503b);
  color: #fff;
  box-shadow: 0 6px 14px rgba(12, 80, 59, 0.28);
}

.cta-nav {
  text-decoration: none;
  padding: 0.56rem 0.92rem;
  border-radius: 999px;
  color: #fff;
  background: var(--brand-green);
  font-size: 0.88rem;
  font-weight: 600;
}

.topbar-actions {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.cta-nav-secondary {
  color: var(--brand-forest);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(18, 69, 54, 0.22);
}

.map-layout-wide {
  grid-template-columns: 1.65fr 1fr;
}

@keyframes topbar-enter {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

main {
  width: min(1180px, 92vw);
  margin: 0 auto;
  padding-bottom: 4.5rem;
}

section {
  margin-top: 3.4rem;
}

.hero {
  position: relative;
  padding: 4.6rem 3rem 3rem;
  background:
    linear-gradient(150deg, rgba(7, 32, 25, 0.6), rgba(7, 32, 25, 0.2)),
    linear-gradient(160deg, rgba(29, 107, 82, 0.12), rgba(212, 107, 45, 0.12)),
    url("../images/properties/hero-nova-terra.webp") center/cover no-repeat;
  border: 1px solid rgba(18, 69, 54, 0.16);
  border-radius: 2rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -10% -48% auto;
  width: 410px;
  height: 410px;
  border-radius: 55% 45% 63% 37%;
  background: linear-gradient(170deg, rgba(212, 107, 45, 0.34), rgba(29, 107, 82, 0.08));
  animation: floaty 8s ease-in-out infinite;
}

.eyebrow {
  margin: 0;
  color: var(--brand-green);
  letter-spacing: 0.1em;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.74rem;
}

.hero .eyebrow {
  color: #f5bf96;
}

.hero h1 {
  font-family: "Sora", sans-serif;
  max-width: 16ch;
  margin: 0.9rem 0 0.7rem;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.06;
  color: #f7f7f3;
}

.hero-copy {
  max-width: 64ch;
  margin: 0;
  color: rgba(247, 247, 243, 0.92);
  font-size: 1.05rem;
}

.hero-search {
  margin-top: 1.3rem;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 0.7rem;
  align-items: end;
}

.search-field {
  display: grid;
  gap: 0.32rem;
}

.search-step label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.field-hint {
  margin: 0;
  font-size: 0.74rem;
  color: rgba(247, 247, 243, 0.82);
}

.field-hint-light {
  color: var(--text-soft);
}

.step-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(247, 247, 243, 0.2);
  border: 1px solid rgba(247, 247, 243, 0.4);
  color: rgba(247, 247, 243, 0.95);
  font-size: 0.66rem;
  letter-spacing: 0.03em;
  padding: 0.1rem 0.45rem;
}

.search-field label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.hero .search-field label {
  color: rgba(247, 247, 243, 0.9);
}

.search-field input,
.search-field select {
  width: 100%;
  border: 1px solid rgba(18, 69, 54, 0.24);
  border-radius: 0.75rem;
  padding: 0.72rem 0.8rem;
  font-family: inherit;
  font-size: 0.95rem;
  background: #fffef9;
}

.search-field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(18, 69, 54, 0.65) 50%),
    linear-gradient(135deg, rgba(18, 69, 54, 0.65) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 3px),
    calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.2rem;
}

.search-field select[multiple] {
  appearance: auto;
  background-image: none;
  min-height: 120px;
  padding-right: 0.8rem;
}

.check-dropdown {
  position: relative;
}

.check-trigger {
  width: 100%;
  border: 1px solid rgba(18, 69, 54, 0.24);
  border-radius: 0.75rem;
  padding: 0.72rem 0.8rem;
  text-align: left;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-main);
  background: #fffef9;
  cursor: pointer;
}

.check-trigger::after {
  content: "v";
  float: right;
  color: rgba(18, 69, 54, 0.7);
}

.check-dropdown.open .check-trigger::after {
  content: "^";
}

.check-menu {
  position: absolute;
  top: calc(100% + 0.3rem);
  left: 0;
  right: 0;
  z-index: 50;
  display: none;
  background: #fffef9;
  border: 1px solid rgba(18, 69, 54, 0.22);
  border-radius: 0.75rem;
  padding: 0.45rem;
  max-height: 300px;
  overflow-y: auto;
  overflow-x: hidden;
  box-shadow: 0 14px 28px rgba(13, 45, 35, 0.15);
}

.check-dropdown.open .check-menu {
  display: block;
}

.check-menu #heroStateOptions,
.check-menu #catalogStateOptions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.12rem;
}

.check-option {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  align-items: center;
  column-gap: 0.28rem;
  width: 100%;
  padding: 0.38rem 0.34rem;
  font-size: 0.9rem;
  border-radius: 0.5rem;
  color: var(--text-main);
  text-transform: none;
  letter-spacing: normal;
  font-weight: 500;
}

.check-option:hover {
  background: rgba(29, 107, 82, 0.1);
}

.check-option-disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.check-option-disabled:hover {
  background: transparent;
}

.check-option-disabled span {
  color: #6f7677;
}

.check-option span {
  color: var(--text-main);
  text-transform: none;
  letter-spacing: normal;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.check-option input[type="checkbox"] {
  accent-color: var(--brand-green);
  margin: 0;
  width: 14px;
  height: 14px;
}

.check-option input[type="checkbox"]:disabled {
  accent-color: #aab3b4;
  cursor: not-allowed;
}

.check-trigger-light {
  background: #fffef9;
}

.check-menu-light {
  background: #fffef9;
}

.search-field input:disabled {
  cursor: not-allowed;
  color: rgba(77, 86, 88, 0.7);
  background: #f4f0e7;
}

.search-field select:disabled {
  cursor: not-allowed;
  color: rgba(77, 86, 88, 0.7);
  background: #f4f0e7;
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.6rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: none;
  border-radius: 0.9rem;
  padding: 0.8rem 1.2rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(145deg, var(--brand-green), #0c503b);
}

.btn-outline {
  color: var(--brand-forest);
  border: 1px solid rgba(18, 69, 54, 0.28);
  background: rgba(255, 255, 255, 0.72);
}

.btn-soft {
  color: #f7f7f3;
  border: 1px solid rgba(247, 247, 243, 0.4);
  background: rgba(12, 80, 59, 0.36);
}

.hero-metrics {
  margin-top: 2.1rem;
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero-metrics article {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0.95rem;
  padding: 1rem;
}

.hero-metrics h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 1.3rem;
}

.hero-metrics p {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.section-head {
  margin-bottom: 1rem;
}

.section-head h2 {
  margin: 0.5rem 0 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

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

.step-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.step-card span {
  font-family: "Sora", sans-serif;
  color: var(--brand-orange);
  font-weight: 700;
}

.step-card h3 {
  margin: 0.5rem 0 0.3rem;
  font-family: "Sora", sans-serif;
}

.step-card p {
  margin: 0;
  color: var(--text-soft);
}

.map-section {
  padding: 1.8rem;
  border-radius: 1.6rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(255, 250, 243, 0.93));
  border: 1px solid rgba(18, 69, 54, 0.14);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.chip {
  border: 1px solid rgba(18, 69, 54, 0.2);
  background: #fffcf7;
  color: var(--brand-forest);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

.chip.active {
  background: var(--brand-green);
  color: #fff;
}

.map-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1rem;
  align-items: start;
}

#map {
  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: 420px;
  border-radius: 1rem;
  border: 1px solid rgba(18, 69, 54, 0.16);
}

.listing-panel {
  position: relative;
  background: #fffefb;
  border: 1px solid rgba(18, 69, 54, 0.14);
  border-radius: 1rem;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.listing-panel h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
}

.property-list {
  margin-top: 0.7rem;
  display: grid;
  gap: 0.62rem;
  overflow-y: auto;
  min-height: 0;
  flex: 1;
  padding-right: 0.25rem;
}

.property-list.is-scrollable {
  scrollbar-width: thin;
  scrollbar-color: rgba(18, 69, 54, 0.55) rgba(18, 69, 54, 0.12);
}

.property-list.is-scrollable::-webkit-scrollbar {
  width: 10px;
}

.property-list.is-scrollable::-webkit-scrollbar-track {
  background: rgba(18, 69, 54, 0.1);
  border-radius: 999px;
}

.property-list.is-scrollable::-webkit-scrollbar-thumb {
  background: rgba(18, 69, 54, 0.55);
  border-radius: 999px;
  border: 2px solid rgba(255, 252, 246, 0.95);
}

.listing-panel.is-scrollable::after {
  content: "Desliza";
  position: absolute;
  right: 1rem;
  bottom: 0.7rem;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(18, 69, 54, 0.75);
  background: rgba(255, 252, 246, 0.92);
  border: 1px solid rgba(18, 69, 54, 0.2);
  border-radius: 999px;
  padding: 0.22rem 0.52rem;
  pointer-events: none;
}

.property-item {
  width: 100%;
  text-align: left;
  border: 1px solid rgba(18, 69, 54, 0.16);
  border-radius: 0.8rem;
  padding: 0.72rem;
  background: #fffcf6;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.property-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(12, 80, 59, 0.12);
}

.property-item h4 {
  margin: 0;
  font-size: 0.95rem;
  font-family: "Sora", sans-serif;
}

.property-item p {
  margin: 0.35rem 0 0;
  color: var(--text-soft);
  font-size: 0.86rem;
}

.price {
  color: var(--brand-green);
  font-weight: 800;
  margin-top: 0.4rem;
}

.finance-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1rem;
}

.finance-controls,
.finance-result {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.2rem;
}

.finance-controls label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand-forest);
}

.finance-controls input[type="range"] {
  width: 100%;
  margin: 0 0 1rem;
  accent-color: var(--brand-orange);
}

.enhanced-controls {
  display: grid;
  gap: 1rem;
}

.control-group {
  display: grid;
  gap: 0.45rem;
}

.control-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.control-head output {
  font-weight: 700;
  color: var(--brand-green);
  font-size: 0.9rem;
}

.control-note {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.88rem;
}

.enhanced-controls input[type="number"] {
  width: 100%;
  border: 1px solid rgba(18, 69, 54, 0.2);
  border-radius: 0.7rem;
  padding: 0.6rem 0.8rem;
  font-family: inherit;
  font-size: 0.95rem;
  background: #fffef9;
}

.finance-result p {
  margin: 0;
  color: var(--text-soft);
}

.finance-result h3 {
  margin: 0.4rem 0 1rem;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--brand-green);
}

.finance-result ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-soft);
  display: grid;
  gap: 0.55rem;
}

.signup-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.signup-info,
.signup-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.2rem;
}

.signup-info h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
}

.signup-info ul {
  margin: 0.8rem 0 0;
  padding-left: 1.1rem;
  color: var(--text-soft);
  display: grid;
  gap: 0.58rem;
}

.signup-form {
  display: grid;
  gap: 0.55rem;
}

.signup-form label {
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--brand-forest);
}

.signup-form input,
.signup-form select {
  width: 100%;
  border: 1px solid rgba(18, 69, 54, 0.2);
  border-radius: 0.7rem;
  padding: 0.72rem 0.8rem;
  font-family: inherit;
  font-size: 0.95rem;
  background: #fffef9;
}

.enterprise-card {
  background:
    linear-gradient(130deg, rgba(8, 40, 31, 0.92), rgba(8, 40, 31, 0.82)),
    radial-gradient(circle at 84% 18%, rgba(255, 231, 209, 0.14), transparent 35%),
    url("../images/properties/enterprise-b2b.webp") center/cover no-repeat;
  color: #f8f7f2;
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.enterprise-card .eyebrow {
  color: #f5bf96;
}

.enterprise-card h2 {
  margin: 0.55rem 0 0.7rem;
  font-family: "Sora", sans-serif;
}

.enterprise-card p {
  max-width: 72ch;
  color: rgba(248, 247, 242, 0.9);
}

.enterprise-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 1.2rem 0 1.35rem;
}

.enterprise-grid article {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.95rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.06);
}

.enterprise-grid h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
}

.enterprise-grid p {
  margin: 0.45rem 0 0;
  font-size: 0.92rem;
  color: rgba(248, 247, 242, 0.86);
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  padding: 1.2rem;
  display: grid;
  gap: 0.55rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: stretch;
}

.contact-visual {
  margin: 0;
  border-radius: 1.1rem;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  min-height: 100%;
}

.contact-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.contact-form label {
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--brand-forest);
}

.contact-form input,
.contact-form select {
  width: 100%;
  border: 1px solid rgba(18, 69, 54, 0.2);
  border-radius: 0.7rem;
  padding: 0.72rem 0.8rem;
  font-family: inherit;
  font-size: 0.95rem;
  background: #fffef9;
}

.footer {
  text-align: center;
  padding: 1rem 0 2rem;
  color: var(--text-soft);
  font-size: 0.85rem;
}

.catalog-hero {
  padding: 2.3rem 2rem;
  border-radius: 1.5rem;
  background: linear-gradient(145deg, rgba(29, 107, 82, 0.18), rgba(212, 107, 45, 0.14));
  border: 1px solid rgba(18, 69, 54, 0.16);
}

.catalog-hero h1 {
  margin: 0.65rem 0 0.6rem;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.catalog-hero p {
  margin: 0;
  color: var(--text-soft);
  max-width: 64ch;
}

.catalog-panel {
  padding: 1.6rem;
  border-radius: 1.3rem;
  background: rgba(255, 253, 248, 0.85);
  border: 1px solid rgba(18, 69, 54, 0.14);
}

.catalog-filter-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr auto auto;
  gap: 0.7rem;
  align-items: end;
}

.price-range-field {
  min-width: 260px;
}

.price-range-values {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-soft);
}

.price-range-sliders {
  display: grid;
  gap: 0.35rem;
}

.price-range-sliders input[type="range"] {
  width: 100%;
  margin: 0;
  accent-color: var(--brand-orange);
}

.catalog-summary p {
  margin: 1rem 0 0.8rem;
  color: var(--text-soft);
  font-weight: 700;
}

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

.catalog-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  background: #fffdf8;
  border: 1px solid rgba(18, 69, 54, 0.14);
  border-radius: 1rem;
  overflow: hidden;
  min-height: 170px;
}

.catalog-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalog-content {
  padding: 0.95rem 1rem;
  display: grid;
  gap: 0.48rem;
}

.catalog-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: center;
}

.catalog-city {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.88rem;
}

.catalog-region {
  border: 1px solid rgba(18, 69, 54, 0.2);
  border-radius: 999px;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--brand-forest);
  padding: 0.18rem 0.5rem;
  background: #fff7ea;
}

.catalog-content h3 {
  margin: 0;
  font-size: 1.03rem;
  font-family: "Sora", sans-serif;
}

.catalog-stats {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.86rem;
}

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

.catalog-price {
  margin: 0;
  color: var(--brand-green);
  font-size: 1rem;
  font-weight: 800;
}

.catalog-empty {
  background: #fffdfa;
  border: 1px solid rgba(18, 69, 54, 0.16);
  border-radius: 1rem;
  padding: 1rem;
}

.catalog-empty h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
}

.catalog-empty p {
  margin: 0.45rem 0 0;
  color: var(--text-soft);
}

.property-marker {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #fff !important;
  margin-left: -7px !important;
  margin-top: -7px !important;
  background: var(--brand-orange);
  box-shadow: 0 0 0 5px rgba(212, 107, 45, 0.2);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floaty {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(-18px, -16px) rotate(5deg);
  }
}

@media (max-width: 1040px) {
  .main-nav {
    display: none;
  }

  .topbar {
    grid-template-columns: 1fr auto;
  }

  .hero {
    padding: 3.3rem 1.5rem 2rem;
  }

  .steps-grid,
  .enterprise-grid,
  .signup-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-search,
  .catalog-filter-row {
    grid-template-columns: 1fr;
  }

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

  #map {
    min-height: 340px;
  }
}

@media (max-width: 700px) {
  .topbar {
    padding: 0.55rem 1rem;
    grid-template-columns: 1fr;
  }

  main {
    width: min(1180px, 95vw);
  }

  .hero h1 {
    max-width: 14ch;
  }

  .hero-metrics,
  .steps-grid,
  .enterprise-grid,
  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .topbar-actions {
    display: none;
  }

  .catalog-card {
    grid-template-columns: 1fr;
  }

.catalog-thumb {
    max-height: 220px;
  }
}

.hidden {
  display: none !important;
}

.modal-open {
  overflow: hidden;
}

.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  background: rgba(12, 32, 27, 0.62);
}

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

.lead-dialog {
  position: relative;
  width: min(540px, 100%);
  max-height: min(760px, 92vh);
  overflow: auto;
  padding: 1.6rem;
  border-radius: 1rem;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.lead-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(18, 69, 54, 0.18);
  border-radius: 999px;
  background: #fff;
  color: var(--brand-forest);
  cursor: pointer;
  font-weight: 800;
}

.lead-dialog h2,
.admin-form h2 {
  margin: 0.4rem 0 0.8rem;
  font-family: "Sora", sans-serif;
  color: var(--brand-forest);
}

.lead-property {
  margin: 0 0 1rem;
  color: var(--text-soft);
}

.lead-form,
.admin-form {
  display: grid;
  gap: 0.85rem;
}

.lead-form label,
.admin-form label {
  display: grid;
  gap: 0.34rem;
  color: var(--brand-forest);
  font-weight: 700;
}

.lead-form input,
.lead-form textarea,
.admin-form input,
.admin-form textarea,
.admin-form select,
.catalog-filter-row select {
  width: 100%;
  border: 1px solid rgba(18, 69, 54, 0.18);
  border-radius: 0.8rem;
  padding: 0.76rem 0.86rem;
  background: rgba(255, 253, 248, 0.94);
  color: var(--text-main);
  font: inherit;
}

.lead-feedback {
  min-height: 1.4rem;
  margin: 0;
  color: var(--brand-forest);
  font-weight: 700;
}

.featured-filter,
.admin-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  align-self: end;
  min-height: 48px;
  color: var(--brand-forest);
  font-weight: 700;
}

.featured-filter input,
.admin-checkbox input {
  width: 18px;
  height: 18px;
  accent-color: var(--brand-green);
}

.catalog-zone {
  margin: -0.2rem 0 0.35rem;
  color: var(--text-soft);
}

.admin-shell main {
  width: min(1380px, 94vw);
}

.admin-login-panel,
.admin-workspace,
.admin-form,
.admin-list {
  border: 1px solid rgba(18, 69, 54, 0.14);
  border-radius: 1rem;
  background: rgba(255, 253, 248, 0.88);
  box-shadow: var(--shadow);
}

.admin-login-panel {
  width: min(480px, 100%);
  margin: 2rem auto 0;
  padding: 1.2rem;
}

.admin-workspace {
  margin-top: 2rem;
  padding: 1rem;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 1rem;
}

.admin-form {
  padding: 1rem;
}

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

.admin-actions,
.admin-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.admin-side {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.admin-list {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  max-height: 760px;
  overflow: auto;
}

.admin-list-item {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 0.8rem;
  align-items: center;
  padding: 0.8rem;
  border: 1px solid rgba(18, 69, 54, 0.12);
  border-radius: 0.8rem;
  background: #fff;
}

.admin-list-item img {
  width: 92px;
  height: 72px;
  border-radius: 0.6rem;
  object-fit: cover;
}

.admin-list-item h3,
.admin-list-item p {
  margin: 0;
}

.admin-list-item p {
  color: var(--text-soft);
}

.admin-lead-item {
  grid-template-columns: 1fr auto;
}

.admin-logout {
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

@media (max-width: 1040px) {
  .admin-layout,
  .admin-form-grid {
    grid-template-columns: 1fr;
  }

  .admin-list-item {
    grid-template-columns: 72px 1fr;
  }

  .admin-row-actions {
    grid-column: 1 / -1;
  }
}

/* Premium polish pass: stable navigation, stronger hierarchy, and calmer motion. */
:root {
  --brand-gold: #b88a42;
  --shadow-soft: 0 10px 28px rgba(13, 45, 35, 0.09);
}

body {
  background: linear-gradient(180deg, rgba(247, 241, 232, 0.96), #f6efe4 38%, #f2ebdf 100%);
}

.topbar {
  min-height: 78px;
  padding: 0.5rem 4vw;
  gap: 1rem;
  background: rgba(247, 241, 232, 0.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(18, 69, 54, 0.05);
  animation: none;
}

.brand-logo {
  width: 124px;
  max-height: 58px;
}

.main-nav {
  white-space: nowrap;
  box-shadow: var(--shadow-soft);
}

.main-nav a {
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.main-nav a:hover {
  transform: none;
}

.cta-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.cta-nav:hover {
  background: var(--brand-forest);
}

.hero {
  min-height: calc(100svh - 116px);
  display: grid;
  align-content: end;
  padding: clamp(3.8rem, 7vw, 6.2rem) clamp(1.3rem, 4vw, 3.4rem) clamp(2rem, 4vw, 3.4rem);
  border-radius: 1.25rem;
  background:
    linear-gradient(90deg, rgba(6, 26, 21, 0.82) 0%, rgba(6, 26, 21, 0.58) 42%, rgba(6, 26, 21, 0.18) 100%),
    linear-gradient(0deg, rgba(6, 26, 21, 0.72), rgba(6, 26, 21, 0.08) 48%),
    url("../images/properties/hero-nova-terra.webp") center/cover no-repeat;
  box-shadow: 0 24px 60px rgba(13, 45, 35, 0.18);
}

.hero::before {
  display: none;
}

.hero h1 {
  max-width: 17ch;
  font-size: clamp(2.4rem, 5.4vw, 5.7rem);
  letter-spacing: 0;
}

.hero-copy {
  max-width: 58ch;
  font-size: clamp(1rem, 1.4vw, 1.14rem);
  line-height: 1.6;
}

.hero-search {
  width: min(880px, 100%);
  padding: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 1rem;
  background: rgba(255, 253, 248, 0.12);
  backdrop-filter: blur(10px);
}

.check-trigger::after {
  content: "";
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.28rem;
  border-right: 2px solid rgba(18, 69, 54, 0.7);
  border-bottom: 2px solid rgba(18, 69, 54, 0.7);
  transform: rotate(45deg);
  float: right;
  transition: transform 0.2s ease;
}

.check-dropdown.open .check-trigger::after {
  content: "";
  transform: rotate(225deg);
}

.btn {
  border-radius: 999px;
  min-height: 46px;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  box-shadow: 0 10px 22px rgba(12, 80, 59, 0.22);
}

.btn:hover {
  box-shadow: 0 12px 24px rgba(13, 45, 35, 0.13);
}

.hero-metrics {
  width: min(720px, 100%);
}

.hero-metrics article {
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.9);
}

.trust-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(2rem, 5vw, 4rem) 0;
}

.trust-band h2,
.advisory h2 {
  margin: 0.55rem 0 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  letter-spacing: 0;
  color: var(--brand-forest);
}

.trust-band p,
.advisory p {
  color: var(--text-soft);
  line-height: 1.65;
}

.trust-list {
  display: grid;
  border-top: 1px solid rgba(18, 69, 54, 0.16);
}

.trust-list article {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(18, 69, 54, 0.16);
}

.trust-list span {
  color: var(--brand-gold);
  font-family: "Sora", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.trust-list h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
  color: var(--brand-forest);
}

.trust-list p {
  margin: 0.35rem 0 0;
}

.advisory {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: stretch;
  padding: clamp(1rem, 2vw, 1.4rem);
  border-radius: 1.25rem;
  background: #0d2c24;
  color: #f8f4ec;
  overflow: hidden;
}

.advisory h2,
.advisory .eyebrow {
  color: #f8f4ec;
}

.advisory p {
  color: rgba(248, 244, 236, 0.82);
}

.advisory-copy {
  padding: clamp(1rem, 3vw, 2rem);
  align-self: center;
}

.advisory-media {
  min-height: 320px;
  border-radius: 0.9rem;
  background:
    linear-gradient(180deg, rgba(13, 44, 36, 0.08), rgba(13, 44, 36, 0.5)),
    url("../images/properties/contact-consultation.webp") center/cover no-repeat;
}

.map-section,
.catalog-panel {
  border-radius: 1.1rem;
  box-shadow: var(--shadow-soft);
}

.property-item:hover {
  transform: none;
}

.chip {
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.catalog-hero {
  border-radius: 1.25rem;
  background:
    linear-gradient(90deg, rgba(13, 44, 36, 0.9), rgba(13, 44, 36, 0.52)),
    url("../images/properties/enterprise-b2b.webp") center/cover no-repeat;
}

.catalog-hero h1,
.catalog-hero .eyebrow {
  color: #f8f4ec;
}

.catalog-hero p {
  color: rgba(248, 244, 236, 0.84);
}

.catalog-filter-row {
  grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr) minmax(140px, 0.8fr) minmax(140px, auto) minmax(260px, 1.2fr) auto auto;
}

.catalog-card {
  border-radius: 0.85rem;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.catalog-card:hover {
  border-color: rgba(18, 69, 54, 0.28);
  box-shadow: var(--shadow-soft);
}

.catalog-bottom {
  flex-wrap: wrap;
}

.reveal {
  transform: translateY(14px);
}

@media (max-width: 1040px) {
  .main-nav {
    display: flex;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .topbar {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0.65rem;
  }

  .brand,
  .topbar-actions,
  .main-nav {
    justify-self: center;
  }

  .hero {
    min-height: auto;
  }

  .trust-band,
  .advisory {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .topbar {
    padding: 0.65rem 1rem;
  }

  .brand-logo {
    width: 112px;
  }

  .main-nav {
    width: 100%;
    justify-content: flex-start;
    border-radius: 0.9rem;
  }

  .main-nav a {
    font-size: 0.9rem;
    padding: 0.4rem 0.78rem;
  }

  .hero h1 {
    max-width: 12ch;
  }

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

/* Navigation, filters, map legend, calculator, and shared footer refinements. */
.topbar {
  grid-template-columns: minmax(150px, 0.75fr) minmax(360px, auto) minmax(180px, 0.75fr);
}

.main-nav {
  min-height: 48px;
  min-width: min(520px, 100%);
  justify-content: center;
}

.main-nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
}

.topbar-actions {
  min-height: 48px;
}

.state-search {
  width: 100%;
  margin-bottom: 0.35rem;
  border: 1px solid rgba(18, 69, 54, 0.18);
  border-radius: 0.65rem;
  padding: 0.62rem 0.7rem;
  font: inherit;
  background: #fff;
  color: var(--text-main);
}

.check-option.hidden {
  display: none;
}

.chip-disabled,
.chip:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.type-filter-row {
  margin-top: -0.35rem;
}

.chip-terreno,
.property-type-badge.marker-terreno {
  border-color: rgba(29, 107, 82, 0.26);
}

.chip-casa,
.property-type-badge.marker-casa {
  border-color: rgba(54, 92, 160, 0.26);
}

.chip-industrial,
.property-type-badge.marker-industrial {
  border-color: rgba(91, 84, 74, 0.32);
}

.chip-departamento,
.property-type-badge.marker-departamento {
  border-color: rgba(184, 138, 66, 0.34);
}

.property-marker {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #fff !important;
  margin-left: -8px !important;
  margin-top: -8px !important;
  box-shadow: 0 0 0 5px rgba(18, 69, 54, 0.14);
}

.property-marker.marker-terreno,
.property-type-badge.marker-terreno {
  background: #1d6b52;
}

.property-marker.marker-casa,
.property-type-badge.marker-casa {
  background: #365ca0;
}

.property-marker.marker-departamento,
.property-type-badge.marker-departamento {
  background: #b88a42;
}

.property-marker.marker-industrial,
.property-type-badge.marker-industrial {
  background: #5b544a;
}

.property-marker.marker-default,
.property-type-badge.marker-default {
  background: var(--brand-orange);
}

.property-type-badge {
  display: inline-flex;
  width: max-content;
  align-items: center;
  border-radius: 999px;
  padding: 0.18rem 0.52rem;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.property-item .property-type-badge {
  margin-bottom: 0.45rem;
}

.catalog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

.catalog-actions .btn {
  min-height: 40px;
  padding: 0.64rem 0.86rem;
  font-size: 0.86rem;
}

.mortgage-dialog {
  width: min(820px, 100%);
}

.mortgage-tool {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.mortgage-wide,
.mortgage-timeline {
  grid-column: 1 / -1;
}

.mortgage-summary {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 0.75rem;
  margin: 1rem 0;
}

.mortgage-summary article {
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(29, 107, 82, 0.08);
  border: 1px solid rgba(18, 69, 54, 0.14);
}

.mortgage-summary-main {
  background: var(--brand-green) !important;
  color: #fff;
}

.mortgage-summary span {
  display: block;
  color: var(--text-soft);
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mortgage-summary-main span {
  color: rgba(255, 255, 255, 0.78);
}

.mortgage-summary strong {
  display: block;
  margin-top: 0.35rem;
  color: var(--brand-forest);
  font-family: "Sora", sans-serif;
  font-size: clamp(1.05rem, 2.2vw, 1.55rem);
}

.mortgage-summary-main strong {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.mortgage-tool label {
  display: grid;
  gap: 0.4rem;
  color: var(--brand-forest);
  font-weight: 800;
}

.mortgage-tool input[type="number"] {
  width: 100%;
  border: 1px solid rgba(18, 69, 54, 0.18);
  border-radius: 0.8rem;
  padding: 0.76rem 0.86rem;
  background: rgba(255, 253, 248, 0.94);
  color: var(--text-main);
  font: inherit;
}

.mortgage-tool input[type="range"] {
  width: 100%;
  accent-color: var(--brand-green);
}

.mortgage-tool label span {
  color: var(--text-soft);
  font-weight: 700;
}

.mortgage-timeline {
  padding: 0.9rem 1rem;
  border-radius: 0.9rem;
  background: rgba(184, 138, 66, 0.12);
  color: var(--brand-forest);
}

.mortgage-timeline p {
  margin: 0;
  line-height: 1.55;
}

.footer {
  margin-top: 4rem;
  padding: 0;
  text-align: left;
  background: #0d2c24;
  color: rgba(248, 244, 236, 0.8);
}

.footer-inner {
  width: min(1180px, 92vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.8fr;
  gap: 2rem;
  padding: 2.2rem 0;
}

.footer-brand img {
  width: 132px;
  filter: brightness(0) invert(1);
}

.footer-brand p,
.footer-contact p,
.footer-contact span {
  margin: 0.7rem 0 0;
  line-height: 1.6;
}

.footer-nav,
.footer-contact {
  display: grid;
  gap: 0.55rem;
  align-content: start;
}

.footer a {
  color: #f8f4ec;
  text-decoration: none;
  font-weight: 700;
}

.footer a:hover {
  color: #f5bf96;
}

.footer-bottom {
  width: min(1180px, 92vw);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0 1.4rem;
  border-top: 1px solid rgba(248, 244, 236, 0.14);
  font-size: 0.82rem;
}

@media (max-width: 1040px) {
  .topbar {
    grid-template-columns: 1fr;
  }

  .main-nav {
    min-width: 0;
    width: 100%;
  }

  .catalog-actions {
    justify-content: flex-start;
  }

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

@media (max-width: 700px) {
  .topbar-actions {
    display: flex;
    width: 100%;
    justify-content: center;
  }

  .main-nav {
    justify-content: flex-start;
  }

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

  .footer-bottom {
    flex-direction: column;
  }

  .mortgage-tool,
  .mortgage-summary {
    grid-template-columns: 1fr;
  }
}

/* Requested home split: text reads first, filters sit lower as their own control area. */
.hero {
  align-content: stretch;
  grid-template-rows: auto 1fr;
  gap: 0;
}

.hero-copy-block {
  position: relative;
  z-index: 1;
  align-self: start;
}

.hero-lower {
  position: relative;
  z-index: 2;
  align-self: end;
  display: grid;
  gap: 0.85rem;
}

.hero-search {
  margin-top: auto;
}

.hero-advisor-note {
  width: min(880px, 100%);
  margin: 0;
  padding: 0.8rem 0.95rem;
  border-radius: 0.85rem;
  color: #f8f4ec;
  background: rgba(54, 92, 160, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.btn-advisor {
  background: #365ca0 !important;
}

.catalog-filter-row > .search-field,
.catalog-filter-row > .featured-filter,
.catalog-filter-row > .btn {
  min-height: 92px;
}

.catalog-filter-row label,
.catalog-filter-row .field-hint {
  min-height: 1.2rem;
}

.price-range-field {
  min-width: 0;
}

.price-input-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.price-input-grid input {
  min-width: 0;
}

.catalog-explorer {
  display: grid;
  grid-template-columns: minmax(340px, 0.9fr) minmax(0, 1.25fr);
  gap: 1rem;
  align-items: start;
}

.catalog-map-panel {
  position: sticky;
  top: 98px;
  display: grid;
  gap: 0.7rem;
}

#catalogMap {
  width: 100%;
  min-height: 560px;
  border-radius: 1rem;
  border: 1px solid rgba(18, 69, 54, 0.16);
  overflow: hidden;
}

.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.9rem;
  padding: 0.75rem;
  border-radius: 0.85rem;
  background: rgba(255, 253, 248, 0.92);
  border: 1px solid rgba(18, 69, 54, 0.14);
  color: var(--text-soft);
  font-size: 0.86rem;
  font-weight: 700;
}

.map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.legend-dot {
  display: inline-block;
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 999px;
}

@media (max-width: 1040px) {
  .catalog-explorer {
    grid-template-columns: 1fr;
  }

  .catalog-map-panel {
    position: static;
  }

  #catalogMap {
    min-height: 380px;
  }
}

@media (max-width: 700px) {
  .hero {
    min-height: 760px;
  }

  .price-input-grid {
    grid-template-columns: 1fr;
  }
}

/* Home and map/list redesign inspired by the hi-fi reference. */
.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: clamp(2rem, 5vw, 4.8rem);
  align-items: center;
  min-height: calc(100svh - 118px);
  margin-top: 2rem;
}

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

.home-hero-copy .eyebrow {
  margin-bottom: 1.2rem;
}

.home-hero-copy h1 {
  margin: 0;
  max-width: 11ch;
  font-family: "Sora", sans-serif;
  font-size: clamp(3rem, 7vw, 6.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.home-hero-copy p {
  max-width: 58ch;
  margin: 1.25rem 0 0;
  color: var(--text-soft);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: 1.65;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.6rem;
}

.hero-carousel {
  position: relative;
  min-height: clamp(420px, 66vh, 680px);
  border-radius: 0.55rem;
  overflow: hidden;
  background: #e9dfcf;
  box-shadow: 0 24px 60px rgba(13, 45, 35, 0.18);
}

.hero-carousel-track,
.hero-slide,
.hero-carousel-placeholder {
  position: absolute;
  inset: 0;
}

.hero-slide {
  color: inherit;
  text-decoration: none;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity 0.7s ease, transform 1.1s ease;
  pointer-events: none;
}

.hero-slide.active {
  z-index: 1;
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.hero-slide:focus-visible {
  outline: 3px solid rgba(234, 217, 181, 0.9);
  outline-offset: -6px;
}

.hero-slide img,
.hero-carousel-placeholder img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-slide::after,
.hero-carousel-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(8, 35, 27, 0.72));
}

.hero-slide-copy,
.hero-carousel-placeholder div {
  position: absolute;
  z-index: 1;
  left: 1.1rem;
  right: 1.1rem;
  bottom: 1.1rem;
  color: #fffaf2;
}

.hero-slide-copy span,
.hero-carousel-placeholder span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.82;
}

.hero-slide-copy h3,
.hero-carousel-placeholder strong {
  display: block;
  margin: 0.35rem 0 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  line-height: 1.08;
}

.hero-slide-copy p {
  margin: 0.35rem 0 0;
  color: rgba(255, 250, 242, 0.86);
}

.hero-carousel-dots {
  position: absolute;
  z-index: 8;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  gap: 0.35rem;
}

.hero-carousel-dots button {
  width: 0.46rem;
  height: 0.46rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.hero-carousel-dots button.active {
  width: 1.3rem;
  background: #fff;
}

.hero-carousel-dots button:hover,
.hero-carousel-dots button:focus-visible {
  background: var(--nt-gold-soft, #ead9b5);
  transform: translateY(-1px);
}

.hero-carousel-controls {
  position: absolute;
  z-index: 8;
  inset: 50% 0 auto;
  display: flex;
  justify-content: space-between;
  padding: 0 0.85rem;
  pointer-events: none;
  transform: translateY(-50%);
}

.hero-carousel-arrow {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  color: #fffaf2;
  background: rgba(16, 22, 20, 0.42);
  backdrop-filter: blur(10px);
  cursor: pointer;
  font: inherit;
  font-size: 1.9rem;
  line-height: 1;
  pointer-events: auto;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.hero-carousel-arrow:hover,
.hero-carousel-arrow:focus-visible {
  background: rgba(18, 59, 48, 0.82);
  border-color: rgba(234, 217, 181, 0.76);
  transform: scale(1.04);
}

.home-search-section,
.weekly-section,
.zones-section,
.process-section {
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border-top: 1px solid rgba(18, 69, 54, 0.16);
}

.home-section-heading {
  display: grid;
  gap: 0.55rem;
  max-width: 720px;
}

.home-section-heading h2,
.section-row-head h2,
.process-section h2 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.65rem, 3.2vw, 2.6rem);
  line-height: 1.05;
}

.home-section-heading p {
  margin: 0;
  color: var(--text-soft);
}

.home-search-form {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(210px, 0.75fr) auto;
  gap: 0.75rem;
  align-items: end;
  margin-top: 1.3rem;
  padding: 0.85rem;
  border: 1px solid rgba(18, 69, 54, 0.14);
  border-radius: 1rem;
  background: rgba(255, 253, 248, 0.86);
}

.home-search-next {
  display: grid;
  grid-template-columns: auto minmax(260px, 1fr);
  align-items: center;
  gap: 0.9rem;
  min-height: 58px;
  margin-top: 0.85rem;
}

.hero-advisor-note {
  width: auto;
  min-height: 50px;
  margin: 0;
  padding: 0.75rem 0.9rem;
  border-radius: 0.85rem;
  color: #f8fbff;
  background: rgba(54, 92, 160, 0.92);
  border: 1px solid rgba(54, 92, 160, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.hero-advisor-note.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

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

.section-row-head .eyebrow {
  margin-bottom: 0.45rem;
}

.weekly-grid,
.zone-grid,
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.weekly-card,
.zone-card,
.process-grid article {
  min-width: 0;
}

.weekly-media,
.zone-card {
  position: relative;
  display: block;
  color: inherit;
  text-decoration: none;
}

.weekly-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 0.65rem;
  background: #e9dfcf;
}

.weekly-media img,
.zone-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.weekly-card:hover img,
.zone-card:hover img {
  transform: scale(1.035);
}

.weekly-media .property-type-badge {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
}

.weekly-copy {
  display: grid;
  gap: 0.36rem;
  padding-top: 0.85rem;
}

.weekly-copy p,
.weekly-copy span,
.zone-card p,
.process-grid p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.weekly-copy h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 1.08rem;
  line-height: 1.18;
}

.weekly-copy strong {
  color: var(--brand-green);
  font-size: 1.02rem;
}

.weekly-copy .btn {
  width: max-content;
  min-height: 38px;
  padding: 0.58rem 0.9rem;
  font-size: 0.84rem;
}

.zone-card {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 0.65rem;
  background: #e9dfcf;
}

.zone-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(8, 35, 27, 0.78));
}

.zone-card span,
.zone-card strong,
.zone-card p {
  position: absolute;
  z-index: 1;
  left: 1rem;
  right: 1rem;
  color: #fffaf2;
}

.zone-card span {
  bottom: 4.7rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.76;
}

.zone-card strong {
  bottom: 2.45rem;
  font-family: "Sora", sans-serif;
  font-size: 1.35rem;
  line-height: 1.1;
}

.zone-card p {
  bottom: 1rem;
  color: rgba(255, 250, 242, 0.82);
}

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

.process-grid article {
  border-top: 1px solid rgba(18, 69, 54, 0.55);
  padding-top: 1rem;
}

.process-grid span {
  display: block;
  margin-bottom: 1.5rem;
  color: var(--brand-orange);
  font-weight: 800;
}

.process-grid h3 {
  margin: 0 0 0.55rem;
  font-family: "Sora", sans-serif;
}

.home-map-section {
  border-radius: 0;
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(18, 69, 54, 0.16);
}

.home-map-section .map-layout {
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.85fr);
}

.home-map-section #map {
  aspect-ratio: 16 / 10;
}

.map-page-main {
  width: 100%;
  margin: 0;
  padding: 0;
}

.map-experience .footer {
  margin-top: 0;
}

.property-map-shell {
  position: relative;
  height: calc(100svh - 78px);
  min-height: 720px;
  margin: 0;
  overflow: hidden;
  background: #e9dfcf;
}

.property-map-background#catalogMap {
  position: absolute;
  inset: 0;
  width: 100%;
  min-height: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  z-index: 0;
}

.property-map-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(247, 241, 232, 0.5), transparent 34%),
    linear-gradient(180deg, rgba(247, 241, 232, 0.5), transparent 20%, rgba(247, 241, 232, 0.18));
}

.property-map-toolbar {
  position: absolute;
  z-index: 4;
  top: 1.1rem;
  right: 1.1rem;
  display: grid;
  gap: 0.7rem;
  justify-items: end;
  max-width: min(720px, calc(100% - 520px));
}

.map-type-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
}

.property-map-toolbar .chip,
.property-map-toolbar .map-legend {
  background: rgba(255, 253, 248, 0.88);
  backdrop-filter: blur(10px);
}

.map-legend.compact {
  width: max-content;
  max-width: 100%;
  box-shadow: 0 10px 24px rgba(13, 45, 35, 0.08);
}

.property-drawer {
  position: absolute;
  z-index: 5;
  top: 1rem;
  bottom: 1rem;
  left: 1rem;
  width: min(470px, calc(100% - 2rem));
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(18, 69, 54, 0.14);
  border-radius: 1rem;
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 24px 60px rgba(13, 45, 35, 0.18);
  backdrop-filter: blur(14px);
  transition: transform 0.24s ease, opacity 0.2s ease;
}

.property-drawer.is-collapsed {
  transform: translateX(calc(-100% - 1.3rem));
  opacity: 0;
  pointer-events: none;
}

.drawer-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.2rem;
  border-bottom: 1px solid rgba(18, 69, 54, 0.13);
}

.drawer-head h1 {
  margin: 0.25rem 0 0.25rem;
  font-family: "Sora", sans-serif;
  font-size: 1.6rem;
  line-height: 1;
}

.drawer-head span {
  display: block;
  color: var(--text-soft);
  font-size: 0.88rem;
}

.drawer-toggle {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(18, 69, 54, 0.16);
  border-radius: 999px;
  background: #fffaf2;
  color: var(--brand-forest);
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
}

.drawer-filter-form {
  display: grid;
  gap: 0.8rem;
  max-height: 42vh;
  overflow: auto;
  padding: 0.95rem 1.2rem;
  border-bottom: 1px solid rgba(18, 69, 54, 0.13);
}

.filter-mini-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 0.7rem;
}

.drawer-featured {
  min-height: 0;
}

.drawer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.drawer-actions .btn {
  min-height: 40px;
  padding: 0.62rem 0.9rem;
}

.drawer-property-list {
  display: grid;
  gap: 0.9rem;
  min-height: 0;
  overflow: auto;
  padding: 1rem 1.2rem 1.2rem;
}

.drawer-card {
  grid-template-columns: 128px minmax(0, 1fr);
  min-height: 156px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.drawer-card:hover {
  transform: translateY(-2px);
  border-color: rgba(18, 69, 54, 0.32);
  box-shadow: 0 12px 24px rgba(13, 45, 35, 0.1);
}

.drawer-card.is-focused {
  border-color: var(--nt-gold, #c7a66b);
  box-shadow:
    0 0 0 3px rgba(199, 166, 107, 0.22),
    0 18px 34px rgba(13, 45, 35, 0.16);
}

.drawer-card .catalog-content {
  padding: 0.75rem;
  gap: 0.34rem;
}

.drawer-card .catalog-meta {
  align-items: start;
}

.drawer-card h3 {
  font-size: 0.98rem;
}

.drawer-card .catalog-stats,
.drawer-card .catalog-zone {
  font-size: 0.82rem;
}

.drawer-card .catalog-bottom {
  align-items: end;
}

.drawer-card .catalog-actions .btn {
  min-height: 34px;
  padding: 0.48rem 0.66rem;
  font-size: 0.78rem;
}

.drawer-open-button {
  position: absolute;
  z-index: 6;
  top: 1.2rem;
  left: 1.2rem;
  min-height: 42px;
  border: 1px solid rgba(18, 69, 54, 0.18);
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  background: rgba(255, 253, 248, 0.92);
  color: var(--brand-forest);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 12px 28px rgba(13, 45, 35, 0.12);
}

.drawer-open-button.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.floating-contact {
  position: absolute;
  z-index: 6;
  right: 1.2rem;
  bottom: 1.2rem;
  display: grid;
  gap: 0.75rem;
}

.floating-chat,
.floating-whatsapp {
  width: 68px;
  height: 68px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 16px 32px rgba(13, 45, 35, 0.2);
}

.floating-chat {
  background: #151512;
}

.floating-whatsapp {
  background: #20c96f;
}

.map-contact-section {
  width: min(1180px, 92vw);
  margin: 3rem auto 0;
}

.redirect-page {
  width: min(720px, 92vw);
  margin: 12vh auto;
  padding: 2rem;
  border-radius: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
}

.redirect-page h1 {
  margin: 0.5rem 0;
  font-family: "Sora", sans-serif;
}

@media (max-width: 1120px) {
  .home-hero,
  .home-search-form,
  .home-map-section .map-layout {
    grid-template-columns: 1fr;
  }

  .hero-carousel {
    min-height: 420px;
  }

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

  .property-map-toolbar {
    max-width: calc(100% - 2rem);
    left: 1rem;
    right: 1rem;
    top: auto;
    bottom: 1rem;
    justify-items: start;
  }

  .floating-contact {
    right: 1rem;
    bottom: 7.2rem;
  }
}

@media (max-width: 760px) {
  .home-hero {
    min-height: auto;
    margin-top: 1.2rem;
  }

  .home-hero-copy h1 {
    max-width: 10ch;
    font-size: clamp(2.5rem, 15vw, 4.5rem);
  }

  .home-search-next,
  .filter-mini-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .weekly-grid,
  .zone-grid {
    grid-template-columns: 1fr;
  }

  .property-map-shell {
    height: calc(100svh - 148px);
    min-height: 760px;
  }

  .property-drawer {
    inset: 0.75rem;
    width: auto;
    border-radius: 0.9rem;
  }

  .drawer-filter-form {
    max-height: 46vh;
  }

  .drawer-card {
    grid-template-columns: 1fr;
  }

  .drawer-card .catalog-thumb {
    height: 170px;
  }

  .property-map-toolbar {
    display: none;
  }

  .floating-contact {
    right: 0.85rem;
    bottom: 0.85rem;
  }

  .floating-chat,
  .floating-whatsapp {
    width: 58px;
    height: 58px;
    font-size: 0.64rem;
  }
}

/* ============================================================
   Nova Terra redesign inspired by Altalia motion language
============================================================ */
:root {
  --nt-ink: #101614;
  --nt-ink-2: #17231f;
  --nt-forest: #123b30;
  --nt-green: #1f7458;
  --nt-gold: #c7a66b;
  --nt-gold-soft: #ead9b5;
  --nt-clay: #b9623d;
  --nt-paper: #fbf7ed;
  --nt-paper-2: #f3ead9;
  --nt-muted: #64706c;
  --nt-line: rgba(199, 166, 107, 0.34);
  --nt-glass: rgba(16, 22, 20, 0.76);
  --nt-card: rgba(255, 252, 244, 0.9);
  --nt-shadow: 0 28px 70px rgba(16, 22, 20, 0.22);
  --bg-cream: var(--nt-paper);
  --bg-sand: var(--nt-paper-2);
  --brand-green: var(--nt-green);
  --brand-forest: var(--nt-forest);
  --brand-orange: var(--nt-clay);
  --text-main: #17211d;
  --text-soft: var(--nt-muted);
  --surface: var(--nt-card);
  --line: rgba(22, 44, 37, 0.14);
  --shadow: var(--nt-shadow);
}

body {
  color: var(--text-main);
  background:
    linear-gradient(115deg, rgba(16, 22, 20, 0.05) 0 1px, transparent 1px 88px),
    linear-gradient(180deg, #fffaf0 0%, #f1e5d2 48%, #d6c5aa 100%);
  animation: pageFadeIn 0.42s ease both;
}

.page-shell {
  position: relative;
  isolation: isolate;
}

.page-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.38;
  background:
    repeating-linear-gradient(120deg, transparent 0 32px, rgba(18, 59, 48, 0.055) 33px 34px),
    linear-gradient(140deg, transparent 0 62%, rgba(199, 166, 107, 0.16) 62% 63%, transparent 63%);
}

@keyframes pageFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--nt-green), var(--nt-gold), var(--nt-clay));
  box-shadow: 0 0 18px rgba(199, 166, 107, 0.55);
  pointer-events: none;
}

.scroll-top-btn {
  position: fixed;
  left: 1.4rem;
  bottom: 1.4rem;
  z-index: 90;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(234, 217, 181, 0.44);
  border-radius: 999px;
  color: var(--nt-gold-soft);
  background: rgba(16, 22, 20, 0.82);
  box-shadow: 0 18px 36px rgba(16, 22, 20, 0.26);
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
}

.scroll-top-btn.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.scroll-top-btn:hover {
  border-color: var(--nt-gold);
}

.topbar {
  position: sticky;
  top: 0;
  background: rgba(251, 247, 237, 0.74);
  border-bottom: 1px solid rgba(18, 59, 48, 0.1);
  box-shadow: none;
  transition: background 0.28s ease, padding 0.28s ease, box-shadow 0.28s ease;
}

.topbar-scrolled {
  padding-block: 0.22rem;
  background: rgba(16, 22, 20, 0.88);
  box-shadow: 0 18px 44px rgba(16, 22, 20, 0.22);
}

.topbar-scrolled .main-nav,
.topbar-scrolled .cta-nav-secondary {
  background: rgba(255, 252, 244, 0.08);
  border-color: rgba(234, 217, 181, 0.22);
}

.topbar-scrolled .main-nav a,
.topbar-scrolled .cta-nav-secondary {
  color: rgba(255, 252, 244, 0.88);
}

.topbar-scrolled .brand-logo {
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.28));
}

.main-nav {
  border-radius: 999px;
  background: rgba(255, 252, 244, 0.76);
  backdrop-filter: blur(14px);
}

.main-nav a,
.cta-nav,
.btn {
  min-height: 42px;
  transition: transform 0.2s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.cta-nav,
.btn-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--nt-green), #0f4a39 55%, var(--nt-forest));
  box-shadow: 0 14px 30px rgba(18, 59, 48, 0.24);
}

.cta-nav::before,
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 -120%;
  width: 80%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.24), transparent);
  transform: skewX(-18deg);
  transition: left 0.7s ease;
}

.cta-nav:hover::before,
.btn-primary:hover::before {
  left: 130%;
}

.btn-outline,
.cta-nav-secondary {
  background: rgba(255, 252, 244, 0.72);
  border: 1px solid rgba(18, 59, 48, 0.2);
}

.btn-outline:hover,
.cta-nav-secondary:hover,
.chip:hover {
  border-color: var(--nt-gold);
  box-shadow: 0 12px 28px rgba(18, 59, 48, 0.12);
}

.split-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(32px);
  filter: blur(8px);
  transition: opacity 0.82s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.82s cubic-bezier(0.22, 1, 0.36, 1),
              filter 0.82s ease;
}

.split-word.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.reveal,
.reveal-up,
.reveal-left,
.reveal-right,
.reveal-scale,
.reveal-blur {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.78s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.78s cubic-bezier(0.22, 1, 0.36, 1),
              filter 0.78s ease;
}

.reveal-left { transform: translateX(-36px); }
.reveal-right { transform: translateX(36px); }
.reveal-scale { transform: scale(0.96); filter: blur(8px); }
.reveal-blur { transform: none; filter: blur(12px); }

.reveal.in-view,
.reveal-up.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible,
.reveal-scale.is-visible,
.reveal-blur.is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

main {
  width: min(1240px, 92vw);
}

.home-hero {
  position: relative;
  min-height: clamp(560px, calc(100svh - 128px), 680px);
  padding: clamp(1.4rem, 3vw, 2.8rem) clamp(2rem, 4vw, 4rem);
  border-radius: 0;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(16, 22, 20, 0.88) 0%, rgba(16, 22, 20, 0.58) 47%, rgba(16, 22, 20, 0.18) 100%),
    url("../images/properties/hero-nova-terra.webp") center/cover no-repeat;
  box-shadow: 0 32px 90px rgba(16, 22, 20, 0.28);
}

.home-hero::before,
.catalog-hero::before,
.advisory::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(135deg, transparent 0 58%, rgba(199, 166, 107, 0.2) 58% 58.5%, transparent 58.5%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 84px);
  animation: ntAmbient 16s ease-in-out infinite alternate;
}

.home-hero::after {
  content: "";
  position: absolute;
  right: min(5vw, 4rem);
  bottom: min(5vw, 4rem);
  z-index: -1;
  width: min(34vw, 360px);
  aspect-ratio: 1.6 / 1;
  border: 1px solid rgba(234, 217, 181, 0.34);
  clip-path: polygon(14% 0, 100% 0, 84% 100%, 0 100%);
  transform: rotate(-5deg);
  background: linear-gradient(135deg, rgba(234, 217, 181, 0.12), rgba(31, 116, 88, 0.1));
}

@keyframes ntAmbient {
  from { transform: translate3d(0, 0, 0) scale(1); opacity: 0.72; }
  to { transform: translate3d(1.4%, -1%, 0) scale(1.04); opacity: 1; }
}

.home-hero-copy {
  color: #fffaf0;
}

.home-hero-copy .eyebrow,
.catalog-hero .eyebrow,
.advisory .eyebrow {
  color: var(--nt-gold-soft);
}

.home-hero-copy h1,
.catalog-hero h1 {
  color: #fffaf0;
  text-shadow: 0 18px 50px rgba(0, 0, 0, 0.42);
}

.home-hero-copy h1 {
  max-width: 12ch;
  margin: 0.6rem 0 0.75rem;
  font-size: clamp(3.2rem, 6.4vw, 5.35rem);
  line-height: 0.98;
}

.home-hero-copy h1 .split-word {
  background: linear-gradient(180deg, #ffffff 18%, var(--nt-gold-soft) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.home-hero-copy p {
  color: rgba(255, 250, 240, 0.86);
}

.hero-carousel {
  border: 1px solid rgba(234, 217, 181, 0.28);
  border-radius: 1.2rem;
  background: rgba(16, 22, 20, 0.28);
  backdrop-filter: blur(10px);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.3);
}

.hero-slide::after,
.weekly-media::after,
.zone-card::after,
.catalog-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 46%, rgba(16, 22, 20, 0.72) 100%);
  opacity: 0;
  transition: opacity 0.42s ease;
  pointer-events: none;
}

.weekly-card:hover .weekly-media::after,
.zone-card:hover::after,
.catalog-card:hover .catalog-thumb::after {
  opacity: 1;
}

.hero-slide-copy {
  background: linear-gradient(180deg, transparent, rgba(16, 22, 20, 0.86));
}

.home-search-section,
.weekly-section,
.zones-section,
.map-section,
.process-section,
.finance,
.admin-login-panel,
.admin-workspace {
  position: relative;
  background: rgba(255, 252, 244, 0.72);
  border: 1px solid rgba(18, 59, 48, 0.12);
  box-shadow: 0 20px 54px rgba(18, 59, 48, 0.09);
  backdrop-filter: blur(12px);
}

.home-search-section,
.weekly-section,
.zones-section,
.process-section,
.finance,
.admin-login-panel,
.admin-workspace {
  padding: clamp(1.4rem, 3vw, 2.4rem);
  border-radius: 1.2rem;
}

.section-row-head h2,
.home-section-heading h2,
.process-section h2,
.advisory-copy h2,
.catalog-hero h1 {
  color: var(--nt-ink);
}

.section-row-head,
.home-section-heading {
  position: relative;
}

.section-row-head::after,
.home-section-heading::after {
  content: "";
  display: block;
  width: 72px;
  height: 2px;
  margin-top: 1rem;
  background: linear-gradient(90deg, transparent, var(--nt-gold), transparent);
}

.weekly-card,
.zone-card,
.process-grid article,
.catalog-card,
.admin-form,
.admin-list-item,
.finance-result,
.finance-controls,
.lead-dialog,
.mortgage-dialog {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(18, 59, 48, 0.12);
  background: rgba(255, 252, 244, 0.88);
  box-shadow: 0 18px 44px rgba(18, 59, 48, 0.1);
}

.weekly-card::before,
.zone-card::before,
.process-grid article::before,
.catalog-card::before,
.admin-form::before,
.finance-result::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 1;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, transparent 30%, rgba(199, 166, 107, 0.85), transparent 70%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.36s ease;
}

.weekly-card:hover::before,
.zone-card:hover::before,
.process-grid article:hover::before,
.catalog-card:hover::before,
.admin-form:hover::before,
.finance-result:hover::before {
  opacity: 1;
}

.weekly-card:hover,
.zone-card:hover,
.catalog-card:hover,
.process-grid article:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 72px rgba(16, 22, 20, 0.17);
}

.weekly-card,
.zone-card,
.catalog-card,
.process-grid article {
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.32s ease, border-color 0.32s ease;
}

.weekly-media,
.zone-card,
.catalog-thumb {
  position: relative;
}

.weekly-media img,
.zone-card img,
.catalog-thumb img,
.admin-list-item img {
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.weekly-card:hover img,
.zone-card:hover img,
.catalog-card:hover img {
  transform: scale(1.055);
}

.property-type-badge,
.chip.active,
.marker-terreno,
.marker-casa,
.marker-departamento,
.marker-industrial {
  box-shadow: 0 8px 18px rgba(16, 22, 20, 0.16);
}

.chip {
  border-radius: 999px;
  background: rgba(255, 252, 244, 0.78);
}

.chip.active {
  background: linear-gradient(135deg, var(--nt-green), var(--nt-forest));
}

.catalog-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 4.4rem);
  border: 1px solid rgba(234, 217, 181, 0.26);
  background:
    linear-gradient(100deg, rgba(16, 22, 20, 0.86), rgba(16, 22, 20, 0.52)),
    url("../images/properties/enterprise-b2b.webp") center/cover no-repeat;
  box-shadow: 0 30px 80px rgba(16, 22, 20, 0.22);
}

.catalog-hero p {
  color: rgba(255, 250, 240, 0.84);
}

.catalog-hero h1 {
  color: #fffaf0;
}

.property-map-shell {
  border: 1px solid rgba(234, 217, 181, 0.28);
  background: var(--nt-ink);
  box-shadow: 0 32px 80px rgba(16, 22, 20, 0.28);
}

.property-map-background {
  filter: saturate(0.88) contrast(0.96);
}

.property-drawer {
  background: rgba(255, 252, 244, 0.9);
  border-color: rgba(199, 166, 107, 0.36);
  backdrop-filter: blur(18px);
}

.property-map-toolbar,
.floating-chat,
.floating-whatsapp,
.drawer-open-button {
  backdrop-filter: blur(14px);
}

.floating-chat {
  background: linear-gradient(135deg, var(--nt-ink), #28332f);
}

.floating-whatsapp {
  background: linear-gradient(135deg, #1fbf72, #107c52);
}

.floating-chat,
.floating-whatsapp {
  position: relative;
}

.floating-chat::after,
.floating-whatsapp::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: inherit;
  animation: contactPulse 2.8s ease-out infinite;
}

@keyframes contactPulse {
  0% { transform: scale(0.94); opacity: 0.8; }
  70%, 100% { transform: scale(1.2); opacity: 0; }
}

.advisory {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 1.2rem;
  background:
    linear-gradient(120deg, rgba(16, 22, 20, 0.9), rgba(18, 59, 48, 0.72)),
    url("../images/properties/contact-consultation.webp") center/cover no-repeat;
}

.advisory-copy h2,
.advisory-copy p {
  color: #fffaf0;
}

.advisory-media {
  border: 1px solid rgba(234, 217, 181, 0.28);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.lead-modal {
  backdrop-filter: blur(10px);
}

.lead-dialog,
.mortgage-dialog {
  border-color: rgba(199, 166, 107, 0.38);
}

.finance-grid {
  align-items: stretch;
}

.finance-result {
  background:
    linear-gradient(145deg, rgba(18, 59, 48, 0.96), rgba(16, 22, 20, 0.92)),
    repeating-linear-gradient(135deg, transparent 0 28px, rgba(234, 217, 181, 0.06) 29px 30px);
  color: #fffaf0;
  border-color: rgba(234, 217, 181, 0.28);
}

.finance-result p,
.finance-result li {
  color: rgba(255, 250, 240, 0.78);
}

.finance-result h3 {
  color: var(--nt-gold-soft);
}

input[type="range"] {
  accent-color: var(--nt-green);
}

.search-field input,
.search-field select,
.check-trigger,
.admin-form input,
.admin-form select,
.admin-form textarea,
.lead-form input,
.lead-form textarea,
.finance-controls input {
  border-color: rgba(18, 59, 48, 0.16);
  background-color: rgba(255, 252, 244, 0.88);
}

.search-field input:focus,
.search-field select:focus,
.check-trigger:focus,
.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus,
.lead-form input:focus,
.lead-form textarea:focus,
.finance-controls input:focus {
  outline: 2px solid rgba(199, 166, 107, 0.5);
  outline-offset: 2px;
  border-color: var(--nt-gold);
}

.footer {
  width: min(1240px, 92vw);
  margin: 3rem auto 0;
  color: rgba(255, 250, 240, 0.78);
  background: linear-gradient(135deg, var(--nt-ink), var(--nt-forest));
  border: 1px solid rgba(234, 217, 181, 0.18);
  border-radius: 1.2rem 1.2rem 0 0;
}

.footer a,
.footer-brand p,
.footer-bottom {
  color: rgba(255, 250, 240, 0.78);
}

.footer a:hover {
  color: var(--nt-gold-soft);
}

.redirect-page {
  background: rgba(255, 252, 244, 0.86);
  box-shadow: var(--nt-shadow);
}

@media (max-width: 1120px) {
  .home-hero {
    min-height: auto;
  }

  .home-hero::after {
    width: 48vw;
  }

  .hero-carousel {
    min-height: 360px;
  }
}

@media (max-width: 760px) {
  main,
  .footer,
  .map-contact-section {
    width: min(100% - 1.25rem, 1240px);
  }

  .topbar {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0.55rem;
  }

  .main-nav {
    max-width: 100%;
    overflow-x: auto;
    justify-self: stretch;
  }

  .topbar-actions {
    display: none;
  }

  .home-hero {
    padding: 1.4rem;
  }

  .home-hero-copy h1 {
    max-width: 12ch;
  }

  .home-search-section,
  .weekly-section,
  .zones-section,
  .process-section,
  .finance,
  .admin-login-panel,
  .admin-workspace,
  .catalog-hero {
    border-radius: 0.9rem;
  }

  .scroll-top-btn {
    left: 0.85rem;
    bottom: 0.85rem;
  }
}

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

  .reveal,
  .reveal-up,
  .reveal-left,
  .reveal-right,
  .reveal-scale,
  .reveal-blur,
  .split-word {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}
