:root {
  --black: #111111;
  --ink: #1a1a1a;
  --charcoal: #3a3a3a;
  --gold: #b08a2e;
  --gold-soft: #c9a44a;
  --gold-deep: #7a5a18;
  --white: #ffffff;
  --ivory: #faf7f0;
  --paper: #f5f0e6;
  --line: #ddd3c2;
  --muted: #6b6b6b;
  --danger: #982f2f;
  --shadow: 0 18px 48px rgba(17, 17, 17, 0.13);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

button,
input,
textarea {
  font: inherit;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 48px);
  background: rgba(17, 17, 17, 0.93);
  color: var(--white);
  border-bottom: 1px solid rgba(176, 138, 46, 0.22);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-logo {
  display: block;
  flex: 0 1 clamp(112px, 22vw, 154px);
  width: clamp(112px, 22vw, 154px);
  max-height: 44px;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.brand-copy span {
  color: rgba(250, 247, 240, 0.72);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

.brand-copy strong {
  overflow: hidden;
  color: var(--white);
  font-size: 0.98rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-whatsapp,
.site-footer button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(176, 138, 46, 0.52);
  background: transparent;
  color: var(--white);
  min-height: 42px;
  padding: 0 15px;
  border-radius: 8px;
  cursor: pointer;
}

.header-whatsapp:hover,
.site-footer button:hover {
  background: rgba(176, 138, 46, 0.12);
  border-color: var(--gold-soft);
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(88svh - 72px);
  overflow: hidden;
  isolation: isolate;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  z-index: -2;
  object-fit: cover;
  object-position: 58% center;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.91) 0%, rgba(17, 17, 17, 0.7) 42%, rgba(17, 17, 17, 0.25) 100%),
    linear-gradient(0deg, rgba(17, 17, 17, 0.42), rgba(122, 90, 24, 0.08));
}

.hero-content {
  width: min(100%, 760px);
  align-self: center;
  padding: 56px clamp(20px, 5vw, 64px) 72px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2.35rem, 12vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 660px;
  margin: 22px 0 0;
  color: rgba(250, 247, 240, 0.9);
  font-size: clamp(1rem, 2.6vw, 1.2rem);
}

.hero-warm {
  max-width: 650px;
  margin: 18px 0 0;
  color: rgba(250, 247, 240, 0.8);
  font-size: clamp(0.98rem, 2.4vw, 1.12rem);
}

.hero-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  cursor: pointer;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease,
    color 160ms ease;
}

.button:focus-visible,
.choice-control input:focus-visible + span,
.field-control:focus-visible,
.checkbox-control input:focus-visible + span::before {
  outline: 3px solid rgba(176, 138, 46, 0.36);
  outline-offset: 3px;
}

.button:active {
  transform: translateY(1px);
}

.button-primary {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
  box-shadow: 0 10px 24px rgba(122, 90, 24, 0.2);
}

.button-primary:hover {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
}

.button-secondary {
  background: rgba(250, 247, 240, 0.06);
  color: var(--white);
  border-color: rgba(250, 247, 240, 0.34);
}

.button-secondary:hover {
  background: rgba(176, 138, 46, 0.12);
  border-color: rgba(201, 164, 74, 0.78);
}

.button-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.button-ghost:hover {
  border-color: var(--gold-deep);
  background: rgba(176, 138, 46, 0.07);
}

.trust-section {
  padding: 18px clamp(18px, 4vw, 48px) 52px;
  background: var(--paper);
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 1160px;
  margin: 0 auto;
}

.trust-card {
  display: grid;
  gap: 14px;
  min-height: 132px;
  padding: 22px;
  background: var(--white);
  border: 1px solid rgba(176, 138, 46, 0.16);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(17, 17, 17, 0.055);
}

.trust-number {
  color: var(--gold-deep);
  font-size: 0.8rem;
  font-weight: 900;
}

.trust-card p {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 750;
}

.advice-section {
  scroll-margin-top: 90px;
  padding: 18px clamp(18px, 4vw, 48px) 72px;
  background:
    linear-gradient(180deg, var(--paper) 0%, #ede4d5 100%);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 24px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 8vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow) {
  max-width: 620px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2.4vw, 1.12rem);
}

.form-shell {
  max-width: 780px;
  margin: 0 auto;
}

.progress-area {
  margin-bottom: 12px;
  color: var(--muted);
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
  font-size: 0.88rem;
  font-weight: 800;
}

