:root {
  --pri: #0f1e2e;
  --acc: #c8a24a;
  --acc-ink: #111;
  --acc-on-light: var(--acc); /* acento para texto sobre fondo claro */
  --em-mark: none;            /* resaltador opcional bajo las palabras en cursiva */
  --ink: #15202b;
  --muted: #5d6b78;
  --line: #e4e8ec;
  --bg: #ffffff;
  --soft: #f5f3ef;
  --radius: 18px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: var(--sans); color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; cursor: pointer; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }

.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--acc-on-light); margin-bottom: 12px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; letter-spacing: -.01em; }
h2 { font-size: clamp(32px, 5vw, 52px); }
h2 em, h1 em { font-style: italic; color: var(--acc-on-light); background-image: var(--em-mark); padding: 0 .06em; }
.hero em, .section-dark em, .valuation em, .section-dark .eyebrow, .valuation .eyebrow { color: var(--acc); background-image: none; }
.lead { font-size: 17px; color: var(--muted); max-width: 54ch; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 999px; font-weight: 700; font-size: 15px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-accent { background: var(--acc); color: var(--acc-ink); box-shadow: 0 10px 30px -10px var(--acc); }
.btn-accent:hover { box-shadow: 0 16px 40px -12px var(--acc); }
.btn-dark { background: var(--pri); color: #fff; }
.btn-block { width: 100%; }

/* progress */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; background: var(--acc); transform-origin: 0 50%; transform: scaleX(0); z-index: 100; }

/* nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .4s, box-shadow .4s, padding .4s; padding: 18px 0; color: #fff; }
.nav.solid { background: rgba(255, 255, 255, .86); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 var(--line); padding: 10px 0; color: var(--ink); }
.nav-in { display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 22px; line-height: 1; }
.brand img { height: 44px; width: auto; transition: filter .4s; }
.nav:not(.solid) .brand img.invert { filter: brightness(0) invert(1); }
.brand-mark { width: 40px; height: 40px; border-radius: 12px; background: var(--acc); color: var(--acc-ink); display: grid; place-items: center; font-size: 20px; }
.links { display: flex; gap: 26px; margin-left: auto; font-weight: 600; font-size: 14.5px; }
.links a { position: relative; padding: 6px 0; }
.links a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--acc); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { padding: 11px 20px; font-size: 14px; }
.burger { display: none; width: 44px; height: 44px; margin-left: auto; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.nav.open .burger span:first-child { top: 21px; transform: rotate(45deg); }
.nav.open .burger span:last-child { top: 21px; transform: rotate(-45deg); }

/* hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--pri); }
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.12); transition: opacity 1.6s ease, transform 7s linear; }
.hero-slide.on { opacity: 1; transform: scale(1); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.15) 35%, rgba(0,0,0,.55) 100%), linear-gradient(90deg, color-mix(in srgb, var(--pri) 70%, transparent) 0%, transparent 70%); }
.hero-in { position: relative; padding: 140px 0 120px; }
.hero-eyebrow { color: #fff; opacity: .9; display: inline-flex; align-items: center; gap: 10px; }
.hero-eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--acc); }
.hero-title { font-size: clamp(44px, 8vw, 96px); max-width: 13ch; margin-bottom: 20px; }
.hero-title .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .06em; }
.hero-title .w > span { display: inline-block; transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; }
.hero-sub { font-size: clamp(16px, 2vw, 19px); max-width: 46ch; opacity: 0; animation: fade .9s ease .9s forwards; }
@keyframes rise { to { transform: none; } }
@keyframes fade { from { opacity: 0; transform: translateY(16px); } to { opacity: .92; transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.search { margin-top: 36px; display: flex; align-items: stretch; gap: 8px; background: rgba(255,255,255,.96); color: var(--ink); padding: 8px; border-radius: 22px; max-width: 760px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.45); opacity: 0; animation: fadeUp 1s var(--ease) 1.15s forwards; }
.seg { position: relative; display: flex; background: var(--soft); border-radius: 16px; padding: 4px; }
.seg button { position: relative; z-index: 1; padding: 0 18px; font-weight: 700; font-size: 14px; border-radius: 12px; transition: color .3s; color: var(--muted); }
.seg button.on { color: #fff; }
.seg-pill { position: absolute; top: 4px; bottom: 4px; left: 4px; border-radius: 12px; background: var(--pri); transition: transform .45s var(--ease), width .45s var(--ease); }
.field { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 6px 14px; border-left: 1px solid var(--line); min-width: 0; }
.field span { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.field select { border: 0; background: transparent; font-weight: 600; font-size: 15px; outline: none; padding: 2px 0; width: 100%; cursor: pointer; }
.search-go { border-radius: 16px; padding: 0 24px; }

.hero-dots { position: absolute; right: 32px; bottom: 40px; display: flex; gap: 8px; z-index: 2; }
.hero-dots button { width: 34px; height: 3px; background: rgba(255,255,255,.35); border-radius: 3px; overflow: hidden; position: relative; }
.hero-dots button i { position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.hero-dots button.on i { animation: bar 6s linear forwards; }
@keyframes bar { to { transform: scaleX(1); } }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.6); border-radius: 20px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: #fff; border-radius: 4px; animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* stats */
.stats { background: var(--pri); color: #fff; }
.stats-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 40px 20px; text-align: center; border-left: 1px solid rgba(255,255,255,.1); }
.stat:first-child { border-left: 0; }
.stat strong { display: block; font-family: var(--serif); font-size: clamp(36px, 5vw, 56px); font-weight: 400; line-height: 1; color: var(--acc); }
.stat span { font-size: 14px; opacity: .75; }

/* sections */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-dark { background: var(--pri); color: #fff; }
.section-dark .lead { color: rgba(255,255,255,.7); }
.section-soft { background: var(--soft); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.sec-head.center { justify-content: center; text-align: center; }

.tabs { display: flex; gap: 6px; background: var(--soft); padding: 5px; border-radius: 999px; }
.tabs button { padding: 9px 18px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--muted); transition: all .3s var(--ease); }
.tabs button.on { background: var(--pri); color: #fff; }

/* property cards */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card { border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgba(15,30,46,.35); transition: transform .5s var(--ease), box-shadow .5s var(--ease), opacity .5s; cursor: pointer; }
.card:hover { transform: translateY(-8px); box-shadow: 0 1px 0 var(--line), 0 30px 50px -24px rgba(15,30,46,.45); }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card-media img { transform: scale(1.08); }
.tag { position: absolute; top: 14px; left: 14px; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .04em; background: #fff; color: var(--pri); }
.tag.alq { background: var(--acc); color: var(--acc-ink); }
.tag-new { left: auto; right: 14px; background: var(--pri); color: #fff; }
.card-price { position: absolute; left: 14px; bottom: 14px; color: #fff; font-family: var(--serif); font-size: 28px; line-height: 1; text-shadow: 0 2px 14px rgba(0,0,0,.4); }
.card-price small { font-family: var(--sans); font-size: 13px; opacity: .85; }
.card-media::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.55)); }
.card-price, .tag { z-index: 1; }
.card-body { padding: 20px 22px 22px; }
.card-body h3 { font-family: var(--sans); font-weight: 700; font-size: 18px; line-height: 1.3; margin-bottom: 4px; }
.card-loc { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; }
.feats { display: flex; gap: 16px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); font-weight: 600; flex-wrap: wrap; }
.feats span { display: inline-flex; align-items: center; gap: 6px; }
.feats svg { color: var(--acc-on-light); }
.card.hide { display: none; }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }
.empty a { color: var(--pri); font-weight: 700; text-decoration: underline; }

/* zones */
.zones { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 18px; }
.zone { position: relative; border-radius: var(--radius); overflow: hidden; display: flex; align-items: flex-end; padding: 22px; cursor: pointer; }
.zone:first-child { grid-column: span 2; grid-row: span 2; }
.zone img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.zone::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(0,0,0,.7)); }
.zone:hover img { transform: scale(1.08); }
.zone-txt { position: relative; z-index: 1; }
.zone-txt h3 { font-size: 28px; }
.zone:first-child .zone-txt h3 { font-size: 40px; }
.zone-txt span { font-size: 14px; opacity: .85; display: inline-flex; gap: 6px; align-items: center; }
.zone-txt span::after { content: "→"; transition: transform .4s var(--ease); }
.zone:hover .zone-txt span::after { transform: translateX(6px); }

