/* Sozo Land Systems: public landing page */
:root {
  --pine: #0d1a16; --canopy: #13251f; --moss: #1b3329; --rule: #2a4538;
  --paper: #f5f2e9; --paper-2: #ece8db; --ink: #15211c; --ink-soft: #52635a;
  --chalk: #eceae0; --muted: #93a79c;
  --brass: #d2a44e; --brass-deep: #8f6614; --brass-ink: #1d1605; --lake: #2f8f7b;
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --text: "Instrument Sans", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --wrap: 1240px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { font-family: var(--text); color: var(--ink); background: var(--paper); line-height: 1.6; -webkit-font-smoothing: antialiased; font-size: 1.03rem; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(var(--wrap), 100% - 2.4rem); margin-inline: auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.022em; line-height: 1.06; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 6px; }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; font-size: .88rem; font-weight: 600; color: var(--brass-deep); margin-bottom: .9rem; }
.eyebrow::before { content: ""; width: 1.6rem; height: 2px; background: currentColor; border-radius: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .9rem 1.5rem; border-radius: 12px; border: 1px solid transparent; font: inherit; font-weight: 600; font-size: .97rem; cursor: pointer; transition: transform .14s ease, background .16s ease, border-color .16s ease, color .16s ease; }
.btn:active { transform: translateY(1px); }
.btn-brass { background: var(--brass); color: var(--brass-ink); }
.btn-brass:hover { background: #e0b862; }
.btn-ghost { background: rgba(236, 234, 224, .1); color: var(--chalk); border-color: rgba(236, 234, 224, .28); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(236, 234, 224, .18); }
.btn-dark { background: var(--pine); color: var(--chalk); }
.btn-dark:hover { background: var(--moss); }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }

