/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:        #f7f2e9;
  --bg-2:      #efe6d4;
  --paper:     #ffffff;
  --ink:       #1c1a17;
  --ink-soft:  #322e28;
  --ink-mute:  #75695a;
  --accent:    #a9895f;
  --accent-2:  #4d4740;
  --line:      rgba(28, 26, 23, 0.12);
  --line-soft: rgba(28, 26, 23, 0.07);
  --cream:     #fbf8f2;

  --serif: "Fraunces", "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:   cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --gutter: 1.5rem;
  --maxw: 1360px;
  --nav-h: 76px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
input, select, textarea { font: inherit; color: inherit; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.05; letter-spacing: -0.01em; font-family: var(--serif); font-weight: 500; }
ul { list-style: none; padding: 0; }
::selection { background: var(--accent); color: var(--cream); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .7rem 1.1rem; background: var(--ink); color: var(--cream);
  border-radius: 6px; font-weight: 500; font-size: .9rem;
  transition: top .3s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   3. Utilities
   ============================================================= */
.container { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); font-weight: 600;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--accent); }
.section { padding-block: clamp(4rem, 8vw, 7.5rem); position: relative; }
.section-head { max-width: 640px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); margin-top: .6rem; }
.section-head p { color: var(--ink-mute); font-size: 1.05rem; margin-top: 1rem; max-width: 52ch; }
.section-head.center p { margin-inline: auto; }
.section-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 2.5rem; flex-wrap: wrap; }

[data-reveal] {
  opacity: 0; transform: translateY(36px);
  transition: opacity .9s var(--ease-soft), transform .9s var(--ease-soft);
}
[data-reveal].is-revealed { opacity: 1; transform: none; }
[data-reveal-scale] { opacity: 0; transform: scale(1.06); transition: opacity 1s var(--ease-soft), transform 1.1s var(--ease-soft); }
[data-reveal-scale].is-revealed { opacity: 1; transform: scale(1); }

/* =============================================================
   4. Buttons
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.7rem; border-radius: 3px;
  font-size: .92rem; font-weight: 600; letter-spacing: .01em;
  white-space: nowrap;
  transition: transform .5s var(--ease-soft), box-shadow .5s var(--ease-soft), background-color .35s, color .35s, border-color .35s;
}
.btn-primary {
  background: var(--ink); color: var(--cream);
  box-shadow: 0 4px 14px rgba(28,26,23,.12);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 40px rgba(28,26,23,.22); }
.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn-outline-light { background: transparent; color: var(--cream); border: 1px solid rgba(251,248,242,.45); }
.btn-outline-light:hover { background: var(--cream); color: var(--ink); }
.btn-accent { background: var(--accent); color: var(--cream); }
.btn-accent:hover { transform: translateY(-3px); box-shadow: 0 20px 40px rgba(169,137,95,.35); }
.btn-sm { padding: .6rem 1.1rem; font-size: .82rem; }
.btn-block { width: 100%; }
.btn:active { transform: translateY(-1px); transition-duration: .12s; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .88rem; font-weight: 600; position: relative; padding-bottom: 2px;
}
.link-arrow::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.link-arrow:hover::after { transform: scaleX(1); transform-origin: left; }
.link-arrow svg { width: 14px; height: 14px; transition: transform .4s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(3px); }

/* =============================================================
   5. Navigation
   ============================================================= */