/* services */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service { padding: 32px 26px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; transition: transform .5s var(--ease), border-color .4s, box-shadow .5s var(--ease); position: relative; overflow: hidden; }
.service::before { content: ""; position: absolute; inset: auto 0 0; height: 3px; background: var(--acc); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.service:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(15,30,46,.4); border-color: transparent; }
.service:hover::before { transform: scaleX(1); }
.service-ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: color-mix(in srgb, var(--acc) 22%, transparent); color: var(--acc-on-light); margin-bottom: 22px; transition: transform .5s var(--ease); }
.service:hover .service-ico { transform: rotate(-8deg) scale(1.08); }
.service h3 { font-family: var(--sans); font-weight: 700; font-size: 18px; margin-bottom: 8px; }
.service p { font-size: 14.5px; color: var(--muted); }

/* valuation */
.valuation { position: relative; color: #fff; overflow: hidden; padding: clamp(80px, 12vw, 140px) 0; background: var(--pri); }
.valuation-bg { position: absolute; inset: -15% 0; background-size: cover; background-position: center; will-change: transform; }
.valuation::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--pri) 92%, transparent) 30%, color-mix(in srgb, var(--pri) 55%, transparent)); }
.valuation-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.valuation .lead { color: rgba(255,255,255,.78); margin-top: 18px; }
.card-form { background: #fff; color: var(--ink); padding: 32px; border-radius: 24px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); display: grid; gap: 14px; }
.card-form h3 { font-size: 28px; margin-bottom: 6px; }

.input { position: relative; display: block; }
.input input, .input select, .input textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 14px; padding: 22px 16px 8px; background: #fff; outline: none; transition: border-color .3s; font-size: 15px; resize: vertical; appearance: none; }
.input select { cursor: pointer; }
.input span { position: absolute; left: 17px; top: 16px; color: var(--muted); font-size: 15px; pointer-events: none; transition: all .25s var(--ease); }
.input input:focus, .input select:focus, .input textarea:focus { border-color: var(--acc); }
.input input:focus + span, .input input:not(:placeholder-shown) + span,
.input textarea:focus + span, .input textarea:not(:placeholder-shown) + span,
.input select:focus + span, .input select:valid + span { top: 7px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

/* about */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: 24px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.about-badge { position: absolute; right: -24px; bottom: 40px; background: var(--acc); color: var(--acc-ink); padding: 22px 26px; border-radius: 20px; box-shadow: 0 30px 50px -20px rgba(0,0,0,.4); animation: float 5s ease-in-out infinite; }
.about-badge strong { display: block; font-family: var(--serif); font-size: 52px; font-weight: 400; line-height: 1; }
.about-badge span { font-size: 13px; font-weight: 700; }
@keyframes float { 50% { transform: translateY(-10px); } }
.about-text h2 { margin-bottom: 18px; }
.checks { list-style: none; margin-top: 26px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.checks li::before { content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 50%; background: color-mix(in srgb, var(--acc) 30%, transparent); color: var(--acc-on-light); display: grid; place-items: center; font-size: 13px; margin-top: 1px; }
.mat { margin-top: 24px; font-size: 13px; color: var(--muted); }

/* testimonials */
.testi { overflow: hidden; }
.testi-track { display: flex; transition: transform .8s var(--ease); }
.quote { flex: 0 0 100%; text-align: center; padding: 0 8%; }
.quote p { font-family: var(--serif); font-size: clamp(22px, 3vw, 32px); line-height: 1.35; }
.quote p::before { content: "“"; display: block; font-size: 80px; line-height: .6; color: var(--acc-on-light); margin-bottom: 12px; }
.quote footer { margin-top: 28px; display: inline-flex; align-items: center; gap: 14px; text-align: left; }
.quote img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.quote strong { display: block; }
.quote small { color: var(--muted); }
.testi-dots { display: flex; justify-content: center; gap: 8px; margin-top: 32px; }
.testi-dots button { width: 10px; height: 10px; border-radius: 10px; background: #cfd5da; transition: all .4s var(--ease); }
.testi-dots button.on { width: 30px; background: var(--acc); }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: stretch; }
.contact-list { list-style: none; margin: 28px 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: center; }
.contact-list .ico { flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--soft); display: grid; place-items: center; color: var(--pri); }
.contact-list small { display: block; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.contact-list a:hover { color: var(--acc-on-light); }
.contact-form { display: grid; gap: 12px; }
.contact-form .btn { justify-self: start; }
.map { border-radius: 24px; overflow: hidden; min-height: 420px; background: var(--soft); }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; filter: grayscale(.35) contrast(1.05); }

/* footer */
.foot { background: var(--pri); color: rgba(255,255,255,.7); padding: 48px 0; font-size: 14px; }
.foot-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.brand-foot { color: #fff; }
.brand-foot img { height: 40px; }
.brand-foot img.invert { filter: brightness(0) invert(1); }
.quote .avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--pri); color: var(--acc); display: grid; place-items: center; font-weight: 800; letter-spacing: .04em; }
.zones[data-n="3"] { grid-template-columns: 1.3fr 1fr; grid-auto-rows: 260px; }
.zones[data-n="3"] .zone:first-child { grid-column: auto; }
.social { display: flex; gap: 10px; }
.social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; transition: background .3s, color .3s, border-color .3s; }
.social a:hover { background: var(--acc); color: var(--acc-ink); border-color: var(--acc); }

