/* HomeNext – front-end styles */
:root {
    --yellow: #F2C12E;
    --yellow-d: #E0AC12;
    --yellow-l: #FFF6DA;
    --green: #3DA35D;
    --green-d: #2E8549;
    --green-l: #E7F5EC;
    --dark: #1F2328;
    --dark-2: #2B3036;
    --text: #3C4249;
    --muted: #6B737C;
    --line: #E8E6DF;
    --bg: #FAFAF7;
    --white: #fff;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 10px 30px -12px rgba(31, 35, 40, .18);
    --shadow-lg: 0 24px 60px -20px rgba(31, 35, 40, .3);
    --ease: cubic-bezier(.22, 1, .36, 1);
    --head: 'Plus Jakarta Sans', system-ui, sans-serif;
    --body: 'Inter', system-ui, sans-serif;
    --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.65 var(--body); color: var(--text); background: var(--bg); overflow-x: hidden; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--green-d); text-decoration: none; transition: color .2s; }
a:hover { color: var(--green); }
h1, h2, h3, h4 { font-family: var(--head); color: var(--dark); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: var(--dark); }
.ic { width: 1.1em; height: 1.1em; flex-shrink: 0; vertical-align: -.15em; }
.ic.big { width: 48px; height: 48px; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 860px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 999; background: var(--dark); color: #fff; padding: 10px 16px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: 13px 24px; border-radius: 999px; border: 2px solid transparent; font-family: var(--head); font-weight: 700; font-size: .95rem; line-height: 1.2; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .25s, border-color .25s; position: relative; overflow: hidden; white-space: nowrap; }
.btn .ic { transition: transform .25s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--yellow); color: var(--dark); box-shadow: 0 8px 20px -8px rgba(242, 193, 46, .8); }
.btn-primary:hover { background: var(--yellow-d); color: var(--dark); transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(242, 193, 46, .9); }
.btn-primary::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-d); color: #fff; transform: translateY(-2px); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; transform: translateY(-2px); }
.btn-outline { border-color: var(--dark); color: var(--dark); background: transparent; }
.btn-outline:hover { background: var(--dark); color: #fff; }
.btn-wa { background: #25D366; color: #fff; }
.btn-wa:hover { background: #1ebe5b; color: #fff; }
.btn-sm { padding: 9px 18px; font-size: .88rem; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-icon { width: 48px; height: 48px; padding: 0; border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--dark); }
.btn-icon:hover { border-color: var(--dark); }
.btn-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-family: var(--head); font-weight: 700; color: var(--green-d); }
.link-arrow .ic { transition: transform .25s var(--ease); }
.link-arrow:hover .ic { transform: translateX(4px); }
.chip { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--green-l); color: var(--green-d); font-size: .78rem; font-weight: 600; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--head); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--green-d); margin-bottom: 10px; }
.eyebrow::before { content: ''; width: 24px; height: 2px; background: var(--yellow); }
.eyebrow.light { color: var(--yellow); }

