/* ==========================================================================
   Prime Estate — main stylesheet
   Navy #0B2A5B + Golden Yellow #F5B921 (from the D2i property-dealer flyer)
   ========================================================================== */

:root {
	--pe-primary: #0b2a5b;
	--pe-primary-dark: #071a3a;
	--pe-primary-light: #1b4a94;
	--pe-accent: #f5b921;
	--pe-accent-hover: #ffcb3d;
	--pe-white: #fff;
	--pe-bg-tint: #eef4fb;
	--pe-text: #1b2433;
	--pe-muted: #5b6678;
	--pe-border: #dce5f1;
	--pe-wa: #25d366;
	--pe-wa-dark: #1ebe5b;
	--pe-danger: #d93636;
	--pe-radius: 16px;
	--pe-radius-sm: 10px;
	--pe-shadow: 0 10px 30px rgba(11, 42, 91, .10);
	--pe-shadow-lg: 0 24px 60px rgba(11, 42, 91, .20);
	--pe-ease: cubic-bezier(.22, .8, .24, 1);
	--pe-head-h: 76px;
	--pe-font-head: "Poppins", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
	--pe-font-body: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
	margin: 0; font-family: var(--pe-font-body); font-size: 16px; line-height: 1.65;
	color: var(--pe-text); background: var(--pe-white); overflow-x: hidden;
	animation: pe-page-in .5s var(--pe-ease) both;
}
body.is-leaving { opacity: 0; transition: opacity .22s ease; }
body.nav-open, body.filter-open, body.lb-open { overflow: hidden; }
img, svg, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: var(--pe-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--pe-primary-light); }
h1, h2, h3, h4 { font-family: var(--pe-font-head); color: var(--pe-primary); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--pe-accent); color: var(--pe-primary-dark); }
.screen-reader-text { position: absolute !important; clip: rect(1px, 1px, 1px, 1px); width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { clip: auto; width: auto; height: auto; background: #fff; padding: 10px 16px; z-index: 99999; top: 8px; left: 8px; }
:focus-visible { outline: 3px solid var(--pe-accent); outline-offset: 2px; }
.pe-i { width: 1.25em; height: 1.25em; flex: none; }
.pe-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.container { width: min(1240px, 100% - 40px); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 40px); }
.section { padding: 84px 0; position: relative; }
.section--tint { background: var(--pe-bg-tint); }
.pe-main { min-height: 60vh; }

/* ---------- Headings ---------- */
.pe-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.pe-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
.pe-head p { color: var(--pe-muted); }
.pe-head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; text-align: left; flex-wrap: wrap; }
.pe-head--row h2 { margin: 0; }
.pe-eyebrow {
	display: inline-flex; align-items: center; gap: 8px; font-family: var(--pe-font-head); font-weight: 600;
	font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--pe-primary-light); margin-bottom: 10px;
}
.pe-eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--pe-accent); }

/* ---------- Buttons ---------- */
.btn {
	position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
	padding: 13px 26px; border-radius: 999px; border: 2px solid transparent; font-family: var(--pe-font-head);
	font-weight: 600; font-size: .95rem; line-height: 1.2; cursor: pointer; text-align: center;
	transition: transform .25s var(--pe-ease), box-shadow .25s, background .25s, color .25s, border-color .25s;
	will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--sm { padding: 9px 18px; font-size: .85rem; }
.btn--lg { padding: 16px 32px; font-size: 1.02rem; }
.btn--block { display: flex; width: 100%; }
.btn--accent { background: var(--pe-accent); color: var(--pe-primary-dark); box-shadow: 0 8px 20px rgba(245, 185, 33, .35); }
.btn--accent:hover { background: var(--pe-accent-hover); color: var(--pe-primary-dark); box-shadow: 0 12px 26px rgba(245, 185, 33, .5); }
.btn--primary { background: var(--pe-primary); color: #fff; box-shadow: 0 8px 20px rgba(11, 42, 91, .25); }
.btn--primary:hover { background: var(--pe-primary-light); color: #fff; }
.btn--outline { background: transparent; color: var(--pe-primary); border-color: var(--pe-primary); }
.btn--outline:hover { background: var(--pe-primary); color: #fff; }
.btn--glass { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .4); backdrop-filter: blur(6px); }
.btn--glass:hover { background: #fff; color: var(--pe-primary); }
.btn--wa { background: var(--pe-wa); color: #fff; box-shadow: 0 8px 20px rgba(37, 211, 102, .3); }
.btn--wa:hover { background: var(--pe-wa-dark); color: #fff; }
.btn .pe-i { width: 1.15em; height: 1.15em; transition: transform .25s var(--pe-ease); }
.btn:hover .pe-i:last-child { transform: translateX(3px); }
.ripple { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .55); transform: scale(0); pointer-events: none; animation: pe-ripple .65s ease-out forwards; }
.btn--outline .ripple, .btn--accent .ripple { background: rgba(11, 42, 91, .25); }

/* ---------- Preloader / progress ---------- */
.pe-preloader {
	position: fixed; inset: 0; z-index: 99999; display: grid; place-items: center;
	background: linear-gradient(160deg, var(--pe-primary-dark), var(--pe-primary));
	color: var(--pe-accent); transition: opacity .5s ease, visibility .5s;
}
.pe-preloader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
html:not(.js) .pe-preloader { display: none; }
.pe-preloader__inner { text-align: center; width: min(320px, 80vw); }
.pe-skyline { width: 100%; margin-bottom: 18px; }
.pe-skyline path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: pe-draw 1.4s var(--pe-ease) forwards; }
.pe-skyline path:nth-child(2) { animation-delay: .1s; } .pe-skyline path:nth-child(3) { animation-delay: .2s; }
.pe-skyline path:nth-child(4) { animation-delay: .3s; } .pe-skyline path:nth-child(5) { animation-delay: .4s; }
.pe-skyline path:nth-child(6) { animation-delay: .5s; } .pe-skyline path:nth-child(7) { animation-delay: .6s; }
.pe-preloader__name { font-family: var(--pe-font-head); color: #fff; font-weight: 700; font-size: 1.3rem; letter-spacing: .04em; margin-bottom: 14px; }
.pe-preloader__bar { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .15); overflow: hidden; }
.pe-preloader__bar span { display: block; height: 100%; width: 100%; background: var(--pe-accent); transform: scaleX(0); transform-origin: left; animation: pe-load 1.3s var(--pe-ease) forwards; }

.pe-progress { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 10001; pointer-events: none; }
.pe-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--pe-accent), var(--pe-accent-hover)); transform: scaleX(0); transform-origin: left; }

/* ---------- Header ---------- */
.pe-header {
	position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: var(--pe-head-h);
	transition: background .3s, box-shadow .3s, height .3s var(--pe-ease), backdrop-filter .3s;
}
.admin-bar .pe-header { top: 32px; }
.pe-header.is-scrolled {
	height: 64px; background: rgba(7, 26, 58, .88); backdrop-filter: blur(14px) saturate(160%);
	-webkit-backdrop-filter: blur(14px) saturate(160%); box-shadow: 0 8px 28px rgba(7, 26, 58, .28);
}
.pe-header__in { height: 100%; display: flex; align-items: center; gap: 28px; }
.pe-logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-family: var(--pe-font-head); font-weight: 700; font-size: 1.3rem; flex: none; }
.pe-logo:hover { color: #fff; }
.pe-logo img { max-height: 48px; width: auto; }
.custom-logo-link { display: block; }
.pe-logo__mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--pe-accent); color: var(--pe-primary-dark); transition: transform .4s var(--pe-ease); }
.pe-logo:hover .pe-logo__mark { transform: rotate(-8deg) scale(1.06); }
.pe-logo__mark .pe-i { width: 24px; height: 24px; }
.pe-nav { margin-left: auto; }
.pe-menu { display: flex; align-items: center; gap: 4px; }
.pe-menu > li { position: relative; }
.pe-menu a { position: relative; display: block; padding: 10px 14px; color: #fff; font-weight: 500; font-size: .96rem; }
.pe-menu > li > a::after {
	content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px; border-radius: 3px; background: var(--pe-accent);
	transform: scaleX(0); transform-origin: left; transition: transform .3s var(--pe-ease);
}
.pe-menu > li:hover > a::after, .pe-menu > .current-menu-item > a::after, .pe-menu > .current-menu-ancestor > a::after { transform: scaleX(1); }
.pe-menu a:hover { color: var(--pe-accent); }
.pe-menu .menu-item-has-children > a { padding-right: 26px; }
.pe-menu .menu-item-has-children > a::before {
	content: ""; position: absolute; right: 12px; top: 50%; width: 6px; height: 6px; margin-top: -5px;
	border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .25s;
}
.pe-menu .menu-item-has-children:hover > a::before { transform: rotate(225deg); margin-top: -2px; }
.pe-menu .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 210px; background: #fff; border-radius: 14px; padding: 8px;
	box-shadow: var(--pe-shadow-lg); opacity: 0; visibility: hidden; transform: translateY(12px);
	transition: all .28s var(--pe-ease);
}
.pe-menu li:hover > .sub-menu, .pe-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.pe-menu .sub-menu a { color: var(--pe-text); border-radius: 8px; padding: 10px 14px; }
.pe-menu .sub-menu a:hover { background: var(--pe-bg-tint); color: var(--pe-primary); }
.pe-nav__foot { display: none; }
.pe-header__act { display: flex; align-items: center; gap: 14px; }
.pe-header__phone { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; font-size: .92rem; white-space: nowrap; }
.pe-header__phone:hover { color: var(--pe-accent); }
.pe-header__phone .pe-i { color: var(--pe-accent); }
.pe-saved-link { position: relative; width: 42px; height: 42px; display: grid; place-items: center; color: #fff; border-radius: 50%; background: rgba(255, 255, 255, .1); transition: background .25s, transform .25s; }
.pe-saved-link:hover { background: var(--pe-accent); color: var(--pe-primary-dark); transform: scale(1.08); }
.pe-saved-count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; display: grid; place-items: center; border-radius: 10px; background: var(--pe-accent); color: var(--pe-primary-dark); font-size: .72rem; font-weight: 700; }
.pe-saved-count[hidden] { display: none; }
.pe-saved-count.bump { animation: pe-bump .4s var(--pe-ease); }
.pe-burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .12); position: relative; z-index: 1002; }
.pe-burger span { position: absolute; left: 12px; right: 12px; height: 2.5px; border-radius: 2px; background: #fff; transition: transform .35s var(--pe-ease), opacity .2s, top .35s var(--pe-ease); }
.pe-burger span:nth-child(1) { top: 14px; } .pe-burger span:nth-child(2) { top: 21px; } .pe-burger span:nth-child(3) { top: 28px; }
.nav-open .pe-burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-open .pe-burger span:nth-child(2) { opacity: 0; }
.nav-open .pe-burger span:nth-child(3) { top: 21px; transform: rotate(-45deg); }
.pe-overlay { position: fixed; inset: 0; background: rgba(7, 26, 58, .6); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; z-index: 1000; }
.nav-open .pe-overlay { opacity: 1; visibility: visible; }

/* ---------- Hero (home) ---------- */
.pe-hero {
	position: relative; overflow: hidden; color: #fff; padding: calc(var(--pe-head-h) + 70px) 0 150px;
	background: radial-gradient(1200px 600px at 85% 10%, rgba(245, 185, 33, .18), transparent 60%), linear-gradient(155deg, var(--pe-primary-dark) 0%, var(--pe-primary) 55%, var(--pe-primary-light) 120%);
}
.admin-bar .pe-hero { padding-top: calc(var(--pe-head-h) + 102px); }
.pe-hero__bg { position: absolute; inset: 0; pointer-events: none; }
.pe-hero__bg.has-img::before { content: ""; position: absolute; inset: 0; background: var(--hero-img) center/cover; opacity: .28; }
.pe-shape { position: absolute; border-radius: 50%; filter: blur(2px); will-change: transform; }
.pe-shape--1 { width: 420px; height: 420px; left: -120px; top: 10%; background: radial-gradient(circle at 30% 30%, rgba(245, 185, 33, .35), transparent 70%); animation: pe-drift 14s ease-in-out infinite alternate; }
.pe-shape--2 { width: 300px; height: 300px; right: 8%; top: 18%; background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .18), transparent 70%); animation: pe-drift 11s ease-in-out infinite alternate-reverse; }
.pe-shape--3 { width: 200px; height: 200px; left: 40%; bottom: 20%; background: radial-gradient(circle at 30% 30%, rgba(111, 168, 220, .35), transparent 70%); animation: pe-drift 17s ease-in-out infinite alternate; }
.pe-sky { position: absolute; left: 0; bottom: 0; width: 100%; height: 300px; will-change: transform; }
.pe-sky--back { fill: rgba(255, 255, 255, .06); }
.pe-sky--front { fill: rgba(255, 255, 255, .10); }
.pe-hero__in { position: relative; z-index: 2; }
.pe-hero__text { max-width: 760px; }
.pe-hero__tag { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); font-weight: 600; font-size: .86rem; margin-bottom: 20px; backdrop-filter: blur(6px); }
.pe-hero__tag .pe-i { color: var(--pe-accent); }
.pe-hero__title { color: #fff; font-size: clamp(2.2rem, 5.6vw, 4.1rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 18px; }
.pe-rot { color: var(--pe-accent); white-space: nowrap; display: inline-block; }
.pe-caret { display: inline-block; width: 3px; height: .9em; margin-left: 4px; background: var(--pe-accent); vertical-align: -.08em; animation: pe-blink 1s steps(1) infinite; }
.pe-hero__sub { font-size: clamp(1rem, 1.6vw, 1.2rem); color: rgba(255, 255, 255, .85); max-width: 620px; margin-bottom: 28px; }
.pe-hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

.pe-hero__float { position: absolute; right: 0; top: 4%; width: 300px; height: 330px; }
.pe-float-card {
	position: absolute; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 16px; color: var(--pe-primary);
	background: rgba(255, 255, 255, .95); box-shadow: var(--pe-shadow-lg); will-change: transform;
}
.pe-float-card .pe-i { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--pe-accent); color: var(--pe-primary-dark); }
.pe-float-card strong { display: block; font-family: var(--pe-font-head); font-size: 1.15rem; line-height: 1.1; }
.pe-float-card span { font-size: .78rem; color: var(--pe-muted); }
.pe-float-card--a { top: 0; right: 40px; animation: pe-float 6s ease-in-out infinite; }
.pe-float-card--b { top: 120px; right: -10px; animation: pe-float 7s ease-in-out -2s infinite; }
.pe-float-card--c { top: 235px; right: 70px; animation: pe-float 8s ease-in-out -4s infinite; }