/* whatsapp */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -8px rgba(37,211,102,.7); transition: transform .3s var(--ease); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25d366; animation: ping 2.4s ease-out infinite; z-index: -1; }
.wa-float:hover { transform: scale(1.08); }
@keyframes ping { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.8); opacity: 0; } }

/* modal */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; pointer-events: none; }
.modal-bg { position: absolute; inset: 0; background: rgba(8, 14, 22, .7); backdrop-filter: blur(6px); opacity: 0; transition: opacity .4s; }
.modal-box { position: relative; width: min(1000px, 100%); max-height: calc(100svh - 40px); overflow: auto; background: #fff; border-radius: 24px; display: grid; grid-template-columns: 1.4fr 1fr; opacity: 0; transform: translateY(30px) scale(.97); transition: all .5s var(--ease); }
.modal.open { pointer-events: auto; }
.modal.open .modal-bg { opacity: 1; }
.modal.open .modal-box { opacity: 1; transform: none; }
.modal-x { position: absolute; top: 12px; right: 12px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; background: #fff; font-size: 26px; line-height: 1; box-shadow: 0 4px 14px rgba(0,0,0,.15); }
.gallery { position: relative; overflow: hidden; background: #111; min-height: 360px; }
.gallery-track { display: flex; height: 100%; transition: transform .6s var(--ease); }
.gallery-track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; }
.g-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.9); font-size: 28px; line-height: 1; display: grid; place-items: center; padding-bottom: 4px; }
.g-prev { left: 12px; }
.g-next { right: 12px; }
.g-count { position: absolute; left: 12px; bottom: 12px; background: rgba(0,0,0,.6); color: #fff; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.modal-body { padding: 32px 28px; }
.modal-body .tag { position: static; display: inline-block; background: var(--soft); }
.modal-body h3 { font-size: 30px; margin: 14px 0 6px; }
.modal-price { font-family: var(--serif); font-size: 36px; color: var(--pri); margin: 16px 0 4px; }
.modal-body p.desc { color: var(--muted); font-size: 15px; margin-top: 16px; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.specs div { background: var(--soft); border-radius: 12px; padding: 10px 14px; }
.specs small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.specs strong { font-size: 16px; }
.modal-body .btn { margin-top: 24px; width: 100%; background: #25d366; color: #fff; }

/* reveal */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.stagger > * { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease), box-shadow .5s var(--ease); }
.stagger.in > * { opacity: 1; transform: none; }
.stagger.in > *:hover { transform: translateY(-8px); }

/* responsive */
@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .services { grid-template-columns: repeat(2, 1fr); }
  .zones { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
}
@media (max-width: 860px) {
  .links { position: fixed; inset: 0; flex-direction: column; justify-content: center; align-items: center; gap: 28px; font-family: var(--serif); font-size: 34px; font-weight: 400; background: var(--pri); color: #fff; clip-path: circle(0 at calc(100% - 38px) 38px); transition: clip-path .7s var(--ease); margin: 0; }
  .nav.open .links { clip-path: circle(150% at calc(100% - 38px) 38px); }
  .nav.open { color: #fff; background: transparent; box-shadow: none; backdrop-filter: none; }
  .nav.open .brand img.invert { filter: brightness(0) invert(1); }
  .burger { display: block; z-index: 2; }
  .nav-cta { display: none; }
  .brand { z-index: 2; position: relative; }
  .search { flex-wrap: wrap; border-radius: 20px; }
  .seg { width: 100%; height: 46px; }
  .seg button { flex: 1; }
  .field { flex: 1 1 40%; border-left: 0; background: var(--soft); border-radius: 14px; padding: 10px 14px; }
  .search-go { width: 100%; height: 50px; }
  .stats-in { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat { padding: 30px 12px; border-top: 1px solid rgba(255,255,255,.1); }
  .valuation-in, .about, .contact { grid-template-columns: 1fr; gap: 40px; }
  .about-badge { right: 12px; }
  .modal-box { grid-template-columns: 1fr; }
  .gallery { aspect-ratio: 4 / 3; min-height: 0; }
  .hero-dots { display: none; }
}
@media (max-width: 600px) {
  .grid, .services { grid-template-columns: 1fr; }
  .zones { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; gap: 12px; }
  .zone { padding: 16px; }
  .zone-txt h3 { font-size: 22px; }
  .zone:first-child .zone-txt h3 { font-size: 30px; }
  .zones[data-n="3"] { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .zones[data-n="3"] .zone:first-child { grid-column: span 2; grid-row: auto; }
  .hero-in { padding: 120px 0 90px; }
  .card-form { padding: 24px; }
  .scroll-cue { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .stagger > * { opacity: 1; transform: none; }
}