/* ---------- Header ---------- */
.announce { background: var(--dark); color: #fff; text-align: center; font-size: .88rem; padding: 8px 16px; }
.announce a { color: var(--yellow); font-weight: 600; }
.site-header { position: sticky; top: 0; z-index: 100; height: var(--header-h); background: rgba(250, 250, 247, .78); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: height .3s var(--ease), box-shadow .3s, background .3s, border-color .3s; }
.site-header.scrolled { --header-h: 64px; height: 64px; background: rgba(255, 255, 255, .9); box-shadow: 0 6px 24px -14px rgba(0, 0, 0, .25); border-color: var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand img { height: 46px; width: auto; transition: height .3s var(--ease); }
.scrolled .brand img { height: 40px; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a { display: block; padding: 8px 14px; border-radius: 999px; color: var(--dark); font-family: var(--head); font-weight: 600; font-size: .95rem; position: relative; }
.main-nav a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.nav-mobile-extra { display: none; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.main-nav + .header-actions { margin-left: 0; }
.header-inner > .brand + .header-actions { margin-left: auto; }
.header-phone { display: flex; align-items: center; gap: 8px; color: var(--dark); font-weight: 600; font-size: .92rem; }
.header-phone .ic { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--green-l); color: var(--green-d); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: var(--dark); border-radius: 12px; padding: 12px 11px; flex-direction: column; justify-content: space-between; }
.nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(92vh, 860px); display: flex; align-items: center; color: #fff; overflow: hidden; margin-top: calc(var(--header-h) * -1); padding: calc(var(--header-h) + 60px) 0 80px; }
.hero-sm { min-height: 520px; }
.hero-bg { position: absolute; inset: -8% 0; z-index: -3; }
.hero-bg img, .hero-bg video { width: 100%; height: 100%; object-fit: cover; animation: kenburns 24s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.1) translate(-1%, -1%); } }
.hero-overlay { position: absolute; inset: 0; z-index: -2; background: linear-gradient(105deg, rgba(20, 24, 28, .88) 0%, rgba(20, 24, 28, .62) 50%, rgba(20, 24, 28, .25) 100%); }
.hero-shapes span { position: absolute; z-index: -1; border-radius: 50%; filter: blur(60px); opacity: .45; animation: float 14s ease-in-out infinite; }
.hero-shapes span:nth-child(1) { width: 380px; height: 380px; background: var(--yellow); top: -80px; right: 8%; }
.hero-shapes span:nth-child(2) { width: 300px; height: 300px; background: var(--green); bottom: -100px; right: 30%; animation-delay: -5s; }
.hero-shapes span:nth-child(3) { width: 200px; height: 200px; background: var(--yellow); bottom: 20%; left: -60px; animation-delay: -9s; opacity: .25; }
@keyframes float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(30px, -40px); } }
.hero-inner { position: relative; }
.hero-eyebrow { color: #fff; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); padding: 7px 14px; border-radius: 999px; backdrop-filter: blur(6px); letter-spacing: .1em; }
.hero-eyebrow::before { display: none; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(61, 163, 93, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(61, 163, 93, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 163, 93, 0); } }
.hero-title { color: #fff; max-width: 780px; margin-top: 18px; animation: rise .9s var(--ease) both; }
.hero-rotator { font-family: var(--head); font-size: clamp(1.2rem, 2.4vw, 1.7rem); font-weight: 700; margin-bottom: 10px; animation: rise .9s .1s var(--ease) both; }
.rotate { display: inline-block; color: var(--yellow); min-width: 3.2ch; position: relative; }
.rotate::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; background: var(--green); border-radius: 3px; }
.rotate.out { animation: wordOut .35s forwards; }
.rotate.in { animation: wordIn .45s var(--ease) forwards; }
@keyframes wordOut { to { opacity: 0; transform: translateY(-14px); } }
@keyframes wordIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero-sub { font-size: 1.1rem; max-width: 620px; color: rgba(255, 255, 255, .85); animation: rise .9s .2s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.hero-with-form { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.hero-form { background: #fff; color: var(--text); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-lg); }

.search-box { margin-top: 30px; max-width: 980px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-radius: 22px; padding: 10px; animation: rise .9s .3s var(--ease) both; }
.search-tabs { position: relative; display: inline-flex; gap: 4px; padding: 4px; background: rgba(0, 0, 0, .25); border-radius: 14px; margin-bottom: 10px; }
.search-tabs button { position: relative; z-index: 1; display: flex; align-items: center; gap: 6px; border: 0; background: none; color: #fff; padding: 9px 20px; border-radius: 10px; font-family: var(--head); font-weight: 700; transition: color .3s; }
.search-tabs button.active { color: var(--dark); }
.tab-ink { position: absolute; top: 4px; bottom: 4px; left: 4px; border-radius: 10px; background: var(--yellow); transition: transform .4s var(--ease), width .4s var(--ease); }
.search-form { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr auto; gap: 8px; background: #fff; border-radius: 16px; padding: 8px; }
.sf-field { display: flex; align-items: center; gap: 8px; padding: 0 14px; border-radius: 12px; background: var(--bg); color: var(--muted); min-height: 54px; transition: box-shadow .2s; }
.sf-field:focus-within { box-shadow: 0 0 0 2px var(--yellow); }
.sf-field input, .sf-field select { border: 0; background: none; width: 100%; outline: none; padding: 12px 0; font-size: .95rem; min-width: 0; }
.sf-field[hidden] { display: none; }
.sf-btn { border-radius: 12px; padding: 0 28px; min-height: 54px; }
.search-sell { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: #fff; color: var(--text); border-radius: 16px; padding: 16px 20px; flex-wrap: wrap; }
.search-sell p { margin: 0; }
.search-sell[hidden] { display: none; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 26px; font-size: .92rem; color: rgba(255, 255, 255, .85); animation: rise .9s .4s var(--ease) both; }
.hero-trust span { display: flex; align-items: center; gap: 8px; }
.hero-trust .ic { color: var(--yellow); }
.scroll-cue { position: absolute; bottom: 26px; left: 50%; width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .6); border-radius: 20px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Sections ---------- */
.section { padding: 90px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, #F4F2EA 0%, #F7F6F0 100%); }
.section-head { margin-bottom: 44px; max-width: 720px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head p.muted { margin-top: 10px; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { position: relative; background: #fff; border-radius: 22px; padding: 36px 30px; border: 1px solid var(--line); color: var(--text); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s, border-color .4s; }
.service-card::before { content: ''; position: absolute; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, var(--yellow-l), transparent 70%); top: -80px; right: -80px; transition: transform .6s var(--ease); }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--text); }
.service-card:hover::before { transform: scale(1.6); }
.service-card > * { position: relative; }
.service-card.featured { background: var(--dark); color: rgba(255, 255, 255, .8); border-color: var(--dark); }
.service-card.featured h3 { color: #fff; }
.service-card.featured .link-arrow { color: var(--yellow); }
.service-card.featured::before { background: radial-gradient(circle, rgba(242, 193, 46, .25), transparent 70%); }
.service-ic { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: var(--yellow); color: var(--dark); margin-bottom: 22px; transition: transform .5s var(--ease); }
.service-ic .ic { width: 30px; height: 30px; }
.service-card:hover .service-ic { transform: rotate(-8deg) scale(1.08); }
.service-card h3 { font-size: 1.4rem; }

/* Property cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.pcard { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; display: flex; flex-direction: column; }
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pcard-media { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: #eee; }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pcard:hover .pcard-media img { transform: scale(1.08); }
.pcard-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .55), transparent 50%); opacity: 0; transition: opacity .4s; }
.pcard:hover .pcard-media::after { opacity: 1; }
.pcard-view { position: absolute; z-index: 2; left: 50%; bottom: 18px; transform: translate(-50%, 20px); opacity: 0; display: inline-flex; align-items: center; gap: 6px; background: #fff; color: var(--dark); border-radius: 999px; padding: 8px 16px; font-size: .85rem; font-weight: 700; transition: all .4s var(--ease); white-space: nowrap; }
.pcard:hover .pcard-view { opacity: 1; transform: translate(-50%, 0); }
.badge { position: absolute; z-index: 2; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 4px; padding: 5px 12px; border-radius: 999px; font-size: .75rem; font-weight: 700; font-family: var(--head); letter-spacing: .02em; }
.badge-buy { background: var(--yellow); color: var(--dark); }
.badge-rent { background: var(--green); color: #fff; }
.badge-featured { left: auto; right: 14px; background: rgba(31, 35, 40, .82); color: var(--yellow); backdrop-filter: blur(4px); }
.badge-status { left: auto; right: 14px; background: #D64545; color: #fff; }
.badge-ghost { background: var(--green-l); color: var(--green-d); }
.prop-badges .badge { position: static; }
.pcard-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.pcard-price { font-family: var(--head); font-weight: 800; font-size: 1.35rem; color: var(--dark); }
.pcard-title { font-size: 1.05rem; margin: 4px 0 6px; }
.pcard-title a { color: var(--dark); }
.pcard-title a:hover { color: var(--green-d); }
.pcard-loc { display: flex; gap: 6px; align-items: center; color: var(--muted); font-size: .9rem; margin-bottom: 14px; }
.pcard-meta { list-style: none; padding: 14px 0 0; margin: auto 0 0; border-top: 1px dashed var(--line); display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .86rem; color: var(--text); }
.pcard-meta li { display: flex; align-items: center; gap: 6px; }
.pcard-meta .ic { color: var(--green); }

.pill-tabs { display: inline-flex; gap: 6px; padding: 5px; background: #fff; border: 1px solid var(--line); border-radius: 999px; }
.pill-tabs.wrap { flex-wrap: wrap; border-radius: 22px; }
.pill-tabs button, .pill-tabs a { border: 0; background: none; padding: 9px 18px; border-radius: 999px; font-family: var(--head); font-weight: 700; font-size: .9rem; color: var(--text); transition: background .3s, color .3s; }
.pill-tabs .active { background: var(--dark); color: #fff; }
.pill-tabs.light { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .2); margin-top: 14px; }
.pill-tabs.light a { color: #fff; }
.pill-tabs.light .active { background: var(--yellow); color: var(--dark); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: rise .6s var(--ease); }

/* Stats band */
.stats-band { position: relative; padding: 80px 0; color: #fff; overflow: hidden; background: var(--dark); }
.stats-bg { position: absolute; inset: -30% 0; background: radial-gradient(circle at 20% 30%, rgba(242, 193, 46, .35), transparent 40%), radial-gradient(circle at 80% 70%, rgba(61, 163, 93, .35), transparent 40%), url("../img/pattern.svg"); opacity: .9; }
.stats-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-num { font-family: var(--head); font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; color: var(--yellow); line-height: 1; }
.stat-label { margin-top: 8px; color: rgba(255, 255, 255, .8); }
.stat + .stat { border-left: 1px solid rgba(255, 255, 255, .12); }

/* Localities */
.loc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.loc-card { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--dark); overflow: hidden; transition: transform .35s var(--ease), border-color .35s, box-shadow .35s; }
.loc-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, var(--yellow-l), var(--green-l)); opacity: 0; transition: opacity .35s; }
.loc-card:hover { transform: translateY(-4px); border-color: var(--yellow); box-shadow: var(--shadow); color: var(--dark); }
.loc-card:hover::before { opacity: 1; }
.loc-card > * { position: relative; }
.loc-ic { grid-row: span 2; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--green-l); color: var(--green-d); }
.loc-name { font-family: var(--head); font-weight: 700; }
.loc-count { font-size: .85rem; color: var(--muted); }
.loc-arrow { position: absolute; right: 18px; top: 50%; transform: translate(-8px, -50%); opacity: 0; transition: all .35s var(--ease); color: var(--green-d); }
.loc-card:hover .loc-arrow { opacity: 1; transform: translate(0, -50%); }

/* Why */
.why-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.why-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.why-cards.four { grid-template-columns: repeat(4, 1fr); }
.why-card { background: #fff; border-radius: var(--radius); padding: 28px 24px; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.why-card:nth-child(even) { transform: translateY(24px); }
.why-card:nth-child(even):hover { transform: translateY(18px); }
.why-cards.four .why-card:nth-child(even) { transform: none; }
.why-ic { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--yellow-l); color: var(--yellow-d); margin-bottom: 16px; }
.why-ic .ic { width: 24px; height: 24px; }
.why-card p { margin: 0; font-size: .94rem; color: var(--muted); }

/* Testimonials */
.t-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 20px; scrollbar-width: none; }
.t-track::-webkit-scrollbar { display: none; }
.t-card { scroll-snap-align: start; margin: 0; background: #fff; border-radius: 20px; padding: 32px 28px; border: 1px solid var(--line); position: relative; transition: transform .35s var(--ease), box-shadow .35s; }
.t-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.t-quote { position: absolute; top: 24px; right: 24px; width: 40px; height: 40px; color: var(--yellow-l); }
.t-stars { color: var(--yellow); display: flex; gap: 2px; margin-bottom: 14px; }
.t-card blockquote { margin: 0 0 22px; font-size: 1.02rem; color: var(--dark); }
.t-card figcaption { display: flex; align-items: center; gap: 12px; }
.t-card figcaption span:last-child { display: flex; flex-direction: column; line-height: 1.3; }
.t-card small { color: var(--muted); }
.t-avatar { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--yellow), var(--green)); color: #fff; font-weight: 800; font-family: var(--head); }

/* Blog cards */
.bcard { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; display: flex; flex-direction: column; }
.bcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.bcard-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.bcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.bcard:hover .bcard-media img { transform: scale(1.06); }
.bcard-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.bcard-meta { display: flex; align-items: center; gap: 10px; font-size: .82rem; color: var(--muted); margin-bottom: 10px; }
.bcard h3 { font-size: 1.12rem; }
.bcard h3 a { color: var(--dark); }
.bcard p { color: var(--muted); font-size: .93rem; }
.bcard .link-arrow { margin-top: auto; }

/* CTA */
.cta-section { padding-top: 40px; }
.cta-box { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; background: var(--dark); border-radius: 28px; padding: 56px; position: relative; overflow: hidden; color: rgba(255, 255, 255, .8); }
.cta-box::before { content: ''; position: absolute; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(242, 193, 46, .28), transparent 65%); top: -200px; left: -150px; animation: float 16s ease-in-out infinite; }
.cta-box > * { position: relative; }
.cta-box h2 { color: #fff; }
.cta-form { background: #fff; border-radius: 20px; padding: 28px; color: var(--text); }
.tick-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.tick-list li { display: flex; align-items: center; gap: 10px; }
.tick-list .ic { width: 24px; height: 24px; padding: 5px; border-radius: 50%; background: var(--green); color: #fff; }
.cta-banner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: linear-gradient(120deg, var(--yellow), #F7D46A); border-radius: 24px; padding: 44px 48px; }
.cta-banner h2 { margin: 0 0 6px; }
.cta-banner p { margin: 0; color: var(--dark-2); }

/* ---------- Forms ---------- */
.lead-form { display: grid; gap: 14px; }
.lf-title { margin: 0; font-size: 1.35rem; }
.lf-sub { margin: -6px 0 4px; color: var(--muted); font-size: .92rem; }
.field { display: grid; gap: 6px; }
.field label, .field .label { font-size: .82rem; font-weight: 600; color: var(--dark); }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; transition: border-color .2s, box-shadow .2s; outline: none; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--yellow); box-shadow: 0 0 0 4px rgba(242, 193, 46, .2); }
.field input.invalid { border-color: #D64545; box-shadow: 0 0 0 4px rgba(214, 69, 69, .12); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.phone-in { display: flex; border: 1.5px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: #fff; transition: border-color .2s, box-shadow .2s; }
.phone-in:focus-within { border-color: var(--yellow); box-shadow: 0 0 0 4px rgba(242, 193, 46, .2); }
.phone-in span { display: grid; place-items: center; padding: 0 12px; background: var(--bg); border-right: 1.5px solid var(--line); font-weight: 600; font-size: .9rem; }
.phone-in input { border: 0 !important; box-shadow: none !important; }
.consent { display: flex; gap: 8px; align-items: flex-start; font-size: .78rem; color: var(--muted); line-height: 1.4; }
.consent input { margin-top: 2px; accent-color: var(--green); }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.lf-msg { margin: 0; font-size: .9rem; font-weight: 600; min-height: 0; }
.lf-msg.err { color: #C03A3A; }
.lf-msg.ok { color: var(--green-d); }
.lead-form.sending button { opacity: .7; pointer-events: none; }
.lead-form.done { animation: rise .5s var(--ease); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; background: var(--dark); color: rgba(255, 255, 255, .8); padding: 56px 0 50px; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 85% 20%, rgba(242, 193, 46, .3), transparent 35%), radial-gradient(circle at 10% 110%, rgba(61, 163, 93, .3), transparent 40%), url("../img/pattern.svg"); }
.page-hero > * { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.page-hero p { max-width: 680px; margin: 0; }
.crumbs ol { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 6px; font-size: .85rem; }
.crumbs li + li::before { content: '/'; margin-right: 6px; opacity: .5; }
.crumbs a { color: inherit; opacity: .8; }
.crumbs a:hover { opacity: 1; color: var(--yellow); }
.page-hero .crumbs, .post-hero .crumbs { color: rgba(255, 255, 255, .85); }
.prop-top .crumbs { color: var(--muted); }

/* ---------- Listing ---------- */
.listing { padding-top: 40px; }
.listing-grid { display: grid; grid-template-columns: 290px 1fr; gap: 30px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 16px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.filters form { display: grid; gap: 16px; }
.filters-head { display: flex; justify-content: space-between; align-items: center; }
.filters-head h2 { font-size: 1.15rem; margin: 0; }
.filters-head a { font-size: .85rem; }
.chip-select { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-select input { position: absolute; opacity: 0; }
.chip-select span { display: inline-block; padding: 6px 12px; border: 1.5px solid var(--line); border-radius: 999px; font-size: .82rem; cursor: pointer; transition: all .2s; }
.chip-select input:checked + span { background: var(--dark); border-color: var(--dark); color: #fff; }
.chip-select input:focus-visible + span { outline: 3px solid var(--yellow); }
.results-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; gap: 12px; flex-wrap: wrap; }
.results-bar p { margin: 0; }
.results-tools { display: flex; gap: 10px; align-items: center; }
.sort { display: flex; align-items: center; gap: 8px; font-size: .9rem; }
.sort select { padding: 8px 12px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; }
.filter-toggle { display: none; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: var(--dark); font-weight: 600; }
.pagination a.active, .pagination a:hover { background: var(--yellow); border-color: var(--yellow); }
.empty-state { text-align: center; background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); padding: 48px 28px; }
.empty-state .lead-form { max-width: 420px; margin: 24px auto 0; text-align: left; }
.empty-state .ic.big { color: var(--yellow); margin: 0 auto 12px; }

/* ---------- Property detail ---------- */
.prop-top { padding: 28px 0 0; }
.prop-head { display: flex; justify-content: space-between; gap: 24px; align-items: flex-end; margin-bottom: 22px; flex-wrap: wrap; }
.prop-head h1 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin: 10px 0 6px; }
.prop-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.prop-loc { display: flex; gap: 6px; align-items: center; color: var(--muted); margin: 0; }
.prop-price { text-align: right; }
.prop-price .price { font-family: var(--head); font-size: clamp(1.8rem, 3.4vw, 2.4rem); font-weight: 800; color: var(--dark); line-height: 1.1; }
.prop-actions { display: flex; gap: 10px; margin-top: 12px; justify-content: flex-end; }
.gallery { position: relative; display: grid; gap: 10px; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; border-radius: 20px; overflow: hidden; }
.gallery .g-item { position: relative; overflow: hidden; background: #eee; }
.gallery .g-item:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .4s; }
.gallery .g-item:hover img { transform: scale(1.06); filter: brightness(.92); }
.gallery-1 { grid-template-columns: 1fr; grid-template-rows: 460px; }
.gallery-2 { grid-template-columns: 2fr 1fr; }
.gallery-2 .g-item:nth-child(2) { grid-row: span 2; }
.gallery-3 { grid-template-columns: 2fr 1fr; }
.gallery-4 { grid-template-columns: 2fr 1fr 1fr; }
.gallery-4 .g-item:nth-child(2) { grid-row: span 2; }
.g-more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0, 0, 0, .55); color: #fff; font-family: var(--head); font-weight: 800; font-size: 1.3rem; }
.g-tools { position: absolute; left: 16px; bottom: 16px; display: flex; gap: 8px; flex-wrap: wrap; }
.chip-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .95); border: 0; color: var(--dark); font-weight: 600; font-size: .85rem; box-shadow: var(--shadow); }
.chip-btn:hover { background: var(--yellow); color: var(--dark); }
.prop-nav { position: sticky; top: var(--header-h); z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); margin-top: 28px; transition: top .3s var(--ease); }
.prop-nav .container { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.prop-nav a { padding: 14px 16px; color: var(--muted); font-weight: 600; font-size: .92rem; white-space: nowrap; border-bottom: 3px solid transparent; }
.prop-nav a.active, .prop-nav a:hover { color: var(--dark); border-color: var(--yellow); }
.prop-body { padding-top: 34px; }
.prop-grid { display: grid; grid-template-columns: 1fr 370px; gap: 30px; align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin-bottom: 22px; scroll-margin-top: calc(var(--header-h) + 70px); }
.panel h2 { font-size: 1.35rem; margin-bottom: 18px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.fact { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 12px; background: var(--bg); }
.fact-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: #fff; color: var(--green-d); flex-shrink: 0; }
.fact small { display: block; color: var(--muted); font-size: .76rem; }
.fact strong { color: var(--dark); font-size: .93rem; }
.readmore.collapsed { max-height: 200px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
.readmore-btn { margin-top: 10px; background: none; border: 0; color: var(--green-d); font-weight: 700; padding: 0; }
.highlights { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.highlights li { display: flex; gap: 10px; align-items: flex-start; }
.highlights .ic { color: var(--green); margin-top: 4px; }
.amenities { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.amenity { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 16px 8px; border: 1px solid var(--line); border-radius: 12px; font-size: .86rem; font-weight: 500; transition: border-color .3s, transform .3s var(--ease); }
.amenity:hover { border-color: var(--yellow); transform: translateY(-3px); }
.amenity span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--yellow-l); color: var(--yellow-d); }
.plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.plan { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--bg); }
.plan img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #fff; }
.plan-pdf { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 30px; color: var(--dark); font-weight: 600; }
.videos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.video-thumb { position: relative; border: 0; padding: 0; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 9; background: #000; width: 100%; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: transform .6s var(--ease), opacity .3s; }
.video-thumb:hover img { transform: scale(1.05); opacity: 1; }
.video-thumb iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-thumb.wide, .video-wide { width: 100%; border-radius: 20px; }
.play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--yellow); color: var(--dark); box-shadow: 0 0 0 0 rgba(242, 193, 46, .6); animation: pulseY 2s infinite; }
.play .ic { width: 26px; height: 26px; margin-left: 4px; }
@keyframes pulseY { 70% { box-shadow: 0 0 0 18px rgba(242, 193, 46, 0); } 100% { box-shadow: 0 0 0 0 rgba(242, 193, 46, 0); } }
.map { position: relative; margin-top: 16px; border-radius: 14px; overflow: hidden; height: 340px; background: url("../img/map-bg.svg") center / cover, var(--green-l); display: grid; place-items: center; }
.map.tall { height: 440px; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.nearby { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.nearby li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: .93rem; }
.nearby li span { display: flex; gap: 8px; align-items: center; }
.nearby .ic { color: var(--green); }
.brochure { display: flex; align-items: center; justify-content: space-between; gap: 18px; background: linear-gradient(120deg, var(--yellow-l), var(--green-l)); border: 0; }
.brochure h2 { margin-bottom: 4px; }
.brochure p { margin: 0; }
.faq details { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; background: #fff; transition: border-color .3s; }
.faq details[open] { border-color: var(--yellow); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 16px 18px; font-weight: 600; color: var(--dark); cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transition: transform .3s var(--ease); flex-shrink: 0; }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq details > div { padding: 0 18px 16px; color: var(--muted); }
.sticky-box { position: sticky; top: calc(var(--header-h) + 70px); background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: var(--shadow); scroll-margin-top: calc(var(--header-h) + 80px); }
.agent { display: flex; gap: 12px; align-items: center; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.agent-avatar { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--yellow-l); }
.agent strong { display: block; color: var(--dark); }
.agent small { color: var(--green-d); font-weight: 600; }
.aside-or { text-align: center; position: relative; margin: 16px 0; font-size: .8rem; color: var(--muted); }
.aside-or::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid var(--line); }
.aside-or span { position: relative; background: #fff; padding: 0 10px; }
.aside-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.aside-actions .btn { padding: 11px 10px; }
.mobile-cta { display: none; }
.h-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 52px) / 3); gap: 26px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 10px; }
.h-scroll::-webkit-scrollbar { display: none; }
.h-scroll > * { scroll-snap-align: start; }
.carousel-nav { display: flex; gap: 8px; }
.carousel-nav button { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--dark); background: none; color: var(--dark); display: grid; place-items: center; transition: background .3s, color .3s; }
.carousel-nav button:hover { background: var(--dark); color: #fff; }

/* ---------- Prose / blog ---------- */
.prose { color: var(--text); }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.4em; }
.prose img { border-radius: 14px; margin: 1.5em 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose blockquote { margin: 1.5em 0; padding: 16px 22px; border-left: 4px solid var(--yellow); background: var(--yellow-l); border-radius: 0 12px 12px 0; color: var(--dark); }
.prose a { text-decoration: underline; text-decoration-color: var(--yellow); text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px; text-align: left; }
.prose iframe { max-width: 100%; border-radius: 14px; }
.post-hero { background: var(--dark); color: rgba(255, 255, 255, .8); padding: 56px 0 120px; position: relative; overflow: hidden; }
.post-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 80% 0%, rgba(242, 193, 46, .3), transparent 40%), url("../img/pattern.svg"); }
.post-hero > * { position: relative; }
.post-hero h1 { color: #fff; margin-top: 14px; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.post-meta { margin: 0; }
.post-meta strong { color: #fff; }
.post-cover { margin-top: -90px; position: relative; border-radius: 22px; box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; }
.post-grid { display: grid; grid-template-columns: 1fr 340px; gap: 50px; padding-top: 50px; padding-bottom: 60px; align-items: start; }
.post-content { font-size: 1.06rem; line-height: 1.8; }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.share-row { display: flex; align-items: center; gap: 10px; margin-top: 24px; font-weight: 600; color: var(--dark); }
.share-row a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line); color: var(--dark); }
.share-row a:hover { background: var(--yellow); }
.post-aside .sticky-box { top: calc(var(--header-h) + 20px); }

/* ---------- CMS page blocks ---------- */
.split-block { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-block.reverse .split-media { order: -1; }
.split-media img { border-radius: 22px; box-shadow: var(--shadow-lg); width: 100%; }
.masonry { columns: 3 260px; column-gap: 14px; }
.masonry a { display: block; margin-bottom: 14px; border-radius: 14px; overflow: hidden; break-inside: avoid; }
.masonry img { width: 100%; transition: transform .7s var(--ease); }
.masonry a:hover img { transform: scale(1.05); }
.form-block { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 30px; box-shadow: var(--shadow); }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list .ic { margin-top: 4px; color: var(--yellow); }
.contact-list.big { margin-top: 24px; gap: 18px; font-size: 1.05rem; }
.contact-list.big .ic { width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: var(--yellow-l); color: var(--yellow-d); margin: 0; }
.contact-list.big li { align-items: center; }
.contact-list.big a { color: var(--dark); font-weight: 600; }

/* Sell page */
.sell-hero { padding: 60px 0 70px; }
.sell-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.sell-hero h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
.tick-list.light { color: #fff; }
.sell-form-card { background: #fff; border-radius: 22px; padding: 30px; box-shadow: var(--shadow-lg); color: var(--text); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 24px; text-align: center; }
.step-num { position: absolute; top: 14px; right: 18px; font-family: var(--head); font-weight: 800; font-size: 2.6rem; color: var(--yellow-l); line-height: 1; }
.step-ic { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--green); color: #fff; margin-bottom: 16px; }
.step-ic .ic { width: 26px; height: 26px; }
.step p { color: var(--muted); margin: 0; font-size: .94rem; }

/* Thank you / 404 */
.thanks { padding: 110px 0; }
.thanks-ic { display: inline-grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; background: var(--green); color: #fff; margin-bottom: 24px; animation: pop .6s var(--ease); box-shadow: 0 0 0 14px var(--green-l); }
.thanks-ic .ic { width: 46px; height: 46px; }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
.big-404 { font-family: var(--head); font-weight: 800; font-size: clamp(5rem, 16vw, 9rem); line-height: 1; color: var(--dark); display: flex; justify-content: center; align-items: center; gap: 8px; margin-bottom: 16px; }
.big-404 span { display: grid; place-items: center; width: .9em; height: .9em; border-radius: 50%; background: var(--yellow); }
.big-404 .ic { width: .5em; height: .5em; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: #16191D; color: rgba(255, 255, 255, .7); padding: 80px 0 0; overflow: hidden; margin-top: 40px; }
.footer-glow { position: absolute; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(242, 193, 46, .12), transparent 60%); top: -300px; right: -200px; }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 50px; }
.footer-about img { height: 50px; width: auto; margin-bottom: 18px; }
.footer-col h4 { color: #fff; font-size: 1.05rem; margin-bottom: 18px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { color: rgba(255, 255, 255, .7); transition: color .2s, padding .3s var(--ease); }
.footer-col ul a:hover { color: var(--yellow); padding-left: 4px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; transition: background .3s, transform .3s var(--ease); }
.socials a:hover { background: var(--yellow); color: var(--dark); transform: translateY(-3px); }
.footer-bottom { position: relative; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 20px; font-size: .88rem; }
.footer-bottom p { margin: 0; }
.to-top { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--yellow); color: var(--dark); transform: rotate(-90deg); }
.to-top:hover { color: var(--dark); background: #fff; }

/* Floating buttons */
.floating-actions { position: fixed; right: 20px; bottom: 22px; z-index: 90; display: flex; flex-direction: column; gap: 12px; }
.fab { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; color: #fff; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .4); transition: transform .3s var(--ease); position: relative; }
.fab .ic { width: 26px; height: 26px; }
.fab:hover { transform: scale(1.1); color: #fff; }
.fab-wa { background: #25D366; }
.fab-wa::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: ring 2s infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
.fab-call { background: var(--green); }

/* Modal & lightbox */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(15, 18, 22, .65); backdrop-filter: blur(4px); animation: fade .3s; }
.modal-box { position: relative; width: 100%; max-width: 440px; max-height: 92vh; overflow-y: auto; background: #fff; border-radius: 22px; padding: 30px; animation: modalIn .5s var(--ease); }
.modal-box h3 { font-size: 1.4rem; margin-top: 10px; }
.modal-art img { height: 42px; width: auto; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--bg); display: grid; place-items: center; }
@keyframes modalIn { from { opacity: 0; transform: translateY(30px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } }
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(10, 12, 14, .95); display: grid; place-items: center; }
.lightbox[hidden] { display: none; }
.lb-stage { width: 90vw; height: 82vh; display: grid; place-items: center; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; animation: fade .3s; }
.lightbox button { position: absolute; border: 0; background: rgba(255, 255, 255, .12); color: #fff; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; transition: background .2s; }
.lightbox button:hover { background: var(--yellow); color: var(--dark); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 20px; color: #fff; font-size: .9rem; }

/* Scroll reveal */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].visible { opacity: 1; transform: none; }
.js .why-card[data-reveal].visible:nth-child(even) { transform: translateY(24px); }
.js .why-cards.four .why-card[data-reveal].visible:nth-child(even) { transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .header-phone span { display: none; }
    .main-nav a { padding: 8px 10px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .loc-grid { grid-template-columns: repeat(3, 1fr); }
    .why-cards.four { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
    :root { --header-h: 68px; }
    .nav-toggle { display: flex; }
    .header-cta { display: none; }
    .header-inner .header-actions { margin-left: auto; }
    /* Absolute (not fixed): the header's backdrop-filter would trap a fixed child. */
    .main-nav { position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); background: #fff; padding: 24px 20px 80px; transform: translateX(100%); visibility: hidden; transition: transform .45s var(--ease), visibility .45s; overflow-y: auto; margin: 0; }
    .nav-open .main-nav { visibility: visible; }
    .nav-open .main-nav { transform: none; }
    .nav-open { overflow: hidden; }
    .main-nav ul { flex-direction: column; gap: 2px; }
    .main-nav a { font-size: 1.15rem; padding: 14px 6px; border-bottom: 1px solid var(--line); border-radius: 0; }
    .main-nav a::after { display: none; }
    .nav-mobile-extra { display: grid; gap: 12px; margin-top: 24px; }
    .main-nav .nav-mobile-extra .btn { display: flex; border-radius: 999px; padding: 14px 20px; font-size: 1rem; border: 2px solid transparent; }
    .main-nav .nav-mobile-extra .btn-outline { border-color: var(--dark); }
    .search-form { grid-template-columns: 1fr 1fr; }
    .sf-q { grid-column: span 2; }
    .sf-btn { grid-column: span 2; }
    .service-grid, .card-grid { grid-template-columns: repeat(2, 1fr); }
    .service-grid .service-card:last-child { grid-column: span 2; }
    .why-grid, .cta-box, .split-block, .form-block, .sell-hero-grid, .hero-with-form { grid-template-columns: 1fr; }
    .split-block.reverse .split-media { order: 0; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
    .stat:nth-child(3) { border-left: 0; }
    .t-track { grid-auto-columns: calc((100% - 24px) / 2); }
    .h-scroll { grid-auto-columns: calc((100% - 26px) / 2); }
    .listing-grid { grid-template-columns: 1fr; }
    .filters { position: fixed; inset: 0; z-index: 150; border-radius: 0; overflow-y: auto; transform: translateY(100%); transition: transform .45s var(--ease); top: 0; }
    .filters.open { transform: none; }
    .filter-toggle { display: inline-flex; }
    .prop-grid, .post-grid { grid-template-columns: 1fr; }
    .sticky-box { position: static; }
    .mobile-cta { display: grid; grid-template-columns: 1fr 1.5fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; background: #fff; padding: 10px 14px; box-shadow: 0 -8px 24px -10px rgba(0, 0, 0, .25); }
    .property-page .floating-actions { bottom: 86px; }
    .property-page .site-footer { padding-bottom: 70px; }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .amenities { grid-template-columns: repeat(3, 1fr); }
    .cta-box { padding: 36px 26px; }
    .why-card:nth-child(even), .js .why-card[data-reveal].visible:nth-child(even) { transform: none; }
}
@media (max-width: 640px) {
    body { font-size: 15px; }
    .section { padding: 64px 0; }
    .container { padding: 0 16px; }
    .header-phone { display: none; }
    .brand img { height: 40px; }
    .hero { min-height: auto; padding-bottom: 60px; }
    .search-form { grid-template-columns: 1fr; }
    .sf-q, .sf-btn { grid-column: auto; }
    .search-tabs { display: flex; }
    .search-tabs button { flex: 1; justify-content: center; padding: 9px 10px; }
    .scroll-cue { display: none; }
    .service-grid, .card-grid, .card-grid.two, .why-cards, .why-cards.four, .steps { grid-template-columns: 1fr; }
    .service-grid .service-card:last-child { grid-column: auto; }
    .loc-grid { grid-template-columns: 1fr 1fr; }
    .loc-card { grid-template-columns: 1fr; padding: 16px; }
    .loc-ic { grid-row: auto; margin-bottom: 10px; width: 40px; height: 40px; }
    .t-track, .h-scroll { grid-auto-columns: 86%; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 110px; }
    .gallery .g-item:first-child { grid-column: span 2; grid-row: auto; }
    .gallery .g-item:nth-child(n+4) { display: none; }
    .gallery-1 { grid-template-rows: 260px; }
    .gallery-2 .g-item:nth-child(2) { grid-row: auto; grid-column: span 2; display: none; }
    .prop-head { flex-direction: column; align-items: flex-start; }
    .prop-price { text-align: left; }
    .prop-actions { justify-content: flex-start; }
    .facts { grid-template-columns: 1fr 1fr; }
    .highlights, .nearby, .videos { grid-template-columns: 1fr; }
    .amenities { grid-template-columns: repeat(2, 1fr); }
    .panel { padding: 20px; }
    .field-row { grid-template-columns: 1fr; }
    .cta-banner { padding: 32px 24px; }
    .stat + .stat { border-left: 0; }
    .modal-box { padding: 24px 20px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .js [data-reveal] { opacity: 1; transform: none; }
}