.pe-search { margin-top: 48px; background: #fff; border-radius: 22px; padding: 12px 14px 14px; box-shadow: var(--pe-shadow-lg); color: var(--pe-text); max-width: 1020px; }
.pe-search__tabs { display: flex; gap: 6px; padding: 4px 6px 12px; }
.pe-search__tabs label { cursor: pointer; }
.pe-search__tabs input { position: absolute; opacity: 0; pointer-events: none; }
.pe-search__tabs span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 22px; border-radius: 999px; font-weight: 600; font-size: .92rem; color: var(--pe-muted); transition: all .25s; }
.pe-search__tabs input:checked + span { background: var(--pe-primary); color: #fff; box-shadow: 0 6px 14px rgba(11, 42, 91, .3); }
.pe-search__tabs input:focus-visible + span { outline: 3px solid var(--pe-accent); }
.pe-search__fields { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 10px; align-items: end; }
.pe-search__f { background: var(--pe-bg-tint); border-radius: 14px; padding: 8px 16px; transition: box-shadow .25s; }
.pe-search__f:focus-within { box-shadow: 0 0 0 3px var(--pe-accent); }
.pe-search__f label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--pe-muted); }
.pe-search__f select, .pe-search__f input { width: 100%; border: 0; background: transparent; outline: 0; padding: 4px 0; font-weight: 600; color: var(--pe-primary); }
.pe-search__btn { height: 100%; min-height: 58px; border-radius: 14px; }

/* ---------- Inner page hero ---------- */
.pe-pagehero {
	position: relative; overflow: hidden; color: #fff; padding: calc(var(--pe-head-h) + 56px) 0 100px;
	background: linear-gradient(155deg, var(--pe-primary-dark), var(--pe-primary) 70%, var(--pe-primary-light));
}
.admin-bar .pe-pagehero { padding-top: calc(var(--pe-head-h) + 88px); }
.pe-pagehero__shapes span { position: absolute; border-radius: 50%; animation: pe-drift 12s ease-in-out infinite alternate; }
.pe-pagehero__shapes span:nth-child(1) { width: 320px; height: 320px; right: -80px; top: -60px; background: radial-gradient(circle, rgba(245, 185, 33, .3), transparent 70%); }
.pe-pagehero__shapes span:nth-child(2) { width: 220px; height: 220px; left: 10%; bottom: -80px; background: radial-gradient(circle, rgba(255, 255, 255, .14), transparent 70%); animation-duration: 9s; }
.pe-pagehero__shapes span:nth-child(3) { width: 120px; height: 120px; left: 55%; top: 20%; background: radial-gradient(circle, rgba(111, 168, 220, .3), transparent 70%); animation-duration: 15s; }
.pe-pagehero__in { position: relative; z-index: 2; }
.pe-pagehero__title { color: #fff; font-size: clamp(1.8rem, 4vw, 3rem); margin: 8px 0 8px; }
.pe-pagehero__sub { color: rgba(255, 255, 255, .85); max-width: 640px; margin: 0; }
.pe-crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: .86rem; color: rgba(255, 255, 255, .7); }
.pe-crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.pe-crumbs a { color: rgba(255, 255, 255, .85); }
.pe-crumbs a:hover { color: var(--pe-accent); }
.pe-crumbs [aria-current] { color: var(--pe-accent); }

/* ---------- Wave divider ---------- */
.pe-wave { position: absolute; left: 0; right: 0; bottom: -1px; height: 90px; line-height: 0; overflow: hidden; pointer-events: none; z-index: 3; }
.pe-wave svg { width: 100%; height: 100%; display: block; }
.pe-wave__y { fill: var(--pe-accent); animation: pe-wave 9s ease-in-out infinite alternate; }
.pe-wave--footer { position: relative; margin-top: -1px; height: 80px; background: transparent; z-index: 1; }
.pe-wave.is-flip { transform: scaleY(-1); }