.nav {
  position: fixed; inset-inline: 0; top: 0; z-index: 200;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background-color .4s var(--ease-out), backdrop-filter .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav-inner { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.nav.is-scrolled, .nav.is-solid {
  background: rgba(247,242,233,.88);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-color: var(--line);
}
.nav-logo { font-family: var(--serif); font-size: 1.28rem; letter-spacing: .02em; font-weight: 600; }
.nav-logo span { color: var(--accent); }
.nav-links { display: none; align-items: center; gap: 2.1rem; }
.nav-link { font-size: .9rem; font-weight: 500; position: relative; padding-bottom: 3px; }
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-actions { display: flex; align-items: center; gap: .9rem; }
.nav-actions .btn { display: none; }
.nav-burger {
  display: grid; place-items: center; width: 42px; height: 42px;
  border: 1px solid var(--line); border-radius: 50%;
}
.nav-burger span { display: block; width: 16px; height: 1px; background: var(--ink); position: relative; }
.nav-burger span::before, .nav-burger span::after {
  content: ""; position: absolute; left: 0; width: 16px; height: 1px; background: var(--ink); transition: transform .3s;
}
.nav-burger span::before { top: -5px; }
.nav-burger span::after { top: 5px; }

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-actions .btn { display: inline-flex; }
  .nav-burger { display: none; }
}

.nav-mobile {
  position: fixed; inset: 0; z-index: 300;
  background: var(--ink); color: var(--cream);
  display: flex; flex-direction: column; justify-content: center; gap: .4rem;
  padding: 2rem var(--gutter);
  clip-path: inset(0 0 100% 0);
  transition: clip-path .6s var(--ease-soft);
}
.nav-mobile[data-open="true"] { clip-path: inset(0); }
.nav-mobile-close {
  position: absolute; top: 1.6rem; right: var(--gutter);
  width: 42px; height: 42px; border: 1px solid rgba(251,248,242,.3); border-radius: 50%;
  display: grid; place-items: center; font-size: 1.3rem;
}
.nav-mobile a { font-family: var(--serif); font-size: clamp(1.8rem, 8vw, 2.6rem); padding: .5rem 0; font-style: italic; }
.nav-mobile .btn { margin-top: 1.5rem; }

/* =============================================================
   6. Hero
   ============================================================= */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  padding-top: var(--nav-h); overflow: clip; isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(28,26,23,.16) 0%, rgba(28,26,23,.06) 32%, rgba(28,26,23,.4) 78%, rgba(28,26,23,.62) 100%);
}
.hero-inner { position: relative; z-index: 1; width: 100%; padding-block: clamp(3rem, 8vw, 5.5rem); }
.hero-kicker { color: var(--cream); opacity: .92; }
.hero-kicker::before { background: var(--cream); }
.hero-title {
  color: var(--cream); margin-top: 1.1rem;
  font-size: clamp(2.6rem, 6.4vw, 5.2rem);
  max-width: 16ch; text-wrap: balance;
}
.hero-title em { font-style: italic; color: var(--accent); }
.hero-sub {
  color: rgba(251,248,242,.86); font-size: 1.08rem; max-width: 46ch; margin-top: 1.3rem;
}
.hero-ctas { display: flex; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }

/* Search widget */
.search {
  margin-top: clamp(2.2rem, 5vw, 3.5rem);
  background: rgba(251,248,242,.94);
  backdrop-filter: blur(16px);
  border-radius: 10px;
  padding: 1.1rem;
  box-shadow: 0 30px 70px rgba(0,0,0,.28);
  display: grid; gap: .8rem;
}
.search-field { display: flex; flex-direction: column; gap: .3rem; }
.search-field label {
  font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); font-weight: 600;
}
.search-field select, .search-field input {
  border: 1px solid var(--line); border-radius: 5px; padding: .65rem .7rem;
  background: var(--paper); font-size: .92rem; color: var(--ink);
  transition: border-color .3s;
}
.search-field select:focus, .search-field input:focus { border-color: var(--accent); }
.search-grid { display: grid; grid-template-columns: 1fr; gap: .8rem; }
.search-submit { display: flex; }
@media (min-width: 720px) {
  .search { padding: 1.3rem; }
  .search-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .search { display: flex; align-items: end; gap: 1rem; padding: 1.1rem 1.3rem; border-radius: 100px; }
  .search-grid { display: flex; flex: 1; gap: 1.2rem; }
  .search-field { flex: 1; min-width: 0; }
  .search-field:not(:last-child) { border-right: 1px solid var(--line); padding-right: 1.2rem; }
}

/* =============================================================
   7. Bento featured properties
   ============================================================= */