.progress-track {
  width: 100%;
  height: 9px;
  overflow: hidden;
  background: #ded5c4;
  border-radius: 999px;
}

.progress-bar {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold));
  border-radius: inherit;
  transition: width 220ms ease;
}

.question-card,
.finish-card {
  scroll-margin-top: 90px;
  background: var(--white);
  border: 1px solid rgba(176, 138, 46, 0.18);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.question-card {
  padding: clamp(20px, 4vw, 34px);
}

.finish-card {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 5vw, 42px);
}

.suggested-properties {
  display: grid;
  gap: 16px;
  margin-top: 8px;
}

.suggested-heading h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.2rem, 4.4vw, 2rem);
  line-height: 1.08;
}

.suggested-properties .property-grid {
  gap: 14px;
}

.question-kicker {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.question-title {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.55rem, 6vw, 2.45rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.question-help {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.open-field-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.group-fields {
  display: grid;
  gap: 22px;
  margin-top: 24px;
}

.group-field {
  display: grid;
  gap: 10px;
}

.group-label {
  margin: 0;
  color: var(--ink);
  font-weight: 850;
}

.group-help,
.multi-counter {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.group-field .choices,
.group-field .field-control,
.group-field .checkbox-control,
.group-field .open-field-note {
  margin-top: 0;
}

.choices,
.field-group {
  margin: 24px 0 0;
  padding: 0;
  border: 0;
}

.choices-grid {
  display: grid;
  gap: 10px;
}

.choice-control {
  display: block;
  cursor: pointer;
}

.choice-control input,
.checkbox-control input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-control span {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ivory);
  color: var(--ink);
  font-weight: 750;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    transform 160ms ease;
}

.choice-control:hover span {
  border-color: rgba(176, 138, 46, 0.58);
  background: #fffaf0;
}

.choice-control input:checked + span {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
  box-shadow: inset 4px 0 0 var(--gold);
}

.field-control {
  display: block;
  width: 100%;
  min-height: 58px;
  margin-top: 24px;
  padding: 15px 16px;
  background: var(--ivory);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.field-control:focus {
  background: var(--white);
  border-color: var(--gold);
}

textarea.field-control {
  min-height: 132px;
  resize: vertical;
}

.checkbox-control {
  display: block;
  margin-top: 24px;
  cursor: pointer;
}

.checkbox-control span {
  position: relative;
  display: block;
  padding-left: 42px;
  color: var(--ink);
  font-weight: 700;
}

.checkbox-control span::before {
  position: absolute;
  top: 2px;
  left: 0;
  width: 24px;
  height: 24px;
  border: 1px solid var(--gold-deep);
  border-radius: 6px;
  background: var(--ivory);
  content: "";
}

.checkbox-control span::after {
  position: absolute;
  top: 6px;
  left: 8px;
  width: 7px;
  height: 12px;
  border: solid var(--black);
  border-width: 0 3px 3px 0;
  content: "";
  opacity: 0;
  transform: rotate(45deg);
}

.checkbox-control input:checked + span::before {
  background: var(--gold);
}

.checkbox-control input:checked + span::after {
  opacity: 1;
}

.checkbox-control a {
  color: var(--gold-deep);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-error {
  margin: 16px 0 0;
  color: var(--danger);
  font-weight: 800;
}

.form-actions {
  justify-content: space-between;
  margin-top: 28px;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.form-actions .button {
  flex: 1 1 150px;
}

.finish-card h2 {
  margin: 0;
  font-size: clamp(1.8rem, 7vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.finish-card p:not(.eyebrow) {
  margin: 16px 0 24px;
  color: var(--muted);
  font-size: 1.05rem;
}

.inventory-section {
  padding: 68px clamp(18px, 4vw, 48px) 76px;
  background: var(--ivory);
}

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

.inventory-shell {
  width: min(100%, 1160px);
  margin: 0 auto;
}

.property-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.property-card {
  display: grid;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(176, 138, 46, 0.16);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(17, 17, 17, 0.075);
}

.property-media {
  position: relative;
  display: grid;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #f2eadb, #ffffff);
}

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

.property-image-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  padding: 18px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 850;
  text-align: center;
}

.property-image-placeholder[hidden] {
  display: none;
}

.property-main-image {
  grid-area: 1 / 1;
}

.property-thumbnails {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  display: flex;
  gap: 8px;
  pointer-events: none;
}

.property-thumbnail {
  width: 46px;
  height: 36px;
  overflow: hidden;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 6px;
  background: var(--white);
  cursor: pointer;
  pointer-events: auto;
}

.property-thumbnail.is-active {
  border-color: var(--gold);
}

.property-thumbnail-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-image-review {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.72);
  color: var(--white);
  font-size: 0.74rem;
  font-weight: 850;
}

.property-body {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.property-tags,
.property-metrics,
.property-features,
.property-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.property-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 9px;
  border: 1px solid rgba(176, 138, 46, 0.24);
  border-radius: 999px;
  background: #faf2e1;
  color: var(--gold-deep);
  font-size: 0.78rem;
  font-weight: 850;
}

.property-title {
  margin: 0;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.22;
}

.property-price {
  margin: 0;
  color: var(--black);
  font-size: 1.18rem;
  font-weight: 900;
}

.property-location {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.property-metric,
.property-feature {
  color: var(--charcoal);
  font-size: 0.88rem;
  font-weight: 750;
}

.property-feature {
  color: var(--muted);
}

.property-actions {
  margin-top: 4px;
}

.property-actions .button {
  flex: 1 1 150px;
  min-height: 46px;
  padding: 0 14px;
}

.button-disabled,
.button-disabled:hover {
  background: #eee6d8;
  color: var(--muted);
  border-color: #ddd3c2;
  box-shadow: none;
  cursor: not-allowed;
}

.inventory-empty {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 5vw, 34px);
  background: var(--white);
  border: 1px solid rgba(176, 138, 46, 0.18);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.inventory-empty p,
.inventory-disclaimer {
  margin: 0;
  color: var(--muted);
}

.inventory-empty .button {
  width: fit-content;
}

.inventory-disclaimer {
  margin-top: 18px;
  font-size: 0.92rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 28px clamp(18px, 4vw, 48px);
  background: var(--black);
  color: rgba(250, 247, 240, 0.76);
}

.site-footer p {
  margin: 0;
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}

.footer-actions a {
  color: rgba(250, 247, 240, 0.78);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

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

.privacy-main {
  background: var(--paper);
}

.privacy-hero {
  padding: 58px clamp(20px, 5vw, 64px) 38px;
  background:
    linear-gradient(115deg, rgba(17, 17, 17, 0.96), rgba(17, 17, 17, 0.84)),
    url("assets/hero-real-estate.png") center / cover;
  color: var(--white);
}

.privacy-hero-content {
  width: min(100%, 920px);
}

.privacy-hero h1 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(2.3rem, 10vw, 4.8rem);
  line-height: 1;
}

.privacy-hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 18px 0 0;
  color: rgba(250, 247, 240, 0.84);
  font-size: clamp(1rem, 2.5vw, 1.18rem);
}

.privacy-content {
  width: min(100% - 36px, 920px);
  margin: 0 auto;
  padding: 42px 0 72px;
}

.privacy-card {
  display: grid;
  gap: 24px;
  padding: clamp(22px, 5vw, 44px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.privacy-section {
  display: grid;
  gap: 10px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.privacy-section:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.privacy-section h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.25rem, 4vw, 1.7rem);
  line-height: 1.2;
}

.privacy-section h3 {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.3;
}

.privacy-section p,
.privacy-section li {
  margin: 0;
  color: var(--muted);
}

.privacy-section ul,
.privacy-section ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.privacy-placeholder {
  border-left: 4px solid var(--gold);
  padding: 14px 16px;
  background: #faf2e1;
  color: var(--ink);
  font-weight: 700;
}

.privacy-back {
  width: fit-content;
}

.noscript-message {
  margin: 0;
  padding: 16px;
  background: var(--danger);
  color: var(--white);
  text-align: center;
}

[hidden] {
  display: none !important;
}

@media (min-width: 720px) {
  .hero {
    min-height: calc(90svh - 72px);
  }

  .hero-content {
    padding-top: 80px;
    padding-bottom: 88px;
  }

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

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

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

  .choice-control span {
    min-height: 68px;
  }
}

@media (max-width: 430px) {
  .brand {
    gap: 10px;
  }

  .brand-logo {
    flex-basis: 82px;
    width: 82px;
    max-height: 26px;
  }

  .brand-copy span {
    display: none;
  }

  .header-whatsapp {
    min-height: 40px;
    padding: 0 12px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-content {
    padding-top: 46px;
  }

  .form-actions {
    gap: 10px;
  }
}