/* Navigation */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; padding: .9rem 0; transition: background .25s ease, box-shadow .25s ease, padding .25s ease; color: var(--chalk); }
.nav.solid { background: rgba(13, 26, 22, .92); backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(236, 234, 224, .08); padding: .6rem 0; }
.nav .wrap { display: flex; align-items: center; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand img { height: 78px; width: auto; transition: height .25s ease; }
.nav.solid .brand img { height: 58px; }
.foot-brand { display: inline-flex; align-items: center; gap: 1rem; }
.foot-brand img { height: 84px; width: auto; }
.links { display: flex; gap: .3rem; margin-left: auto; }
.links a { padding: .5rem .85rem; border-radius: 9px; font-weight: 500; font-size: .95rem; opacity: .88; transition: background .15s ease, opacity .15s ease; }
.links a:hover { background: rgba(236, 234, 224, .1); opacity: 1; }
.nav .btn { padding: .6rem 1.15rem; font-size: .92rem; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 11px; border: 1px solid rgba(236, 234, 224, .3); background: transparent; color: inherit; cursor: pointer; }
.burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; margin: auto; transition: transform .2s ease; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { top: 0; transform: rotate(45deg); }
.menu-open .burger span::after { top: 0; transform: rotate(-45deg); }

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; color: var(--chalk); isolation: isolate; overflow: hidden; background: #10201b; }
.hero-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 16, 13, .62) 0%, rgba(8, 16, 13, .25) 34%, rgba(8, 16, 13, .9) 100%), linear-gradient(90deg, rgba(8, 16, 13, .55), transparent 65%); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 3rem; align-items: end; padding-block: 9rem 4rem; }
.hero h1 { font-size: clamp(2.7rem, 6.6vw, 5.6rem); max-width: 13ch; text-shadow: 0 2px 40px rgba(0, 0, 0, .35); }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--brass); }
.hero p.lead { margin-top: 1.4rem; max-width: 50ch; font-size: 1.15rem; color: rgba(236, 234, 224, .88); }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-card { background: rgba(13, 26, 22, .66); border: 1px solid rgba(236, 234, 224, .18); backdrop-filter: blur(14px); border-radius: 20px; padding: 1.15rem; }
.hero-card .plan { border-radius: 12px; overflow: hidden; background: #10201b; }
.hero-card .plan svg { display: block; width: 100%; height: auto; }
.hero-card ul { list-style: none; display: grid; gap: .6rem; margin-top: 1rem; font-size: .92rem; }
.hero-card li { display: flex; align-items: center; gap: .6rem; }
.hero-card li::before { content: ""; width: .6rem; height: .6rem; border-radius: 3px; background: var(--brass); flex: none; }
.hero-card li:nth-child(2)::before { background: #54b6a0; }
.hero-card li:nth-child(3)::before { background: #6ca6d9; }
.credit { position: absolute; right: 1.2rem; bottom: .8rem; font-size: .72rem; color: rgba(236, 234, 224, .5); }

/* Sections */
section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.head { max-width: 640px; margin-bottom: clamp(2rem, 4vw, 3.4rem); }
.head h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
.head p { margin-top: 1rem; color: var(--ink-soft); }
.offer { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.offer article { padding: 2rem 1.8rem; background: #fff9; border: 1px solid #1521142a; border-radius: 22px; transition: transform .25s ease, box-shadow .25s ease; }
.offer article:hover { transform: translateY(-5px); box-shadow: 0 28px 50px -30px rgba(13, 26, 22, .5); }
.ico { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; background: var(--pine); color: var(--brass); margin-bottom: 1.4rem; }
.ico svg { width: 26px; height: 26px; }
.offer h3 { font-size: 1.55rem; margin-bottom: .6rem; }
.offer p { color: var(--ink-soft); font-size: .98rem; }

.dark { background: var(--pine); color: var(--chalk); }
.dark .head p { color: var(--muted); }
.dark .eyebrow { color: var(--brass); }
.estates { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.3rem; }
.estate { background: var(--canopy); border: 1px solid rgba(236, 234, 224, .1); border-radius: 22px; overflow: hidden; transition: transform .25s ease, border-color .25s ease; }
.estate:hover { transform: translateY(-5px); border-color: rgba(210, 164, 78, .55); }
.cover { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--moss); }
.cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.estate:hover .cover img { transform: scale(1.06); }
.cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(8, 16, 13, .85)); }
.cover .sk { position: absolute; z-index: 2; top: .8rem; right: .8rem; width: 96px; padding: 4px; border-radius: 10px; background: rgba(8, 16, 13, .7); border: 1px solid rgba(236, 234, 224, .2); backdrop-filter: blur(4px); }
.cover .sk svg { display: block; width: 100%; height: auto; }
.cover .where { position: absolute; z-index: 2; left: 1rem; bottom: .9rem; font-size: .88rem; display: flex; gap: .35rem; align-items: center; }
.cover .where svg { width: 15px; height: 15px; color: var(--brass); }
.estate .body { padding: 1.2rem 1.4rem 1.5rem; display: flex; justify-content: space-between; align-items: end; gap: 1rem; }
.estate h3 { font-size: 1.5rem; }
.estate .plots { text-align: right; font-size: .8rem; color: var(--muted); line-height: 1.2; }
.estate .plots b { display: block; font-family: var(--display); font-size: 1.5rem; color: var(--chalk); font-weight: 600; }

.houses { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.3rem; }
.house { background: #fffc; border: 1px solid #1521142a; border-radius: 22px; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.house:hover { transform: translateY(-5px); box-shadow: 0 28px 50px -30px rgba(13, 26, 22, .5); }
.house .pic { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.house .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.house:hover .pic img { transform: scale(1.06); }
.house .info { padding: 1.2rem 1.4rem 1.5rem; }
.house .price { font-family: var(--display); font-size: 1.6rem; font-weight: 600; letter-spacing: -.02em; }
.house .price small { font-family: var(--text); font-size: .78rem; color: var(--ink-soft); margin-right: .3rem; font-weight: 500; }
.house .loc { margin: .35rem 0 .9rem; color: var(--ink-soft); font-size: .95rem; }
.facts { display: flex; flex-wrap: wrap; gap: .45rem; }
.facts span { padding: .3rem .7rem; border-radius: 99px; background: var(--paper-2); font-size: .8rem; font-weight: 500; }

.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.steps li { list-style: none; position: relative; padding: 1.7rem 1.5rem 1.6rem; border-radius: 20px; background: rgba(236, 234, 224, .05); border: 1px solid rgba(236, 234, 224, .1); }
.steps li::before { counter-increment: s; content: counter(s, decimal-leading-zero); font-family: var(--display); font-size: 2.6rem; font-weight: 600; color: var(--brass); display: block; line-height: 1; margin-bottom: 1rem; }
.steps h3 { font-size: 1.3rem; margin-bottom: .5rem; font-family: var(--text); font-weight: 600; letter-spacing: -.01em; }
.steps p { color: var(--muted); font-size: .94rem; }

.trust { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.trust-img { position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--paper-2); }
.trust-img img { width: 100%; height: 100%; object-fit: cover; }
.points { display: grid; gap: 1.4rem; margin-top: 2rem; }
.points div { display: grid; grid-template-columns: 46px 1fr; gap: 1rem; }
.points .ico { width: 46px; height: 46px; border-radius: 13px; margin: 0; }
.points .ico svg { width: 22px; height: 22px; }
.points b { display: block; font-size: 1.08rem; }
.points p { color: var(--ink-soft); font-size: .96rem; }

.cta { background: linear-gradient(135deg, #17302a, #0d1a16); color: var(--chalk); border-radius: 30px; padding: clamp(2.2rem, 5vw, 4.2rem); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2.5rem; align-items: center; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(closest-side, rgba(210, 164, 78, .28), transparent); }
.cta h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
.cta p { margin-top: .9rem; color: var(--muted); max-width: 46ch; }
.contact { display: grid; gap: .8rem; position: relative; z-index: 1; }
.contact a, .contact div { display: flex; align-items: center; gap: .9rem; padding: 1rem 1.2rem; border-radius: 14px; background: rgba(236, 234, 224, .07); border: 1px solid rgba(236, 234, 224, .12); transition: background .15s ease; }
.contact a:hover { background: rgba(236, 234, 224, .13); }
.contact svg { width: 22px; height: 22px; color: var(--brass); flex: none; }
.contact small { display: block; font-size: .76rem; color: var(--muted); line-height: 1.2; }
.contact-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

footer { background: var(--pine); color: var(--muted); padding: 2.4rem 0; font-size: .9rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; align-items: center; }
footer nav { display: flex; gap: 1.4rem; flex-wrap: wrap; }
footer a:hover { color: var(--brass); }

/* Reveal on scroll */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2, .8, .2, 1), transform .7s cubic-bezier(.2, .8, .2, 1); }
.rv.in { opacity: 1; transform: none; }
.no-js .rv { opacity: 1; transform: none; }

@media (max-width: 1020px) {
  .hero .wrap { grid-template-columns: 1fr; padding-block: 8rem 3.5rem; }
  .hero-card { display: none; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .trust, .cta { grid-template-columns: 1fr; }
  .trust-img { aspect-ratio: 16 / 11; }
}
@media (max-width: 860px) {
  .burger { display: block; }
  .nav .btn { display: none; }
  .links { position: fixed; inset: 0 0 auto 0; top: 0; margin: 0; flex-direction: column; padding: 5.2rem 1.2rem 1.6rem; background: rgba(13, 26, 22, .98); backdrop-filter: blur(16px); transform: translateY(-105%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); z-index: -1; gap: .2rem; }
  .links a { padding: .9rem .6rem; font-size: 1.1rem; border-bottom: 1px solid rgba(236, 234, 224, .08); border-radius: 0; }
  .links .m-only { display: block; }
  .menu-open .links { transform: none; }
  .menu-open .nav, .nav.menu-open { background: rgba(13, 26, 22, .98); }
  .offer { grid-template-columns: 1fr; }
}
@media (min-width: 861px) { .links .m-only { display: none; } }
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1 1 100%; }
  .credit { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .rv { opacity: 1; transform: none; transition: none; } * { transition-duration: .001ms !important; } }

/* Estate files (PDF first page or image) as estate covers */
.cover.sz-doc { display: block; background: #f5f2e9; }
.sz-doc canvas, .sz-doc img.doc-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #fff; transition: transform .6s ease; }
.estate:hover .sz-doc canvas, .estate:hover .sz-doc img.doc-img { transform: scale(1.03); }
.sz-doc img.sz-doc-alt { display: none; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sz-doc.is-failed img.sz-doc-alt { display: block; }
.sz-doc.is-loading::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, transparent 20%, rgba(210, 164, 78, .25) 50%, transparent 80%); background-size: 220% 100%; animation: shim 1.3s linear infinite; }
@keyframes shim { from { background-position: 150% 0; } to { background-position: -50% 0; } }
.cover.sz-doc::after { background: linear-gradient(180deg, transparent 70%, rgba(8, 16, 13, .4)); pointer-events: none; }
.cover .where { padding: .3rem .75rem; border-radius: 99px; background: rgba(8, 16, 13, .74); backdrop-filter: blur(4px); }
.doc-tag { position: absolute; z-index: 3; top: .8rem; left: .8rem; padding: .35rem .8rem; border-radius: 99px; font-size: .78rem; font-weight: 600; background: var(--brass); color: var(--brass-ink); }
@media (max-width: 860px) { .brand img { height: 60px; } .nav.solid .brand img { height: 50px; } }