.bento {
  display: grid; grid-template-columns: 1fr; gap: 1rem;
}
@media (min-width: 640px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) {
  .bento { grid-template-columns: repeat(12, 1fr); grid-auto-rows: 260px; }
  .bento .prop-card:nth-child(1) { grid-column: span 7; grid-row: span 2; }
  .bento .prop-card:nth-child(2) { grid-column: span 5; grid-row: span 1; }
  .bento .prop-card:nth-child(3) { grid-column: span 5; grid-row: span 1; }
  .bento .prop-card:nth-child(4) { grid-column: span 4; grid-row: span 1; }
  .bento .prop-card:nth-child(5) { grid-column: span 4; grid-row: span 1; }
  .bento .prop-card:nth-child(6) { grid-column: span 4; grid-row: span 1; }
}

.prop-card {
  position: relative; border-radius: 8px; overflow: hidden; isolation: isolate;
  display: block; height: 100%; min-height: 300px;
  transition: box-shadow .6s var(--ease-soft);
}
.prop-card-img { position: absolute; inset: 0; z-index: -1; }
.prop-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-soft), filter .6s; }
.prop-card::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, rgba(28,26,23,0) 40%, rgba(28,26,23,.78) 100%);
}
.prop-card:hover .prop-card-img img { transform: scale(1.09); filter: saturate(1.1) brightness(1.03); }
.prop-card:hover { box-shadow: 0 30px 60px rgba(28,26,23,.3); }
.prop-card-tag {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700;
  background: rgba(251,248,242,.92); color: var(--ink); padding: .4rem .7rem; border-radius: 100px;
}
.prop-card-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 1.3rem; color: var(--cream); }
.prop-card-loc { font-size: .78rem; letter-spacing: .04em; opacity: .85; margin-bottom: .25rem; }
.prop-card-name { font-size: 1.35rem; }
.prop-card-meta { display: flex; gap: 1rem; margin-top: .6rem; font-size: .8rem; opacity: .9; flex-wrap: wrap; }
.prop-card-price { font-size: 1.05rem; font-weight: 600; margin-top: .7rem; color: var(--cream); }
.prop-card:nth-child(1) .prop-card-name { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.prop-card:nth-child(1) .prop-card-body { padding: 1.8rem; }

/* =============================================================
   8. Zones
   ============================================================= */
.zones-grid { display: grid; grid-template-columns: 1fr; gap: 1.4rem; }
@media (min-width: 640px) { .zones-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .zones-grid { grid-template-columns: repeat(3, 1fr); } }
.zone-card { position: relative; border-radius: 8px; overflow: hidden; isolation: isolate; aspect-ratio: 4/5; }
.zone-card-img { position: absolute; inset: 0; z-index: -1; }
.zone-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-soft); }
.zone-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28,26,23,.05) 30%, rgba(28,26,23,.86) 100%); }
.zone-card:hover .zone-card-img img { transform: scale(1.08); }
.zone-card-body { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.6rem; color: var(--cream); }
.zone-card-count { font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.zone-card-name { font-size: 1.6rem; margin-top: .4rem; }
.zone-card-desc { font-size: .88rem; opacity: .88; margin-top: .5rem; max-width: 30ch; }
.zone-card-link { margin-top: 1rem; color: var(--cream); }

/* =============================================================
   9. About / stats
   ============================================================= */
.about { background: var(--paper); }
.about-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: start; }
@media (min-width: 960px) { .about-grid { grid-template-columns: .9fr 1.1fr; gap: 5rem; } }
.about-values { display: grid; gap: 1.6rem; margin-top: 2.2rem; }
.about-value { display: flex; gap: 1rem; }
.about-value-num { font-family: var(--serif); font-style: italic; color: var(--accent); font-size: 1.3rem; flex-shrink: 0; }
.about-value h4 { font-size: 1.05rem; font-family: var(--sans); font-weight: 600; }
.about-value p { color: var(--ink-mute); font-size: .92rem; margin-top: .3rem; }
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }
.stat-num { font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.8rem); color: var(--ink); }
.stat-num span { color: var(--accent); }
.stat-label { font-size: .82rem; color: var(--ink-mute); margin-top: .3rem; }

/* =============================================================
   10. Sell section
   ============================================================= */
