/* Real Estate — nexvork.ai (prefix re-) */

.re-hero { overflow: hidden; }
.re-hero .container { z-index: 1; }
.re-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.re-hero-grid > *, .re-pain .split > *, .re-wa .split > *, .re-day .split > *, .re-reports .split > *, .re-ai .nx-story > *, .re-funnel-card > *, .re-band-card > *, .re-needs > * { min-width: 0; }
.re-before-chat { max-width: 100%; }
.re-hero-title { max-width: 14ch; }
.re-eyebrow-live { gap: 12px; }
.re-eyebrow-live .nx-badge-live { font-size: 0.62rem; }
.re-hero-actions { margin-top: 32px; }
.re-hero-links { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 22px; }
.re-hero-links .nx-link { font-size: 0.88rem; }
.re-orb-1 { width: 520px; height: 520px; top: -160px; left: -140px; }
.re-orb-2 { width: 600px; height: 600px; top: 5%; right: -220px; }

.re-hero-visual { position: relative; }
.re-win { max-width: min(100%, 560px); margin-left: auto; }
.re-win-tag { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--nx-blue-2); margin-bottom: 12px; }
html[data-theme="light"] .re-win-tag { color: var(--nx-purple); }
.re-match-head { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--subtle); margin: 14px 0 8px; }
.re-match { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.07); background: rgba(255,255,255,0.03); }
.re-match + .re-match { margin-top: 7px; }
html[data-theme="light"] .re-match { border-color: var(--line); background: var(--bg-2); }
.re-match-main { flex: 1; min-width: 0; }
.re-match-main strong { display: block; font-size: 0.8rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.re-match-main span { display: block; font-size: 0.7rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.re-match-main .nx-bar { height: 4px; margin-top: 7px; }
.re-match-pct { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700; color: #34D399; flex-shrink: 0; padding: 4px 8px; border-radius: 6px; background: rgba(16,185,129,0.14); }
.re-profile { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }

.re-chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-size: 0.76rem; font-weight: 600; color: var(--text); box-shadow: var(--shadow-md); white-space: nowrap; z-index: 2; }
.re-chip svg { color: var(--nx-blue-2); }
.re-chip-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--nx-wa); box-shadow: 0 0 10px var(--nx-wa); }
.re-chip-1 { top: -18px; left: -10px; }
.re-chip-2 { bottom: -16px; right: 16px; }
.re-chip-3 { bottom: 30px; left: 0; right: 0; width: max-content; max-width: calc(100% - 16px); margin: 0 auto; }

.re-seg-grid .nx-card p { font-size: 0.93rem; }
.re-inline-link { color: var(--nx-blue-2); text-decoration: underline; text-underline-offset: 3px; }
html[data-theme="light"] .re-inline-link { color: var(--nx-purple); }

.re-before { position: relative; width: 100%; max-width: 440px; margin: 0 auto; padding-bottom: 24px; }
.re-before-label { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--subtle); margin-bottom: 12px; }
.re-before-chat { transform: rotate(-1.2deg); }
.re-before-chat .nx-chat-body { gap: 10px; }
.re-msg-from { display: block; font-size: 0.66rem; font-weight: 600; color: var(--nx-amber); margin-bottom: 2px; }
.re-msg-file { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 7px; background: rgba(0,0,0,0.18); font-size: 0.72rem; }
.re-before-tag { position: absolute; right: -8px; bottom: 0; padding: 9px 14px; border-radius: 999px; background: var(--glass); border: 1px solid rgba(244,63,94,0.45); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--nx-rose); box-shadow: var(--shadow-md); white-space: nowrap; }

.re-pains { display: grid; gap: 14px; counter-reset: none; }
.re-pains li { display: flex; gap: 14px; align-items: flex-start; font-size: 0.95rem; line-height: 1.55; color: var(--muted); }
.re-pains li strong { display: block; color: var(--text); font-weight: 600; margin-bottom: 2px; }
.re-pain-num { flex-shrink: 0; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface); font-family: var(--font-mono); font-size: 0.68rem; font-weight: 700; color: var(--nx-blue-2); }
html[data-theme="light"] .re-pain-num { color: var(--nx-purple); }