/* ---------- Scroll reveal ---------- */
.js [data-animate] { opacity: 0; transition: opacity .8s var(--pe-ease), transform .8s var(--pe-ease); transition-delay: calc(var(--d, 0) * 1ms); will-change: transform, opacity; }
.js [data-animate="up"], .js [data-animate=""] { transform: translateY(36px); }
.js [data-animate="down"] { transform: translateY(-24px); }
.js [data-animate="left"] { transform: translateX(-48px); }
.js [data-animate="right"] { transform: translateX(48px); }
.js [data-animate="zoom"] { transform: scale(.88); }
.js [data-animate="rise"] { transform: translateY(70px) scale(.97); }
.js [data-animate].is-in { opacity: 1; transform: none; }
.js [data-animate][data-delay="1"] { --d: 120; } .js [data-animate][data-delay="2"] { --d: 240; }
.js [data-animate][data-delay="3"] { --d: 360; } .js [data-animate][data-delay="4"] { --d: 480; }

/* ---------- Grids ---------- */
.pe-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pe-grid--posts { grid-template-columns: repeat(2, 1fr); }

/* ---------- Category cards ---------- */
.pe-cats__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; perspective: 1200px; }
.pe-catcard { position: relative; border-radius: 22px; padding: 3px; background: var(--pe-border); transform-style: preserve-3d; transition: transform .25s ease-out, box-shadow .3s; will-change: transform; }
.pe-catcard::before {
	content: ""; position: absolute; inset: 0; border-radius: 22px; padding: 3px; opacity: 0; transition: opacity .3s;
	background: conic-gradient(from var(--ang, 0deg), var(--pe-accent), var(--pe-primary-light), var(--pe-accent));
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
	animation: pe-ang 4s linear infinite;
}
.pe-catcard:hover { box-shadow: var(--pe-shadow-lg); }
.pe-catcard:hover::before { opacity: 1; }
.pe-catcard__in { position: relative; height: 100%; padding: 28px; border-radius: 20px; background: #fff; }
.pe-catcard__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.pe-catcard__ico { width: 66px; height: 66px; display: grid; place-items: center; border-radius: 18px; background: linear-gradient(135deg, var(--pe-primary), var(--pe-primary-light)); color: var(--pe-accent); transition: transform .4s var(--pe-ease); transform: translateZ(30px); }
.pe-catcard__ico .pe-i { width: 34px; height: 34px; }
.pe-catcard:hover .pe-catcard__ico { animation: pe-bounce .7s var(--pe-ease); }
.pe-catcard__count { font-size: .85rem; color: var(--pe-muted); background: var(--pe-bg-tint); padding: 6px 14px; border-radius: 999px; }
.pe-catcard__count strong { color: var(--pe-primary); font-family: var(--pe-font-head); }
.pe-catcard h3 { font-size: 1.6rem; margin-bottom: 14px; }
.pe-catcard h3 a { color: inherit; }
.pe-catcard__kids { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 18px; }
.pe-catcard__kids a { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 12px; background: var(--pe-bg-tint); color: var(--pe-text); font-size: .9rem; font-weight: 500; transition: all .25s var(--pe-ease); }
.pe-catcard__kids a span { flex: 1; }
.pe-catcard__kids a em { font-style: normal; font-size: .72rem; color: var(--pe-muted); background: #fff; padding: 1px 7px; border-radius: 8px; }
.pe-catcard__kids a .pe-i { color: var(--pe-primary-light); }
.pe-catcard__kids a:hover { background: var(--pe-primary); color: #fff; transform: translateX(4px); }
.pe-catcard__kids a:hover .pe-i { color: var(--pe-accent); }
.pe-catcard__more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-family: var(--pe-font-head); }
.pe-catcard__more .pe-i { transition: transform .25s; }
.pe-catcard__more:hover .pe-i { transform: translateX(5px); }

/* ---------- Property card ---------- */
.pe-card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--pe-radius); overflow: hidden; box-shadow: var(--pe-shadow); border: 1px solid var(--pe-border); transition: transform .35s var(--pe-ease), box-shadow .35s var(--pe-ease), opacity .8s var(--pe-ease); }
.pe-card.is-in:hover, .pe-card:hover { transform: translateY(-8px); box-shadow: var(--pe-shadow-lg); }
.pe-card__media { position: relative; display: block; aspect-ratio: 16 / 11; overflow: hidden; background: var(--pe-bg-tint); }
.pe-card__img, .pe-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--pe-ease), opacity .3s; }
.pe-card:hover .pe-card__media img { transform: scale(1.08); }
.pe-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7, 26, 58, .65), transparent 45%); pointer-events: none; }
.pe-card__badges { position: absolute; top: 14px; left: 14px; z-index: 2; display: flex; gap: 6px; flex-wrap: wrap; }
.pe-badge { display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px; border-radius: 999px; font-size: .74rem; font-weight: 700; letter-spacing: .03em; background: var(--pe-primary); color: #fff; }
.pe-badge--sale { background: var(--pe-primary); }
.pe-badge--rent { background: #0e9f6e; }
.pe-badge--featured { background: var(--pe-accent); color: var(--pe-primary-dark); }
.pe-badge--sold, .pe-badge--rented { background: var(--pe-danger); }
.pe-badge .pe-i { width: 13px; height: 13px; }
.pe-card__price {
	position: absolute; left: 14px; bottom: 12px; z-index: 2; padding: 6px 14px; border-radius: 10px; overflow: hidden;
	background: var(--pe-accent); color: var(--pe-primary-dark); font-family: var(--pe-font-head); font-weight: 700; font-size: 1.02rem;
}
.pe-card__price::after { content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .7), transparent); transform: skewX(-20deg); animation: pe-shine 3.6s ease-in-out infinite; }
.pe-ribbon { position: absolute; z-index: 3; top: 22px; right: -42px; width: 160px; text-align: center; transform: rotate(45deg); background: var(--pe-danger); color: #fff; font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; padding: 5px 0; box-shadow: 0 4px 10px rgba(0, 0, 0, .25); }
.pe-ribbon--lg { top: 30px; right: -48px; width: 200px; font-size: .9rem; padding: 7px 0; }
.pe-card.is-sold .pe-card__img, .pe-card.is-rented .pe-card__img { filter: grayscale(.55); }
.pe-heart { position: absolute; top: 12px; right: 12px; z-index: 4; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .95); color: var(--pe-primary); box-shadow: 0 6px 16px rgba(0, 0, 0, .18); transition: transform .25s var(--pe-ease), background .25s, color .25s; }
.pe-heart:hover { transform: scale(1.12); }
.pe-heart .pe-i { transition: fill .2s; }
.pe-heart.is-saved { background: var(--pe-danger); color: #fff; }
.pe-heart.is-saved .pe-i { fill: currentColor; }
.pe-heart.pop { animation: pe-pop .5s var(--pe-ease); }
.pe-heart--inline { position: static; margin-left: auto; box-shadow: none; background: var(--pe-bg-tint); }
.pe-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.pe-card__cat { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--pe-primary-light); margin-bottom: 6px; }
.pe-card__cat .pe-i { width: 16px; height: 16px; }
.pe-card__title { font-size: 1.18rem; margin: 0 0 8px; }
.pe-card__title a { color: var(--pe-primary); }
.pe-card__title a:hover { color: var(--pe-primary-light); }
.pe-card__loc { display: flex; align-items: flex-start; gap: 6px; color: var(--pe-muted); font-size: .9rem; margin-bottom: 14px; }
.pe-card__loc .pe-i { color: var(--pe-accent); margin-top: 2px; width: 18px; height: 18px; }
.pe-card__meta { display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 12px 0; border-top: 1px dashed var(--pe-border); border-bottom: 1px dashed var(--pe-border); margin-bottom: 14px; font-size: .88rem; font-weight: 500; }
.pe-card__meta li { display: inline-flex; align-items: center; gap: 6px; }
.pe-card__meta .pe-i { color: var(--pe-primary-light); width: 18px; height: 18px; }
.pe-card__excerpt { display: none; color: var(--pe-muted); font-size: .92rem; }
.pe-card__actions { display: flex; gap: 10px; margin-top: auto; }
.pe-card__actions .btn { flex: 1; padding-inline: 12px; }

/* list view */
.pe-grid.is-list { grid-template-columns: 1fr; }
.pe-grid.is-list .pe-card { flex-direction: row; }
.pe-grid.is-list .pe-card__media { width: 38%; aspect-ratio: auto; min-height: 260px; flex: none; }
.pe-grid.is-list .pe-card__excerpt { display: block; }
.pe-grid.is-list .pe-card__actions { max-width: 380px; }