.sell { position: relative; overflow: clip; color: var(--cream); isolation: isolate; }
.sell-bg { position: absolute; inset: 0; z-index: -2; }
.sell-bg img { width: 100%; height: 100%; object-fit: cover; }
.sell-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(28,26,23,.92) 34%, rgba(28,26,23,.6) 68%, rgba(28,26,23,.35) 100%); }
.sell-inner { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 960px) { .sell-inner { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.sell-head .eyebrow { color: var(--accent); }
.sell-head .eyebrow::before { background: var(--accent); }
.sell-head h2 { color: var(--cream); margin-top: .8rem; font-size: clamp(2rem, 4vw, 2.9rem); }
.sell-head p { color: rgba(251,248,242,.82); margin-top: 1.2rem; max-width: 44ch; }
.sell-head .btn { margin-top: 2rem; }
.sell-steps { display: grid; gap: 1.4rem; }
.sell-step { display: flex; gap: 1.1rem; padding-bottom: 1.4rem; border-bottom: 1px solid rgba(251,248,242,.14); }
.sell-step:last-child { border-bottom: 0; padding-bottom: 0; }
.sell-step-n { font-family: var(--serif); font-style: italic; color: var(--accent); font-size: 1.15rem; flex-shrink: 0; width: 2.2rem; }
.sell-step h4 { font-family: var(--sans); font-size: 1rem; font-weight: 600; color: var(--cream); }
.sell-step p { font-size: .88rem; color: rgba(251,248,242,.72); margin-top: .35rem; }

/* =============================================================
   11. Testimonials
   ============================================================= */
.testimonials-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
@media (min-width: 780px) { .testimonials-grid { grid-template-columns: repeat(2, 1fr); } }
.testimonial { background: var(--paper); padding: 2.2rem; display: flex; flex-direction: column; gap: 1.4rem; }
.testimonial-quote { font-family: var(--serif); font-style: italic; font-size: 1.2rem; line-height: 1.5; }
.testimonial-quote::before { content: "“"; color: var(--accent); }
.testimonial-quote::after { content: "”"; color: var(--accent); }
.testimonial-meta { display: flex; align-items: center; gap: .8rem; margin-top: auto; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; font-family: var(--serif); font-style: italic;
  background: var(--bg-2); color: var(--accent); font-size: .95rem; border: 1px solid var(--line);
}
.testimonial-name { font-size: .9rem; font-weight: 600; }
.testimonial-sub { font-size: .78rem; color: var(--ink-mute); }

/* =============================================================
   12. Promotion
   ============================================================= */
.promo { background: var(--bg-2); }
.promo-card { display: grid; grid-template-columns: 1fr; border-radius: 10px; overflow: hidden; background: var(--paper); box-shadow: 0 30px 80px rgba(28,26,23,.1); }
@media (min-width: 900px) { .promo-card { grid-template-columns: 1.1fr 1fr; } }
.promo-media { position: relative; min-height: 320px; }
.promo-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.promo-media-tag { position: absolute; top: 1.2rem; left: 1.2rem; background: var(--accent); color: var(--cream); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; padding: .45rem .8rem; border-radius: 100px; }
.promo-body { padding: clamp(1.8rem, 4vw, 3rem); display: flex; flex-direction: column; }
.promo-body h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.promo-loc { color: var(--ink-mute); font-size: .92rem; margin-top: .3rem; }
.promo-body p.promo-desc { color: var(--ink-mute); margin-top: 1.1rem; font-size: .96rem; }
.promo-facts { display: flex; gap: 1.6rem; margin-top: 1.4rem; flex-wrap: wrap; }
.promo-fact-num { font-family: var(--serif); font-size: 1.4rem; }
.promo-fact-label { font-size: .74rem; color: var(--ink-mute); text-transform: uppercase; letter-spacing: .05em; }
.promo-amenities { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem 1.2rem; margin-top: 1.4rem; }
.promo-amenities li { font-size: .86rem; color: var(--ink-soft); display: flex; align-items: center; gap: .5rem; }
.promo-amenities li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.promo-body .btn { margin-top: 1.8rem; align-self: flex-start; }
.promo-thumbs { display: flex; gap: .8rem; margin-top: 1.5rem; }
.promo-thumbs img { width: 72px; height: 72px; object-fit: cover; border-radius: 6px; }

/* =============================================================
   13. Map
   ============================================================= */
.map-shell { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 16/8; background: var(--bg-2); border: 1px solid var(--line); }
.map-svg { width: 100%; height: 100%; display: block; }
.map-pin { cursor: pointer; }
.map-pin circle { fill: var(--accent); transition: r .3s var(--ease-out); }
.map-pin:hover circle, .map-pin.is-active circle { r: 9; }
.map-pin text { font-size: 11px; font-family: var(--sans); font-weight: 600; fill: var(--ink); }
.map-tooltip {
  position: absolute; pointer-events: none; z-index: 5;
  background: var(--ink); color: var(--cream); font-size: .78rem;
  padding: .45rem .7rem; border-radius: 5px; opacity: 0; transform: translate(-50%, -12px);
  transition: opacity .25s, transform .25s; white-space: nowrap;
}
.map-tooltip.is-visible { opacity: 1; transform: translate(-50%, -18px); }

/* =============================================================
   14. Contact
   ============================================================= */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.contact-info-list { display: grid; gap: 1.6rem; margin-top: 2.2rem; }
.contact-info-item { display: flex; gap: 1rem; }
.contact-info-item .ico { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; flex-shrink: 0; }
.contact-info-item h4 { font-family: var(--sans); font-size: .95rem; font-weight: 600; }
.contact-info-item p, .contact-info-item a { font-size: .9rem; color: var(--ink-mute); }

.field { position: relative; margin-bottom: 1.2rem; }
.field input, .field textarea, .field select {
  width: 100%; padding: 1.3rem 1rem .6rem; border: 1px solid var(--line); border-radius: 5px;
  background: var(--paper); transition: border-color .3s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field label {
  position: absolute; left: 1rem; top: 1rem; pointer-events: none; color: var(--ink-mute);
  transition: all .25s var(--ease-out); font-size: .95rem;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field.has-value label {
  top: .45rem; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase;
}
.field-select label { position: static; display: block; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: .4rem; }
.field-radios { display: flex; gap: .7rem; flex-wrap: wrap; margin-bottom: 1.3rem; }
.field-radio { position: relative; }
.field-radio input { position: absolute; opacity: 0; }
.field-radio span {
  display: inline-flex; padding: .55rem 1rem; border: 1px solid var(--line); border-radius: 100px;
  font-size: .84rem; transition: all .25s;
}
.field-radio input:checked + span { background: var(--ink); color: var(--cream); border-color: var(--ink); }

.cta-form { position: relative; }
.cta-form.is-sent { opacity: 0; transform: translateY(-12px); pointer-events: none; position: absolute; inset: 0; }
.cta-submit { position: relative; }
.cta-form-spinner, .cta-form-check { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; pointer-events: none; }
.cta-form.is-sending .cta-form-label { opacity: 0; }
.cta-form.is-sending .cta-form-spinner { opacity: 1; }
.cta-form-spinner::after {
  content: ""; width: 16px; height: 16px; border: 1.5px solid rgba(251,248,242,.35); border-top-color: var(--cream);
  border-radius: 50%; animation: spin .9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.cta-success {
  padding: 2rem; text-align: center; border: 1px solid var(--line); border-radius: 8px;
  opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-soft);
}
.cta-success.is-visible { opacity: 1; transform: none; }
.cta-success h3 { font-size: 1.3rem; }
.cta-success p { color: var(--ink-mute); margin-top: .6rem; font-size: .92rem; }

/* =============================================================
   15. Final CTA
   ============================================================= */
.final-cta { position: relative; overflow: clip; isolation: isolate; color: var(--cream); }
.final-cta-bg { position: absolute; inset: 0; z-index: -2; background: var(--ink); }
.final-cta-bg::before {
  content: ""; position: absolute; inset: -20%; z-index: -1;
  background: radial-gradient(55% 55% at 30% 30%, rgba(169,137,95,.35), transparent 65%),
              radial-gradient(45% 45% at 80% 75%, rgba(169,137,95,.2), transparent 60%);
  filter: blur(60px);
}
.final-cta-inner { text-align: center; max-width: 720px; margin-inline: auto; }
.final-cta h2 { color: var(--cream); font-size: clamp(2.2rem, 5vw, 3.6rem); }
.final-cta p { color: rgba(251,248,242,.82); margin-top: 1.2rem; font-size: 1.08rem; }
.final-cta-ctas { display: flex; gap: 1rem; justify-content: center; margin-top: 2.2rem; flex-wrap: wrap; }

/* =============================================================
   16. Footer
   ============================================================= */
.footer { background: var(--ink); color: rgba(251,248,242,.78); padding-block: 4.5rem 2rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; } }
.footer-logo { font-family: var(--serif); font-size: 1.3rem; color: var(--cream); }
.footer-logo span { color: var(--accent); }
.footer-tagline { font-size: .88rem; margin-top: .8rem; max-width: 28ch; color: rgba(251,248,242,.6); }
.footer-social { display: flex; gap: .8rem; margin-top: 1.4rem; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(251,248,242,.2); display: grid; place-items: center; transition: border-color .3s, background .3s; }
.footer-social a:hover { background: rgba(251,248,242,.08); border-color: rgba(251,248,242,.4); }
.footer-col h5 { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cream); margin-bottom: 1rem; }
.footer-col ul { display: grid; gap: .65rem; }
.footer-col a { font-size: .88rem; }
.footer-col a:hover { color: var(--cream); }
.footer-bottom {
  margin-top: 3.5rem; padding-top: 1.8rem; border-top: 1px solid rgba(251,248,242,.12);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .78rem; color: rgba(251,248,242,.5);
}
.footer-bottom a { color: rgba(251,248,242,.5); }
.footer-bottom a:hover { color: var(--cream); }

/* =============================================================
   17. WhatsApp float
   ============================================================= */
.wa-float {
  position: fixed; bottom: 1.6rem; right: 1.6rem; z-index: 150;
  display: flex; align-items: center; gap: .6rem;
}
.wa-float-btn {
  width: 50px; height: 50px; border-radius: 50%; background: var(--ink); color: var(--cream);
  display: grid; place-items: center; box-shadow: 0 12px 30px rgba(28,26,23,.28);
  transition: transform .4s var(--ease-soft), background .3s;
}
.wa-float-btn:hover { transform: translateY(-3px) scale(1.04); background: var(--accent); }
.wa-tooltip {
  background: var(--paper); border: 1px solid var(--line); border-radius: 6px;
  padding: .55rem .85rem; font-size: .82rem; box-shadow: 0 10px 26px rgba(0,0,0,.1);
  opacity: 0; transform: translateX(8px); pointer-events: none;
  transition: opacity .3s, transform .3s;
}
.wa-float:hover .wa-tooltip { opacity: 1; transform: none; }

/* =============================================================
   18. Property listing (propiedades.html)
   ============================================================= */
.listing-hero { padding-top: calc(var(--nav-h) + 3rem); padding-bottom: 2.5rem; background: var(--paper); border-bottom: 1px solid var(--line); }
.listing-hero h1 { font-size: clamp(2rem, 4vw, 2.9rem); }
.listing-hero p { color: var(--ink-mute); margin-top: .8rem; max-width: 56ch; }

.filters {
  background: var(--paper); border-bottom: 1px solid var(--line);
  position: sticky; top: var(--nav-h); z-index: 90;
}
.filters-inner { display: flex; flex-wrap: wrap; align-items: end; gap: 1rem; padding-block: 1.2rem; }
.filters-inner .search-field { min-width: 140px; }
.filters-inner .search-field select, .filters-inner .search-field input { min-width: 100%; }
.filters-sort { margin-left: auto; display: flex; align-items: end; gap: .6rem; }

.listing-results { padding-block: 2.5rem 1rem; }
.listing-count { color: var(--ink-mute); font-size: .92rem; margin-bottom: 1.6rem; }
.listing-grid { display: grid; grid-template-columns: 1fr; gap: 1.8rem; }
@media (min-width: 640px) { .listing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1180px) { .listing-grid { grid-template-columns: repeat(3, 1fr); } }

.listing-card { border-radius: 8px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); transition: box-shadow .5s var(--ease-soft), transform .5s var(--ease-soft); display: flex; flex-direction: column; }
.listing-card:hover { box-shadow: 0 26px 55px rgba(28,26,23,.14); transform: translateY(-4px); }
.listing-card-media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.listing-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-soft); }
.listing-card:hover .listing-card-media img { transform: scale(1.08); }
.listing-card-tag {
  position: absolute; top: .9rem; left: .9rem; background: rgba(251,248,242,.94);
  font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 700;
  padding: .38rem .65rem; border-radius: 100px;
}
.listing-card-status {
  position: absolute; top: .9rem; right: .9rem; background: var(--ink); color: var(--cream);
  font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 700;
  padding: .38rem .65rem; border-radius: 100px;
}
.listing-card-body { padding: 1.3rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.listing-card-loc { font-size: .78rem; color: var(--ink-mute); }
.listing-card-name { font-size: 1.2rem; }
.listing-card-meta { display: flex; gap: 1rem; font-size: .82rem; color: var(--ink-mute); flex-wrap: wrap; }
.listing-card-price { margin-top: auto; padding-top: .7rem; font-size: 1.1rem; font-weight: 600; border-top: 1px solid var(--line-soft); }
.listing-empty { text-align: center; padding: 4rem 1rem; color: var(--ink-mute); }
.listing-pagination { display: flex; justify-content: center; gap: .5rem; margin-top: 3rem; }
.listing-pagination button {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); font-size: .85rem;
}
.listing-pagination button.is-active { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* =============================================================
   19. Property detail (propiedad.html)
   ============================================================= */
.pd-hero { padding-top: calc(var(--nav-h) + 2.2rem); background: var(--paper); }
.pd-breadcrumb { font-size: .82rem; color: var(--ink-mute); display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.pd-breadcrumb a:hover { color: var(--ink); }
.pd-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; margin-top: 1rem; flex-wrap: wrap; }
.pd-title { font-size: clamp(2rem, 4vw, 3rem); }
.pd-loc { color: var(--ink-mute); margin-top: .5rem; font-size: 1rem; }
.pd-price { font-size: clamp(1.6rem, 3vw, 2.2rem); font-family: var(--serif); white-space: nowrap; }
.pd-actions { display: flex; gap: .6rem; margin-top: 1.4rem; flex-wrap: wrap; }
.pd-icon-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: border-color .3s, background .3s; }
.pd-icon-btn:hover { border-color: var(--ink); }
.pd-icon-btn.is-active { background: var(--accent); border-color: var(--accent); color: var(--cream); }

