:root {
  --night: #0a0b0d;
  --ivory: #faf8f4;
  --paper: #f3efe8;
  --palm: #1e3a2f;
  --palm-2: #2e5546;
  --brass: #b3915a;
  --brass-2: #cfb384;
  --ink: #1c1e22;
  --muted: #6f6a60;
  --line: #ded8cc;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.lead-shell { width: min(1180px, calc(100% - 44px)); margin: 0 auto; }
.lead-header { position: relative; z-index: 2; background: var(--night); color: #fff; }
.lead-nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.lead-brand { color: var(--ivory); font-family: var(--serif); font-size: 1.55rem; font-weight: 500; text-decoration: none; }
.lead-brand i { color: var(--brass-2); font-weight: 300; }
.lead-back { color: rgba(255,255,255,.72); font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.lead-main { min-height: calc(100vh - 78px); background: linear-gradient(105deg, rgba(8,13,11,.95) 0%, rgba(8,13,11,.88) 44%, rgba(8,13,11,.28) 100%), url("images/las-lomas-7br/22.jpeg") center / cover no-repeat; }
.lead-main.buyer-main { background-image: linear-gradient(105deg, rgba(8,13,11,.96) 0%, rgba(8,13,11,.9) 45%, rgba(8,13,11,.34) 100%), url("images/marina4br/14.jpeg"); }
.lead-layout { display: grid; grid-template-columns: minmax(0, .78fr) minmax(450px, .62fr); gap: 70px; align-items: start; padding: 80px 0 90px; }
.lead-copy { position: sticky; top: 40px; padding-top: 36px; color: var(--ivory); }
.lead-kicker { margin: 0 0 24px; color: var(--brass-2); font-size: .66rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; }
.lead-copy h1 { max-width: 740px; margin: 0; font-family: var(--serif); font-size: clamp(3.4rem, 7vw, 6.8rem); font-weight: 400; letter-spacing: -.045em; line-height: .91; }
.lead-copy h1 em { color: var(--brass-2); font-weight: 300; }
.lead-copy > p { max-width: 590px; margin: 28px 0 0; color: rgba(255,255,255,.72); font-size: 1rem; line-height: 1.75; }
.lead-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; max-width: 650px; margin-top: 48px; background: rgba(255,255,255,.17); }
.lead-fact { background: rgba(8,13,11,.7); padding: 18px 16px; }
.lead-fact b { display: block; color: var(--ivory); font-family: var(--serif); font-size: 1.08rem; font-weight: 450; }
.lead-fact span { display: block; margin-top: 4px; color: rgba(255,255,255,.48); font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; }
.lead-form-card { border: 1px solid rgba(255,255,255,.22); border-radius: 4px; background: rgba(250,248,244,.97); box-shadow: 0 30px 90px rgba(0,0,0,.32); padding: 38px; }
.form-progress { display: flex; gap: 7px; margin-bottom: 30px; }
.form-progress span { height: 3px; flex: 1; background: var(--line); }
.form-progress span:first-child { background: var(--brass); }
.lead-form-card h2 { margin: 0; font-family: var(--serif); font-size: 2rem; font-weight: 450; letter-spacing: -.02em; }
.form-intro { margin: 8px 0 28px; color: var(--muted); font-size: .82rem; line-height: 1.6; }
.form-section { border: 0; border-top: 1px solid var(--line); margin: 0; padding: 25px 0 8px; }
.form-section legend { padding: 0 10px 0 0; color: var(--palm); font-size: .65rem; font-weight: 750; letter-spacing: .15em; text-transform: uppercase; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.field { display: block; margin-bottom: 15px; }
.field.full { grid-column: 1 / -1; }
.field > span { display: block; margin-bottom: 7px; color: var(--muted); font-size: .68rem; font-weight: 650; letter-spacing: .07em; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; border: 1px solid var(--line); border-radius: 2px; background: #fff; color: var(--ink); font: inherit; font-size: .9rem; padding: 12px 13px; }
.field textarea { min-height: 90px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid rgba(179,145,90,.22); border-color: var(--brass); }
.field .error { border-color: #a94136; }
.field-error { min-height: 16px; margin: -7px 0 9px; color: #8d2e25; font-size: .68rem; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 17px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { min-height: 52px; display: flex; align-items: center; border: 1px solid var(--line); background: #fff; padding: 10px 12px; color: var(--muted); font-size: .78rem; cursor: pointer; }
.choice input:checked + span { border-color: var(--palm); background: #e8eee9; color: var(--palm); box-shadow: inset 0 0 0 1px var(--palm); }
.consent { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; margin: 5px 0 18px; color: var(--muted); font-size: .7rem; line-height: 1.5; }
.consent input { margin-top: 2px; accent-color: var(--palm); }
.lead-submit { width: 100%; min-height: 55px; border: 0; border-radius: 99px; background: var(--palm); color: #fff; cursor: pointer; font: 700 .74rem var(--sans); letter-spacing: .11em; text-transform: uppercase; transition: background .2s, transform .2s; }
.lead-submit:hover { background: var(--palm-2); transform: translateY(-1px); }
.lead-submit:disabled { cursor: wait; opacity: .7; }
.form-status { min-height: 18px; margin: 12px 0 0; font-size: .72rem; line-height: 1.5; text-align: center; }
.form-status.error { color: #8d2e25; }
.form-status.success { color: var(--palm); }
.form-note { margin: 13px 0 0; color: var(--muted); font-size: .66rem; line-height: 1.5; text-align: center; }
.lead-direct { margin: 22px 0 0; color: rgba(255,255,255,.58); font-size: .75rem; }
.lead-direct a { color: #fff; text-underline-offset: 4px; }

@media (max-width: 900px) {
  .lead-layout { grid-template-columns: 1fr; gap: 45px; padding-top: 45px; }
  .lead-copy { position: static; padding-top: 15px; }
  .lead-main { background-position: 58% center; }
}
@media (max-width: 560px) {
  .lead-shell { width: min(100% - 26px, 1180px); }
  .lead-nav { min-height: 68px; }
  .lead-back { font-size: .61rem; }
  .lead-layout { padding: 45px 0 60px; }
  .lead-copy h1 { font-size: clamp(3.25rem, 17vw, 5rem); }
  .lead-facts { grid-template-columns: 1fr; }
  .lead-form-card { padding: 26px 19px; }
  .field-grid, .choice-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