/* ---------- Slider ---------- */
.pe-slider { position: relative; }
.pe-slider__track { display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 8px 4px 30px; margin: -8px -4px 0; cursor: grab; }
.pe-slider__track::-webkit-scrollbar { display: none; }
.pe-slider__track.is-drag { scroll-snap-type: none; scroll-behavior: auto; cursor: grabbing; user-select: none; }
.pe-slider__track.is-drag a { pointer-events: none; }
.pe-slide { flex: 0 0 calc((100% - 56px) / 3); scroll-snap-align: start; min-width: 0; display: flex; }
.pe-slide > * { width: 100%; }
.pe-slider__btn { position: absolute; top: 40%; z-index: 5; width: 50px; height: 50px; display: grid; place-items: center; border: 0; border-radius: 50%; background: #fff; color: var(--pe-primary); box-shadow: var(--pe-shadow-lg); transition: all .25s var(--pe-ease); }
.pe-slider__btn:hover { background: var(--pe-accent); transform: scale(1.1); }
.pe-slider__btn--prev { left: -22px; } .pe-slider__btn--next { right: -22px; }
.pe-slider__btn[disabled] { opacity: .35; pointer-events: none; }
.pe-slider__dots { display: flex; justify-content: center; gap: 8px; margin-top: 4px; }
.pe-slider__dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 10px; background: #b9c8de; transition: width .35s var(--pe-ease), background .3s; }
.pe-slider__dots button.is-active { width: 34px; background: var(--pe-accent); }
.pe-slider--testi .pe-slide { flex-basis: calc((100% - 28px) / 2); }

/* ---------- Features ---------- */
.pe-why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pe-feature { position: relative; padding: 34px 28px; border-radius: 20px; background: #fff; border: 1px solid var(--pe-border); box-shadow: var(--pe-shadow); overflow: hidden; transition: transform .35s var(--pe-ease), box-shadow .35s, border-color .3s; }
.pe-feature::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 5px; background: linear-gradient(90deg, var(--pe-accent), var(--pe-primary-light)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--pe-ease); }
.pe-feature:hover { transform: translateY(-8px); box-shadow: var(--pe-shadow-lg); border-color: transparent; }
.pe-feature:hover::before { transform: scaleX(1); }
.pe-feature__ico { width: 72px; height: 72px; display: grid; place-items: center; border-radius: 50%; background: var(--pe-primary); color: var(--pe-accent); margin-bottom: 18px; box-shadow: 0 0 0 6px rgba(245, 185, 33, .25); transition: transform .5s var(--pe-ease); }
.pe-feature__ico .pe-i { width: 34px; height: 34px; }
.pe-feature__ico.is-wa { background: var(--pe-wa); color: #fff; box-shadow: 0 0 0 6px rgba(37, 211, 102, .22); }
.pe-feature:hover .pe-feature__ico { transform: rotateY(360deg); }
.pe-feature h3 { font-size: 1.2rem; }
.pe-feature p { color: var(--pe-muted); margin: 0; }

/* ---------- Stats ---------- */
.pe-stats { position: relative; overflow: hidden; padding: 70px 0; color: #fff; background: linear-gradient(135deg, var(--pe-primary-dark), var(--pe-primary)); }
.pe-stats__shapes span { position: absolute; border-radius: 50%; animation: pe-drift 13s ease-in-out infinite alternate; }
.pe-stats__shapes span:nth-child(1) { width: 300px; height: 300px; left: -80px; top: -100px; background: radial-gradient(circle, rgba(245, 185, 33, .25), transparent 70%); }
.pe-stats__shapes span:nth-child(2) { width: 260px; height: 260px; right: -60px; bottom: -100px; background: radial-gradient(circle, rgba(255, 255, 255, .12), transparent 70%); }
.pe-stats__grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.pe-stats__grid li { padding: 10px; }
.pe-stats__grid .pe-i { width: 40px; height: 40px; color: var(--pe-accent); margin: 0 auto 10px; }
.pe-stats__grid strong { display: block; font-family: var(--pe-font-head); font-size: clamp(2.2rem, 4.5vw, 3.4rem); line-height: 1; color: #fff; margin-bottom: 6px; }
.pe-stats__grid li > span { color: rgba(255, 255, 255, .8); font-weight: 500; }

/* ---------- Testimonials ---------- */
.pe-quote { margin: 0; height: 100%; position: relative; padding: 34px 32px; border-radius: 22px; background: #fff; border: 1px solid var(--pe-border); box-shadow: var(--pe-shadow); display: flex; flex-direction: column; }
.pe-quote__mark { position: absolute; top: 22px; right: 26px; width: 56px; height: 56px; color: var(--pe-accent); opacity: .35; }
.pe-quote p { font-size: 1.04rem; color: var(--pe-text); flex: 1; }
.pe-quote footer { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.pe-quote footer em { display: block; font-style: normal; font-size: .85rem; color: var(--pe-muted); }
.pe-avatar { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; background: var(--pe-primary); color: var(--pe-accent); font-family: var(--pe-font-head); font-weight: 700; font-size: 1.2rem; }
.pe-stars { margin-left: auto; display: inline-flex; color: var(--pe-accent); }
.pe-stars .pe-i { width: 18px; height: 18px; }

/* ---------- Cities ---------- */
.pe-cities__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pe-city { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 2px; padding: 26px 24px; border-radius: 18px; color: #fff; min-height: 130px; justify-content: flex-end; transition: transform .35s var(--pe-ease), box-shadow .35s; }
.pe-city::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(135deg, var(--pe-primary), var(--pe-primary-light)); transition: transform .6s var(--pe-ease); }
.pe-city--1::before { background: linear-gradient(135deg, #0e5a8a, #3a9bd1); }
.pe-city--2::before { background: linear-gradient(135deg, var(--pe-primary-dark), var(--pe-primary)); }
.pe-city--3::before { background: linear-gradient(135deg, #15606b, #2ba58f); }
.pe-city { isolation: isolate; }
.pe-city > .pe-i { position: absolute; top: 18px; right: 18px; width: 30px; height: 30px; color: var(--pe-accent); transition: transform .4s var(--pe-ease); }
.pe-city strong { font-family: var(--pe-font-head); font-size: 1.25rem; color: #fff; }
.pe-city span { font-size: .85rem; opacity: .85; }
.pe-city:hover { transform: translateY(-6px) scale(1.02); box-shadow: var(--pe-shadow-lg); color: #fff; }
.pe-city:hover::before { transform: scale(1.15) rotate(2deg); }
.pe-city:hover > .pe-i { transform: translateY(-5px) scale(1.15); }

/* ---------- Booking / contact blocks ---------- */
.pe-book { background: linear-gradient(180deg, #fff, var(--pe-bg-tint)); }
.pe-book__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.pe-book__text h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
.pe-book__text p { color: var(--pe-muted); }
.pe-checks { margin: 22px 0 28px; display: grid; gap: 12px; }
.pe-checks li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.pe-checks .pe-i { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--pe-accent); color: var(--pe-primary-dark); }
.pe-book__card { background: #fff; border-radius: 24px; padding: 34px; box-shadow: var(--pe-shadow-lg); border-top: 6px solid var(--pe-accent); }
.pe-steps { display: grid; gap: 20px; margin: 22px 0 28px; }
.pe-steps li { display: flex; gap: 16px; align-items: flex-start; }
.pe-steps li > span { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--pe-primary); color: var(--pe-accent); font-family: var(--pe-font-head); font-weight: 700; font-size: 1.1rem; box-shadow: 0 0 0 5px rgba(245, 185, 33, .3); }
.pe-steps strong { color: var(--pe-primary); font-family: var(--pe-font-head); }
.pe-steps p { margin: 0; color: var(--pe-muted); font-size: .95rem; }

.pe-strip { background: var(--pe-primary-dark); color: #fff; padding: 34px 0; }
.pe-strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pe-strip a { display: flex; align-items: center; gap: 14px; color: #fff; padding: 12px 14px; border-radius: 14px; transition: background .25s, transform .25s; }
.pe-strip a:hover { background: rgba(255, 255, 255, .08); transform: translateY(-3px); color: #fff; }
.pe-strip .pe-i { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--pe-accent); color: var(--pe-primary-dark); }
.pe-strip a:nth-child(2) .pe-i { background: var(--pe-wa); color: #fff; }
.pe-strip em { display: block; font-style: normal; font-size: .78rem; opacity: .7; }
.pe-strip strong { font-size: .95rem; word-break: break-word; }

/* CTA banner */
.pe-cta { position: relative; overflow: hidden; padding: 70px 0; background: linear-gradient(120deg, var(--pe-primary), var(--pe-primary-light)); color: #fff; }
.pe-cta__shapes span { position: absolute; border-radius: 50%; animation: pe-drift 10s ease-in-out infinite alternate; }
.pe-cta__shapes span:nth-child(1) { width: 260px; height: 260px; right: 10%; top: -100px; background: radial-gradient(circle, rgba(245, 185, 33, .4), transparent 70%); }
.pe-cta__shapes span:nth-child(2) { width: 180px; height: 180px; left: 5%; bottom: -80px; background: radial-gradient(circle, rgba(255, 255, 255, .18), transparent 70%); }
.pe-cta__in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.pe-cta h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 6px; }
.pe-cta p { margin: 0; color: rgba(255, 255, 255, .85); }
.pe-cta__btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Archive / filters ---------- */
.pe-archive__grid { display: grid; grid-template-columns: 320px 1fr; gap: 36px; align-items: start; }
.pe-archive__side { position: sticky; top: 90px; }
.pe-filter { background: #fff; border: 1px solid var(--pe-border); border-radius: 20px; padding: 24px; box-shadow: var(--pe-shadow); }
.pe-filter__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.pe-filter__head h2 { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; margin: 0; }
.pe-filter__head .pe-i { color: var(--pe-accent); }
.pe-filter__close { display: none; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--pe-bg-tint); color: var(--pe-primary); place-items: center; }
.pe-field { margin-bottom: 18px; }
.pe-field__label { display: block; margin-bottom: 7px; font-size: .78rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--pe-muted); }
.pe-field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pe-filter select, .pe-filter input[type="search"], .pe-filter input[type="number"] {
	width: 100%; height: 46px; padding: 0 14px; border: 1.5px solid var(--pe-border); border-radius: 12px; background: #fff; outline: 0; transition: border-color .2s, box-shadow .2s;
}
.pe-filter select:focus, .pe-filter input:focus { border-color: var(--pe-primary-light); box-shadow: 0 0 0 4px rgba(27, 74, 148, .12); }
.pe-input-ico { position: relative; }
.pe-input-ico .pe-i { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--pe-muted); pointer-events: none; }
.pe-input-ico input { padding-left: 40px !important; }
.pe-seg { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--pe-bg-tint); border-radius: 12px; padding: 4px; }
.pe-seg input, .pe-pills input { position: absolute; opacity: 0; pointer-events: none; }
.pe-seg span { display: block; text-align: center; padding: 9px 4px; border-radius: 9px; font-weight: 600; font-size: .9rem; cursor: pointer; color: var(--pe-muted); transition: all .25s; }
.pe-seg input:checked + span { background: var(--pe-primary); color: #fff; box-shadow: 0 4px 10px rgba(11, 42, 91, .3); }
.pe-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pe-pills span { display: block; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--pe-border); font-weight: 600; font-size: .85rem; cursor: pointer; transition: all .25s var(--pe-ease); }
.pe-pills span:hover { border-color: var(--pe-primary-light); }
.pe-pills input:checked + span { background: var(--pe-accent); border-color: var(--pe-accent); color: var(--pe-primary-dark); transform: scale(1.06); }
.pe-pills input:focus-visible + span, .pe-seg input:focus-visible + span { outline: 3px solid var(--pe-accent); }
.pe-area { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pe-area select { grid-column: 1 / -1; }
.pe-range__labels { display: flex; justify-content: space-between; font-weight: 700; color: var(--pe-primary); font-size: .92rem; margin-bottom: 10px; }
.pe-range__track { position: relative; height: 26px; }
.pe-range__track::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 4px; border-radius: 4px; background: var(--pe-border); }
.pe-range__fill { position: absolute; top: 11px; height: 4px; border-radius: 4px; background: var(--pe-accent); }
.pe-range input[type="range"] { position: absolute; left: 0; width: 100%; top: 0; height: 26px; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; border: 0 !important; box-shadow: none !important; padding: 0 !important; }
.pe-range input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 22px; height: 22px; border-radius: 50%; background: var(--pe-primary); border: 4px solid var(--pe-accent); cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .3); transition: transform .2s; }
.pe-range input[type="range"]::-moz-range-thumb { pointer-events: auto; width: 14px; height: 14px; border-radius: 50%; background: var(--pe-primary); border: 4px solid var(--pe-accent); cursor: pointer; }
.pe-range input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.18); }
.pe-range input[type="range"]::-webkit-slider-runnable-track { background: transparent; }
.pe-range input[type="range"]::-moz-range-track { background: transparent; }
.pe-filter__actions { display: grid; gap: 12px; text-align: center; }
.pe-filter__reset { font-size: .88rem; font-weight: 600; color: var(--pe-muted); }
.pe-filter__reset:hover { color: var(--pe-danger); }
.pe-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 24px; padding: 14px 18px; background: var(--pe-bg-tint); border-radius: 14px; }
.pe-toolbar__count { margin: 0; color: var(--pe-muted); }
.pe-toolbar__count strong { color: var(--pe-primary); font-family: var(--pe-font-head); font-size: 1.15rem; }
.pe-toolbar__ctrl { display: flex; align-items: center; gap: 10px; }
.pe-sort { height: 40px; padding: 0 12px; border: 1.5px solid var(--pe-border); border-radius: 10px; background: #fff; outline: 0; }
.pe-viewtoggle { display: inline-flex; background: #fff; border-radius: 10px; padding: 3px; border: 1.5px solid var(--pe-border); }
.pe-viewtoggle button { width: 36px; height: 32px; display: grid; place-items: center; border: 0; border-radius: 7px; background: transparent; color: var(--pe-muted); transition: all .25s; }
.pe-viewtoggle button.is-active { background: var(--pe-primary); color: #fff; }
.pe-filter-toggle { display: none; }
.pe-filter-backdrop { display: none; }
.pe-archive__main .pe-grid { grid-template-columns: repeat(2, 1fr); }
.pe-archive__main .pe-grid.is-list { grid-template-columns: 1fr; }
.pe-archive__main .pe-grid.is-loading { pointer-events: none; }

.pe-skel { border-radius: var(--pe-radius); overflow: hidden; background: #fff; border: 1px solid var(--pe-border); }
.pe-skel i { display: block; background: linear-gradient(90deg, #e8eef7 25%, #f6f9fd 50%, #e8eef7 75%); background-size: 200% 100%; animation: pe-skel 1.2s linear infinite; }
.pe-skel i:nth-child(1) { aspect-ratio: 16 / 11; }
.pe-skel i:nth-child(2) { height: 14px; width: 40%; margin: 20px 22px 10px; border-radius: 8px; }
.pe-skel i:nth-child(3) { height: 20px; width: 80%; margin: 0 22px 12px; border-radius: 8px; }
.pe-skel i:nth-child(4) { height: 14px; width: 60%; margin: 0 22px 24px; border-radius: 8px; }

.pe-pagination-wrap { margin-top: 40px; }
.pe-pagination, .navigation.pagination .nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.pe-page, .navigation.pagination .page-numbers { min-width: 44px; height: 44px; display: inline-grid; place-items: center; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--pe-border); background: #fff; color: var(--pe-primary); font-weight: 600; transition: all .25s var(--pe-ease); }
a.pe-page:hover, .navigation.pagination a.page-numbers:hover { background: var(--pe-primary); color: #fff; border-color: var(--pe-primary); transform: translateY(-3px); }
.pe-page.is-current, .navigation.pagination .page-numbers.current { background: var(--pe-accent); border-color: var(--pe-accent); color: var(--pe-primary-dark); }
.navigation.pagination { margin-top: 40px; }
.screen-reader-text.nav-title, .navigation.pagination h2 { display: none; }

.pe-empty { grid-column: 1 / -1; text-align: center; padding: 60px 24px; border: 2px dashed var(--pe-border); border-radius: 20px; background: var(--pe-bg-tint); }
.pe-empty > .pe-i { width: 56px; height: 56px; margin: 0 auto 14px; color: var(--pe-primary-light); }
.pe-empty p { color: var(--pe-muted); max-width: 440px; margin: 0 auto 20px; }

/* ---------- Single property ---------- */
.pe-single__grid { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
.pe-single__main { min-width: 0; }
.pe-gallery { margin-bottom: 30px; }
.pe-gallery__stage { position: relative; overflow: hidden; border-radius: 22px; background: var(--pe-bg-tint); aspect-ratio: 3 / 2; box-shadow: var(--pe-shadow); }
.pe-gallery__track { display: flex; height: 100%; transition: transform .6s var(--pe-ease); touch-action: pan-y; will-change: transform; }
.pe-gallery__slide { flex: 0 0 100%; height: 100%; margin: 0; cursor: zoom-in; }
.pe-gallery__slide img { width: 100%; height: 100%; object-fit: cover; }
.pe-gallery__nav { position: absolute; top: 50%; z-index: 4; width: 48px; height: 48px; margin-top: -24px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--pe-primary); box-shadow: 0 6px 18px rgba(0, 0, 0, .25); transition: all .25s var(--pe-ease); }
.pe-gallery__nav:hover { background: var(--pe-accent); transform: scale(1.1); }
.pe-gallery__nav--prev { left: 16px; } .pe-gallery__nav--next { right: 16px; }
.pe-gallery__zoom { position: absolute; right: 16px; bottom: 16px; z-index: 4; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(7, 26, 58, .75); color: #fff; backdrop-filter: blur(6px); transition: transform .25s; }
.pe-gallery__zoom:hover { transform: scale(1.12); background: var(--pe-accent); color: var(--pe-primary-dark); }
.pe-gallery__count { position: absolute; left: 16px; bottom: 16px; z-index: 4; padding: 6px 14px; border-radius: 999px; background: rgba(7, 26, 58, .75); color: #fff; font-size: .82rem; font-weight: 600; backdrop-filter: blur(6px); }
.pe-gallery__badges { position: absolute; top: 16px; left: 16px; z-index: 4; display: flex; gap: 8px; }
.pe-gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding: 4px 2px 8px; scrollbar-width: thin; }
.pe-gallery__thumbs button { flex: 0 0 110px; height: 76px; padding: 0; border: 3px solid transparent; border-radius: 12px; overflow: hidden; opacity: .6; background: none; transition: all .3s var(--pe-ease); }
.pe-gallery__thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.pe-gallery__thumbs button:hover { opacity: 1; transform: translateY(-3px); }
.pe-gallery__thumbs button.is-active { opacity: 1; border-color: var(--pe-accent); }
.pe-ph { display: grid; place-items: center; width: 100%; height: 100%; min-height: 160px; background: linear-gradient(135deg, var(--pe-bg-tint), #dbe6f5); color: var(--pe-primary-light); }
.pe-ph .pe-i { width: 54px; height: 54px; opacity: .6; }
.pe-ph--lg { min-height: 380px; }

.pe-single__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.pe-single__title { font-size: clamp(1.5rem, 2.8vw, 2.1rem); margin: 6px 0 8px; }
.pe-single__price { text-align: right; }
.pe-single__price strong { display: block; font-family: var(--pe-font-head); font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--pe-primary); line-height: 1; }
.pe-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 34px; }
.pe-facts li { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 14px; background: var(--pe-bg-tint); transition: transform .3s var(--pe-ease), background .3s; }
.pe-facts li:hover { transform: translateY(-4px); background: #e2ecf9; }
.pe-facts .pe-i { width: 38px; height: 38px; padding: 8px; border-radius: 11px; background: var(--pe-primary); color: var(--pe-accent); }
.pe-facts em { display: block; font-style: normal; font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--pe-muted); }
.pe-facts strong { font-family: var(--pe-font-head); color: var(--pe-primary); font-size: .98rem; }
.pe-block { margin-bottom: 36px; }
.pe-block__title { position: relative; font-size: 1.35rem; padding-bottom: 12px; margin-bottom: 18px; }
.pe-block__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 54px; height: 4px; border-radius: 4px; background: var(--pe-accent); }
.pe-block__sub { margin: 22px 0 12px; font-size: 1.05rem; }
.pe-table { width: 100%; border-collapse: collapse; border-radius: 14px; overflow: hidden; }
.pe-table th, .pe-table td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--pe-border); }
.pe-table th { width: 38%; font-weight: 600; color: var(--pe-muted); background: var(--pe-bg-tint); }
.pe-table td { font-weight: 600; color: var(--pe-primary); }
.pe-amenities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pe-amenities li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--pe-bg-tint); font-weight: 500; }
.pe-amenities .pe-i { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--pe-accent); color: var(--pe-primary-dark); }
.pe-video { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 9; background: #000; }
.pe-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.pe-map { height: 380px; border-radius: 18px; overflow: hidden; background: var(--pe-bg-tint); z-index: 1; box-shadow: var(--pe-shadow); }
.pe-map--tall { height: 100%; min-height: 420px; }
.pe-map__bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 14px; font-weight: 500; }
.pe-map__bar > span { display: inline-flex; align-items: center; gap: 8px; }
.pe-map__bar .pe-i { color: var(--pe-accent); }
.pe-nearby { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pe-nearby li { display: flex; align-items: center; gap: 8px; color: var(--pe-muted); }
.pe-nearby .pe-i { color: var(--pe-primary-light); width: 18px; height: 18px; }
.pe-share { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 18px 20px; border-radius: 16px; background: var(--pe-bg-tint); }
.pe-share strong { display: inline-flex; align-items: center; gap: 8px; margin-right: auto; font-family: var(--pe-font-head); color: var(--pe-primary); }
.pe-share a, .pe-share button:not(.pe-heart) { width: 42px; height: 42px; display: grid; place-items: center; border: 0; border-radius: 50%; background: #fff; color: var(--pe-primary); box-shadow: var(--pe-shadow); transition: all .25s var(--pe-ease); }
.pe-share a:hover, .pe-share button:not(.pe-heart):hover { background: var(--pe-primary); color: var(--pe-accent); transform: translateY(-4px); }
.pe-hero-loc { display: inline-flex; }

.pe-single__side { position: sticky; top: 90px; display: grid; gap: 22px; }
.pe-sidecard { padding: 26px; border-radius: 22px; background: #fff; border: 1px solid var(--pe-border); box-shadow: var(--pe-shadow); }
.pe-sidecard h3 { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; margin-bottom: 18px; }
.pe-sidecard h3 .pe-i { color: var(--pe-accent); }
.pe-sidecard--price { background: linear-gradient(150deg, var(--pe-primary-dark), var(--pe-primary)); color: #fff; border: 0; display: grid; gap: 12px; }
.pe-sidecard__label { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--pe-accent); font-weight: 700; }
.pe-sidecard__price { font-family: var(--pe-font-head); font-size: 2.1rem; line-height: 1; }
.pe-sidecard__id, .pe-sidecard__agent { font-size: .86rem; opacity: .8; margin: 0; display: flex; align-items: center; gap: 8px; }
.pe-sidecard--price .btn--primary { background: rgba(255, 255, 255, .14); box-shadow: none; }
.pe-sidecard--price .btn--primary:hover { background: #fff; color: var(--pe-primary); }
.pe-mobilebar { display: none; }

/* ---------- Forms ---------- */
.pe-form { position: relative; display: grid; gap: 16px; }
.pe-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pe-float { position: relative; }
.pe-float input, .pe-float select, .pe-float textarea { width: 100%; padding: 24px 16px 9px; border: 1.5px solid var(--pe-border); border-radius: 12px; background: #fff; outline: 0; transition: border-color .25s, box-shadow .25s; min-height: 54px; }
.pe-float textarea { resize: vertical; }
.pe-float label { position: absolute; left: 17px; top: 17px; color: var(--pe-muted); font-size: .96rem; pointer-events: none; transform-origin: left top; transition: transform .22s var(--pe-ease), color .2s; }
.pe-float input:focus, .pe-float select:focus, .pe-float textarea:focus { border-color: var(--pe-primary-light); box-shadow: 0 0 0 4px rgba(27, 74, 148, .12); }
.pe-float input:focus + label, .pe-float input:not(:placeholder-shown) + label,
.pe-float textarea:focus + label, .pe-float textarea:not(:placeholder-shown) + label,
.pe-float select + label, .pe-float--date label { transform: translateY(-11px) scale(.76); color: var(--pe-primary-light); font-weight: 600; }
.pe-float input[type="date"] { padding-top: 24px; }
.pe-float__ok { position: absolute; right: 12px; top: 15px; width: 24px; height: 24px; color: #0e9f6e; opacity: 0; transform: scale(0); transition: all .35s var(--pe-ease); pointer-events: none; }
.pe-float.is-valid .pe-float__ok { opacity: 1; transform: scale(1); }
.pe-float.is-valid input { border-color: #0e9f6e; }
.pe-float.is-invalid input, .pe-float.is-invalid select, .pe-float.is-invalid textarea { border-color: var(--pe-danger); animation: pe-shake .4s; }
.pe-float__err { display: none; margin-top: 4px; font-size: .78rem; color: var(--pe-danger); font-weight: 500; }
.pe-float.is-invalid .pe-float__err { display: block; }
.pe-form button[type="submit"][disabled] { opacity: .7; pointer-events: none; }
.pe-form button[type="submit"].is-loading span::after { content: ""; display: inline-block; width: 14px; height: 14px; margin-left: 10px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; vertical-align: -2px; animation: pe-spin 0.7s linear infinite; }
.pe-form__msg { margin: 0; min-height: 0; font-size: .92rem; font-weight: 600; }
.pe-form__msg.is-error { color: var(--pe-danger); }
.pe-success { position: absolute; inset: -8px; z-index: 5; display: grid; place-content: center; text-align: center; gap: 8px; padding: 24px; background: #fff; border-radius: 18px; opacity: 0; visibility: hidden; transform: scale(.94); transition: all .5s var(--pe-ease); color: #0e9f6e; }
.pe-form.is-sent .pe-success { opacity: 1; visibility: visible; transform: none; }
.pe-success svg { width: 92px; height: 92px; margin: 0 auto 6px; }
.pe-success circle { stroke-dasharray: 160; stroke-dashoffset: 160; }
.pe-success path { stroke-dasharray: 50; stroke-dashoffset: 50; }
.pe-form.is-sent .pe-success circle { animation: pe-dash .7s .1s ease forwards; }
.pe-form.is-sent .pe-success path { animation: pe-dash .5s .65s ease forwards; }
.pe-success h4 { color: var(--pe-primary); font-size: 1.5rem; margin: 0; }
.pe-success p { color: var(--pe-muted); margin: 0; max-width: 320px; }

/* ---------- Contact page ---------- */
.pe-contact__cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 52px; }
.pe-contact__cards li { padding: 28px 22px; text-align: center; border-radius: 20px; border: 1px solid var(--pe-border); box-shadow: var(--pe-shadow); background: #fff; transition: transform .35s var(--pe-ease), box-shadow .35s; }
.pe-contact__cards li:hover { transform: translateY(-8px); box-shadow: var(--pe-shadow-lg); }
.pe-contact__cards .pe-feature__ico { margin: 0 auto 14px; }
.pe-contact__cards h3 { font-size: 1.1rem; }
.pe-contact__cards a, .pe-contact__cards span:not(.pe-feature__ico) { color: var(--pe-muted); font-weight: 500; word-break: break-word; }
.pe-contact__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 36px; align-items: stretch; }
.pe-contact__form { padding: 36px; border-radius: 24px; background: #fff; border: 1px solid var(--pe-border); box-shadow: var(--pe-shadow); }
.pe-contact__map { display: flex; flex-direction: column; }
.pe-contact__map .pe-map { flex: 1; }

/* ---------- About ---------- */
.pe-about__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.pe-about__visual { position: relative; min-height: 420px; }
.pe-about__card { position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; width: 210px; height: 210px; border-radius: 28px; color: var(--pe-primary); box-shadow: var(--pe-shadow-lg); font-family: var(--pe-font-head); animation: pe-float 7s ease-in-out infinite; }
.pe-about__card .pe-i { width: 56px; height: 56px; padding: 12px; border-radius: 18px; background: var(--pe-primary); color: var(--pe-accent); }
.pe-about__card--1 { left: 0; top: 0; background: #fff; border: 1px solid var(--pe-border); }
.pe-about__card--2 { right: 0; top: 80px; background: var(--pe-accent); animation-delay: -2s; }
.pe-about__card--2 .pe-i { background: var(--pe-primary-dark); }
.pe-about__card--3 { left: 60px; bottom: 0; background: var(--pe-bg-tint); border: 1px solid var(--pe-border); animation-delay: -4s; }

/* ---------- Content / blog ---------- */
.pe-content { font-size: 1.04rem; }
.pe-content h2, .pe-content h3, .pe-content h4 { margin-top: 1.6em; }
.pe-content ul { list-style: disc; padding-left: 1.4em; margin-bottom: 1em; }
.pe-content ol { list-style: decimal; padding-left: 1.4em; margin-bottom: 1em; }
.pe-content img { border-radius: 14px; }
.pe-content a { text-decoration: underline; text-decoration-color: var(--pe-accent); text-underline-offset: 3px; }
.pe-content blockquote { margin: 1.5em 0; padding: 18px 24px; border-left: 5px solid var(--pe-accent); background: var(--pe-bg-tint); border-radius: 0 14px 14px 0; }
.pe-blog__grid.has-side { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.pe-post { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--pe-border); border-radius: var(--pe-radius); overflow: hidden; box-shadow: var(--pe-shadow); transition: transform .35s var(--pe-ease), box-shadow .35s, opacity .8s var(--pe-ease); }
.pe-post:hover { transform: translateY(-6px); box-shadow: var(--pe-shadow-lg); }
.pe-post__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--pe-bg-tint); }
.pe-post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--pe-ease); }
.pe-post:hover .pe-post__media img { transform: scale(1.07); }
.pe-post__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.pe-post__date { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--pe-muted); margin-bottom: 8px; }
.pe-post__date .pe-i { color: var(--pe-accent); width: 16px; height: 16px; }
.pe-post__title { font-size: 1.25rem; }
.pe-post__title a { color: var(--pe-primary); }
.pe-post__body p { color: var(--pe-muted); }
.pe-post__more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-family: var(--pe-font-head); }
.pe-article__img { margin-bottom: 28px; border-radius: 20px; overflow: hidden; }
.pe-article__tags a { display: inline-block; margin: 20px 6px 0 0; padding: 4px 14px; border-radius: 999px; background: var(--pe-bg-tint); font-size: .85rem; }
.widget { margin-bottom: 28px; padding: 24px; border-radius: 18px; background: var(--pe-bg-tint); }
.widget__title { font-size: 1.1rem; }
.widget ul { display: grid; gap: 8px; }
.pe-comments { margin-top: 48px; }
.pe-comments__list { display: grid; gap: 18px; margin-bottom: 30px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--pe-border); border-radius: 12px; }
.comment-form .submit { background: var(--pe-accent); border: 0; padding: 13px 28px; border-radius: 999px; font-weight: 700; color: var(--pe-primary-dark); }
.pe-404__box { text-align: center; padding: 40px 0; }
.pe-404__num { display: block; font-family: var(--pe-font-head); font-weight: 800; font-size: clamp(5rem, 16vw, 10rem); line-height: 1; background: linear-gradient(135deg, var(--pe-primary), var(--pe-accent)); -webkit-background-clip: text; background-clip: text; color: transparent; animation: pe-float 5s ease-in-out infinite; }
.pe-404__btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.pe-footer { position: relative; background: var(--pe-primary-dark); color: rgba(255, 255, 255, .78); padding: 10px 0 0; margin-top: -1px; }
.pe-badges { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; padding: 18px 0 40px; }
.pe-badges li { display: inline-flex; align-items: center; gap: 9px; padding: 9px 20px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .06); color: #fff; font-weight: 600; font-size: .9rem; transition: all .3s var(--pe-ease); }
.pe-badges li:hover { border-color: var(--pe-accent); background: rgba(245, 185, 33, .12); transform: translateY(-3px); }
.pe-badges .pe-i { color: var(--pe-accent); }
.pe-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 48px; }
.pe-footer h3 { color: #fff; font-size: 1.1rem; position: relative; padding-bottom: 12px; margin-bottom: 18px; }
.pe-footer h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 38px; height: 3px; border-radius: 3px; background: var(--pe-accent); }
.pe-footer a { color: rgba(255, 255, 255, .78); }
.pe-footer a:hover { color: var(--pe-accent); }
.pe-logo--footer { margin-bottom: 16px; }
.pe-flinks { display: grid; gap: 10px; }
.pe-flinks a { display: inline-block; transition: transform .25s var(--pe-ease), color .2s; }
.pe-flinks a:hover { transform: translateX(6px); }
.pe-social { display: flex; gap: 10px; margin-top: 18px; }
.pe-social a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; transition: all .3s var(--pe-ease); }
.pe-social a:hover { background: var(--pe-accent); color: var(--pe-primary-dark); transform: translateY(-5px) rotate(-6deg); }
.pe-fcontact { display: grid; gap: 14px; }
.pe-fcontact li { display: flex; align-items: flex-start; gap: 12px; }
.pe-fcontact .pe-i { color: var(--pe-accent); margin-top: 3px; }
.pe-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .9rem; }
.pe-footer__bottom p { margin: 0; }
.pe-credit a { color: var(--pe-accent); font-weight: 600; }

/* ---------- Floating UI ---------- */
.pe-wa-float { position: fixed; right: 22px; bottom: 24px; z-index: 900; width: 62px; height: 62px; display: grid; place-items: center; border-radius: 50%; background: var(--pe-wa); color: #fff; box-shadow: 0 10px 28px rgba(37, 211, 102, .5); transition: transform .3s var(--pe-ease); }
.pe-wa-float::before, .pe-wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--pe-wa); animation: pe-pulse 2.4s ease-out infinite; }
.pe-wa-float::after { animation-delay: 1.2s; }
.pe-wa-float:hover { transform: scale(1.1) rotate(-6deg); color: #fff; }
.pe-wa-float .pe-i { width: 34px; height: 34px; }
.pe-wa-float__tip { position: absolute; right: 74px; white-space: nowrap; padding: 8px 14px; border-radius: 10px; background: #fff; color: var(--pe-primary); font-weight: 600; font-size: .85rem; box-shadow: var(--pe-shadow-lg); opacity: 0; transform: translateX(10px); transition: all .3s var(--pe-ease); pointer-events: none; }
.pe-wa-float:hover .pe-wa-float__tip { opacity: 1; transform: none; }
.pe-top { position: fixed; right: 30px; bottom: 100px; z-index: 899; width: 48px; height: 48px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--pe-primary); color: var(--pe-accent); box-shadow: var(--pe-shadow-lg); opacity: 0; visibility: hidden; transform: translateY(20px) scale(.8); transition: all .4s var(--pe-ease); }
.pe-top.is-show { opacity: 1; visibility: visible; transform: none; }
.pe-top:hover { background: var(--pe-accent); color: var(--pe-primary-dark); transform: translateY(-4px); }
.pe-toasts { position: fixed; left: 50%; bottom: 28px; z-index: 10002; transform: translateX(-50%); display: grid; gap: 10px; justify-items: center; pointer-events: none; }
.pe-toast { display: flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 999px; background: var(--pe-primary-dark); color: #fff; font-weight: 600; font-size: .92rem; box-shadow: var(--pe-shadow-lg); animation: pe-toast .4s var(--pe-ease) both; }
.pe-toast.is-out { animation: pe-toast-out .3s ease forwards; }
.pe-toast .pe-i { color: var(--pe-accent); }

/* ---------- Lightbox ---------- */
.pe-lb { position: fixed; inset: 0; z-index: 10010; display: flex; flex-direction: column; background: rgba(4, 12, 28, .96); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.pe-lb.is-open { opacity: 1; visibility: visible; }
.pe-lb__stage { position: relative; flex: 1; display: grid; place-items: center; overflow: hidden; touch-action: pan-y; }
.pe-lb__img { max-width: 92vw; max-height: 74vh; width: auto; object-fit: contain; border-radius: 10px; transform: scale(.8); opacity: 0; transition: transform .45s var(--pe-ease), opacity .35s; }
.pe-lb.is-open .pe-lb__img.is-in { transform: scale(1); opacity: 1; }
.pe-lb__btn { position: absolute; z-index: 3; width: 50px; height: 50px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; transition: all .25s var(--pe-ease); }
.pe-lb__btn:hover { background: var(--pe-accent); color: var(--pe-primary-dark); transform: scale(1.1); }
.pe-lb__close { top: 18px; right: 18px; } .pe-lb__prev { left: 18px; top: 50%; margin-top: -25px; } .pe-lb__next { right: 18px; top: 50%; margin-top: -25px; }
.pe-lb__count { position: absolute; top: 28px; left: 24px; color: #fff; font-weight: 600; }
.pe-lb__thumbs { display: flex; gap: 8px; justify-content: center; padding: 14px; overflow-x: auto; }
.pe-lb__thumbs button { flex: 0 0 84px; height: 58px; padding: 0; border: 3px solid transparent; border-radius: 9px; overflow: hidden; opacity: .5; background: none; transition: all .3s; }
.pe-lb__thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.pe-lb__thumbs button.is-active { opacity: 1; border-color: var(--pe-accent); transform: translateY(-4px); }

/* ---------- Leaflet tweaks ---------- */
.leaflet-container { font-family: var(--pe-font-body); }
.leaflet-popup-content-wrapper { border-radius: 12px; }

/* ---------- Keyframes ---------- */
@keyframes pe-page-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes pe-draw { to { stroke-dashoffset: 0; } }
@keyframes pe-load { to { transform: scaleX(1); } }
@keyframes pe-drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(40px, -30px, 0) scale(1.15); } }
@keyframes pe-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes pe-blink { 50% { opacity: 0; } }
@keyframes pe-wave { from { transform: translateX(0); } to { transform: translateX(-70px); } }
@keyframes pe-shine { 0%, 55% { left: -80%; } 100% { left: 160%; } }
@keyframes pe-ripple { to { transform: scale(4); opacity: 0; } }
@keyframes pe-pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.8); opacity: 0; } }
@keyframes pe-bounce { 0%, 100% { transform: translateY(0) translateZ(30px); } 35% { transform: translateY(-14px) translateZ(30px); } 65% { transform: translateY(-4px) translateZ(30px); } }
@keyframes pe-ang { to { --ang: 360deg; } }
@keyframes pe-spin { to { transform: rotate(360deg); } }
@keyframes pe-pop { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }
@keyframes pe-bump { 0% { transform: scale(1); } 50% { transform: scale(1.5); } 100% { transform: scale(1); } }
@keyframes pe-shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
@keyframes pe-dash { to { stroke-dashoffset: 0; } }
@keyframes pe-skel { to { background-position: -200% 0; } }
@keyframes pe-toast { from { opacity: 0; transform: translateY(20px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes pe-toast-out { to { opacity: 0; transform: translateY(10px); } }
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
	.pe-header__phone span { display: none; }
	.pe-footer__grid { grid-template-columns: 1fr 1fr; }
	.pe-hero__float { display: none; }
}
@media (max-width: 1024px) {
	.pe-grid, .pe-cats__grid, .pe-why__grid { grid-template-columns: repeat(2, 1fr); }
	.pe-cats__grid .pe-catcard:last-child { grid-column: 1 / -1; }
	.pe-slide { flex-basis: calc((100% - 28px) / 2); }
	.pe-archive__grid { grid-template-columns: 1fr; }
	.pe-archive__side { position: fixed; z-index: 1100; top: 0; left: 0; bottom: 0; width: min(380px, 92vw); padding: 0; overflow-y: auto; background: #fff; transform: translateX(-102%); transition: transform .45s var(--pe-ease); box-shadow: var(--pe-shadow-lg); }
	.filter-open .pe-archive__side { transform: none; }
	.pe-archive__side .pe-filter { border: 0; border-radius: 0; box-shadow: none; min-height: 100%; }
	.pe-filter__close { display: grid; }
	.pe-filter-toggle { display: inline-flex; }
	.pe-filter-backdrop { display: block; position: fixed; inset: 0; z-index: 1090; background: rgba(7, 26, 58, .6); opacity: 0; visibility: hidden; transition: all .3s; }
	.filter-open .pe-filter-backdrop { opacity: 1; visibility: visible; }
	.pe-single__grid { grid-template-columns: 1fr; }
	.pe-single__side { position: static; }
	.pe-book__grid, .pe-about__grid, .pe-contact__grid { grid-template-columns: 1fr; }
	.pe-stats__grid { grid-template-columns: repeat(2, 1fr); }
	.pe-cities__grid, .pe-contact__cards, .pe-strip__grid { grid-template-columns: repeat(2, 1fr); }
	.pe-about__visual { min-height: 460px; max-width: 480px; margin: 0 auto; width: 100%; }
	.pe-facts { grid-template-columns: repeat(2, 1fr); }
	.pe-blog__grid.has-side { grid-template-columns: 1fr; }

	/* off-canvas nav */
	.pe-burger { display: block; }
	.pe-header__cta { display: none; }
	.pe-nav {
		position: fixed; top: 0; right: 0; bottom: 0; z-index: 1001; width: min(360px, 88vw); margin: 0; padding: 92px 22px 26px;
		display: flex; flex-direction: column; background: var(--pe-primary-dark); overflow-y: auto;
		transform: translateX(104%); transition: transform .5s var(--pe-ease); box-shadow: -20px 0 50px rgba(0, 0, 0, .35);
	}
	.nav-open .pe-nav { transform: none; }
	.pe-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.pe-menu > li { border-bottom: 1px solid rgba(255, 255, 255, .1); opacity: 0; transform: translateX(30px); }
	.nav-open .pe-menu > li { opacity: 1; transform: none; transition: opacity .45s var(--pe-ease), transform .45s var(--pe-ease); transition-delay: calc(var(--i, 0) * 60ms + 150ms); }
	.pe-menu a { padding: 15px 4px; font-size: 1.05rem; }
	.pe-menu > li > a::after, .pe-menu .menu-item-has-children > a::before { display: none; }
	.pe-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; padding: 0 0 8px 14px; }
	.pe-menu .sub-menu a { color: rgba(255, 255, 255, .8); padding: 9px 4px; }
	.pe-menu .sub-menu a:hover { background: transparent; color: var(--pe-accent); }
	.pe-nav__foot { display: grid; gap: 12px; margin-top: 26px; }
	.pe-header__phone { display: none; }
	.pe-header__act { margin-left: auto; }
	.pe-nav { margin-left: 0; }
}
@media (max-width: 782px) { .admin-bar .pe-header { top: 46px; } }
@media (max-width: 767px) {
	.section { padding: 60px 0; }
	.pe-hero { padding-bottom: 130px; }
	.pe-grid, .pe-grid--posts, .pe-cats__grid, .pe-why__grid, .pe-archive__main .pe-grid { grid-template-columns: 1fr; }
	.pe-slide, .pe-slider--testi .pe-slide { flex-basis: 88%; }
	.pe-slider__btn { display: none; }
	.pe-search__fields { grid-template-columns: 1fr; }
	.pe-search__btn { min-height: 54px; }
	.pe-grid.is-list .pe-card { flex-direction: column; }
	.pe-grid.is-list .pe-card__media { width: 100%; min-height: 0; aspect-ratio: 16 / 11; }
	.pe-form__row, .pe-contact__cards, .pe-nearby { grid-template-columns: 1fr; }
	.pe-amenities { grid-template-columns: 1fr 1fr; }
	.pe-footer__grid { grid-template-columns: 1fr; gap: 30px; }
	.pe-footer__bottom { flex-direction: column; text-align: center; }
	.pe-cta__in { flex-direction: column; text-align: center; }
	.pe-contact__form, .pe-book__card { padding: 24px; }
	.pe-catcard__kids { grid-template-columns: 1fr 1fr; }
	.pe-single__price { text-align: left; }
	.pe-about__card { width: 150px; height: 150px; }
	.pe-about__card .pe-i { width: 44px; height: 44px; padding: 9px; }
	.pe-about__visual { min-height: 400px; }
	.pe-toolbar { padding: 12px; }
	.pe-wa-float { bottom: 82px; right: 16px; width: 56px; height: 56px; }
	.pe-top { right: 22px; bottom: 150px; }
	.single-property .pe-mobilebar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 950; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); box-shadow: 0 -8px 24px rgba(11, 42, 91, .15); }
	.single-property .pe-mobilebar .btn { padding: 12px 8px; font-size: .88rem; }
	.single-property .pe-footer { padding-bottom: 70px; }
}
@media (max-width: 480px) {
	.pe-facts { grid-template-columns: 1fr; }
	.pe-cities__grid, .pe-strip__grid, .pe-stats__grid { grid-template-columns: 1fr 1fr; }
	.pe-card__actions { flex-direction: column; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	.js [data-animate] { opacity: 1; transform: none; }
	.pe-preloader { display: none; }
}

/* ---------- No horizontal overflow from off-position reveals ---------- */
.pe-main, .pe-footer { overflow-x: clip; }
@media (max-width: 1024px) {
	.js [data-animate="left"], .js [data-animate="right"] { transform: translateY(30px); }
	.js [data-animate].is-in { transform: none; }
}

/* ---------- Homepage photo gallery ---------- */
.pe-gal__tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: -16px 0 32px; }
.pe-gal__tabs button { padding: 10px 22px; border: 1px solid var(--pe-border); border-radius: 50px; background: #fff; color: var(--pe-primary); font: 600 .92rem var(--pe-font-body); cursor: pointer; transition: background .3s, color .3s, border-color .3s, transform .3s var(--pe-ease); }
.pe-gal__tabs button:hover { border-color: var(--pe-accent); transform: translateY(-2px); }
.pe-gal__tabs button.is-active { background: var(--pe-primary); border-color: var(--pe-primary); color: #fff; }
.pe-gal__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pe-gal__item { position: relative; margin: 0; overflow: hidden; border-radius: var(--pe-radius); aspect-ratio: 4 / 3; background: var(--pe-bg-tint); box-shadow: var(--pe-shadow); }
.pe-gal__item[hidden] { display: none; }
.pe-gal__item.is-pop { animation: pe-gal-pop .5s var(--pe-ease) both; }
@keyframes pe-gal-pop { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: none; } }
.pe-gal__open { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.pe-gal__open img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--pe-ease); }
.pe-gal__open::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 26, 58, 0) 40%, rgba(7, 26, 58, .85)); transition: background-color .35s; }
.pe-gal__item:hover img, .pe-gal__open:focus-visible img { transform: scale(1.1); }
.pe-gal__item:hover .pe-gal__open::after { background-color: rgba(7, 26, 58, .22); }
.pe-gal__zoom { position: absolute; z-index: 1; top: 12px; right: 12px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--pe-accent); color: var(--pe-primary-dark); opacity: 0; transform: scale(.6); transition: opacity .3s, transform .3s var(--pe-ease); }
.pe-gal__item:hover .pe-gal__zoom, .pe-gal__open:focus-visible .pe-gal__zoom { opacity: 1; transform: none; }
.pe-gal__item figcaption { position: absolute; z-index: 1; left: 14px; right: 14px; bottom: 12px; pointer-events: none; }
.pe-gal__item figcaption a { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #fff; font-size: .9rem; line-height: 1.35; pointer-events: auto; }
.pe-gal__item figcaption a:hover { color: var(--pe-accent); }
.pe-gal__item figcaption .pe-i { flex: none; width: 18px; height: 18px; }
@media (max-width: 1024px) { .pe-gal__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) {
	.pe-gal__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.pe-gal__item { aspect-ratio: 1; }
	.pe-gal__item figcaption { left: 10px; right: 10px; bottom: 8px; }
	.pe-gal__item figcaption strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .78rem; }
}
.pe-gal__item figcaption > strong { color: #fff; font-size: .9rem; line-height: 1.35; }
@media (max-width: 720px) { .pe-gal__item figcaption > strong { font-size: .78rem; } }