.pd-gallery { margin-top: 2rem; display: grid; grid-template-columns: 1fr; grid-template-rows: repeat(2, 200px); gap: .5rem; border-radius: 10px; overflow: hidden; }
@media (min-width: 780px) {
  .pd-gallery { grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 220px); }
  .pd-gallery a:first-child { grid-column: span 2; grid-row: span 2; }
}
.pd-gallery a { position: relative; display: block; overflow: hidden; cursor: zoom-in; }
.pd-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-soft); }
.pd-gallery a:hover img { transform: scale(1.06); }
.pd-gallery-more {
  position: absolute; inset: 0; background: rgba(28,26,23,.5); color: var(--cream);
  display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: .9rem;
}

.pd-body { padding-block: clamp(3rem, 6vw, 5rem); }
.pd-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 980px) { .pd-grid { grid-template-columns: 1.6fr 1fr; gap: 4.5rem; } }
.pd-section { padding-block: 2.2rem; border-top: 1px solid var(--line); }
.pd-section:first-child { border-top: 0; padding-top: 0; }
.pd-section h2 { font-size: 1.5rem; margin-bottom: 1.1rem; }
.pd-desc { color: var(--ink-soft); font-size: 1.02rem; max-width: 62ch; }
.pd-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 1.5rem; }
@media (min-width: 540px) { .pd-facts { grid-template-columns: repeat(4, 1fr); } }
.pd-fact { padding: 1rem; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; text-align: center; }
.pd-fact-num { font-family: var(--serif); font-size: 1.4rem; }
.pd-fact-label { font-size: .74rem; color: var(--ink-mute); text-transform: uppercase; letter-spacing: .04em; margin-top: .3rem; }
.pd-amenities { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem 1.5rem; }
@media (min-width: 540px) { .pd-amenities { grid-template-columns: repeat(3, 1fr); } }
.pd-amenities li { font-size: .92rem; display: flex; align-items: center; gap: .55rem; color: var(--ink-soft); }
.pd-amenities li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.pd-energy { display: flex; gap: 1.4rem; align-items: center; flex-wrap: wrap; }
.pd-energy-badge {
  width: 56px; height: 56px; border-radius: 6px; background: var(--ink); color: var(--cream);
  display: grid; place-items: center; font-family: var(--serif); font-size: 1.4rem; flex-shrink: 0;
}
.pd-energy-meta { font-size: .88rem; color: var(--ink-mute); display: grid; gap: .2rem; }
.pd-map-shell { aspect-ratio: 16/9; border-radius: 8px; }