.re-bento .nx-card p { font-size: 0.93rem; }
.re-mini .nx-row { padding: 8px 10px; }
.re-funnel-card { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 32px; align-items: center; }
.re-funnel { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.re-funnel .nx-col-name { font-size: 0.56rem; letter-spacing: 0.06em; }
.re-funnel .nx-col-count { font-size: 1.05rem; }

.re-story-con, .re-story-win { max-width: min(100%, 560px); }
.re-story-con .nx-console-body { font-size: 0.72rem; }
.re-story-phone { width: 300px; }

.re-wa-visual { position: relative; padding: 20px 0 36px; }
.re-wa-visual .nx-phone { width: 320px; }
.re-wa-visual .nx-msg-btn + .nx-msg-btn { margin-top: 4px; }

.re-day-win { max-width: min(100%, 520px); margin: 0 auto; }
.re-day-rows { margin-top: 12px; }
.re-day-rows .nx-tag { flex-shrink: 0; }
.re-day .nx-timeline { margin-top: 8px; }
.re-day .nx-tl-item p { font-size: 0.93rem; }

.re-rep-win { max-width: min(100%, 560px); }
.re-kpis-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.re-kpis-4 .nx-kpi-val { font-size: 1.1rem; }
.re-src-head, .re-src { display: grid; grid-template-columns: minmax(0, 1.8fr) repeat(3, minmax(0, 0.7fr)); gap: 8px; align-items: center; padding: 8px 12px; font-size: 0.76rem; }
.re-src-head { font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--subtle); margin-top: 14px; padding-bottom: 4px; }
.re-src { border-radius: 9px; border: 1px solid rgba(255,255,255,0.06); background: rgba(255,255,255,0.03); }
.re-src + .re-src { margin-top: 6px; }
html[data-theme="light"] .re-src { border-color: var(--line); background: var(--bg-2); }
.re-src span:first-child { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.re-src span + span, .re-src-head span + span { font-family: var(--font-mono); text-align: right; color: var(--muted); }
.re-src span:last-child { color: #34D399; font-weight: 700; }

.re-band { padding-top: 0; }
.re-band-card { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(32px, 5vw, 64px); border-radius: var(--r-2xl); }
.re-band-card::before { opacity: 1 !important; background: radial-gradient(60% 80% at 0% 0%, rgba(130,62,157,0.35), transparent 60%), radial-gradient(50% 70% at 100% 100%, rgba(65,143,228,0.3), transparent 60%); }
html[data-theme="light"] .re-band-card { background: #0B0B13; border-color: rgba(255,255,255,0.12); box-shadow: var(--shadow-md); }
.re-band-card .eyebrow, html[data-theme="light"] .re-band-card .eyebrow { color: var(--nx-blue-2); }
.re-band-card .h2 { color: #fff; margin-bottom: 14px; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.re-band-card .lead { color: #C3C8D6; margin-bottom: 26px; font-size: 1.05rem; }
.re-band-card .nx-btn-ghost { background: rgba(255,255,255,0.06); color: #fff; border-color: rgba(255,255,255,0.2); }
.re-band-flow { justify-content: center; margin-bottom: 22px; }
.re-band-flow .nx-node { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.14); color: #F4F5FA; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.04em; }
.re-band-list { display: grid; gap: 8px; }
.re-band-list li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.03); font-size: 0.82rem; color: #C3C8D6; }
.re-band-list .nx-tag { flex-shrink: 0; }

.re-needs { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 32px; align-items: start; padding: 32px; }
.re-needs-head .h4 { margin-bottom: 0; }
.re-needs .nx-checks li { font-size: 0.93rem; }

.re-rel { display: flex; flex-direction: column; }
.re-rel .nx-card-link { margin-top: auto; padding-top: 18px; }

@media (max-width: 1100px) {
    .re-hero-grid { grid-template-columns: 1fr; gap: 48px; }
    .re-hero-title { max-width: none; }
    .re-win { margin: 0 auto; }
    .re-chip-1 { left: 0; }
}
@media (max-width: 1024px) {
    .re-funnel-card { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 900px) {
    .re-band-card { grid-template-columns: 1fr; }
    .re-needs { grid-template-columns: 1fr; gap: 20px; }
    .re-story-phone { width: 280px; margin: 0 auto; }
    .re-day-visual { order: -1; }
}
@media (max-width: 640px) {
    .re-chip { font-size: 0.7rem; padding: 7px 11px; }
    .re-chip-1 { top: -14px; }
    .re-chip-2 { bottom: -14px; right: 6px; }
    .re-chip-3 { bottom: 12px; white-space: normal; text-align: center; max-width: calc(100% - 24px); }
    .re-src-head, .re-src { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 0.6fr)); font-size: 0.7rem; padding: 7px 9px; }
    .re-before { padding-bottom: 28px; }
    .re-before-tag { right: 0; left: 0; width: max-content; max-width: 100%; margin: 0 auto; }
    .re-wa-visual .nx-phone { width: 280px; }
    .re-band-card { padding: 28px 20px; }
    .re-band-flow .nx-flow-arrow { width: 14px; }
    .re-needs { padding: 24px 20px; }
    .re-kpis-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .re-funnel { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .re-day-win .nx-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .re-story-con .nx-console-body { font-size: 0.66rem; padding: 12px; }
}
@media (max-width: 400px) {
    .re-match-pct { font-size: 0.66rem; padding: 3px 6px; }
}