.pd-sidebar { position: sticky; top: calc(var(--nav-h) + 1.5rem); align-self: start; display: grid; gap: 1.2rem; }
.pd-agent-card { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 1.6rem; }
.pd-agent-card h3 { font-size: 1.1rem; margin-bottom: 1rem; }
.pd-agent-row { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.3rem; }
.pd-agent-avatar {
  width: 48px; height: 48px; border-radius: 50%; background: var(--bg-2); color: var(--accent);
  display: grid; place-items: center; font-family: var(--serif); font-style: italic; border: 1px solid var(--line);
}
.pd-agent-name { font-size: .92rem; font-weight: 600; }
.pd-agent-role { font-size: .78rem; color: var(--ink-mute); }
.pd-agent-card .field { margin-bottom: 1rem; }
.pd-agent-card .btn { margin-top: .3rem; }
.pd-visit-card { background: var(--bg-2); border-radius: 10px; padding: 1.6rem; }
.pd-visit-card h4 { font-size: 1rem; margin-bottom: .6rem; }
.pd-visit-card p { font-size: .86rem; color: var(--ink-mute); margin-bottom: 1rem; }

.pd-similar { background: var(--bg-2); }

/* =============================================================
   20. Lightbox
   ============================================================= */
.lightbox {
  position: fixed; inset: 0; z-index: 500; background: rgba(20,18,16,.96);
  display: none; align-items: center; justify-content: center; padding: 2rem;
}
.lightbox[data-open="true"] { display: flex; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 84vh; object-fit: contain; border-radius: 6px; }
.lightbox-close {
  position: absolute; top: 1.5rem; right: 1.5rem; width: 44px; height: 44px;
  border-radius: 50%; border: 1px solid rgba(251,248,242,.3); color: var(--cream); display: grid; place-items: center;
}
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(251,248,242,.3); color: var(--cream); display: grid; place-items: center;
}
.lightbox-prev { left: 1.5rem; } .lightbox-next { right: 1.5rem; }
.lightbox-caption { position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%); color: rgba(251,248,242,.7); font-size: .85rem; }

/* =============================================================
   21. Credits page
   ============================================================= */
.credits-page { padding-top: calc(var(--nav-h) + 3rem); padding-bottom: 5rem; }
.credits-list { display: grid; gap: .8rem; margin-top: 2rem; max-width: 760px; }
.credits-list li { font-size: .88rem; color: var(--ink-mute); padding-bottom: .8rem; border-bottom: 1px solid var(--line-soft); }
.credits-list a { text-decoration: underline; text-underline-offset: 2px; }

/* =============================================================
   22. Misc
   ============================================================= */
.divider-marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: 1.1rem; background: var(--paper); }
.marquee-track { display: inline-flex; gap: 2.5rem; white-space: nowrap; will-change: transform; }
.marquee-track span { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); }
.marquee-track span.dot { color: var(--accent); }

.splash {
  position: fixed; inset: 0; z-index: 999; background: var(--bg);
  display: grid; place-items: center; transition: opacity .8s, clip-path 1s;
  animation: splashSafety .01s 3.2s forwards;
}
.splash.is-out { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); }
@keyframes splashSafety { to { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); } }
.splash-logo { font-family: var(--serif); font-size: 1.6rem; letter-spacing: .02em; }
.splash-logo span { color: var(--accent); }

.cursor-scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 250; background: transparent; }
.cursor-scroll-progress span { display: block; height: 100%; background: var(--accent); transform-origin: 0 0; transform: scaleX(0); }

@media (prefers-reduced-motion: reduce) {
  .hero-bg img.ambient-on { animation: none; }
}
