/*
Theme Name: Prime Villas — Update 24.9.1
Theme URI: https://primevilla.example/
Author: Prime Villas Real Estate
Description: Prime Villas theme — Update 24.9.1 expands editable page copy and synchronizes client testimonials across Home and About.
Version: 1.9.2
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: prime-villa
*/


:root{
  --ivory:#FAF6F0; --white:#FFFFFF; --beige:#F1E9DC; --stone:#EFEAE2;
  --gray-warm:#8B8378; --ink:#1C1815; --ink-soft:#4A443C;
  --gold:#C9A227; --gold-soft:#E0C15A; --gold-mist:#F3E7D3; --line:#E6DFD3;
  padding-top:env(safe-area-inset-top,0px); padding-bottom:env(safe-area-inset-bottom,0px); box-sizing:border-box;
}
@media (prefers-color-scheme: dark){ :root:not([data-theme="light"]){ --ivory:#FAF6F0; --white:#FFFFFF; --ink:#1C1815; } }
*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth; scroll-padding-top:env(safe-area-inset-top,0px);}
body{background:var(--ivory); color:var(--ink); font-family:'Inter',sans-serif; font-size:16px; line-height:1.55; -webkit-font-smoothing:antialiased; overflow-x:hidden;}
h1,h2,h3{font-family:'Fraunces',serif; font-weight:500; letter-spacing:-0.01em; color:var(--ink);}
img{max-width:100%; display:block;}
a{color:inherit; text-decoration:none;}
button{font-family:inherit; cursor:pointer;}
.wrap{max-width:1240px; margin:0 auto; padding:0 32px;}
section{padding:72px 0;}
@media(max-width:768px){ section{padding:52px 0;} .wrap{padding:0 20px;} }

header{position:sticky; top:0; z-index:60; background:rgba(250,246,240,0.94); backdrop-filter:blur(10px); border-bottom:1px solid var(--line); padding-top:env(safe-area-inset-top,0px);}
.nav{display:flex; align-items:center; justify-content:space-between; padding:12px 32px; max-width:1240px; margin:0 auto; gap:16px;}
.logo{display:flex; align-items:center; gap:10px; flex:none;}
.logo img{height:44px; width:auto;}
nav.links{display:flex; gap:7px; align-items:center; font-size:14px; color:var(--ink-soft);}
nav.links a{position:relative; display:inline-flex; align-items:center; min-height:36px; padding:7px 12px; border:1px solid transparent; border-radius:10px; color:var(--ink-soft); background:transparent; transition:color .22s ease, background .22s ease, border-color .22s ease, transform .22s ease, box-shadow .22s ease;}
nav.links a::after{content:'↗'; font-size:9px; line-height:1; margin-left:6px; color:var(--gold); opacity:0; transform:translate(-3px,3px); transition:opacity .22s ease, transform .22s ease;}
nav.links a:hover{color:var(--ink); background:rgba(255,255,255,.86); border-color:var(--line); box-shadow:0 7px 18px rgba(28,24,21,.06); transform:translateY(-1px);}
nav.links a:hover::after{opacity:.85; transform:translate(0,0);}
nav.links a.on{color:var(--ink); background:var(--gold-mist); border-color:rgba(180,137,79,.22); box-shadow:0 6px 16px rgba(180,137,79,.10);}
nav.links a.on::before{content:''; position:absolute; left:10px; right:10px; bottom:3px; height:2px; border-radius:2px; background:var(--gold);}
nav.links a.on::after{opacity:1; transform:translate(0,0);}
.nav-cta{display:flex; align-items:center; gap:10px;}
.btn{display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:11px 22px; border-radius:8px; font-size:14.5px; font-weight:500; border:1px solid transparent;}
.btn-primary{background:var(--ink); color:var(--white);}
.btn-primary:hover{background:#000;}
.btn-outline{border-color:var(--line); color:var(--ink); background:var(--white);}
.btn-gold{background:var(--gold); color:var(--white);}
.btn-gold:hover{background:#9c7642;}
.btn-block{width:100%;}
.lang-btn{border:1px solid var(--line); background:var(--white); color:var(--ink); padding:8px 12px; border-radius:8px; font-size:13px; font-weight:600; letter-spacing:.02em;}
.lang-btn:hover{border-color:var(--gold);}
.menu-toggle{display:none; background:none; border:none; font-size:24px; color:var(--ink);}
@media(max-width:900px){ nav.links{display:none;} .menu-toggle{display:block;} .nav-cta .hide-mobile{display:none;} }
.drawer{position:fixed; inset:0; background:rgba(20,16,12,0.4); z-index:100; display:none;}
.drawer.open{display:block;}
.drawer-panel{position:absolute; top:0; right:0; width:78%; max-width:320px; height:100%; background:var(--white); padding:24px; padding-top:calc(24px + env(safe-area-inset-top,0px));}
.drawer-panel a{display:block; padding:14px 0; font-size:17px; border-bottom:1px solid var(--line);}
.drawer-close{background:none; border:none; font-size:24px; float:right;}

.eyebrow{color:var(--gold); font-size:14px; font-weight:500; margin-bottom:16px;}
.reveal{opacity:0; transform:translateY(18px); transition:opacity .6s ease, transform .6s ease;}
.reveal.in{opacity:1; transform:translateY(0);}
.photo .illus{position:absolute; inset:0; z-index:0;}
.photo .illus svg{width:100%; height:100%; display:block;}
@media (prefers-reduced-motion: reduce){ .hero-slide{transition:none;} .hero-slide.active .scene{animation:none;} .reveal{opacity:1; transform:none; transition:none;} }

.head{max-width:760px; margin:0 auto 38px; text-align:center;}
.head.center{margin-left:auto; margin-right:auto; text-align:center;}
.head h2{font-size:clamp(26px,3.4vw,38px); margin-bottom:10px;}
.head p{color:var(--gray-warm); font-size:16px;}

.grid{display:grid; grid-template-columns:repeat(3,1fr); gap:24px;}
@media(max-width:900px){ .grid{grid-template-columns:1fr 1fr;} }
@media(max-width:600px){ .grid{grid-template-columns:1fr;} }
.card{background:var(--white); border-radius:16px; overflow:hidden; border:1px solid var(--line); transition:transform .25s ease, box-shadow .25s ease; cursor:pointer; display:block;}
.card:hover{transform:translateY(-4px); box-shadow:0 20px 40px rgba(28,24,21,0.09);}
.photo{height:200px; position:relative; overflow:hidden;}
.photo img{width:100%; height:100%; object-fit:cover; display:block; position:relative; z-index:1; transition:transform .7s cubic-bezier(.22,.61,.36,1);}
.card:hover .photo img{transform:scale(1.06);}
.photo .badge{position:absolute; top:14px; left:14px; background:var(--white); color:var(--ink); font-size:12px; font-weight:600; padding:5px 11px; border-radius:20px; z-index:2;}
.photo .badge.gold{background:var(--gold); color:var(--white);}
.card-body{padding:20px;}
.card-body h3{font-size:18px; margin-bottom:4px;}
.loc{color:var(--gray-warm); font-size:13.5px; margin-bottom:12px;}
.meta{display:flex; gap:14px; font-size:13px; color:var(--ink-soft); margin-bottom:14px; padding-bottom:14px; border-bottom:1px solid var(--line);}
.price{display:flex; justify-content:space-between; align-items:center;}
.price strong{font-family:'Fraunces',serif; font-size:19px;}
.price span{color:var(--gray-warm); font-size:12.5px;}

.ph1{background:linear-gradient(135deg,#EAD9BE,#C9AD82);}
.ph2{background:linear-gradient(135deg,#E7DFD0,#D9C39F);}
.ph3{background:linear-gradient(135deg,#F1E9DC,#B99B71);}
.ph4{background:linear-gradient(135deg,#DFCCAA,#AE8F65);}

.types-slider{position:relative;display:flex;align-items:center;gap:12px;}
.types-viewport{overflow:hidden;flex:1;min-width:0;}
.types-track{display:flex;gap:18px;transition:transform .45s cubic-bezier(.22,.61,.36,1);will-change:transform;}
.types-track .type-card{flex:0 0 calc((100% - 54px)/4);}
.types-nav{flex:none;width:40px;height:40px;border:1px solid var(--line);border-radius:50%;background:var(--white);color:var(--ink);display:flex;align-items:center;justify-content:center;font-size:28px;line-height:1;cursor:pointer;box-shadow:0 8px 20px rgba(28,24,21,.08);transition:background .2s,color .2s,border-color .2s,transform .2s;}
.types-nav:hover:not(:disabled){background:var(--gold);border-color:var(--gold);color:var(--white);transform:translateY(-1px);}
.types-nav:disabled{opacity:.35;cursor:default;box-shadow:none;}
@media(max-width:900px){ .types-track .type-card{flex-basis:calc((100% - 18px)/2);} }
@media(max-width:600px){ .types-slider{gap:8px;} .types-nav{width:34px;height:34px;font-size:24px;} .types-track .type-card{flex-basis:calc((100% - 18px)/2);} }
.type-card{position:relative; display:block; aspect-ratio:3/4; border-radius:10px; overflow:hidden; color:var(--white); background:var(--ink); transition:transform .25s ease, box-shadow .25s ease;}
.type-card:hover{transform:translateY(-3px); box-shadow:0 14px 28px rgba(28,24,21,0.12);}
.type-card .tc-img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; transition:transform .8s cubic-bezier(.22,.61,.36,1);}
.type-card:hover .tc-img{transform:scale(1.06);}
.type-card::after{content:''; position:absolute; inset:0; background:linear-gradient(0deg, rgba(20,16,12,0.78) 0%, rgba(20,16,12,0.15) 55%, rgba(20,16,12,0) 100%); pointer-events:none;}
.type-card .tc-txt{position:absolute; left:22px; right:22px; bottom:20px; z-index:2; display:flex; align-items:flex-end; justify-content:space-between; gap:12px;}
.type-card h4{font-family:'Fraunces',serif; font-weight:500; font-size:22px; line-height:1.15; letter-spacing:-0.01em; color:var(--white); margin-bottom:4px;}
.type-card p{font-size:11.5px; letter-spacing:.12em; text-transform:uppercase; color:var(--gold-soft); margin:0;}
.type-card .tc-arrow{flex:none; width:34px; height:34px; border:1px solid rgba(255,255,255,.55); border-radius:50%; display:flex; align-items:center; justify-content:center; transition:transform .3s ease, background .3s ease, border-color .3s ease;}
.type-card .tc-arrow svg{width:14px; height:14px;}
.type-card:hover .tc-arrow{transform:translateX(4px); background:var(--gold); border-color:var(--gold);}
@media(max-width:600px){ .type-card{aspect-ratio:4/5;} .type-card h4{font-size:18px;} .type-card .tc-txt{left:16px; right:16px; bottom:16px;} }

.why{background:var(--white);}
.why-grid{display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center;}
@media(max-width:860px){ .why-grid{grid-template-columns:1fr;} }
.why-visual{background:linear-gradient(160deg,var(--gold-mist),var(--beige)); border-radius:20px; height:400px; position:relative; overflow:hidden;}
.why-img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block;}
.stat-float{z-index:2; position:absolute; background:var(--white); border-radius:14px; padding:16px 20px; box-shadow:0 16px 40px rgba(28,24,21,0.12);}
.stat-float strong{display:block; font-family:'Fraunces',serif; font-size:26px;}
.stat-float span{font-size:12px; color:var(--gray-warm);}
.why-list{display:flex; flex-direction:column; gap:24px; margin-top:28px;}
.why-item{display:flex; gap:16px;}
.why-item .num{font-family:'Fraunces',serif; color:var(--gold); font-size:19px; width:28px; flex:none;}
.why-item h4{font-size:16px; margin-bottom:3px;}
.why-item p{color:var(--gray-warm); font-size:14px;}

.areas{display:grid; grid-template-columns:2fr 1fr 1fr; grid-template-rows:1fr 1fr; gap:18px; height:500px;}
@media(max-width:860px){
  .areas,.areas:has(.area-card:nth-child(6)){grid-template-columns:1fr 1fr; grid-template-rows:auto; height:auto;}
  .areas:has(.area-card:nth-child(6)) .area-card,.areas:has(.area-card:nth-child(6)) .area-card.a1{grid-column:auto; grid-row:auto;}
  .areas:has(.area-card:nth-child(6)) .area-card.a1{grid-row:span 2;}
}
.area-card{position:relative; border-radius:16px; overflow:hidden; display:flex; align-items:flex-end; padding:20px; color:var(--white); cursor:pointer; background-size:112% !important; background-position:center !important; transition:background-size .6s ease;}
.area-card:hover{background-size:124% !important;}
.area-card.a1{grid-row:1/3;}
/* Six-location layout: keep a newly discovered location from dropping into an oversized third row. */
.areas:has(.area-card:nth-child(6)){grid-template-columns:2fr 1fr 1fr 1fr; grid-template-rows:1fr 1fr; height:500px;}
.areas:has(.area-card:nth-child(6)) .area-card.a1{grid-column:1/3; grid-row:1/3;}
.areas:has(.area-card:nth-child(6)) .area-card:nth-child(2){grid-column:3; grid-row:1;}
.areas:has(.area-card:nth-child(6)) .area-card:nth-child(3){grid-column:4; grid-row:1;}
.areas:has(.area-card:nth-child(6)) .area-card:nth-child(4){grid-column:3; grid-row:2;}
.areas:has(.area-card:nth-child(6)) .area-card:nth-child(5){grid-column:4; grid-row:2;}
.areas:has(.area-card:nth-child(6)) .area-card:nth-child(6){grid-column:2; grid-row:2;}
.area-card::before{content:''; position:absolute; inset:0; background:linear-gradient(0deg, rgba(20,16,12,0.72), rgba(20,16,12,0.05) 60%);}
.area-card .txt{position:relative; z-index:2;}
.area-card h4{font-family:'Fraunces',serif; font-size:18px;}
.area-card span{font-size:12px; opacity:.85;}

.lux{background:var(--ink); color:var(--white); border-radius:28px; padding:60px; position:relative; overflow:hidden;}
.lux::before{content:''; position:absolute; inset:0; background:radial-gradient(circle at 85% 15%, rgba(180,137,79,0.28), transparent 55%);}
.lux-inner{position:relative; z-index:2; display:grid; grid-template-columns:1fr 1fr; gap:44px; align-items:center;}
@media(max-width:860px){ .lux{padding:36px 22px;} .lux-inner{grid-template-columns:1fr; gap:28px;} }
.lux h2{color:var(--white); font-size:clamp(24px,3vw,34px); margin-bottom:12px;}
.lux p{color:#D8D1C6; font-size:15px; margin-bottom:24px;}
.lux-listing{background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.14); border-radius:16px; padding:18px; margin-bottom:12px; cursor:pointer;}
.lux-listing .row{display:flex; justify-content:space-between; align-items:center;}
.lux-listing h4{font-family:'Fraunces',serif; font-size:16px; margin-bottom:2px;}
.lux-listing .loc2{color:#B8B0A2; font-size:12.5px;}
.lux-listing strong{color:var(--gold-soft); font-family:'Fraunces',serif; font-size:16px;}

.about-grid{display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center;}
@media(max-width:860px){ .about-grid{grid-template-columns:1fr;} }
.about-photo{border-radius:20px; height:380px; position:relative; overflow:hidden;}
.about-photo img{width:100%; height:100%; object-fit:cover; display:block;}
.about-stats{display:flex; gap:32px; margin-top:28px; padding-top:24px; border-top:1px solid var(--line); flex-wrap:wrap;}
.about-stats div strong{display:block; font-family:'Fraunces',serif; font-size:24px; color:var(--gold);}
.about-stats div span{font-size:12px; color:var(--gray-warm);}
.values-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-top:20px;}
@media(max-width:768px){ .values-grid{grid-template-columns:1fr;} }
.value-card{background:var(--white); border:1px solid var(--line); border-radius:14px; padding:24px;}
.value-card h4{font-size:16px; margin-bottom:6px;}
.value-card p{font-size:13.5px; color:var(--gray-warm);}

.test{background:var(--beige);}
.test-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:24px;}
@media(max-width:860px){ .test-grid{grid-template-columns:1fr;} }
.test-card{background:var(--white); border-radius:16px; padding:26px; border:1px solid var(--line);}
.stars{color:var(--gold); font-size:14px; margin-bottom:12px; letter-spacing:2px;}
.test-card p{font-size:14.5px; color:var(--ink-soft); margin-bottom:18px;}
.person{display:flex; align-items:center; gap:12px;}
.avatar{width:36px; height:36px; border-radius:50%; background:var(--gold-mist); color:var(--gold); display:flex; align-items:center; justify-content:center; font-weight:600; font-family:'Fraunces',serif;}
.person strong{display:block; font-size:13.5px;}
.person span{font-size:12px; color:var(--gray-warm);}

.cta{background:linear-gradient(135deg,var(--beige),var(--gold-mist)); border-radius:28px; padding:60px; text-align:center;}
.cta h2{font-size:clamp(24px,3.4vw,36px); margin-bottom:12px;}
.cta p{color:var(--ink-soft); margin-bottom:28px; max-width:440px; margin-left:auto; margin-right:auto;}
.cta-btns{display:flex; gap:14px; justify-content:center; flex-wrap:wrap;}

footer{background:var(--ink); color:#C9C2B5; padding:60px 0 28px;}
.foot-grid{display:grid; grid-template-columns:1.6fr 1fr 1fr 1.2fr; gap:40px; margin-bottom:36px;}
@media(max-width:768px){ .foot-grid{grid-template-columns:1fr 1fr; row-gap:30px;} }
footer p.desc{font-size:13.5px; color:#9C9384; margin-top:12px; max-width:260px;}
footer h5{color:var(--white); font-size:13px; font-weight:600; margin-bottom:14px;}
footer ul{list-style:none;}
footer li{margin-bottom:9px; font-size:13.5px;}
footer li a:hover{color:var(--gold-soft);}
.social-row{display:flex; gap:10px; margin-top:18px;}
.social-row a{width:36px; height:36px; border-radius:50%; background:rgba(255,255,255,0.08); display:flex; align-items:center; justify-content:center; color:#C9C2B5; transition:background .2s, color .2s;}
.social-row a:hover{background:var(--gold); color:var(--white);}
.social-row svg{width:16px; height:16px;}
.foot-bottom{border-top:1px solid rgba(255,255,255,0.1); padding-top:22px; display:flex; justify-content:space-between; font-size:12.5px; color:#8A8172; flex-wrap:wrap; gap:10px;}

.pagehead{padding:36px 0 8px;}
.pagehead h1{font-size:clamp(30px,4vw,44px); margin-bottom:8px;}
.pagehead p{color:var(--gray-warm);}
.load-more{display:block; margin:40px auto 0;}

.gallery{display:grid; grid-template-columns:2fr 1fr; gap:12px; height:440px; border-radius:20px; overflow:hidden; margin-bottom:36px;}
.gallery>div:first-child{grid-row:1/3;}
@media(max-width:768px){ .gallery{grid-template-columns:1fr; height:260px;} .gallery>div:not(:first-child){display:none;} }
.detail-grid{display:grid; grid-template-columns:1.6fr 1fr; gap:48px; align-items:start;}
@media(max-width:900px){ .detail-grid{grid-template-columns:1fr;} }
.detail-head{display:flex; justify-content:space-between; align-items:flex-start; gap:20px; margin-bottom:18px; flex-wrap:wrap;}
.detail-head h1{font-size:clamp(24px,3vw,32px); margin-bottom:6px;}
.detail-price{font-family:'Fraunces',serif; font-size:26px; color:var(--gold); white-space:nowrap;}
.spec-row{display:flex; gap:28px; padding:20px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); margin-bottom:28px; flex-wrap:wrap;}
.spec-row div strong{display:block; font-family:'Fraunces',serif; font-size:19px;}
.spec-row div span{font-size:12px; color:var(--gray-warm);}
.detail-grid h3{font-size:19px; margin:28px 0 12px;}
.detail-grid p{color:var(--ink-soft); font-size:15px;}
.amenities{display:grid; grid-template-columns:1fr 1fr; gap:10px;}
.amenities li{list-style:none; font-size:14.5px; color:var(--ink-soft); display:flex; gap:8px; align-items:center;}
.amenities li::before{content:'✓'; color:var(--gold); font-weight:700;}
.agent-card{background:var(--white); border:1px solid var(--line); border-radius:18px; padding:26px; position:sticky; top:100px;}
.agent-card .person{margin-bottom:18px;}
.agent-card .avatar{width:48px; height:48px; font-size:16px;}
.agent-actions{display:flex; flex-direction:column; gap:10px; margin-top:16px;}
.wa-btn{background:#25D366; color:var(--white);}
.wa-btn:hover{background:#1fb958;}

.form-wrap{max-width:640px;}
.form-row{display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-bottom:16px;}
@media(max-width:600px){ .form-row{grid-template-columns:1fr;} }
.form-group label{display:block; font-size:13px; font-weight:500; margin-bottom:6px; color:var(--ink-soft);}
.form-group input, .form-group select, .form-group textarea{width:100%; padding:12px 14px; border:1px solid var(--line); border-radius:10px; font-family:inherit; font-size:14.5px; background:var(--white); color:var(--ink);}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus{outline:2px solid var(--gold); outline-offset:1px; border-color:var(--gold);}
.form-group{margin-bottom:16px;}
.upload-box{border:2px dashed var(--line); border-radius:12px; padding:28px; text-align:center; color:var(--gray-warm); font-size:13.5px;}
.contact-info{display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-bottom:48px;}
@media(max-width:768px){ .contact-info{grid-template-columns:1fr;} }
.info-card{background:var(--white); border:1px solid var(--line); border-radius:14px; padding:22px;}
.info-card .ic{width:30px; height:30px; color:var(--gold); margin-bottom:10px;}
.info-card h4{font-size:15px; margin-bottom:4px;}
.info-card p{font-size:13.5px; color:var(--gray-warm);}
.map-box{height:260px; border-radius:16px; background:linear-gradient(135deg,var(--beige),var(--stone)); display:flex; align-items:center; justify-content:center; color:var(--gray-warm); font-size:14px;}
.contact-grid{display:grid; grid-template-columns:1fr 1fr; gap:48px;}
@media(max-width:860px){ .contact-grid{grid-template-columns:1fr;} }
.form-msg{display:none; background:var(--gold-mist); color:var(--ink); padding:14px 16px; border-radius:10px; font-size:14px; margin-bottom:16px;}
.form-msg.show{display:block;}

/* ===== HERO — Prime Villas cinematic search composition ===== */
.hero{position:relative; padding:0; background:var(--ivory);}
.hero-stage{position:relative; height:clamp(700px,88vh,820px); overflow:hidden; background:var(--ink); isolation:isolate; --slide-ms:7000ms;}
.hero-slides{position:absolute; inset:0;}
.hero-slide{position:absolute; inset:0; opacity:0; transition:opacity 1.8s ease;}
.hero-slide.is-prev{opacity:1; z-index:1;}
.hero-slide.is-active{opacity:1; z-index:2;}
.hero-fallback{position:absolute; inset:0; background:linear-gradient(180deg,#EAD9BE 0%,#C9AD82 100%);}
.hero-fallback svg{width:100%; height:100%; display:block;}
.hero-slide img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:0; transform:scale(1.025); transition:opacity 1.1s ease, transform 8s cubic-bezier(.2,.7,.2,1);}
.hero-slide.is-active img.ld{opacity:1; transform:scale(1.06);}
.hero-shade{position:absolute; inset:0; z-index:3; pointer-events:none;
  background:linear-gradient(90deg,rgba(10,8,6,.70) 0%,rgba(12,10,8,.46) 24%,rgba(16,13,10,.16) 48%,rgba(16,13,10,.03) 70%,rgba(16,13,10,0) 100%),
             linear-gradient(0deg,rgba(10,8,6,.42) 0%,rgba(10,8,6,.10) 34%,rgba(10,8,6,0) 66%);}
.hero-content{position:absolute; z-index:4; inset:0; max-width:1280px; margin:0 auto; padding:56px 32px 72px; display:grid; grid-template-columns:minmax(0,1fr) minmax(330px,390px); column-gap:clamp(48px,7vw,110px); align-items:center;}
.hero-copy{max-width:560px; padding-left:clamp(0px,2vw,28px);}
.hero-brandline{display:flex; align-items:center; gap:10px; color:rgba(250,246,240,.88); font-size:11px; font-weight:700; letter-spacing:.22em; text-transform:uppercase; margin-bottom:24px;}
.hero-brandmark{width:28px; height:28px; border:1px solid rgba(207,169,102,.65); border-radius:50%; display:inline-flex; align-items:center; justify-content:center; color:var(--gold-soft); font:600 9px 'Inter',sans-serif; letter-spacing:.03em;}
.hero-copy .eyebrow{color:var(--gold-soft); margin-bottom:10px; letter-spacing:.18em;}
.hero h1{color:var(--white); font-size:clamp(58px,7vw,96px); line-height:.88; letter-spacing:-0.055em; max-width:560px; margin:0 0 18px; text-wrap:balance;}
.hero h1 em{font-style:italic; color:var(--gold-soft); font-weight:500;}
.hero-copy>p{color:rgba(250,246,240,.82); font-size:14px; line-height:1.7; max-width:430px; margin:0;}
.hero-search-card{background:rgba(14,12,10,.66); border:1px solid rgba(255,255,255,.14); border-radius:20px; padding:18px; box-shadow:0 26px 70px rgba(0,0,0,.28); backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px);}
.hero-search-head{display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:12px;}
.hero-search-head span{display:block; color:var(--gold-soft); text-transform:uppercase; letter-spacing:.16em; font-size:9.5px; font-weight:700; margin-bottom:5px;}
.hero-search-head strong{display:block; color:var(--white); font:500 20px/1.1 'Fraunces',serif;}
.hero-search-mark{width:30px!important; height:30px; border:1px solid rgba(255,255,255,.18); border-radius:50%; display:flex!important; align-items:center; justify-content:center; color:rgba(255,255,255,.58)!important; margin:0!important; font:500 10px 'Inter',sans-serif!important; letter-spacing:.05em!important;}
.hero-search-card .sp{max-width:none; margin:0; padding:0; display:flex; flex-direction:column; gap:8px; background:transparent; border:0; box-shadow:none; border-radius:0;}
.hero-search-card .sp-seg{display:grid; grid-template-columns:1fr 1fr; gap:4px; width:100%; padding:3px; background:rgba(255,255,255,.08); border-radius:10px;}
.hero-search-card .sp-seg-o span{min-width:0; width:100%; min-height:38px; padding:0 10px; border-radius:7px; color:rgba(255,255,255,.68); font-size:12px;}
.hero-search-card .sp-seg-o input:checked + span{background:var(--gold); color:var(--ink);}
.hero-search-card .sp-adv{order:10; align-self:flex-start; color:rgba(255,255,255,.58); font-size:11px; min-height:26px; padding:0;}
.hero-search-card .sp-f, .hero-search-card .sp-f + .sp-f{border:1px solid rgba(255,255,255,.12); border-radius:9px; padding:7px 11px; min-height:55px; background:rgba(255,255,255,.045);}
.hero-search-card .sp-f:focus-within{border-color:rgba(207,169,102,.8); box-shadow:0 0 0 1px rgba(207,169,102,.45);}
.hero-search-card .sp-f label{color:rgba(255,255,255,.48); font-size:9.5px; text-transform:uppercase; letter-spacing:.08em;}
.hero-search-card .sp-f input,.hero-search-card .sp-f select{min-height:27px; padding:2px 20px 0 0; color:var(--white); font-size:13px;}
.hero-search-card .sp-f input::placeholder{color:rgba(255,255,255,.68);}
.hero-search-card .sp-f select{background-color:rgba(255,255,255,.96); color:var(--ink); filter:none; border-radius:7px; min-height:29px; padding:3px 28px 3px 8px; -webkit-appearance:auto; appearance:auto;}
.hero-search-card .sp-f select option{background:#fff; color:#1C1815; padding:8px;}
.hero-search-card .sp-f select:focus{outline:none;}
.hero-search-card .sp-loc{padding-left:11px;}
.hero-search-card .sp-go{margin:2px 0 0; min-height:50px; width:100%; border-radius:10px; background:var(--gold); color:var(--ink); font-size:13px; box-shadow:0 10px 26px rgba(0,0,0,.16);}
.hero-search-card .sp-go:hover{background:#e2bd79; color:var(--ink); transform:translateY(-1px);}
.hero-search-card .sp-list{top:calc(100% + 8px); left:0; width:100%;}
.hero-side{align-self:center; justify-self:end; width:min(390px,100%); display:flex; flex-direction:column; gap:16px; color:var(--white); padding:0;}
.hero-caps{display:grid;}
.hero-cap{grid-area:1/1; display:block; color:inherit; opacity:0; visibility:hidden; transition:opacity .9s ease, visibility 0s linear .9s; padding:14px 18px; border-left:1px solid rgba(207,169,102,.75); background:linear-gradient(90deg,rgba(12,10,8,.28),rgba(12,10,8,0));}
.hero-cap.is-active{opacity:1; visibility:visible; transition:opacity .9s ease .5s, visibility 0s;}
.cap-t{display:block; font-family:'Fraunces',serif; font-size:24px; line-height:1.1; letter-spacing:-0.015em;}
.cap-l{display:block; font-size:12.5px; color:rgba(250,246,240,.72); margin-top:5px;}
.cap-m{display:block; font-size:12px; font-weight:500; color:var(--gold-soft); margin-top:9px;}
.hero-cap:hover .cap-t{text-decoration:underline; text-decoration-color:var(--gold-soft); text-underline-offset:5px; text-decoration-thickness:1px;}
.hero-prog{position:relative; height:2px; background:rgba(255,255,255,.28);}
.hero-prog i{position:absolute; inset:0; background:var(--gold-soft); transform:scaleX(0); transform-origin:left center;}
.hero-prog i.run{animation:heroProg var(--slide-ms) linear forwards;}
@keyframes heroProg{to{transform:scaleX(1);}}
.hero-stage.is-paused .hero-prog i, .hero-stage.is-hover .hero-prog i{animation-play-state:paused;}
.hero-ctrl{display:flex; align-items:center; justify-content:space-between; gap:12px;}
.hero-count{font-family:'Fraunces',serif; font-size:15px; letter-spacing:.06em; color:rgba(255,255,255,.72); white-space:nowrap;}
.hero-count b{font-weight:500; color:var(--white); font-size:21px; letter-spacing:.02em;}
.hero-btns{display:flex; gap:8px;}
.hero-btn{width:42px; height:42px; border-radius:50%; border:1px solid rgba(255,255,255,.46); background:rgba(10,8,6,.22); color:var(--white); display:flex; align-items:center; justify-content:center; transition:background .25s ease, border-color .25s ease, transform .25s ease;}
.hero-btn svg{width:17px; height:17px;}
.hero-btn:hover{background:var(--gold); border-color:var(--gold); color:var(--ink); transform:translateY(-2px);}
.hero-btn:focus-visible{outline:2px solid var(--white); outline-offset:3px;}
.hero-cap:focus-visible{outline:2px solid var(--white); outline-offset:6px;}

/* ===== SEARCH PANEL — floating, overlaps the hero ===== */
.search-wrap{position:relative; z-index:6; max-width:1240px; margin:-76px auto 0; padding:0 32px;}
.sp, .fd{font-feature-settings:'cv08' 1;}
.sp{background:var(--white); border:1px solid var(--line); border-radius:14px; box-shadow:0 24px 60px rgba(28,24,21,.16); padding:20px 28px 24px; max-width:1120px; margin:0 auto;
  display:grid; align-items:center; row-gap:18px; column-gap:0;
  grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) minmax(0,1fr) minmax(0,.8fr) auto;
  grid-template-areas:"seg seg seg adv adv" "loc type price beds go";}
.sp-page{max-width:none; margin:20px 0 28px; box-shadow:0 12px 32px rgba(28,24,21,.08);}
.sp-seg{grid-area:seg; justify-self:start; display:inline-flex; gap:2px; padding:3px; background:var(--beige); border-radius:10px;}
.sp-seg-o{position:relative; display:block;}
.sp-seg-o input{position:absolute; inset:0; width:100%; height:100%; margin:0; opacity:0; cursor:pointer;}
.sp-seg-o span{display:flex; align-items:center; justify-content:center; min-width:92px; min-height:40px; padding:0 22px; border-radius:8px; font-size:14.5px; font-weight:600; color:var(--ink-soft); transition:background .2s ease, color .2s ease;}
.sp-seg-o:hover span{color:var(--ink);}
.sp-seg-o input:checked + span{background:var(--gold); color:var(--ink);}
.sp-seg-o input:focus-visible + span{outline:2px solid var(--ink); outline-offset:2px;}
.sp-adv{grid-area:adv; justify-self:end; display:inline-flex; align-items:center; gap:9px; min-height:44px; padding:0 2px; background:none; border:0; border-bottom:1px solid transparent; color:var(--ink-soft); font-size:14.5px; font-weight:500;}
.sp-adv:hover{color:var(--ink); border-bottom-color:var(--gold);}
.sp-adv svg{width:18px; height:18px; flex:none;}
.sp-badge{font-style:normal; min-width:20px; height:20px; padding:0 6px; border-radius:10px; background:var(--ink); color:var(--white); font-size:12px; font-weight:600; display:inline-flex; align-items:center; justify-content:center;}
.sp-badge[hidden]{display:none;}
.sp-f{position:relative; min-width:0; padding:4px 22px; display:flex; flex-direction:column; gap:2px; transition:box-shadow .2s ease, border-color .2s ease;}
.sp-f + .sp-f{border-left:1px solid var(--line);}
.sp-loc{grid-area:loc; padding-left:0;}
.sp-type{grid-area:type;}
.sp-price{grid-area:price;}
.sp-beds{grid-area:beds;}
.sp-f label{font-size:12px; font-weight:500; letter-spacing:.01em; color:var(--ink-soft);}
.sp-f input, .sp-f select{width:100%; min-height:32px; padding:4px 0; border:0; background:transparent; font:500 16px/1.4 'Inter',sans-serif; color:var(--ink); text-overflow:ellipsis;}
.sp-f input:focus, .sp-f select:focus, .sp-f input:focus-visible, .sp-f select:focus-visible{outline:none;}
.sp-f input::placeholder{color:#6E665B; opacity:1; font-weight:400;}
.sp-f select{-webkit-appearance:none; appearance:none; cursor:pointer; padding-right:24px; background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238B8378' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 2px center;}
.sp-f:focus-within{box-shadow:inset 0 -2px 0 var(--gold);}
.sp-go{grid-area:go; align-self:stretch; margin-left:16px; display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:60px; padding:0 38px; background:var(--ink); color:var(--white); border:0; border-radius:10px; font:600 16px 'Inter',sans-serif; transition:background .2s ease, color .2s ease;}
.sp-go svg{width:20px; height:20px;}
.sp-go:hover{background:var(--gold); color:var(--ink);}
.sp-go:focus-visible{outline:2px solid var(--gold); outline-offset:3px;}
.sp-list{position:absolute; left:-10px; top:calc(100% + 14px); width:max(100%,300px); z-index:10; list-style:none; background:var(--white); border:1px solid var(--line); border-radius:12px; box-shadow:0 18px 40px rgba(28,24,21,.18); padding:6px;}
.sp-list[hidden]{display:none;}
.sp-list li{display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:44px; padding:0 14px; border-radius:8px; font-size:15px; cursor:pointer;}
.sp-list li small{font-size:12.5px; color:var(--ink-soft);}
.sp-list li[aria-selected="true"], .sp-list li:hover{background:var(--gold-mist);}

@media (max-width:1024px){
  .hero-content{column-gap:42px; grid-template-columns:minmax(0,1fr) minmax(310px,360px); padding-left:24px; padding-right:24px;}
  .hero-search-card{padding:16px;}
}
@media (max-width:900px){
  .hero-stage{height:clamp(700px,88vh,820px);}
  .hero-content{grid-template-columns:1fr; row-gap:26px; align-content:center; padding:40px 24px 56px;}
  .hero-copy{max-width:520px; width:100%; justify-self:start;}
  .hero-side{max-width:460px; width:100%; justify-self:end;}
  .sp{grid-template-columns:repeat(3,minmax(0,1fr)); grid-template-areas:"seg seg adv" "loc loc loc" "type price beds" "go go go"; row-gap:14px; column-gap:12px;}
  .sp-f, .sp-f + .sp-f{border:1px solid var(--line); border-radius:10px; padding:8px 14px; min-height:62px; justify-content:center;}
  .sp-f:focus-within{border-color:var(--gold); box-shadow:0 0 0 1px var(--gold);}
  .sp-go{margin-left:0; min-height:56px;}
  .sp-list{left:0; right:0; width:auto;}
  /* the whole field card is the touch target, not just the 32px text line */
  .sp-f{padding:0; min-height:64px;}
  .sp-f label{position:absolute; top:9px; left:14px; right:30px; z-index:1; pointer-events:none; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
  .sp-f input, .sp-f select{position:absolute; inset:0; height:100%; min-height:64px; padding:28px 34px 8px 14px; border-radius:10px; background-position:right 14px center;}
  .sp-f input{padding-right:14px;}
}
@media (max-width:640px){
  .hero-stage{height:auto; min-height:760px;}
  .hero-content{position:relative; min-height:760px; padding:30px 16px 28px; align-content:center; row-gap:22px;}
  .hero-shade{background:linear-gradient(180deg,rgba(12,10,8,.66) 0%,rgba(12,10,8,.72) 48%,rgba(12,10,8,.48) 100%);}
  .hero-copy{max-width:none;}
  .hero-brandline{margin-bottom:16px;}
  .hero h1{font-size:clamp(46px,14vw,64px); margin-bottom:12px;}
  .hero-copy>p{font-size:13px; max-width:330px; margin-bottom:16px;}
  .hero-search-card{padding:14px; border-radius:17px;}
  .hero-search-head strong{font-size:18px;}
  .hero-search-card .sp{gap:7px;}
  .hero-search-card .sp-beds{display:none;}
  .hero-search-card .sp-f, .hero-search-card .sp-f + .sp-f{min-height:52px;}
  .hero-search-card .sp-f input,.hero-search-card .sp-f select{font-size:12.5px;}
  .hero-search-card .sp-go{min-height:48px;}
  .hero-side{gap:10px; max-width:none;}
  .hero-cap{padding:13px 16px;}
  .cap-t{font-size:19px;}
  .cap-l{font-size:11.5px;}
  .cap-m{margin-top:5px; font-size:11px;}
  .hero-btn{width:38px; height:38px;}
  .hero-prog{margin-top:2px;}
  .search-wrap{padding:0 16px; margin-top:-56px;}
  .sp{grid-template-columns:1fr 1fr; grid-template-areas:"seg seg" "loc loc" "type price" "go go" "adv adv"; padding:16px; row-gap:12px;}
  .sp-seg{justify-self:stretch;}
  .sp-seg-o{flex:1;}
  .sp-seg-o span{min-width:0; width:100%;}
  .sp-beds{display:none;}
  .sp-adv{justify-self:center;}
  .sp-page{margin:14px 0 22px;}
}
@media (prefers-reduced-motion: reduce){.hero-slide img{transform:none !important;}}
@media (pointer:coarse){ .sp-seg-o span{min-height:44px;} }

/* ===== RESULTS: count, active filter chips, empty state ===== */
.results-head{scroll-margin-top:92px; margin:6px 0 24px;}
.result-count{font-family:'Fraunces',serif; font-size:clamp(22px,2.6vw,28px); color:var(--ink); line-height:1.2;}
.result-count strong{font-weight:500;}
.result-count:focus{outline:none;}
.chips{display:flex; flex-wrap:wrap; align-items:center; gap:8px; list-style:none; margin-top:14px;}
.chips[hidden]{display:none;}
.chip{display:inline-flex; align-items:center; gap:8px; min-height:40px; padding:0 10px 0 14px; background:var(--white); border:1px solid var(--line); border-radius:8px; font-size:14px; font-weight:500; color:var(--ink);}
.chip svg{width:15px; height:15px; color:var(--ink-soft); flex:none;}
.chip:hover{border-color:var(--gold);}
.chip-clear{min-height:40px; padding:0 8px; background:none; border:0; font-size:14px; color:var(--ink-soft); text-decoration:underline; text-underline-offset:4px;}
.chip-clear:hover{color:var(--ink);}
@media (pointer:coarse){ .chip, .chip-clear{min-height:44px;} }
.empty-state{grid-column:1/-1; text-align:center; padding:72px 20px; background:var(--white); border:1px solid var(--line); border-radius:14px;}
.empty-state svg{width:44px; height:44px; color:var(--gold); margin:0 auto 16px;}
.empty-state h3{font-size:24px; margin-bottom:6px;}
.empty-state p{color:var(--ink-soft); margin-bottom:24px;}

/* ===== ADVANCED FILTERS — modal on desktop, bottom sheet on mobile ===== */
html.fd-lock{overflow:hidden;}
#fdlg{border:0; padding:0; color:var(--ink); background:var(--white); width:min(720px,calc(100vw - 32px)); max-height:min(88vh,820px); border-radius:14px; box-shadow:0 30px 80px rgba(20,16,12,.35); overflow:hidden;}
#fdlg::backdrop{background:rgba(20,16,12,.5);}
#fdlg[open]{display:flex; flex-direction:column;}
.fd{display:flex; flex-direction:column; min-height:0; flex:1;}
.fd-head{display:flex; align-items:center; justify-content:space-between; padding:20px 28px 8px;}
.fd-head h2{font-size:24px;}
.fd-x{width:44px; height:44px; margin-right:-10px; border:0; background:none; border-radius:50%; display:grid; place-items:center; color:var(--ink);}
.fd-x:hover{background:var(--beige);}
.fd-x svg{width:20px; height:20px;}
.fd-body{flex:1; min-height:0; overflow:auto; overscroll-behavior:contain; padding:10px 28px 26px; display:grid; grid-template-columns:1fr 1fr; gap:24px 28px; align-content:start;}
.fd-set{border:0; min-width:0;}
.fd-set.full{grid-column:1/-1;}
.fd-set legend, .fd-lab{display:block; padding:0; margin-bottom:10px; font-size:13px; font-weight:600; color:var(--ink);}
.fd-unit{font-weight:400; color:var(--ink-soft); margin-left:6px;}
.fd-set .sp-seg{display:flex;}
.fd-set .sp-seg-o{flex:1;}
.fd-set .sp-seg-o span{min-width:0; width:100%;}
.fd-sel{width:100%; min-height:48px; padding:0 40px 0 14px; border:1px solid var(--line); border-radius:10px; background:var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238B8378' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; -webkit-appearance:none; appearance:none; font:500 16px 'Inter',sans-serif; color:var(--ink);}
.fd-sel:focus-visible{outline:2px solid var(--gold); outline-offset:1px;}
.pills{display:flex; flex-wrap:wrap; gap:8px;}
.pill{position:relative; display:block;}
.pill input{position:absolute; inset:0; width:100%; height:100%; margin:0; opacity:0; cursor:pointer;}
.pill span{display:inline-flex; align-items:center; min-height:44px; padding:0 16px; border:1px solid var(--line); border-radius:8px; background:var(--white); font-size:14.5px; color:var(--ink); transition:background .15s ease, border-color .15s ease;}
.pill:hover span{border-color:var(--gold-soft);}
.pill input:checked + span{border-color:var(--gold); background:var(--gold-mist); font-weight:600;}
.pill input[type=checkbox]:checked + span::before{content:"✓"; margin-right:8px;}
.pill input:focus-visible + span{outline:2px solid var(--ink); outline-offset:2px;}
.fd-price{display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:12px;}
.fd-price > div{min-width:0;}
.fd-in input{width:100%;}
.fd-sub{display:block; font-size:12px; color:var(--ink-soft); margin-bottom:6px;}
.fd-in{display:flex; align-items:center; min-height:48px; padding:0 14px; border:1px solid var(--line); border-radius:10px; background:var(--white);}
.fd-in:focus-within{border-color:var(--gold); box-shadow:0 0 0 1px var(--gold);}
.fd-in span{color:var(--ink-soft);}
.fd-in input{flex:1; min-width:0; border:0; background:none; padding:12px 0 12px 6px; font:500 16px 'Inter',sans-serif; color:var(--ink);}
.fd-in input:focus, .fd-in input:focus-visible{outline:none;}
.fd-err{margin-top:8px; font-size:13px; color:#9B3B2E;}
.fd-err[hidden]{display:none;}
.fd-foot{display:flex; align-items:center; justify-content:space-between; gap:12px; padding:16px 28px; border-top:1px solid var(--line); background:var(--white);}
.fd-clear{min-height:44px; padding:0 8px; background:none; border:0; color:var(--ink); font-size:15px; text-decoration:underline; text-underline-offset:4px;}
.fd-show{min-height:52px; padding:0 30px; background:var(--ink); color:var(--white); border:0; border-radius:10px; font:600 15.5px 'Inter',sans-serif;}
.fd-show:hover{background:var(--gold); color:var(--ink);}
.fd-show[aria-disabled="true"]{opacity:.45; cursor:not-allowed;}
.fd-show[aria-disabled="true"]:hover{background:var(--ink); color:var(--white);}
.fd-show:focus-visible, .fd-clear:focus-visible{outline:2px solid var(--gold); outline-offset:3px;}
@keyframes sheetUp{from{transform:translateY(28px); opacity:.7;}to{transform:none; opacity:1;}}
@media (max-width:640px){
  #fdlg{width:100%; max-width:100%; height:92vh; height:92dvh; max-height:92dvh; margin:auto 0 0 0; border-radius:16px 16px 0 0; animation:sheetUp .28s ease-out;}
  .fd-head{padding:16px 20px 6px;}
  .fd-body{grid-template-columns:1fr; padding:8px 20px 22px; gap:22px;}
  .fd-foot{padding:14px 20px calc(14px + env(safe-area-inset-bottom,0px));}
  .fd-show{flex:1;}
}
@media (prefers-reduced-motion: reduce){ #fdlg{animation:none;} }

/* floating WhatsApp button steps aside while the hero search panel is on screen (narrow viewports) */
@media (max-width:1100px){
  #waFab{transition:opacity .25s ease, transform .25s ease, visibility 0s;}
  #waFab.wa-hide{opacity:0; visibility:hidden; pointer-events:none; transform:scale(.85); transition:opacity .25s ease, transform .25s ease, visibility 0s .25s;}
}

::selection{background:var(--gold-mist); color:var(--ink);}
:focus-visible{outline:2px solid var(--gold); outline-offset:2px;}
@media (prefers-reduced-motion: reduce){ *{transition:none !important; scroll-behavior:auto !important;} }

/* image loading state: soft fade-in (cannot leave an image hidden) */
@keyframes imgIn{from{opacity:0}to{opacity:1}}
.photo img, .tc-img, .about-photo img, .why-img{animation:imgIn .6s ease both;}
.photo, .type-card, .why-visual, .about-photo{background-color:var(--beige);}
@media (prefers-reduced-motion: reduce){ .photo img,.tc-img,.about-photo img,.why-img{animation:none;} .card:hover, .type-card:hover{transform:none;} .card:hover .photo img, .type-card:hover .tc-img{transform:none;} }



/* Final approved refinements: preserve the existing design and hero slider. */
.brand-logo, .logo, .site-logo { transform: scale(1.06); transform-origin:left center; }
.brand-logo svg, .logo svg, .site-logo svg { color:#111; }
.prime-gold { color:#B08A3C; }
.footer-ceo { margin-top:14px; font-size:13px; color:var(--gray-warm,#777); }
.footer-ceo strong { color:var(--ink,#171512); }
.pv-live-map { width:100%; min-height:300px; border:0; border-radius:16px; display:block; }

/* Final polish: black + gold Prime Villas header/footer logo treatment */
header .logo img#logoHeader{height:48px; width:auto; filter:grayscale(1) contrast(1.35) brightness(.38) drop-shadow(0 1px 0 rgba(180,137,79,.22));}
header .logo{position:relative; padding-right:18px;}
header .logo::after{content:""; position:absolute; right:0; top:50%; width:8px; height:8px; transform:translateY(-50%); border-radius:50%; background:var(--gold); box-shadow:0 0 0 3px rgba(180,137,79,.14);}
footer .logo img{height:42px !important; filter:grayscale(1) brightness(2.5) contrast(.8) drop-shadow(0 0 1px rgba(217,185,138,.55));}
footer .logo::after{content:""; display:block; width:7px; height:7px; border-radius:50%; background:var(--gold-soft); margin-left:-4px; box-shadow:0 0 0 3px rgba(180,137,79,.12);}
footer{position:relative; overflow:hidden; background:linear-gradient(180deg,#1d1915 0%,#0d0c0a 100%); margin:0 10px; border-radius:18px 18px 0 0;}
footer::before{content:""; position:absolute; left:0; right:0; top:0; height:2px; background:linear-gradient(90deg,transparent,var(--gold-soft),var(--gold),transparent);}
footer::after{content:""; position:absolute; width:360px; height:360px; right:-180px; top:-180px; border-radius:50%; border:1px solid rgba(217,185,138,.10); box-shadow:0 0 0 40px rgba(217,185,138,.025),0 0 0 80px rgba(217,185,138,.018); pointer-events:none;}
footer .foot-grid{position:relative; z-index:1; padding-top:18px;}
footer .brand-kicker{display:inline-flex; align-items:center; gap:8px; color:var(--gold-soft); font-size:11px; letter-spacing:.16em; text-transform:uppercase; margin-top:14px;}
footer .brand-kicker::before{content:""; width:24px; height:1px; background:var(--gold);}
footer .foot-contact-highlight{margin-top:16px; padding:12px 14px; border:1px solid rgba(184,143,86,.24); border-radius:12px; background:rgba(184,143,86,.06);}
footer .foot-bottom{position:relative; z-index:1; padding:20px 0 26px;}
.ceo-card{margin-top:28px; padding:18px 20px; border:1px solid var(--line); border-radius:14px; background:linear-gradient(135deg,var(--white),#fbf8f2); max-width:520px; display:flex; align-items:center; gap:14px;}
.ceo-mark{width:44px; height:44px; border-radius:50%; background:var(--ink); color:var(--gold-soft); display:flex; align-items:center; justify-content:center; font-family:'Fraunces',serif; font-weight:600; font-size:15px;}
.ceo-card strong{display:block; font-size:15px;}
.ceo-card span{display:block; color:var(--gray-warm); font-size:13px; margin-top:3px;}
.live-map{width:100%; height:360px; border:0; border-radius:16px; display:block; box-shadow:0 10px 28px rgba(20,16,12,.08);}
@media(max-width:768px){header .logo img#logoHeader{height:44px;} footer .foot-grid{padding-top:12px;} .live-map{height:300px;}}

/* Founder footer polish */
.foot-founder{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;width:126px;height:126px;max-width:calc(100% - 24px);margin:8px auto 24px;padding:10px;border:1px solid rgba(217,185,138,.22);border-radius:50%;background:radial-gradient(circle at 35% 28%,rgba(255,255,255,.09),rgba(180,137,79,.06) 55%,rgba(0,0,0,.08));box-shadow:0 12px 32px rgba(0,0,0,.16);}
.founder-mark{width:42px;height:42px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:linear-gradient(145deg,#2a251f,#0e0c0a);border:1px solid rgba(217,185,138,.45);color:var(--gold-soft);font-family:'Fraunces',serif;font-weight:600;letter-spacing:.04em;box-shadow:inset 0 0 0 3px rgba(217,185,138,.05);}
.founder-label{display:block;color:var(--gold-soft);font-size:10px;letter-spacing:.18em;text-transform:uppercase;margin-bottom:1px;}
.foot-founder strong{display:block;color:#fff;font-family:'Fraunces',serif;font-size:17px;font-weight:500;line-height:1.2;}
.foot-founder small{display:block;color:#9c9384;font-size:10px;margin-top:2px;}
\n\n/* WordPress integration only — preserves the approved V3 composition. */\n.admin-bar .site-header{top:32px;}\n@media(max-width:782px){.admin-bar .site-header{top:46px;}}\n.pv-wp-note{font-size:12px;color:var(--gray-warm,#777);margin-top:10px;}\n.pv-submission-status{display:none;background:var(--gold-mist);color:var(--ink);padding:14px 16px;border-radius:10px;font-size:14px;margin-bottom:16px;}\n.pv-submission-status.show{display:block;}\n.pv-map-frame{width:100%;height:300px;border:0;border-radius:16px;display:block;}\n
/* --------------------------------------------------------------------------
   Elementor-safe page surface
   --------------------------------------------------------------------------
   These rules only affect normal Elementor/page content. The approved V3
   homepage (#app), header, hero, property UI and footer keep their existing
   CSS unchanged so the HTML-to-WordPress 1:1 goal is protected.
*/
.pv-elementor-page,
.pv-elementor-fullwidth{min-height:40vh;}
.pv-page-content{padding-top:56px;padding-bottom:72px;}
.pv-elementor-page .elementor,
.pv-elementor-fullwidth .elementor{width:100%;}
.elementor-page .site-main .wrap.pv-page-content{max-width:1240px;}
.elementor-page .site-main{background:var(--ivory);}

/* ===== HOMEPAGE PROPERTY RAILS — inspired by premium real-estate catalogues ===== */
.home-properties{padding-top:68px; padding-bottom:68px;}
.home-featured{padding-top:80px;}
.property-rail{position:relative; display:flex; align-items:center; gap:14px;}
.rail-viewport{overflow:hidden; flex:1; min-width:0; padding:3px 1px 8px;}
.rail-track{display:flex; gap:24px; transition:transform .45s cubic-bezier(.22,.61,.36,1); will-change:transform;}
.rail-track .card{flex:0 0 calc((100% - 48px)/3); min-width:0;}
.rail-nav{flex:none; width:44px; height:44px; border:1px solid var(--line); border-radius:50%; background:var(--white); color:var(--ink); display:flex; align-items:center; justify-content:center; font-size:29px; line-height:1; box-shadow:0 10px 24px rgba(28,24,21,.08); transition:all .2s ease;}
.rail-nav:hover:not(:disabled){background:var(--gold); border-color:var(--gold); color:var(--white); transform:translateY(-1px);}
.rail-nav:disabled{opacity:.32; cursor:default; box-shadow:none;}
@media(max-width:900px){
  .home-properties{padding-top:56px; padding-bottom:56px;}
  .rail-track .card{flex-basis:calc((100% - 24px)/2);}
  .rail-nav{width:40px;height:40px;font-size:27px;}
}
@media(max-width:640px){
  .home-properties{padding-top:48px; padding-bottom:48px;}
  .home-featured{padding-top:58px;}
  .property-rail{gap:8px;}
  .rail-track{gap:14px;}
  .rail-track .card{flex-basis:100%;}
  .rail-nav{width:34px;height:34px;font-size:23px;}
}

/* More refined section introductions without changing the approved visual identity. */
.head .eyebrow{display:inline-flex; align-items:center; gap:10px; text-transform:uppercase; letter-spacing:.16em; font-size:11px; font-weight:700; margin-bottom:11px;}
.head .eyebrow::before,.head .eyebrow::after{content:''; width:22px; height:1px; background:var(--gold); opacity:.7;}
.head h2{line-height:1.08;}
.head p{max-width:620px; margin-left:auto; margin-right:auto;}

/* Give the floating search a slightly more premium, Houzez-style control bar feel. */
.sp{border-radius:18px; padding-top:22px; padding-bottom:26px;}
.sp-seg-o input:checked + span{background:var(--ink); color:var(--white);}
.sp-go{border-radius:12px; min-width:142px;}

/* Keep the Hargeisa location mosaic visually strong while tightening vertical rhythm. */
.areas{height:460px; gap:16px;}
.area-card{border-radius:18px;}
@media(max-width:860px){.areas{gap:14px;}}

/* ===== HOUZEZ-INSPIRED MOTION + CREATIVE HEADINGS ===== */
.head{position:relative;}
.head .eyebrow{transition:letter-spacing .5s ease, transform .5s ease;}
.head h2{position:relative; display:inline-block; padding-bottom:12px;}
.head h2::after{content:''; position:absolute; left:50%; bottom:0; width:54px; height:2px; transform:translateX(-50%) scaleX(.35); transform-origin:center; background:linear-gradient(90deg,transparent,var(--gold),transparent); transition:transform .7s cubic-bezier(.22,.61,.36,1), width .7s ease;}
.head.in .eyebrow{letter-spacing:.21em; transform:translateY(-2px);}
.head.in h2::after{width:92px; transform:translateX(-50%) scaleX(1);}
nav.links a{position:relative; border-bottom:0 !important; transition:color .25s ease, transform .25s ease;}
nav.links a::after{content:''; position:absolute; left:50%; right:50%; bottom:-7px; height:2px; background:var(--gold); transition:left .28s ease,right .28s ease;}
nav.links a:hover,nav.links a.on{transform:translateY(-1px);}
nav.links a:hover::after,nav.links a.on::after{left:0;right:0;}
.btn{transition:transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;}
.btn:hover{transform:translateY(-2px); box-shadow:0 12px 24px rgba(28,24,21,.10);}
.card{will-change:transform;}
.card:hover{transform:translateY(-7px); box-shadow:0 24px 48px rgba(28,24,21,.12);}
.type-card,.area-card,.test-card,.value-card,.info-card{will-change:transform; transition:transform .35s cubic-bezier(.22,.61,.36,1),box-shadow .35s ease,border-color .35s ease;}
.type-card:hover,.area-card:hover,.test-card:hover,.value-card:hover,.info-card:hover{transform:translateY(-6px); box-shadow:0 20px 42px rgba(28,24,21,.10); border-color:rgba(180,137,79,.35);}
.reveal{opacity:0; transform:translateY(26px) scale(.985); transition:opacity .75s ease,transform .75s cubic-bezier(.22,.61,.36,1);}
.reveal.in{opacity:1;transform:none;}
.test-grid .reveal:nth-child(2),.values-grid .reveal:nth-child(2){transition-delay:.08s;}
.test-grid .reveal:nth-child(3),.values-grid .reveal:nth-child(3){transition-delay:.16s;}
@media(prefers-reduced-motion:reduce){.btn:hover,.card:hover,.type-card:hover,.area-card:hover,.test-card:hover,.value-card:hover,.info-card:hover{transform:none;box-shadow:none}.head.in h2::after{transition:none}}

/* ===== CREATIVE ENQUIRY EXPERIENCE ===== */
.pagehead-creative{padding:62px 0 22px; max-width:900px; text-align:center;}
.pagehead-creative .eyebrow{display:inline-flex;align-items:center;gap:10px;text-transform:uppercase;letter-spacing:.18em;font-size:11px;font-weight:700;}
.pagehead-creative .eyebrow::before,.pagehead-creative .eyebrow::after{content:'';width:28px;height:1px;background:var(--gold);}
.pagehead-creative h1{font-size:clamp(36px,5vw,58px);line-height:1.02;margin:8px auto 14px;text-wrap:balance;}
.pagehead-creative p{max-width:650px;margin:auto;color:var(--gray-warm);font-size:16px;}
.enquiry-section{padding-top:24px;}
.enquiry-shell{display:grid;grid-template-columns:.82fr 1.18fr;gap:0;overflow:hidden;border-radius:28px;background:var(--ink);box-shadow:0 30px 70px rgba(28,24,21,.13);}
.enquiry-intro{position:relative;padding:58px 48px;color:var(--white);overflow:hidden;background:radial-gradient(circle at 12% 8%,rgba(217,185,138,.20),transparent 38%),linear-gradient(145deg,#211c17,#12100e);}
.enquiry-intro::after{content:'';position:absolute;width:300px;height:300px;border-radius:50%;right:-160px;bottom:-150px;border:1px solid rgba(217,185,138,.16);box-shadow:0 0 0 40px rgba(217,185,138,.025),0 0 0 80px rgba(217,185,138,.018);}
.enquiry-intro h2{color:var(--white);font-size:clamp(30px,3.4vw,46px);line-height:1.05;margin-bottom:18px;position:relative;z-index:1;}
.enquiry-intro p{color:#cfc7bb;font-size:14.5px;max-width:410px;position:relative;z-index:1;}
.enquiry-points{display:grid;gap:16px;margin:34px 0;position:relative;z-index:1;}
.enquiry-points div{display:flex;align-items:center;gap:13px;padding-bottom:14px;border-bottom:1px solid rgba(255,255,255,.10);}
.enquiry-points span{font-family:'Fraunces',serif;color:var(--gold-soft);font-size:14px;}
.enquiry-points strong{font-size:13px;font-weight:500;color:#eee7dc;}
.enquiry-contact{position:relative;z-index:1;display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:12px;color:#9f978b;padding-top:8px;}
.enquiry-contact a{color:var(--gold-soft);font-weight:600;}
.enquiry-form-card{background:var(--white);padding:42px 42px 38px;}
.enquiry-form{max-width:none;}
.form-section-title{margin-bottom:17px;}
.form-section-title span{display:block;color:var(--gold);font-size:10px;text-transform:uppercase;letter-spacing:.16em;font-weight:700;margin-bottom:5px;}
.form-section-title h3{font-size:20px;}
.choice-row{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:30px;}
.choice{cursor:pointer;position:relative;}
.choice input{position:absolute;opacity:0;pointer-events:none;}
.choice span{display:flex;align-items:center;justify-content:center;min-height:44px;padding:8px 10px;border:1px solid var(--line);border-radius:10px;font-size:12.5px;color:var(--ink-soft);background:#fff;transition:.25s ease;}
.choice input:checked+span{background:var(--ink);border-color:var(--ink);color:var(--white);box-shadow:0 8px 20px rgba(28,24,21,.12);}
.enquiry-form .form-row{margin-bottom:14px;}
.form-row.three{grid-template-columns:1.15fr .85fr .85fr;}
.enquiry-form .form-group input,.enquiry-form .form-group select,.enquiry-form .form-group textarea{border-radius:10px;background:#fcfaf7;transition:border-color .25s ease,box-shadow .25s ease,background .25s ease;}
.enquiry-form .form-group input:focus,.enquiry-form .form-group select:focus,.enquiry-form .form-group textarea:focus{background:#fff;box-shadow:0 0 0 4px rgba(180,137,79,.10);}
.optional{color:#aaa;font-weight:400;}
.consent{display:flex;align-items:flex-start;gap:9px;font-size:11.5px;color:var(--gray-warm);margin:6px 0 16px;}
.consent input{margin-top:2px;accent-color:var(--gold);}
.enquiry-submit{padding:14px 20px;border-radius:10px;justify-content:space-between;}
.enquiry-submit span{font-size:18px;transition:transform .25s ease;}
.enquiry-submit:hover span{transform:translateX(4px);}
.contact-lower{background:var(--beige);}
.contact-map{height:360px;border-radius:22px;overflow:hidden;background:none;}
.live-map{width:100%;height:100%;border:0;display:block;}

/* ===== FOOTER NEWSLETTER ===== */
.footer-newsletter{position:relative;z-index:2;display:grid;grid-template-columns:1fr minmax(360px,.75fr);gap:34px;align-items:center;margin:0 0 46px;padding:28px 30px;border:1px solid rgba(217,185,138,.18);border-radius:20px;background:linear-gradient(110deg,rgba(180,137,79,.13),rgba(255,255,255,.035));}
.footer-news-kicker{display:block;color:var(--gold-soft);font-size:10px;letter-spacing:.17em;text-transform:uppercase;margin-bottom:7px;}
.footer-newsletter h3{color:var(--white);font-size:clamp(21px,2.4vw,30px);line-height:1.08;margin-bottom:7px;}
.footer-newsletter p{color:#9f978b;font-size:12.5px;max-width:520px;}
.newsletter-form{position:relative;display:grid;grid-template-columns:1fr auto;gap:8px;}
.newsletter-form input{min-width:0;width:100%;padding:12px 14px;border-radius:9px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.06);color:var(--white);font:inherit;font-size:13px;}
.newsletter-form input::placeholder{color:#8d857a;}
.newsletter-form input:focus{outline:2px solid var(--gold);outline-offset:1px;}
.newsletter-form .btn{padding:11px 16px;white-space:nowrap;}
.newsletter-msg{grid-column:1/-1;display:none;color:var(--gold-soft);font-size:11.5px;margin-top:2px;}
.newsletter-msg.show{display:block;}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}

@media(max-width:900px){
 .enquiry-shell{grid-template-columns:1fr;}
 .enquiry-intro{padding:42px 28px;}
 .enquiry-form-card{padding:32px 24px;}
 .footer-newsletter{grid-template-columns:1fr;}
}
@media(max-width:600px){
 .pagehead-creative{padding-top:42px;}
 .enquiry-intro h2{font-size:32px;}
 .choice-row{grid-template-columns:1fr 1fr;}
 .form-row.three{grid-template-columns:1fr;}
 .enquiry-contact{align-items:flex-start;flex-direction:column;}
 .footer-newsletter{padding:24px 20px;margin-bottom:34px;}
 .newsletter-form{grid-template-columns:1fr;}
 .newsletter-form .btn{width:100%;}
 .contact-map{height:300px;}
}

/* ===== Prime Villas CREATIVE HOMEPAGE ===== */
.feature-stage{display:grid;grid-template-columns:1.45fr .75fr;gap:18px;align-items:stretch;min-height:540px;}
.feature-lead{position:relative;min-width:0;overflow:hidden;border-radius:24px;background:var(--ink);}
.feature-lead>.card{height:100%;border:0;border-radius:24px;background:var(--ink);}
.feature-lead>.card .photo{height:100%;min-height:540px;}
.feature-lead>.card .card-body{position:absolute;left:0;right:0;bottom:0;padding:30px;color:#fff;background:linear-gradient(0deg,rgba(16,13,10,.94),rgba(16,13,10,.02));}
.feature-lead>.card .card-body h3{font-size:clamp(24px,3vw,38px);color:#fff;}
.feature-lead>.card .loc,.feature-lead>.card .meta{color:rgba(255,255,255,.72);}
.feature-lead>.card .price strong{color:var(--gold-soft);font-size:21px;}
.feature-side{display:grid;grid-template-rows:1fr 1fr;gap:18px;min-width:0;}
.feature-side .card{height:100%;}
.feature-side .card .photo{height:250px;}
.feature-caption{position:absolute;top:22px;left:22px;z-index:4;display:flex;flex-direction:column;gap:4px;color:#fff;pointer-events:none;}
.feature-caption span{font-size:10px;letter-spacing:.18em;text-transform:uppercase;color:var(--gold-soft);font-weight:700;}
.feature-caption strong{font-size:12px;font-weight:500;max-width:210px;}
.split-head{display:flex;align-items:end;justify-content:space-between;gap:30px;}
.split-head .text-link{color:var(--ink);font-size:13px;font-weight:700;border-bottom:1px solid var(--gold);padding-bottom:4px;white-space:nowrap;}
.creative-dark{background:#16130f;color:#fff;overflow:hidden;position:relative;}
.creative-dark .head h2,.creative-dark h2{color:#fff;}
.dark-intro{display:flex;align-items:center;justify-content:space-between;gap:30px;margin-bottom:28px;}
.dark-intro .eyebrow{color:var(--gold-soft);}
.orbit-word{width:76px;height:76px;border:1px solid rgba(217,185,138,.38);border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--gold-soft);font-family:'Fraunces',serif;font-size:22px;box-shadow:0 0 0 12px rgba(217,185,138,.035),0 0 0 24px rgba(217,185,138,.018);animation:floatOrb 5s ease-in-out infinite;}
.creative-dark .rail-nav{background:rgba(255,255,255,.05);border-color:rgba(255,255,255,.16);color:#fff;}
.creative-dark .rail-nav:hover:not(:disabled){background:var(--gold);border-color:var(--gold);}
.creative-dark .card{background:#211d18;border-color:rgba(255,255,255,.08);color:#fff;}
.creative-dark .card-body h3{color:#fff;}
.creative-dark .card-body .loc,.creative-dark .card-body .meta{color:#aaa096;}
.creative-dark .card-body .price span{color:#8f877d;}
@keyframes floatOrb{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-7px) rotate(8deg)}}

/* ===== LIST PROPERTY: MATCH THE CONTACT PAGE ENERGY ===== */
.list-head{padding-bottom:28px;}
.list-head h1{max-width:760px;}
.list-section{padding-top:20px;}
.list-shell{display:grid;grid-template-columns:.8fr 1.2fr;overflow:hidden;border-radius:28px;background:var(--ink);box-shadow:0 30px 70px rgba(28,24,21,.14);}
.list-intro{position:relative;padding:54px 46px;color:#fff;background:radial-gradient(circle at 85% 12%,rgba(217,185,138,.18),transparent 34%),linear-gradient(145deg,#241f19,#11100e);overflow:hidden;}
.list-intro:after{content:'';position:absolute;width:360px;height:360px;border-radius:50%;right:-190px;bottom:-190px;border:1px solid rgba(217,185,138,.13);box-shadow:0 0 0 48px rgba(217,185,138,.022),0 0 0 96px rgba(217,185,138,.014);}
.list-number{font-family:'Fraunces',serif;font-size:88px;line-height:.75;color:rgba(217,185,138,.08);position:absolute;right:26px;top:26px;}
.list-intro .eyebrow{color:var(--gold-soft);position:relative;z-index:1;}
.list-intro h2{color:#fff;font-size:clamp(30px,3.3vw,46px);line-height:1.05;max-width:440px;margin:12px 0 18px;position:relative;z-index:1;}
.list-intro>p{color:#c9c1b5;max-width:430px;font-size:14px;position:relative;z-index:1;}
.list-steps{display:grid;gap:0;margin-top:32px;position:relative;z-index:1;}
.list-steps>div{display:grid;grid-template-columns:34px 1fr;gap:12px;padding:15px 0;border-top:1px solid rgba(255,255,255,.10);}
.list-steps b{font-family:'Fraunces',serif;color:var(--gold-soft);font-size:13px;}
.list-steps strong{display:block;font-size:13px;font-weight:600;color:#f4eee5;margin-bottom:3px;}
.list-steps small{display:block;color:#91897e;font-size:11px;line-height:1.5;}
.list-contact{display:flex;justify-content:space-between;gap:12px;align-items:center;padding-top:22px;margin-top:14px;border-top:1px solid rgba(255,255,255,.10);position:relative;z-index:1;font-size:11px;color:#8e877d;}
.list-contact a{color:var(--gold-soft);font-weight:700;}
.list-form-card{background:#fff;padding:42px 42px 38px;}
.listing-form .form-section-title span{display:block;color:var(--gold);font-size:10px;text-transform:uppercase;letter-spacing:.16em;font-weight:700;margin-bottom:5px;}
.listing-form .form-section-title h3{font-size:20px;}
.listing-divider{margin:30px 0 16px;}
.listing-form .form-group input,.listing-form .form-group select,.listing-form .form-group textarea{border-radius:10px;background:#fcfaf7;transition:border-color .25s ease,box-shadow .25s ease,background .25s ease;}
.listing-form .form-group input:focus,.listing-form .form-group select:focus,.listing-form .form-group textarea:focus{background:#fff;box-shadow:0 0 0 4px rgba(180,137,79,.10);}
.listing-upload{display:flex;align-items:center;gap:14px;padding:18px;border:1px dashed rgba(180,137,79,.55);border-radius:14px;background:linear-gradient(110deg,#fcfaf7,#fff);position:relative;overflow:hidden;}
.listing-upload input{width:100%;max-width:230px;font-size:11px;}
.listing-upload strong{font-size:13px;display:block;margin-bottom:4px;}
.listing-upload p{font-size:11px;color:#999;margin:0;}
.upload-plus{margin-left:auto;width:38px;height:38px;border-radius:50%;background:var(--gold-mist);color:var(--gold);display:flex;align-items:center;justify-content:center;font-size:24px;flex:none;}
.listing-submit{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;border-radius:10px;}
.listing-submit span{font-size:19px;transition:transform .25s ease;}
.listing-submit:hover span{transform:translateX(5px);}
@media(max-width:980px){
 .feature-stage{grid-template-columns:1fr;}
 .feature-lead>.card .photo{min-height:430px;}
 .feature-side{grid-template-columns:1fr 1fr;grid-template-rows:none;}
 .list-shell{grid-template-columns:1fr;}
 .list-intro{padding:44px 28px;}
 .list-form-card{padding:34px 26px;}
}
@media(max-width:640px){
 .feature-lead>.card .photo{min-height:390px;}
 .feature-side{grid-template-columns:1fr;}
 .feature-side .card .photo{height:230px;}
 .split-head{align-items:flex-start;flex-direction:column;gap:12px;}
 .orbit-word{width:58px;height:58px;font-size:17px;}
 .list-intro h2{font-size:32px;}
 .listing-upload{align-items:flex-start;flex-direction:column;}
 .listing-upload input{max-width:none;}
 .upload-plus{position:absolute;right:14px;top:14px;}
}
@media(prefers-reduced-motion:reduce){.orbit-word{animation:none;}}

/* ===== UPDATE 7 — NAV, POPULAR, ABOUT + SEARCH POLISH ===== */
/* Most-viewed: a softer Prime Selection-style rounded canvas instead of a full black band. */
.creative-dark{background:transparent;color:var(--white);padding-top:72px;padding-bottom:72px;}
.creative-dark>.wrap{position:relative;overflow:hidden;padding:48px 32px;border-radius:28px;background:linear-gradient(135deg,#171411 0%,#28211b 48%,#8c6940 135%);box-shadow:0 24px 60px rgba(28,24,21,.12);}
.creative-dark>.wrap::before{content:'';position:absolute;width:320px;height:320px;right:-130px;top:-150px;border-radius:50%;border:1px solid rgba(243,231,211,.15);box-shadow:0 0 0 34px rgba(243,231,211,.025),0 0 0 70px rgba(243,231,211,.018);pointer-events:none;}
.creative-dark>.wrap::after{content:'';position:absolute;left:-90px;bottom:-120px;width:260px;height:260px;border-radius:50%;background:radial-gradient(circle,rgba(217,185,138,.16),transparent 68%);pointer-events:none;}
.creative-dark .dark-intro,.creative-dark .property-rail{position:relative;z-index:2;}
.creative-dark .dark-intro{margin-bottom:30px;}
.creative-dark .dark-intro h2{color:#fff;max-width:650px;}
.creative-dark .dark-intro .eyebrow{color:var(--gold-soft);}
.creative-dark .orbit-word{background:rgba(255,255,255,.055);}
.creative-dark .card{background:rgba(22,19,15,.72);border-color:rgba(255,255,255,.13);box-shadow:0 14px 34px rgba(0,0,0,.16);}
.creative-dark .card-body h3{color:#fff;}
.creative-dark .card-body .loc,.creative-dark .card-body .meta{color:#c7bfb3;}
.creative-dark .card-body .price span{color:#b9afa2;}
.creative-dark .rail-nav{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.20);}
.creative-dark .rail-nav:hover:not(:disabled){background:var(--gold);border-color:var(--gold);color:var(--ink);}

/* About home: editorial copy block with a stronger Prime Villas voice. */
.home-about-copy{position:relative;padding:34px 0 0 30px;}
.home-about-copy::before{content:'PV';position:absolute;right:0;top:-18px;font:500 clamp(76px,10vw,126px)/1 'Fraunces',serif;color:rgba(180,137,79,.08);letter-spacing:-.08em;pointer-events:none;}
.home-about-kicker{display:inline-flex;align-items:center;gap:9px;margin-bottom:12px;color:var(--gold);font-size:11px;font-weight:800;letter-spacing:.17em;text-transform:uppercase;}
.home-about-kicker::before{content:'';width:28px;height:1px;background:var(--gold);}
.home-about-title{font-size:clamp(28px,3.5vw,43px)!important;line-height:1.02;margin-bottom:18px!important;max-width:520px;}
.home-about-lead{font:500 clamp(17px,2vw,21px)/1.45 'Fraunces',serif!important;color:var(--ink)!important;max-width:560px;}
.home-about-copy .about-detail{max-width:570px;}
.home-about-signature{display:flex;align-items:center;gap:12px;margin-top:22px;color:var(--ink-soft);font-size:12px;letter-spacing:.05em;}
.home-about-signature span{width:34px;height:1px;background:var(--gold);}
.home-about-copy .about-stats{max-width:580px;}

/* Footer brand: slightly larger, centered mark with centered supporting copy. */
footer .foot-grid>div:first-child{text-align:center;}
footer .foot-grid>div:first-child .logo{width:100%;justify-content:center;}
footer .foot-grid>div:first-child p.desc{margin-left:auto;margin-right:auto;}
footer .foot-grid>div:first-child .social-row{justify-content:center;}
footer .logo img{height:52px !important;}

@media(max-width:900px){
  nav.links{gap:3px;}
  nav.links a{padding:7px 9px;}
}
@media(max-width:768px){
  .creative-dark{padding-top:52px;padding-bottom:52px;}
  .creative-dark>.wrap{padding:34px 20px;border-radius:22px;}
  .home-about-copy{padding:28px 0 0;}
  .home-about-copy::before{right:8px;top:0;}
  nav.links a::after{display:none;}
  footer .logo img{height:48px !important;}
}

/* ===== UPDATE 6 — FEATURED CARD + FOOTER MAGIC ===== */
/* Keep the featured property's own status badge clear; the editorial caption now
   lives on the opposite corner so the two pieces never collide. */
.feature-caption{
  top:20px;
  right:20px;
  left:auto;
  align-items:flex-end;
  text-align:right;
  gap:5px;
  max-width:245px;
  padding:10px 12px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:13px;
  background:rgba(15,12,10,.30);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  box-shadow:0 10px 28px rgba(0,0,0,.12);
}
.feature-caption span{font-size:9px;letter-spacing:.19em;color:var(--gold-soft);}
.feature-caption strong{font-size:12px;line-height:1.35;max-width:210px;color:#fff;}

/* Footer section labels: small ivory cards floating inside the dark footer. */
footer h5{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:30px;
  margin:0 0 15px;
  padding:7px 12px 7px 11px;
  border-radius:9px;
  background:#fbf8f2;
  color:#171512;
  font-size:10px;
  font-weight:800;
  letter-spacing:.13em;
  line-height:1;
  text-transform:uppercase;
  box-shadow:0 7px 18px rgba(0,0,0,.12);
}
footer h5::before{
  content:"";
  width:3px;
  height:14px;
  border-radius:3px;
  background:linear-gradient(180deg,var(--gold-soft),var(--gold));
}
footer li{margin-bottom:6px;}
footer li a{
  display:inline-flex;
  align-items:center;
  gap:9px;
  min-height:27px;
  padding:3px 7px 3px 0;
  color:#c9c2b5;
  font-size:13px;
  transition:color .25s ease,transform .25s ease,padding .25s ease;
}
footer li a::before{
  content:"↗";
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:19px;
  height:19px;
  border:1px solid rgba(217,185,138,.22);
  border-radius:50%;
  color:var(--gold-soft);
  font-size:10px;
  line-height:1;
  background:rgba(217,185,138,.055);
  transition:background .25s ease,color .25s ease,border-color .25s ease,transform .25s ease;
}
footer li a:hover{color:#fff;padding-left:3px;}
footer li a:hover::before{
  background:var(--gold);
  color:#171512;
  border-color:var(--gold);
  transform:translate(2px,-2px);
}
footer .foot-grid>div:nth-child(4) li a{font-size:12.5px;}
footer .foot-grid>div:nth-child(4) li:first-child{color:#9f978b;line-height:1.5;padding:3px 0 4px;}
footer .foot-grid>div:nth-child(4) li:first-child::before{display:none;}
/* Remove the decorative dot that was being rendered beside/below the footer logo. */
footer .logo::after{display:none !important;content:none !important;}
footer .logo{display:inline-flex;align-items:center;padding-right:0;}
footer .logo img{display:block;}

@media(max-width:768px){
  footer h5{margin-bottom:12px;}
  footer li a{font-size:12.5px;}
  .feature-caption{right:14px;top:14px;max-width:205px;padding:8px 10px;}
}

/* ===== UPDATE 7 FINAL OVERRIDES ===== */
/* Header navigation: keep the footer's editorial language, but make it lighter for the ivory header. */
nav.links a{position:relative;display:inline-flex;align-items:center;min-height:36px;padding:7px 12px;border:1px solid transparent!important;border-radius:10px!important;background:transparent!important;color:var(--ink-soft)!important;box-shadow:none!important;transition:color .22s ease,background .22s ease,border-color .22s ease,transform .22s ease,box-shadow .22s ease;}
nav.links a::after{content:'↗'!important;position:static!important;left:auto!important;right:auto!important;bottom:auto!important;width:auto!important;height:auto!important;margin-left:6px;color:var(--gold)!important;background:none!important;opacity:0;transform:translate(-3px,3px);transition:opacity .22s ease,transform .22s ease;}
nav.links a:hover{background:rgba(255,255,255,.88)!important;border-color:var(--line)!important;color:var(--ink)!important;box-shadow:0 7px 18px rgba(28,24,21,.06)!important;transform:translateY(-1px);}
nav.links a:hover::after{opacity:.9;transform:translate(0,0);}
nav.links a.on{background:var(--gold-mist)!important;border-color:rgba(180,137,79,.24)!important;color:var(--ink)!important;box-shadow:0 6px 16px rgba(180,137,79,.10)!important;transform:translateY(-1px);}
nav.links a.on::before{content:'';position:absolute;left:10px;right:10px;bottom:3px;height:2px;border-radius:2px;background:var(--gold);}
nav.links a.on::after{opacity:1;transform:translate(0,0);}

/* Search dropdown: the selected property type stays light instead of opening as a black-looking field. */
.hero-search-card .sp-f select{background:#fff!important;color:var(--ink)!important;filter:none!important;border:1px solid rgba(28,24,21,.12);border-radius:8px;min-height:30px;padding:3px 28px 3px 8px;}
.hero-search-card .sp-f select option{background:#fff!important;color:#1C1815!important;}

/* Footer brand: larger centered logo with the description visually anchored beneath it. */
footer .foot-grid>div:first-child{text-align:center;}
footer .foot-grid>div:first-child .logo{display:flex!important;width:100%;justify-content:center;align-items:center;}
footer .foot-grid>div:first-child .desc{margin-left:auto!important;margin-right:auto!important;text-align:center;}
footer .foot-grid>div:first-child .social-row{justify-content:center;}
footer .logo img{height:52px!important;}

@media(max-width:900px){nav.links{gap:3px;}nav.links a{padding:7px 9px;}}
@media(max-width:768px){footer .logo img{height:48px!important;}.creative-dark>.wrap{padding:34px 20px;border-radius:22px;}}


/* ===== UPDATE 8 — HEADER / SEARCH / BRAND POLISH ===== */
/* Location suggestions: keep every Hargeisa area name readable on the light dropdown. */
.hero-search-card .sp-list,
.hero-search-card .sp-list li,
.hero-search-card .sp-list li span{color:var(--ink)!important;}
.hero-search-card .sp-list li small{color:var(--ink-soft)!important;}
.hero-search-card .sp-list li[aria-selected="true"],
.hero-search-card .sp-list li:hover{background:var(--gold-mist)!important;color:var(--ink)!important;}
.hero-search-card .sp-list li[aria-selected="true"] span,
.hero-search-card .sp-list li:hover span{color:var(--ink)!important;}

/* Prime Villas header: a restrained luxury navigation rail instead of five separate pills. */
header.site-header{background:rgba(250,246,240,.96);box-shadow:0 8px 30px rgba(28,24,21,.055);}
header .nav{padding-top:10px;padding-bottom:10px;}
header .logo{position:relative;padding:5px 12px 5px 8px;border:1px solid rgba(180,137,79,.42);border-radius:14px;background:linear-gradient(180deg,#fffdf9 0%,#f6eee2 100%);box-shadow:0 7px 20px rgba(28,24,21,.08),inset 0 0 0 1px rgba(255,255,255,.7);}
header .logo::after{display:none!important;content:none!important;}
header .logo::before{content:'';position:absolute;left:-1px;top:9px;bottom:9px;width:3px;border-radius:4px;background:linear-gradient(180deg,var(--gold-soft),var(--gold));box-shadow:0 0 12px rgba(180,137,79,.22);}
header .logo img#logoHeader{height:54px!important;width:auto;filter:grayscale(1) contrast(1.5) brightness(.31) drop-shadow(0 1px 0 rgba(180,137,79,.30)) drop-shadow(0 0 8px rgba(180,137,79,.08));}
nav.links{gap:4px;padding:5px;border:1px solid rgba(180,137,79,.20);border-radius:17px;background:rgba(255,255,255,.76);box-shadow:0 8px 24px rgba(28,24,21,.06),inset 0 0 0 1px rgba(255,255,255,.65);}
nav.links a{min-height:38px;padding:8px 14px;border:1px solid transparent;border-radius:11px;color:var(--ink-soft);font-size:13px;font-weight:650;letter-spacing:.01em;box-shadow:none;transform:none;}
nav.links a::after{content:''!important;position:absolute!important;left:14px!important;right:14px!important;bottom:4px!important;width:auto!important;height:2px!important;margin:0!important;border-radius:2px;background:var(--gold)!important;opacity:0;transform:scaleX(.35)!important;transform-origin:center!important;transition:opacity .22s ease,transform .22s ease!important;}
nav.links a:hover{color:var(--ink);background:var(--gold-mist);border-color:rgba(180,137,79,.16);box-shadow:0 5px 14px rgba(180,137,79,.09);transform:translateY(-1px);}
nav.links a:hover::after{opacity:.9;transform:scaleX(1)!important;}
nav.links a.on{color:#fff;background:var(--ink);border-color:var(--ink);box-shadow:0 7px 16px rgba(28,24,21,.13);}
nav.links a.on::before{display:none!important;}
nav.links a.on::after{opacity:1;transform:scaleX(1)!important;}
.nav-cta .btn-primary{border-radius:12px;padding:11px 18px;background:var(--ink);box-shadow:0 7px 18px rgba(28,24,21,.12);}
.nav-cta .btn-primary:hover{background:#2b241f;}
.nav-cta .lang-btn{border-color:rgba(180,137,79,.30);border-radius:11px;background:#fffdf9;}
@media(max-width:900px){
  header .logo{padding-right:9px;}
  header .logo img#logoHeader{height:48px!important;}
}

/* ===== UPDATE 9 — EDITORIAL PROPERTIES + ABOUT PAGE ===== */
.pagehead-properties,
.pagehead-about{
  position:relative;
  max-width:980px;
  margin:0 auto;
  padding:74px 24px 38px;
  text-align:center;
  overflow:hidden;
}
.pagehead-properties::before,
.pagehead-about::before{
  content:'';
  position:absolute;
  width:420px;
  height:420px;
  border-radius:50%;
  left:50%;
  top:-300px;
  transform:translateX(-50%);
  background:radial-gradient(circle,rgba(180,137,79,.13),rgba(180,137,79,0) 68%);
  pointer-events:none;
}
.pagehead-properties .eyebrow,
.pagehead-about .eyebrow{
  position:relative;
  z-index:1;
  display:inline-flex;
  align-items:center;
  gap:11px;
  color:var(--gold);
  text-transform:uppercase;
  letter-spacing:.22em;
  font-size:10px;
  font-weight:800;
}
.pagehead-properties .eyebrow::before,
.pagehead-properties .eyebrow::after,
.pagehead-about .eyebrow::before,
.pagehead-about .eyebrow::after{
  content:'';
  width:34px;
  height:1px;
  background:linear-gradient(90deg,transparent,var(--gold));
}
.pagehead-properties .eyebrow::after,
.pagehead-about .eyebrow::after{background:linear-gradient(90deg,var(--gold),transparent);}
.pagehead-properties h1,
.pagehead-about h1{
  position:relative;
  z-index:1;
  margin:13px auto 10px;
  font-family:'Fraunces',serif;
  font-size:clamp(48px,7vw,78px);
  line-height:.9;
  letter-spacing:-.055em;
  color:var(--ink);
  text-wrap:balance;
}
.pagehead-properties h1::after,
.pagehead-about h1::after{
  content:'';
  display:block;
  width:82px;
  height:4px;
  margin:20px auto 0;
  border-radius:999px;
  background:linear-gradient(90deg,transparent,var(--gold),transparent);
  box-shadow:0 0 20px rgba(180,137,79,.18);
}
.pagehead-properties h1 em{
  position:absolute;
  margin-left:9px;
  margin-top:-7px;
  font:700 10px/1 'DM Sans',sans-serif;
  letter-spacing:.15em;
  color:var(--gold);
  font-style:normal;
  vertical-align:top;
}
.pagehead-properties p,
.pagehead-about p{
  position:relative;
  z-index:1;
  max-width:680px;
  margin:18px auto 0;
  color:var(--gray-warm);
  font-size:16px;
  line-height:1.65;
}
.pagehead-signature{
  position:relative;
  z-index:1;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:10px;
  margin-top:20px;
  color:var(--ink-soft);
  font-size:10px;
  font-weight:800;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.pagehead-signature span{width:42px;height:1px;background:linear-gradient(90deg,transparent,var(--gold));}
.pagehead-signature span:last-child{background:linear-gradient(90deg,var(--gold),transparent);}
.pagehead-orbit{
  position:absolute;
  right:4%;
  top:54px;
  display:flex;
  align-items:center;
  gap:8px;
  color:rgba(28,24,21,.42);
  font-size:9px;
  font-weight:800;
  letter-spacing:.18em;
  transform:rotate(90deg) translateX(50%);
  transform-origin:right center;
}
.pagehead-orbit i{width:30px;height:1px;background:var(--gold);display:block;}

/* About page: make the entire page read like a premium brand story rather than a plain company page. */
.pagehead-about{padding-bottom:42px;}
.pagehead-about .about-page-mark{
  position:absolute;
  left:3%;
  top:18px;
  font:500 clamp(110px,17vw,210px)/.8 'Fraunces',serif;
  letter-spacing:-.1em;
  color:rgba(180,137,79,.055);
  pointer-events:none;
  user-select:none;
}
.about-hero-line{
  position:relative;
  z-index:1;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:14px;
  max-width:760px;
  margin:18px auto 0;
}
.about-hero-line span{width:48px;height:1px;background:var(--line);}
.about-hero-line strong{
  font:500 clamp(17px,2vw,22px)/1.35 'Fraunces',serif;
  color:var(--ink);
  letter-spacing:-.01em;
}
.pagehead-about p{max-width:650px;}
.pagehead-about + section{padding-top:24px!important;}
.pagehead-about + section .about-grid{
  position:relative;
  gap:68px;
  padding:34px;
  border:1px solid rgba(180,137,79,.16);
  border-radius:30px;
  background:linear-gradient(135deg,rgba(255,255,255,.88),rgba(246,238,226,.62));
  box-shadow:0 24px 60px rgba(28,24,21,.07);
  overflow:hidden;
}
.pagehead-about + section .about-grid::before{
  content:'ABOUT PRIME VILLAS';
  position:absolute;
  right:28px;
  top:22px;
  color:rgba(180,137,79,.38);
  font-size:9px;
  font-weight:800;
  letter-spacing:.22em;
}
.pagehead-about + section .about-photo{
  height:470px;
  border-radius:22px;
  box-shadow:0 20px 45px rgba(28,24,21,.14);
}
.pagehead-about + section .about-grid > div:last-child h2{
  font-family:'Fraunces',serif;
  font-size:clamp(34px,4vw,50px)!important;
  line-height:.98;
  letter-spacing:-.04em;
}
.pagehead-about + section .about-grid > div:last-child h2::after{
  content:'';
  display:block;
  width:54px;
  height:3px;
  margin-top:14px;
  border-radius:3px;
  background:var(--gold);
}
.pagehead-about + section .about-grid > div:last-child p{
  font-size:15px!important;
  line-height:1.8;
  color:var(--ink-soft)!important;
}
.pagehead-about + section .about-stats{
  gap:0;
  margin-top:34px;
  padding-top:0;
  border-top:0;
}
.pagehead-about + section .about-stats div{
  flex:1;
  min-width:110px;
  padding:15px 18px;
  border-left:1px solid var(--line);
}
.pagehead-about + section .about-stats div:first-child{padding-left:0;border-left:0;}
.pagehead-about + section .about-stats div strong{font-size:30px;}
.pagehead-about + section .about-stats div span{display:block;margin-top:3px;line-height:1.35;}
.pagehead-about ~ section .head.center h2{
  font-family:'Fraunces',serif;
  font-size:clamp(31px,4vw,48px);
  letter-spacing:-.035em;
}
.pagehead-about ~ section .value-card{
  position:relative;
  padding:30px 26px;
  border-radius:20px;
  background:rgba(255,255,255,.72);
  border:1px solid rgba(180,137,79,.12);
}
.pagehead-about ~ section .value-card::before{
  content:'PV';
  position:absolute;
  right:18px;
  top:12px;
  font:500 38px/1 'Fraunces',serif;
  color:rgba(180,137,79,.09);
}
.pagehead-about ~ section .value-card h4{font-family:'Fraunces',serif;font-size:24px;}
.pagehead-about ~ section .value-card p{line-height:1.7;}

@media(max-width:900px){
  .pagehead-properties,.pagehead-about{padding-top:58px;}
  .pagehead-orbit{display:none;}
  .pagehead-about + section .about-grid{gap:30px;padding:20px;border-radius:24px;}
  .pagehead-about + section .about-photo{height:360px;}
}
@media(max-width:600px){
  .pagehead-properties,.pagehead-about{padding:48px 18px 30px;}
  .pagehead-properties h1,.pagehead-about h1{font-size:clamp(46px,15vw,64px);}
  .pagehead-properties p,.pagehead-about p{font-size:14px;line-height:1.6;}
  .about-hero-line{gap:8px;}
  .about-hero-line span{width:22px;}
  .about-hero-line strong{font-size:17px;}
  .pagehead-about + section .about-grid{padding:14px;}
  .pagehead-about + section .about-photo{height:280px;border-radius:17px;}
  .pagehead-about + section .about-stats{display:grid;grid-template-columns:1fr 1fr;}
  .pagehead-about + section .about-stats div{border-left:0;border-top:1px solid var(--line);padding:15px 0;}
  .pagehead-about + section .about-stats div:first-child{border-top:0;}
}

/* Update 9 hero photography treatment: cinematic, crisp and slightly slower than the previous samples. */
.hero-stage .hero-slide img,
.hero-stage .hero-bg img{
  image-rendering:auto;
  filter:saturate(1.04) contrast(1.03);
}
.hero-stage .hero-slide.is-active img,
.hero-stage .hero-bg.is-active img{transform:scale(1.018);}
@media(prefers-reduced-motion:reduce){
  .hero-stage .hero-slide.is-active img,
  .hero-stage .hero-bg.is-active img{transform:none;}
}

/* UPDATE 10 — property engine/admin + gallery treatment */
.pv-admin-workflow{margin-top:18px;padding:16px 18px;border:1px solid #eadfce;border-radius:12px;background:#fbf7f0;color:#5f554b;line-height:1.6}
.pv-admin-workflow ol{margin:8px 0 8px 20px}.pv-admin-workflow p{margin:8px 0 0}
.pv-admin-table .description{margin-top:5px}
.badge.status-dark{background:#25211d;color:#fff}
.pv-detail-topline{display:flex;align-items:center;justify-content:space-between;margin:0 0 14px;color:var(--gray-warm);font-size:12px;text-transform:uppercase;letter-spacing:.12em}
.pv-detail-topline>span{padding:7px 11px;border:1px solid var(--line);border-radius:999px;background:rgba(255,255,255,.78);color:var(--ink);font-weight:700}
.pv-gallery{position:relative;height:auto;min-height:500px;grid-template-columns:2fr 1fr;grid-template-rows:1fr 150px;gap:12px;overflow:visible;background:transparent}
.pv-gallery-main{grid-row:1;grid-column:1;min-height:500px;border-radius:22px;overflow:hidden;box-shadow:0 20px 50px rgba(28,24,21,.12)}
.pv-gallery-main img{transition:opacity .3s ease}.pv-gallery-main .pv-gallery-current{position:relative;z-index:2;width:100%;height:100%;object-fit:cover}
.pv-gallery-full{position:absolute;right:16px;top:16px;z-index:4;width:42px;height:42px;border:1px solid rgba(255,255,255,.5);border-radius:50%;background:rgba(28,24,21,.6);color:#fff;font-size:18px;cursor:pointer;backdrop-filter:blur(8px)}
.pv-gallery-thumbs{grid-column:1;grid-row:2;display:grid;grid-template-columns:repeat(5,1fr);gap:10px;min-width:0}
.pv-gallery-thumb{padding:0;border:1px solid transparent;border-radius:12px;overflow:hidden;background:var(--beige);cursor:pointer;min-height:95px}.pv-gallery-thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease}.pv-gallery-thumb:hover img{transform:scale(1.04)}.pv-gallery-thumb.is-active{border-color:var(--gold);box-shadow:0 0 0 2px rgba(180,137,79,.15)}
.pv-gallery-empty{grid-column:1/-1;display:flex;align-items:center;justify-content:center;border:1px dashed #d8c9b7;border-radius:12px;background:#fbf7f0;color:var(--gray-warm);padding:18px;text-align:center;font-size:13px}
.pv-map-note{display:flex;gap:14px;align-items:center;margin-top:24px;padding:15px 17px;border:1px solid var(--line);border-radius:14px;background:#fbf8f3}.pv-map-note strong{font-family:'Fraunces',serif}.pv-map-note span{font-size:13px;color:var(--gray-warm)}
.pv-admin-photo-note{cursor:default}.pv-admin-photo-note .upload-plus{font-size:12px;font-weight:800;letter-spacing:.08em}
@media(max-width:768px){.pv-gallery{display:block;min-height:0}.pv-gallery-main{height:330px;min-height:330px;border-radius:18px}.pv-gallery-thumbs{display:grid;grid-template-columns:repeat(4,1fr);margin-top:10px}.pv-gallery-thumb{min-height:70px}.pv-detail-topline{font-size:10px}.pv-map-note{align-items:flex-start;flex-direction:column;gap:4px}}

/* ===== UPDATE 10.2 — SCALABLE LOCATION RAIL =====
   Location cards now use the same bounded rail principle as property cards.
   Five, six, twenty or more locations never create oversized orphan cards. */
.location-rail{position:relative;display:flex;align-items:center;gap:14px;}
.location-viewport{overflow:hidden;flex:1;min-width:0;padding:3px 1px 8px;}
.location-track{display:flex;gap:16px;transition:transform .45s cubic-bezier(.22,.61,.36,1);will-change:transform;}
.location-track .area-card{flex:0 0 calc((100% - 48px)/4);min-width:0;height:300px;}
.location-track .area-card.a1{grid-row:auto;}
.location-rail .rail-nav{z-index:2;}
@media(max-width:900px){
  .location-rail{gap:10px;}
  .location-track .area-card{flex-basis:calc((100% - 16px)/2);height:260px;}
}
@media(max-width:640px){
  .location-rail{gap:7px;}
  .location-track{gap:12px;}
  .location-track .area-card{flex-basis:100%;height:270px;}
}

/* When demo media is removed, visual sections stay polished instead of showing broken-image icons. */
.tc-img,.why-img,.about-photo img{background:linear-gradient(145deg,#efe4d2,#d9c7a5);}


/* ===== UPDATE 11.1 — PROPERTY GALLERY AUTO-ROTATION ===== */
.pv-gallery-main{overflow:hidden;}
.pv-gallery-main .pv-gallery-current{transition:opacity .65s ease, transform .9s ease;animation:pvGalleryEnter .75s ease both;}
@keyframes pvGalleryEnter{from{opacity:.25;transform:scale(1.02);}to{opacity:1;transform:scale(1);}}
@media (prefers-reduced-motion: reduce){.pv-gallery-main .pv-gallery-current{animation:none;transition:none;}}

/* ===== UPDATE 11.2 — PROPERTY CARD PHOTO SWIPER ===== */
.card .photo{position:relative;overflow:hidden;}
.card-image-stack{position:absolute;inset:0;z-index:1;overflow:hidden;background:var(--beige);touch-action:pan-y;}
.card-image-stack .card-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transform:scale(1.01);transition:opacity .45s ease,transform .55s ease;display:block;}
.card-image-stack .card-photo.is-active{opacity:1;transform:scale(1);}
.card .photo > .badge{z-index:4;}
.card-photo-nav{position:absolute;top:50%;z-index:6;width:34px;height:34px;margin-top:-17px;border:1px solid rgba(255,255,255,.5);border-radius:50%;background:rgba(28,24,21,.55);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;backdrop-filter:blur(8px);opacity:.9;transition:transform .2s ease,background .2s ease,opacity .2s ease;}
.card-photo-nav svg{width:15px;height:15px;stroke:currentColor;}
.card-photo-prev{left:10px;}
.card-photo-next{right:10px;}
.card-photo-nav:hover,.card-photo-nav:focus-visible{background:rgba(28,24,21,.8);transform:scale(1.06);outline:none;}
.card-photo-dots{position:absolute;left:50%;bottom:12px;z-index:6;display:flex;gap:5px;transform:translateX(-50%);padding:5px 7px;border-radius:999px;background:rgba(28,24,21,.42);backdrop-filter:blur(7px);}
.card-photo-dots i{display:block;width:5px;height:5px;border-radius:50%;background:rgba(255,255,255,.55);transition:transform .2s ease,background .2s ease;}
.card-photo-dots i.is-active{background:#fff;transform:scale(1.35);}
.card-photo-count{position:absolute;right:12px;bottom:12px;z-index:7;padding:6px 9px;border:1px solid rgba(255,255,255,.45);border-radius:999px;background:rgba(28,24,21,.58);color:#fff;font-size:10px;letter-spacing:.08em;text-transform:uppercase;backdrop-filter:blur(8px);}
.card-photo-dots + .card-photo-count{bottom:12px;}
.card:hover .card-image-stack .card-photo{transform:scale(1.01);}
@media(max-width:640px){.card-photo-nav{width:31px;height:31px;margin-top:-15.5px}.card-photo-prev{left:8px}.card-photo-next{right:8px}.card-photo-count{right:9px;bottom:9px;font-size:9px}.card-photo-dots{bottom:9px;left:50%;}}
@media (prefers-reduced-motion: reduce){.card-image-stack .card-photo{transition:none;transform:none}.card-image-stack .card-photo.is-active{transform:none}.card-photo-nav{transition:none}.card-photo-dots i{transition:none}}


/* Property detail gallery: manual, predictable controls */
.pv-gallery-nav{position:absolute;top:50%;z-index:5;width:44px;height:44px;margin-top:-22px;border:1px solid rgba(255,255,255,.5);border-radius:50%;background:rgba(28,24,21,.58);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;backdrop-filter:blur(8px);transition:transform .2s ease,background .2s ease;}
.pv-gallery-nav svg{width:18px;height:18px;stroke:currentColor;}
.pv-gallery-prev{left:16px}.pv-gallery-next{right:16px}.pv-gallery-nav:hover,.pv-gallery-nav:focus-visible{background:rgba(28,24,21,.82);transform:scale(1.05);outline:none}
@media(max-width:768px){.pv-gallery-nav{width:38px;height:38px;margin-top:-19px}.pv-gallery-prev{left:10px}.pv-gallery-next{right:10px}}
@media(prefers-reduced-motion:reduce){.pv-gallery-nav{transition:none}}

/* Update 12 — property-owned photo slider + lead form */
.card .card-body{display:block;color:inherit;text-decoration:none;}
.card-photo-controls{position:absolute;inset:0;z-index:8;pointer-events:none;}
.card-photo-controls .card-photo-nav{pointer-events:auto;}
.card-photo-controls .card-photo-prev{position:absolute;left:10px;top:50%;}
.card-photo-controls .card-photo-next{position:absolute;right:10px;top:50%;}
.card-photo-controls .card-photo-dots{position:absolute;left:50%;bottom:12px;transform:translateX(-50%);display:flex;gap:5px;padding:5px 7px;border-radius:999px;background:rgba(28,24,21,.46);backdrop-filter:blur(7px);pointer-events:auto;}
.card-photo-dot{width:7px;height:7px;border:0;border-radius:50%;padding:0;background:rgba(255,255,255,.55);cursor:pointer;transition:transform .2s ease,background .2s ease;}
.card-photo-dot.is-active{background:#fff;transform:scale(1.35);}
.card-photo-count{position:absolute;right:12px;bottom:12px;padding:6px 9px;border:1px solid rgba(255,255,255,.45);border-radius:999px;background:rgba(28,24,21,.58);color:#fff;font-size:10px;letter-spacing:.08em;text-transform:uppercase;backdrop-filter:blur(8px);}
.card-photo-controls .card-photo-nav{margin-top:-17px;}
.card[data-card-href]:focus-visible{outline:2px solid var(--gold);outline-offset:3px;}
.pv-property-enquiry{margin-top:28px;padding:22px;border:1px solid var(--line);border-radius:18px;background:rgba(255,255,255,.72);}
.pv-property-enquiry h4{margin:5px 0 14px;font-family:'Fraunces',serif;font-size:24px;}
.pv-mini-form{display:grid;gap:9px;}
.pv-mini-form input,.pv-mini-form textarea{width:100%;border:1px solid var(--line);border-radius:10px;padding:11px 12px;background:#fff;font:inherit;color:var(--ink);box-sizing:border-box;}
.pv-mini-form textarea{resize:vertical;min-height:76px;}
.pv-mini-msg{display:none;padding:10px 12px;border-radius:10px;background:var(--gold-mist);color:var(--ink);font-size:13px;}
.pv-mini-msg.show{display:block;}
@media(max-width:640px){
  .card-photo-controls .card-photo-prev{left:8px;}
  .card-photo-controls .card-photo-next{right:8px;}
  .card-photo-controls .card-photo-dots{bottom:9px;}
  .card-photo-count{right:9px;bottom:9px;font-size:9px;}
}
@media(prefers-reduced-motion:reduce){.card-photo-dot{transition:none;}}

/* Update 12.1: robust property photo track + dynamic map */
.card-image-stack{overflow:hidden;}
.card-image-track{display:flex;width:100%;height:100%;transform:translate3d(0,0,0);transition:transform .38s cubic-bezier(.22,.61,.36,1);will-change:transform;}
.card-image-track .card-photo{position:relative!important;inset:auto!important;flex:0 0 100%;width:100%!important;height:100%!important;opacity:1!important;transform:none!important;object-fit:cover;display:block;}
@media(prefers-reduced-motion:reduce){.card-image-track{transition:none!important;}}
.pv-property-map{margin:30px 0 10px;padding-top:6px;}
.pv-map-frame{height:300px;margin-top:12px;border:1px solid var(--line,#e5dfd6);border-radius:18px;overflow:hidden;background:#eee;box-shadow:0 12px 32px rgba(28,24,21,.06);}
.pv-map-frame iframe{width:100%;height:100%;border:0;display:block;}
.pv-property-map .text-link{display:inline-block;margin-top:10px;}
@media(max-width:640px){.pv-map-frame{height:240px;border-radius:14px;}}

/* ===== UPDATE 14 — CLEAN LOCATION MEDIA + PRODUCTION HARDENING ===== */
.area-card{background:var(--beige) !important;}
.area-card .area-card-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;z-index:0;transition:transform .6s cubic-bezier(.22,.61,.36,1);}
.area-card:hover .area-card-img{transform:scale(1.05);}
.area-card::before{z-index:1;}
.area-card .txt{z-index:2;}

/* Keep property card gallery controls above the photography and make the track reliable. */
.card-image-track{display:flex;width:100%;height:100%;transition:transform .42s cubic-bezier(.22,.61,.36,1);will-change:transform;}
.card-image-stack .card-photo{position:relative;inset:auto;flex:0 0 100%;opacity:1;transform:none;transition:none;}
.card-image-stack .card-photo.is-active{opacity:1;}

.pv-admin-lead-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:6px;}


/* ===== UPDATE 15 — HARGEISA HOUSE-SHAPED LOCATION DISCOVERY =====
   Inspired by the supplied Prime Villas location mockup: architectural photo peaks,
   floating location pill, clean information panel and a strong gold CTA. */
.location-house-rail{margin-top:14px;}
.location-house-rail .location-viewport{padding:16px 6px 28px;}
.location-house-rail .location-track{gap:22px;}
.location-house-rail .location-track .location-house-card{flex:0 0 calc((100% - 66px)/4);min-width:0;background:transparent;border:0;box-shadow:none;overflow:visible;display:flex;flex-direction:column;align-items:stretch;transition:transform .35s cubic-bezier(.22,.61,.36,1);}
.location-house-card:hover{transform:translateY(-7px);}
.location-house-photo{position:relative;height:300px;overflow:hidden;border-radius:34px 34px 34px 34px;clip-path:polygon(0 27%,50% 0,100% 27%,100% 100%,0 100%);background:linear-gradient(145deg,#efe4d2,#d9c7a5);}
.location-house-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(11,35,58,.02),rgba(11,35,58,.12));pointer-events:none;}
.location-house-photo .area-card-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;transition:transform .7s cubic-bezier(.22,.61,.36,1);}
.location-house-card:hover .location-house-photo .area-card-img{transform:scale(1.045);}
.location-house-pill{position:absolute;left:18px;top:68px;z-index:3;display:inline-flex;align-items:center;gap:8px;padding:9px 14px;border-radius:999px;background:rgba(15,29,43,.92);color:#fff;font-size:12px;font-weight:700;letter-spacing:.01em;box-shadow:0 8px 24px rgba(15,29,43,.18);}
.location-house-pill svg,.location-house-place svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none;}
.location-house-body{position:relative;margin:-26px 0 0;padding:26px 24px 22px;background:#fffdf9;border-radius:28px;box-shadow:0 18px 44px rgba(28,24,21,.10);z-index:4;min-height:282px;display:flex;flex-direction:column;border:1px solid rgba(180,137,79,.08);}
.location-house-title h3{margin:0;font-family:'Fraunces',serif;font-size:24px;line-height:1.05;color:#102f4b;}
.location-house-place{display:flex;align-items:center;gap:7px;margin-top:8px;color:#758293;font-size:12px;}
.location-house-body p{margin:18px 0 16px;color:#718096;font-size:13px;line-height:1.55;min-height:62px;}
.location-house-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:auto;margin-bottom:16px;}
.location-house-meta span{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;color:#647488;min-width:0;}
.location-house-meta svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round;}
.location-house-meta small{font-size:9px;line-height:1.2;font-weight:600;white-space:nowrap;}
.location-house-cta{display:inline-flex;align-items:center;justify-content:space-between;gap:14px;align-self:flex-start;min-width:168px;padding:11px 14px 11px 17px;border-radius:999px;background:linear-gradient(135deg,#f7bd45,#e9a72f);color:#132b42!important;font-size:12px;font-weight:800;text-decoration:none;box-shadow:0 10px 22px rgba(233,167,47,.18);transition:transform .25s ease,box-shadow .25s ease;}
.location-house-cta span{font-size:20px;line-height:.8;transition:transform .25s ease;}
.location-house-cta:hover{transform:translateY(-2px);box-shadow:0 14px 28px rgba(233,167,47,.24);}
.location-house-cta:hover span{transform:translateX(3px);}
.location-house-rail .rail-nav{width:48px;height:48px;border-radius:50%;background:#fff;border:1px solid rgba(16,47,75,.08);color:#6f7e90;box-shadow:0 10px 28px rgba(28,24,21,.08);}
.location-house-rail .rail-nav:hover{background:#fffdf8;color:#102f4b;border-color:rgba(180,137,79,.25);}
@media(max-width:1100px){
  .location-house-rail .location-track .location-house-card{flex-basis:calc((100% - 44px)/3);}
}
@media(max-width:900px){
  .location-house-rail .location-track .location-house-card{flex-basis:calc((100% - 22px)/2);}
  .location-house-photo{height:270px;}
  .location-house-body{min-height:260px;}
}
@media(max-width:640px){
  .location-house-rail{margin-left:-5px;margin-right:-5px;}
  .location-house-rail .location-viewport{padding-left:4px;padding-right:4px;}
  .location-house-rail .location-track{gap:14px;}
  .location-house-rail .location-track .location-house-card{flex-basis:100%;}
  .location-house-photo{height:275px;}
  .location-house-body{margin-top:-22px;padding:24px 20px 20px;min-height:265px;}
  .location-house-pill{top:63px;left:16px;}
  .location-house-rail .rail-nav{width:40px;height:40px;}
}
@media(prefers-reduced-motion:reduce){.location-house-card,.location-house-photo .area-card-img,.location-house-cta,.location-house-cta span{transition:none}.location-house-card:hover{transform:none}.location-house-cta:hover{transform:none}.location-house-cta:hover span{transform:none;}}


/* ===== UPDATE 17 — RESPONSIVE EVERYWHERE + MOBILE SEARCH CONTROLS =====
   The approved desktop composition is preserved. On touch devices the hero search
   uses a controlled Prime Villas picker instead of the browser's native full-screen
   <select> popup, which can become oversized on Android. */
html,body{max-width:100%;overflow-x:hidden;}
body{min-width:0;}
button,input,select,textarea{max-width:100%;}
iframe,video,canvas,svg{max-width:100%;}
.wp-block-table,.table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;}

/* Hero search: never let a field become narrower than its text or wider than the card. */
.hero-search-card,.hero-search-card .sp,.hero-search-card .sp-f{min-width:0;max-width:100%;}
.hero-search-card .sp-f{overflow:visible;}
.hero-search-card .sp-f input,.hero-search-card .sp-f select{min-width:0;max-width:100%;}

/* Touch-friendly custom select trigger. Hidden until a coarse pointer is detected. */
.pv-mobile-select-trigger{display:none;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:44px;padding:8px 34px 8px 0;border:0;background:transparent;color:inherit;font:500 13px/1.25 'Inter',sans-serif;text-align:left;cursor:pointer;}
.pv-mobile-select-trigger::after{content:'';position:absolute;right:14px;top:50%;width:8px;height:8px;margin-top:-6px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);opacity:.65;pointer-events:none;}
.pv-mobile-select-wrap{position:relative;min-width:0;}
.pv-mobile-select-trigger:focus-visible{outline:2px solid var(--gold);outline-offset:2px;border-radius:8px;}
.pv-mobile-select-menu{position:fixed;left:12px;right:12px;bottom:max(12px,env(safe-area-inset-bottom,12px));z-index:10050;display:none;max-height:min(64vh,520px);overflow:auto;background:#fffdf9;color:var(--ink);border:1px solid rgba(180,137,79,.22);border-radius:22px;box-shadow:0 28px 80px rgba(0,0,0,.28);padding:10px;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;}
.pv-mobile-select-menu.is-open{display:block;}
.pv-mobile-select-backdrop{position:fixed;inset:0;z-index:10040;background:rgba(12,10,8,.52);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);}
.pv-mobile-select-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 10px 12px;border-bottom:1px solid var(--line);position:sticky;top:0;background:#fffdf9;z-index:2;}
.pv-mobile-select-head strong{font:500 19px/1.15 'Fraunces',serif;}
.pv-mobile-select-close{width:36px;height:36px;border:1px solid var(--line);border-radius:50%;background:#fff;color:var(--ink);font-size:20px;line-height:1;display:flex;align-items:center;justify-content:center;}
.pv-mobile-select-option{width:100%;display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:52px;padding:11px 12px;border:0;border-bottom:1px solid rgba(230,223,211,.72);border-radius:12px;background:transparent;color:var(--ink);font:500 15px/1.25 'Inter',sans-serif;text-align:left;}
.pv-mobile-select-option:last-child{border-bottom:0;}
.pv-mobile-select-option:hover,.pv-mobile-select-option:focus-visible{background:var(--gold-mist);outline:none;}
.pv-mobile-select-option.is-selected{background:var(--ink);color:#fff;}
.pv-mobile-select-option .pv-check{width:22px;height:22px;border:1px solid currentColor;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:12px;flex:none;opacity:.55;}
.pv-mobile-select-option.is-selected .pv-check{opacity:1;border-color:var(--gold-soft);color:var(--gold-soft);}

@media (pointer:coarse) and (max-width:1024px){
  /* Replace native Android/iOS select popups in the main search only. */
  .hero-search-card .sp-f select{position:absolute!important;width:1px!important;height:1px!important;min-height:1px!important;opacity:0!important;pointer-events:none!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;}
  .hero-search-card .sp-f .pv-mobile-select-wrap{display:block;width:100%;height:100%;}
  .hero-search-card .sp-f .pv-mobile-select-trigger{display:flex;color:var(--white);}
  .hero-search-card .sp-f .pv-mobile-select-trigger.is-placeholder{color:rgba(255,255,255,.72);}
  .hero-search-card .sp-f .pv-mobile-select-trigger::after{color:rgba(255,255,255,.78);}
  .hero-search-card .sp-f label{pointer-events:none;}
}

@media (max-width:1024px){
  .wrap{padding-left:24px;padding-right:24px;}
  .nav{padding-left:24px;padding-right:24px;}
  .hero-content{width:100%;}
  .hero-copy,.hero-side{min-width:0;}
  .search-wrap{padding-left:24px;padding-right:24px;}
  .search-wrap .sp{max-width:100%;}
  .location-house-rail,.property-rail,.types-slider{min-width:0;}
}

@media (pointer:coarse) and (max-width:900px){
  .hero-search-card{width:100%;}
  .hero-search-card .sp{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;}
  .hero-search-card .sp-seg{grid-column:1/-1;}
  .hero-search-card .sp-loc{grid-column:1/-1;}
  .hero-search-card .sp-type,.hero-search-card .sp-price{grid-column:span 1;}
  .hero-search-card .sp-beds{display:none;}
  .hero-search-card .sp-go,.hero-search-card .sp-adv{grid-column:1/-1;}
  .hero-search-card .sp-f{min-height:60px!important;padding:7px 11px!important;display:flex!important;justify-content:center;}
  .hero-search-card .sp-f label{position:static!important;display:block!important;margin-bottom:2px;}
  .hero-search-card .sp-loc input{position:static!important;width:100%;height:auto;min-height:30px!important;padding:2px 0!important;opacity:1!important;clip:auto!important;clip-path:none!important;pointer-events:auto!important;color:var(--white)!important;background:transparent!important;}
  .hero-search-card .sp-go{min-height:50px;}
}

@media (max-width:640px){
  .wrap{padding-left:16px;padding-right:16px;}
  .nav{padding-left:14px;padding-right:14px;gap:8px;}
  header .logo{max-width:48vw;overflow:hidden;}
  header .logo img#logoHeader{height:44px!important;max-width:100%;object-fit:contain;}
  .nav-cta{gap:7px;}
  .lang-btn{padding:8px 10px;}
  .menu-toggle{font-size:25px;padding:6px;}
  .hero-stage{min-height:700px;}
  .hero-content{min-height:700px;padding:24px 14px 26px;row-gap:18px;}
  .hero h1{font-size:clamp(42px,13vw,60px);}
  .hero-search-card{padding:12px;border-radius:16px;}
  .hero-search-head{margin-bottom:9px;}
  .hero-search-head strong{font-size:17px;}
  .hero-search-card .sp{gap:7px;}
  .hero-search-card .sp-f{min-height:56px!important;border-radius:10px!important;}
  .hero-search-card .sp-f label{font-size:9px;}
  .hero-search-card .sp-loc{min-height:56px!important;}
  .hero-search-card .sp-go{min-height:48px;font-size:12px;}
  .hero-side{display:none;}
  .search-wrap{padding-left:12px;padding-right:12px;margin-top:-42px;}
  .search-wrap .sp{padding:12px;grid-template-columns:minmax(0,1fr) minmax(0,1fr);}
  .sp-seg-o span{padding-left:12px;padding-right:12px;}
  .sp-go{padding-left:18px;padding-right:18px;}
  .sp-adv{font-size:13px;}
  .property-rail{gap:6px;}
  .rail-nav{flex:none;}
  .location-house-rail .rail-nav{width:36px;height:36px;}
  .location-house-photo{height:250px;}
  .location-house-body{min-height:0;}
  .location-house-meta{gap:5px;}
  .location-house-cta{min-width:0;width:100%;}
  .foot-grid{grid-template-columns:1fr!important;}
  .detail-grid,.contact-grid,.why-grid,.about-grid,.test-grid,.values-grid{gap:24px;}
  .pv-gallery-main{height:min(72vw,330px)!important;min-height:230px!important;}
  .pv-gallery-thumbs{grid-template-columns:repeat(4,minmax(0,1fr));overflow:hidden;}
  .pv-gallery-thumb{min-width:0;}
  .fd{max-width:calc(100vw - 20px);}
  .fd-body{max-height:calc(78vh - 130px);overflow:auto;}
}

@media (max-width:380px){
  .hero h1{font-size:40px;}
  .hero-brandline{font-size:9px;letter-spacing:.16em;}
  .hero-search-card .sp-seg-o span{font-size:11px;min-height:40px;}
  .hero-search-card .sp-f{min-height:54px!important;}
  .hero-search-card .sp-f label{font-size:8.5px;}
  .hero-search-card .sp-f .pv-mobile-select-trigger,.hero-search-card .sp-loc input{font-size:12px;}
}

@media (orientation:landscape) and (max-width:900px){
  .hero-stage{min-height:560px;height:100svh;}
  .hero-content{min-height:560px;padding-top:20px;padding-bottom:20px;align-content:center;}
  .hero-copy{max-width:52%;}
  .hero-copy>p{max-width:360px;}
  .hero-search-card{max-width:420px;justify-self:end;}
  .hero-side{display:none;}
}

@media (prefers-reduced-motion:reduce){
  .pv-mobile-select-backdrop{backdrop-filter:none;-webkit-backdrop-filter:none;}
}


/* ===== UPDATE 17.1 — MOBILE HERO SEARCH: KEEP THE SEARCH EXPERIENCE VISIBLE ===== */
/* The approved desktop composition remains untouched. On phones/tablets the search
   becomes a deliberate floating Prime Villas panel instead of disappearing with the
   hero-side rail. */
@media (max-width: 1024px){
  .hero-stage{overflow:visible;}
  .hero-content{position:relative;z-index:3;}
  .hero-side{display:flex!important;visibility:visible!important;opacity:1!important;min-width:0!important;width:100%;max-width:560px;justify-self:center;flex-direction:column;gap:12px;}
  .hero-search-card{display:block!important;visibility:visible!important;opacity:1!important;width:100%;max-width:560px;margin:0 auto;padding:14px;border:1px solid rgba(255,255,255,.18);background:linear-gradient(145deg,rgba(18,15,12,.78),rgba(18,15,12,.62));box-shadow:0 24px 70px rgba(0,0,0,.32);}
  .hero-search-card .hero-search-head{margin-bottom:10px;}
  .hero-search-card .sp{width:100%;max-width:100%;}
}

@media (max-width: 900px){
  .hero-stage{height:auto;min-height:0;}
  .hero-content{display:grid;grid-template-columns:1fr;align-content:start;min-height:0;padding:72px 18px 42px;row-gap:20px;}
  .hero-copy{max-width:560px;width:100%;justify-self:center;}
  .hero-side{order:2;max-width:560px;}
  .hero-caps,.hero-prog,.hero-ctrl{display:none;}
  .hero-search-card{border-radius:22px;padding:15px;}
  .hero-search-card .sp{display:grid;grid-template-columns:1fr 1fr;grid-template-areas:"seg seg" "loc loc" "type price" "go go" "adv adv";gap:9px;}
  .hero-search-card .sp-seg{grid-area:seg;}
  .hero-search-card .sp-loc{grid-area:loc;}
  .hero-search-card .sp-type{grid-area:type;}
  .hero-search-card .sp-price{grid-area:price;}
  .hero-search-card .sp-beds{display:none;}
  .hero-search-card .sp-go{grid-area:go;margin:0;min-height:52px;}
  .hero-search-card .sp-adv{grid-area:adv;justify-self:center;margin-top:0;}
  .hero-search-card .sp-f,.hero-search-card .sp-f + .sp-f{border:1px solid rgba(255,255,255,.14);border-radius:12px;min-height:60px;padding:0;}
  .hero-search-card .sp-f label{position:absolute;top:8px;left:13px;right:28px;z-index:1;pointer-events:none;color:rgba(255,255,255,.52);font-size:8.5px;letter-spacing:.09em;text-transform:uppercase;}
  .hero-search-card .sp-f input,.hero-search-card .sp-f select{position:absolute;inset:0;width:100%;height:100%;min-height:60px;padding:27px 34px 7px 13px;border-radius:12px;box-sizing:border-box;}
  .hero-search-card .sp-loc input{padding-right:13px;}
  .hero-search-card .sp-f select{background-color:rgba(255,255,255,.96);color:var(--ink);}
  .hero-search-card .pv-mobile-select-wrap{height:100%;}
  .hero-search-card .pv-mobile-select-trigger{min-height:60px;padding:27px 34px 7px 13px;font-size:13px;color:#fff;}
  .hero-search-card .pv-mobile-select-trigger.is-placeholder{color:rgba(255,255,255,.72);}
  .hero-search-card .sp-list{left:0;right:0;width:auto;top:calc(100% + 7px);max-height:260px;overflow:auto;}
}

@media (max-width: 480px){
  .hero-content{padding:58px 13px 28px;row-gap:16px;}
  .hero h1{font-size:clamp(42px,14vw,58px);}
  .hero-copy>p{font-size:12.5px;line-height:1.55;max-width:310px;}
  .hero-search-card{padding:12px;border-radius:20px;}
  .hero-search-head strong{font-size:17px;}
  .hero-search-card .sp{gap:7px;}
  .hero-search-card .sp-f,.hero-search-card .sp-f + .sp-f{min-height:58px;}
  .hero-search-card .sp-f input,.hero-search-card .sp-f select{min-height:58px;}
  .hero-search-card .pv-mobile-select-trigger{min-height:58px;}
  .hero-search-card .sp-go{min-height:50px;font-size:13px;}
  .hero-search-card .sp-adv{font-size:11px;}
}

@media (orientation:landscape) and (max-width:900px){
  /* Never hide the search in landscape. Use a compact two-column hero so the form
     remains immediately usable without consuming the whole screen. */
  .hero-stage{min-height:100svh;height:auto;}
  .hero-content{grid-template-columns:minmax(0,1fr) minmax(300px,430px);align-items:center;min-height:100svh;padding:28px 20px;column-gap:22px;row-gap:0;}
  .hero-copy{max-width:440px;justify-self:start;}
  .hero-side{max-width:430px;justify-self:end;}
  .hero-search-card{padding:12px;border-radius:18px;}
  .hero-search-card .sp{gap:7px;}
  .hero-search-card .sp-f,.hero-search-card .sp-f + .sp-f{min-height:52px;}
  .hero-search-card .sp-f input,.hero-search-card .sp-f select{min-height:52px;}
  .hero-search-card .pv-mobile-select-trigger{min-height:52px;padding-top:24px;}
}


/* ===== UPDATE 18 — MOBILE LOCATION RAIL + MEDIA FALLBACK HARDENING =====
   Keep the approved house-shaped location design, but make the rail genuinely
   scalable: any number of live locations can be browsed, with one full card at a
   time on phones. Missing/deleted media gracefully falls back to the Prime Villas
   illustration instead of exposing a broken-image icon. */
.location-house-rail .location-viewport{touch-action:pan-y;}
.location-house-rail .location-track{will-change:transform;}
.location-house-rail .location-house-card{flex-shrink:0;}
.location-house-photo img[onerror], .about-photo img[onerror], .why-img[onerror], .tc-img[onerror]{background:linear-gradient(145deg,#efe4d2,#d9c7a5);}
@media(max-width:640px){
  .location-house-rail .location-track{gap:14px;}
  .location-house-rail .location-track .location-house-card{flex:0 0 100%;max-width:100%;}
  .location-house-rail .location-viewport{overflow:hidden;}
  .location-house-rail .location-house-photo{height:275px;}
  .location-house-rail .location-house-body{min-height:265px;}
  .location-house-rail .rail-nav{z-index:10;}
}

/* ===== UPDATE 18 — PROPERTY DETAIL EDITORIAL GALLERY + DESCRIPTION ===== */
.pv-property-detail{padding-bottom:72px;}
.pv-gallery{grid-template-columns:minmax(0,2fr) minmax(230px,1fr);grid-template-rows:1fr 104px;min-height:560px;gap:12px;}
.pv-gallery-main{grid-column:1;grid-row:1 / span 2;min-height:560px;border-radius:26px;position:relative;background:#e9dfd0;}
.pv-gallery-main .pv-gallery-current{position:absolute;inset:0;z-index:2;width:100%;height:100%;object-fit:cover;}
.pv-gallery-main .illus{position:absolute;inset:0;z-index:1;}
.pv-gallery-mosaic{grid-column:2;grid-row:1;display:grid;grid-template-columns:1fr;grid-template-rows:1fr;gap:12px;min-width:0;min-height:0;}
.pv-gallery-mosaic-3,.pv-gallery-mosaic-4{grid-template-rows:repeat(2,minmax(0,1fr));}
.pv-gallery-mosaic-4{grid-template-rows:repeat(3,minmax(0,1fr));}
.pv-gallery-mosaic-item{position:relative;display:block;padding:0;border:0;border-radius:20px;overflow:hidden;background:#e9dfd0;cursor:pointer;min-height:0;box-shadow:0 12px 28px rgba(28,24,21,.08);}
.pv-gallery-mosaic-item img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s ease,filter .35s ease;}
.pv-gallery-mosaic-item:hover img{transform:scale(1.035);filter:saturate(1.04);}
.pv-gallery-mosaic-item:nth-child(2),.pv-gallery-mosaic-item:nth-child(3){display:none;}
.pv-gallery-mosaic-3 .pv-gallery-mosaic-item:nth-child(2),.pv-gallery-mosaic-4 .pv-gallery-mosaic-item:nth-child(2),.pv-gallery-mosaic-4 .pv-gallery-mosaic-item:nth-child(3){display:block;}
.pv-gallery-more{position:absolute;right:12px;bottom:12px;padding:8px 11px;border-radius:999px;background:rgba(28,24,21,.72);color:#fff;font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;backdrop-filter:blur(8px);}
.pv-gallery-thumbs{grid-column:2;grid-row:2;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;overflow:hidden;}
.pv-gallery-thumb{min-height:104px;border-radius:14px;}
.pv-gallery-thumb:nth-child(n+5){display:none;}
.pv-gallery-caption{position:absolute;left:18px;bottom:18px;z-index:6;display:flex;align-items:center;gap:10px;padding:8px 11px;border-radius:999px;background:rgba(28,24,21,.58);color:#fff;font-size:10px;letter-spacing:.09em;text-transform:uppercase;backdrop-filter:blur(9px);}
.pv-gallery-caption strong{color:#ead2a4;font-weight:800;}
.pv-description-editorial{position:relative;margin:38px 0 34px;padding:34px 38px 36px;border:1px solid var(--line);border-radius:24px;background:linear-gradient(145deg,#fffdfa,#f6efe5);overflow:hidden;box-shadow:0 18px 45px rgba(28,24,21,.055);}
.pv-description-editorial:before{content:'';position:absolute;left:0;top:0;width:5px;height:100%;background:linear-gradient(180deg,var(--gold),rgba(180,137,79,.08));}
.pv-description-editorial .eyebrow{position:relative;margin-bottom:9px;}
.pv-description-editorial h3{position:relative;margin:0 0 15px;font-family:'Fraunces',serif;font-size:clamp(30px,3vw,46px);line-height:1.04;max-width:700px;}
.pv-description-editorial p{position:relative;margin:0;max-width:760px;color:#62594f;font-size:17px;line-height:1.85;letter-spacing:.005em;}
.pv-description-mark{position:absolute;right:28px;top:18px;font:500 100px/.9 'Fraunces',serif;color:rgba(180,137,79,.075);pointer-events:none;}
@media(max-width:900px){
  .pv-gallery{grid-template-columns:1.6fr 1fr;grid-template-rows:1fr 92px;min-height:470px;}
  .pv-gallery-main{min-height:470px;border-radius:22px;}
  .pv-gallery-thumb{min-height:92px;}
  .pv-description-editorial{padding:30px 26px 32px;}
}
@media(max-width:768px){
  .pv-gallery{display:grid;grid-template-columns:1fr;grid-template-rows:auto auto;min-height:0;gap:9px;}
  .pv-gallery-main{grid-column:1;grid-row:1;height:58vw;min-height:260px;max-height:390px;border-radius:20px;}
  .pv-gallery-mosaic{display:none;}
  .pv-gallery-thumbs{grid-column:1;grid-row:2;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-top:0;}
  .pv-gallery-thumb{display:block!important;min-height:72px;height:72px;border-radius:11px;}
  .pv-gallery-thumb:nth-child(n+5){display:none!important;}
  .pv-gallery-caption{left:12px;bottom:12px;font-size:9px;padding:7px 9px;}
  .pv-description-editorial{margin:28px 0;padding:27px 21px 29px;border-radius:20px;}
  .pv-description-editorial h3{font-size:32px;line-height:1.08;max-width:92%;}
  .pv-description-editorial p{font-size:15px;line-height:1.75;}
  .pv-description-mark{font-size:72px;right:17px;top:16px;}
}
@media(max-width:420px){
  .pv-gallery-main{min-height:235px;}
  .pv-gallery-thumb{height:62px;min-height:62px;}
  .pv-description-editorial h3{font-size:29px;}
  .pv-description-editorial p{font-size:14.5px;}
}


/* ===== UPDATE 18.1 — DETAIL POLISH + SAVED/SHARED/RECENT ===== */
.pv-property-actions{display:flex;flex-wrap:wrap;gap:9px;margin:4px 0 18px;}
.pv-action-btn{display:inline-flex;align-items:center;gap:8px;padding:9px 13px;border:1px solid var(--line);border-radius:999px;background:rgba(255,255,255,.78);color:var(--ink);font:600 12px/1 inherit;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease,background .2s ease;}
.pv-action-btn:hover,.pv-action-btn:focus-visible{transform:translateY(-1px);border-color:rgba(180,137,79,.55);box-shadow:0 8px 20px rgba(28,24,21,.08);outline:none;}
.pv-action-btn.is-saved{background:var(--ink);color:#fff;border-color:var(--ink);}
.pv-action-icon{font-size:17px;line-height:1;color:var(--gold);}
.pv-action-btn.is-saved .pv-action-icon{color:#f2c77f;}
.pv-detail-title{font-family:'Fraunces',serif;font-weight:600;letter-spacing:-.035em;line-height:1.03;font-size:clamp(30px,4.3vw,58px);max-width:760px;margin:4px 0 8px;}
.pv-detail-location{font-size:13px;letter-spacing:.04em;text-transform:uppercase;color:var(--gray-warm);}
.spec-row{gap:0;overflow:hidden;border-radius:18px;background:linear-gradient(120deg,#fbf7f0,#f3eadf);border:1px solid var(--line);padding:0;margin-bottom:30px;}
.spec-row div{flex:1 1 120px;min-width:120px;padding:18px 20px;border-right:1px solid rgba(160,130,95,.18);position:relative;}
.spec-row div:last-child{border-right:0;}
.spec-row div strong{font-size:23px;line-height:1.05;color:var(--ink);}
.spec-row div span{display:block;margin-top:6px;text-transform:uppercase;letter-spacing:.1em;font-size:9px;font-weight:700;color:var(--gray-warm);}
.pv-gallery-main{background:#e9dfd2;}
.pv-gallery-thumbs:empty{display:none;}
.pv-recent-section{margin:0 0 42px;padding:24px 0 6px;border-top:1px solid var(--line);}
.pv-recent-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:18px;}
.pv-recent-head h2{font-family:'Fraunces',serif;font-size:clamp(24px,3vw,34px);margin:4px 0 0;letter-spacing:-.025em;}
.pv-recent-head>span{font-size:11px;color:var(--gray-warm);text-transform:uppercase;letter-spacing:.12em;}
.pv-recent-grid{grid-template-columns:repeat(4,1fr);}
.pv-toast{position:fixed;left:50%;bottom:28px;z-index:9999;transform:translate(-50%,14px);opacity:0;pointer-events:none;background:var(--ink);color:#fff;padding:11px 16px;border-radius:999px;font-size:12px;box-shadow:0 14px 34px rgba(28,24,21,.2);transition:opacity .25s ease,transform .25s ease;}
.pv-toast.show{opacity:1;transform:translate(-50%,0);}
@media(max-width:900px){.pv-recent-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){
 .pv-property-actions{margin-top:2px;}
 .pv-action-btn{flex:1 1 auto;justify-content:center;}
 .pv-detail-title{font-size:clamp(30px,9vw,42px);}
 .spec-row{display:grid;grid-template-columns:1fr 1fr;}
 .spec-row div{min-width:0;border-right:0;border-bottom:1px solid rgba(160,130,95,.18);}
 .spec-row div:nth-child(odd){border-right:1px solid rgba(160,130,95,.18);}
 .spec-row div:nth-last-child(-n+2){border-bottom:0;}
 .pv-recent-head{align-items:flex-start;flex-direction:column;}
 .pv-recent-grid{grid-template-columns:1fr;}
}
@media(prefers-reduced-motion:reduce){.pv-action-btn,.pv-toast{transition:none;}.pv-action-btn:hover{transform:none;}}


/* ===== UPDATE 18.4 — RESPONSIVE DETAIL GALLERY + SMART SIMILAR RAIL ===== */
/* Keep every gallery photo reachable on tablet and mobile. */
@media (max-width: 768px){
  .pv-property-detail .pv-gallery{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto auto!important;gap:10px!important;overflow:visible!important;}
  .pv-property-detail .pv-gallery-main{grid-column:1!important;grid-row:1!important;width:100%!important;height:min(70vw,390px)!important;min-height:235px!important;max-height:390px!important;}
  .pv-property-detail .pv-gallery-mosaic{display:none!important;}
  .pv-property-detail .pv-gallery-thumbs{display:grid!important;visibility:visible!important;opacity:1!important;position:relative!important;z-index:7!important;grid-column:1!important;grid-row:2!important;width:100%!important;height:74px!important;min-height:74px!important;margin:0!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important;overflow:hidden!important;}
  .pv-property-detail .pv-gallery-thumb{display:block!important;visibility:visible!important;opacity:1!important;width:100%!important;height:74px!important;min-height:74px!important;padding:0!important;}
  .pv-property-detail .pv-gallery-thumb img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;}
}
@media (max-width:420px){
  .pv-property-detail .pv-gallery-main{height:62vw!important;min-height:220px!important;}
  .pv-property-detail .pv-gallery-thumbs{height:62px!important;min-height:62px!important;}
  .pv-property-detail .pv-gallery-thumb{height:62px!important;min-height:62px!important;border-radius:10px!important;}
}

/* Compact, discovery-first similar properties rail. */
.pv-similar-section{margin:46px 0 10px;padding-top:30px;border-top:1px solid var(--line);}
.pv-similar-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:18px;}
.pv-similar-head h3{margin:3px 0 5px;font-family:'Fraunces',serif;font-size:clamp(28px,3.2vw,42px);line-height:1.05;}
.pv-similar-head p{margin:0;color:var(--gray-warm);font-size:13px;}
.pv-similar-head>span{flex:0 0 auto;padding:8px 11px;border-radius:999px;background:#f5eee4;color:#766957;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;}
.pv-similar-rail{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;}
.pv-similar-card{min-width:0;}
.pv-similar-card .card-image-stack,.pv-similar-card .card .photo{height:185px;min-height:185px;}
.pv-similar-card .card-body{padding:15px 16px 16px;}
.pv-similar-card .card-body h3{font-size:18px;line-height:1.1;margin-bottom:6px;}
.pv-similar-card .card-body .meta{font-size:10px;gap:7px;}
.pv-similar-card .card-body .price{margin-top:10px;}
.pv-similar-card .card-photo-controls{transform:scale(.9);transform-origin:center bottom;}
@media(max-width:1000px){.pv-similar-rail{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:720px){
  .pv-similar-head{align-items:flex-start;}
  .pv-similar-head>span{display:none;}
  .pv-similar-rail{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding:2px 2px 10px;margin-right:-4px;scrollbar-width:none;}
  .pv-similar-rail::-webkit-scrollbar{display:none;}
  .pv-similar-card{flex:0 0 min(78vw,300px);scroll-snap-align:start;}
  .pv-similar-card .card-image-stack,.pv-similar-card .photo{height:170px;min-height:170px;}
}
@media(prefers-reduced-motion:reduce){.pv-similar-rail{scroll-behavior:auto;}}

/* ===== UPDATE 18.5 — RESPONSIVE PROPERTY DETAIL POLISH ===== */
/* The property detail page must never create page-level horizontal overflow. */
.pv-property-detail,
.pv-property-detail .detail-grid,
.pv-property-detail .detail-grid > div,
.pv-property-detail .detail-head,
.pv-property-detail .spec-row,
.pv-property-detail .pv-description-editorial,
.pv-property-detail .pv-similar-section{min-width:0;max-width:100%;box-sizing:border-box;}
.pv-property-detail .pv-description-editorial h3,
.pv-property-detail .pv-description-editorial p{overflow-wrap:anywhere;word-break:normal;}
.pv-property-detail .agent-card{max-width:100%;box-sizing:border-box;}

@media(max-width:900px){
  .pv-property-detail .detail-grid{grid-template-columns:minmax(0,1fr)!important;gap:30px!important;}
  .pv-property-detail .agent-card{position:relative;top:auto;}
  .pv-property-detail .pv-similar-rail{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
  .pv-property-detail .pv-similar-card{min-width:0;flex:initial;}
}

@media(max-width:768px){
  .pv-property-detail{padding-bottom:48px;overflow-x:clip;}
  .pv-property-detail .detail-head{display:block;margin-bottom:16px;}
  .pv-property-detail .detail-head > div:first-child{min-width:0;}
  .pv-property-detail .detail-price{margin-top:12px;font-size:24px;white-space:normal;}
  .pv-property-detail .pv-property-actions{width:100%;}
  .pv-property-detail .pv-property-actions .pv-action-btn{min-width:0;}

  /* Keep the specifications compact instead of allowing each item to become a tall row. */
  .pv-property-detail .spec-row{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%;gap:0!important;overflow:hidden;}
  .pv-property-detail .spec-row div{min-width:0!important;width:auto!important;padding:17px 15px!important;border-right:1px solid rgba(160,130,95,.18)!important;border-bottom:1px solid rgba(160,130,95,.18)!important;box-sizing:border-box;}
  .pv-property-detail .spec-row div:nth-child(even){border-right:0!important;}
  .pv-property-detail .spec-row div:nth-last-child(-n+2){border-bottom:0!important;}
  .pv-property-detail .spec-row div strong{font-size:21px;line-height:1.1;white-space:normal;overflow-wrap:anywhere;}
  .pv-property-detail .spec-row div span{font-size:9px;line-height:1.25;}

  /* Story panel must wrap cleanly on narrow screens. */
  .pv-property-detail .pv-description-editorial{width:100%;padding:26px 20px 28px;margin:26px 0;overflow:hidden;}
  .pv-property-detail .pv-description-editorial h3{max-width:100%!important;font-size:clamp(27px,8vw,34px)!important;line-height:1.08!important;margin-right:0;}
  .pv-property-detail .pv-description-editorial p{max-width:100%!important;font-size:15px;line-height:1.7;}
  .pv-property-detail .pv-description-mark{right:12px;}

  /* Similar properties become a deliberate touch rail, without pushing the page wider. */
  .pv-property-detail .pv-similar-section{width:100%;overflow:hidden;}
  .pv-property-detail .pv-similar-rail{display:flex!important;grid-template-columns:none!important;width:100%;max-width:100%;gap:12px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;padding:2px 2px 12px;margin:0;box-sizing:border-box;}
  .pv-property-detail .pv-similar-card{flex:0 0 min(82vw,310px)!important;width:min(82vw,310px)!important;max-width:310px;scroll-snap-align:start;}
  .pv-property-detail .pv-similar-card .card-image-stack,
  .pv-property-detail .pv-similar-card .card .photo{height:165px;min-height:165px;}
}

@media(max-width:420px){
  .pv-property-detail .pv-gallery-main{width:100%!important;}
  .pv-property-detail .pv-property-actions{gap:7px;}
  .pv-property-detail .pv-action-btn{padding:9px 10px;font-size:11px;}
  .pv-property-detail .spec-row div{padding:15px 13px!important;}
  .pv-property-detail .spec-row div strong{font-size:20px;}
  .pv-property-detail .pv-description-editorial{padding-left:18px;padding-right:18px;}
  .pv-property-detail .pv-description-editorial h3{font-size:28px!important;}
  .pv-property-detail .pv-similar-card{flex-basis:84vw!important;width:84vw!important;}
}

/* ===== UPDATE 18.6 — TOUCH SCROLL ARBITRATION FOR SIMILAR PROPERTY CARDS ===== */
/* The horizontal Similar Properties rail must still allow normal page scrolling. */
@media (pointer:coarse) and (max-width:900px){
  .pv-property-detail .pv-similar-rail{
    touch-action:pan-x pan-y;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior-x:contain;
    overscroll-behavior-y:auto;
  }
  .pv-property-detail .pv-similar-card{
    touch-action:pan-x pan-y;
  }
  .pv-property-detail .pv-similar-card .card-image-stack,
  .pv-property-detail .pv-similar-card .card .photo{
    touch-action:pan-x pan-y;
    -webkit-user-select:none;
    user-select:none;
  }
  .pv-property-detail .pv-similar-card .card-image-stack img{
    -webkit-user-drag:none;
    user-select:none;
  }
}

/* ===== UPDATE 18.7 — SIMILAR CARD IMAGE-TO-CARD TOUCH HANDOFF ===== */
/* On phones/tablets, a multi-photo image consumes horizontal swipes until its
   first/last photo. The next horizontal swipe then advances the Similar card rail.
   Single-photo cards have no image gesture, so the whole card can advance the rail. */
@media (pointer:coarse) and (max-width:1024px){
  .pv-property-detail .pv-similar-rail{
    display:flex!important;
    width:100%;
    max-width:100%;
    overflow-x:auto;
    overflow-y:hidden;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior-x:contain;
    overscroll-behavior-y:auto;
  }
  .pv-property-detail .pv-similar-card{
    flex:0 0 min(82vw,310px)!important;
    width:min(82vw,310px)!important;
    max-width:310px;
    scroll-snap-align:start;
  }
  .pv-property-detail .pv-similar-card .card-image-stack,
  .pv-property-detail .pv-similar-card .card .photo{
    touch-action:pan-y;
  }
}

/* ===== UPDATE 19.1 — HERO SEARCH / CAPTION CONTAINMENT ===== */
/* Keep the full search stack + active property caption inside the cinematic hero
   on shorter desktop/laptop viewports. The photography remains the full background. */
@media (min-width:901px){
  .hero-stage{min-height:700px;}
  .hero-content{padding-top:46px;padding-bottom:54px;}
  .hero-side{min-width:0;}
  .hero-caps,.hero-ctrl{flex:none;}
}

/* ===== UPDATE 19 — SIMILAR PROPERTY SINGLE-IMAGE SWIPE HARDENING ===== */
/* A horizontal gesture on a Similar Property card is owned by the card gesture
   handler, while vertical movement remains native page scrolling. */
@media (pointer:coarse) and (max-width:1024px){
  .pv-property-detail .pv-similar-card,
  .pv-property-detail .pv-similar-card .card-image-stack,
  .pv-property-detail .pv-similar-card .card .photo{
    touch-action:pan-y;
  }
  .pv-property-detail .pv-similar-card.is-pv-swiping .card-body,
  .pv-property-detail .pv-similar-card.is-pv-swiping .card-image-stack{
    user-select:none;
  }
}

/* ===== UPDATE 19 — RESPONSIVE ADMIN EXPORTS ===== */
@media (max-width:782px){
  .pv-export-admin .widefat{display:block;overflow-x:auto;white-space:nowrap;max-width:100%;}
}

/* ===== UPDATE 20 — MARKETING INTELLIGENCE ===== */
.pv-analytics-consent{position:fixed;left:18px;right:18px;bottom:18px;z-index:99999;display:flex;align-items:center;justify-content:space-between;gap:22px;padding:16px 18px;background:rgba(18,15,12,.97);color:#fff;border:1px solid rgba(197,151,73,.55);border-radius:16px;box-shadow:0 20px 60px rgba(0,0,0,.28);backdrop-filter:blur(12px)}
.pv-analytics-consent strong{display:block;font-family:'Fraunces',serif;font-size:18px;font-weight:500}.pv-analytics-consent p{margin:5px 0 0;color:rgba(255,255,255,.72);font-size:12.5px;line-height:1.5;max-width:720px}.pv-analytics-consent-actions{display:flex;gap:8px;flex:0 0 auto}.pv-analytics-consent-actions .button{min-height:42px;border-radius:10px}.pv-analytics-consent-actions .button-primary{background:var(--gold);border-color:var(--gold);color:var(--ink)}
@media(max-width:700px){.pv-analytics-consent{left:10px;right:10px;bottom:10px;display:block;padding:15px}.pv-analytics-consent-actions{margin-top:12px;display:grid;grid-template-columns:1fr 1fr}.pv-analytics-consent-actions .button{text-align:center}}

/* Desktop hero control visibility: keep the navigation/count clearly above the hero edge. */
@media(min-width:901px){
  .hero-stage{height:clamp(760px,94vh,900px);min-height:760px}
  .hero-content{padding-top:48px;padding-bottom:92px}
  .hero-ctrl{position:relative;z-index:8;padding-top:3px}
  .hero-btn{background:rgba(8,7,5,.62);border-color:rgba(255,255,255,.7);box-shadow:0 5px 18px rgba(0,0,0,.22)}
  .hero-count{color:rgba(255,255,255,.92);text-shadow:0 2px 10px rgba(0,0,0,.55)}
  .hero-count b{color:#fff}
}

/* ===== ADMIN MARKETING PAGE ===== */
.pv-marketing-admin{max-width:1180px}.pv-mi-badge{display:inline-block;margin-left:8px;padding:4px 8px;border-radius:999px;background:#f3e4c8;color:#6e4f1e;font-size:11px;vertical-align:middle}.pv-mi-intro{max-width:900px;color:#665e56}.pv-mi-filters{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin:18px 0 22px;padding:16px;background:#fff;border:1px solid #e4dfd7;border-radius:14px;box-sizing:border-box}.pv-mi-filters label{font-size:12px;font-weight:600;color:#4c463f}.pv-mi-filters input{display:block;min-height:40px;margin-top:5px;box-sizing:border-box}.pv-mi-filters .button{min-height:40px}.pv-mi-stats{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin:0 0 22px}.pv-mi-stat{background:#fff;border:1px solid #e4dfd7;border-radius:14px;padding:16px;min-height:88px;box-sizing:border-box}.pv-mi-stat span{display:block;color:#6d665e;font-size:11px;text-transform:uppercase;letter-spacing:.06em}.pv-mi-stat strong{display:block;margin-top:8px;font-size:27px;line-height:1;font-weight:600}.pv-mi-stat-vis,.pv-mi-stat-lead{border-color:#c99d57}.pv-mi-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.pv-mi-panel{background:#fff;border:1px solid #e4dfd7;border-radius:14px;padding:18px;margin-bottom:18px;box-sizing:border-box}.pv-mi-panel h2{margin:0 0 14px;font-size:17px}.pv-mi-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}.pv-mi-table-wrap table{min-width:520px}.pv-mi-how{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.pv-mi-how p{margin:0;padding:12px 14px;background:#f8f6f2;border-radius:10px;color:#5e574f;font-size:13px;line-height:1.5}
@media(max-width:1000px){.pv-mi-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){.pv-mi-grid{grid-template-columns:1fr}.pv-mi-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.pv-mi-filters{align-items:stretch}.pv-mi-filters label,.pv-mi-filters input{width:100%}.pv-mi-filters .button{flex:1;text-align:center}.pv-mi-how{grid-template-columns:1fr}}
@media(max-width:420px){.pv-mi-stats{grid-template-columns:1fr}.pv-mi-panel{padding:14px}}


/* Update 24.1 — stronger Prime Villas hero brand and resilient map frames */
.hero h1.pv-hero-brand-title{font-size:clamp(58px,7.2vw,104px);line-height:.88;letter-spacing:-.065em;max-width:680px;text-transform:uppercase;text-shadow:0 8px 30px rgba(0,0,0,.22);}
.hero h1.pv-hero-brand-title span{display:block;color:#fff;font-weight:700;}
.hero h1.pv-hero-brand-title em{display:block;margin-top:7px;color:var(--gold-soft);font-style:normal;font-weight:600;letter-spacing:-.045em;}
.pv-map-frame{position:relative;min-height:260px;}
.pv-map-frame iframe{width:100%;height:100%;min-height:260px;position:absolute;inset:0;border:0;display:block;background:#eee;}
.pv-map-note{margin:8px 0 0;color:var(--gray-warm,#777);font-size:12px;line-height:1.5;}
.contact-map{position:relative;min-height:300px;}
.contact-map .live-map{position:absolute;inset:0;width:100%;height:100%;min-height:300px;}
@media(max-width:640px){.hero h1.pv-hero-brand-title{font-size:clamp(52px,14vw,78px);}.pv-map-frame,.pv-map-frame iframe{min-height:240px;}}


/* Update 24.1 polish — make the PV / PRIME VILLAS wordmark the hero focal point. */
.hero .hero-brandline.hero-brandline-featured{display:flex;align-items:center;gap:clamp(12px,2vw,22px);margin:0 0 18px;font-size:clamp(36px,6.2vw,76px);line-height:.95;font-weight:800;letter-spacing:-.055em;text-transform:uppercase;color:#fff;text-shadow:0 5px 24px rgba(0,0,0,.32);}
.hero .hero-brandline-featured .hero-brandmark{display:flex;align-items:center;justify-content:center;flex:0 0 auto;width:clamp(52px,7vw,82px);height:clamp(52px,7vw,82px);border:1px solid rgba(221,190,128,.95);border-radius:16px;color:#e8c98d;font-size:clamp(19px,2.8vw,31px);font-weight:800;letter-spacing:-.06em;background:rgba(18,18,17,.42);box-shadow:0 8px 28px rgba(0,0,0,.18);backdrop-filter:blur(8px);}
.hero .hero-brandline-featured .hero-brand-name{display:block;color:#fff;}
.hero .hero-brandline-featured .hero-brand-name em{display:inline;color:#e8c98d;font-style:normal;font-weight:800;}
.hero .hero-location-eyebrow{font-size:11px;letter-spacing:.2em;font-weight:700;margin-bottom:12px;color:rgba(255,255,255,.82);}
.hero .hero-brand-tagline{max-width:540px;margin:0 0 9px;font-size:clamp(17px,2vw,23px);line-height:1.35;font-weight:600;color:#fff;text-shadow:0 2px 14px rgba(0,0,0,.25);}
.hero .hero-brand-support{max-width:490px;margin:0;font-size:clamp(12px,1.2vw,15px);line-height:1.65;color:rgba(255,255,255,.82);}
@media(max-width:640px){.hero .hero-brandline.hero-brandline-featured{gap:11px;font-size:clamp(31px,9vw,48px);margin-bottom:15px;letter-spacing:-.045em}.hero .hero-brandline-featured .hero-brandmark{width:48px;height:48px;border-radius:12px;font-size:19px}.hero .hero-brand-tagline{font-size:17px}.hero .hero-brand-support{font-size:12px}}


/* UPDATE 24.1 — responsive hero brand hierarchy */
.hero .hero-brandline.hero-brandline-featured{display:block;font-size:clamp(42px,7.2vw,88px);line-height:.98;letter-spacing:-.055em;margin:0 0 clamp(14px,2vw,22px);font-weight:800;text-transform:none}
.hero .hero-brandline-featured .hero-brand-name{display:block;font-weight:850;color:#fff;text-shadow:0 6px 26px rgba(0,0,0,.42)}
.hero .hero-brandline-featured .hero-brand-name em{color:#e8c98d;font-style:normal}
.hero .hero-location-eyebrow{font-size:clamp(11px,1.15vw,14px);letter-spacing:.19em;margin-bottom:10px}
.hero .hero-brand-tagline{font-size:clamp(15px,1.8vw,21px);line-height:1.4;font-weight:500;max-width:440px;margin:0;color:rgba(255,255,255,.94)}
@media(max-width:640px){.hero .hero-brandline.hero-brandline-featured{font-size:clamp(38px,11vw,58px);letter-spacing:-.045em;margin-bottom:13px}.hero .hero-location-eyebrow{font-size:10px;letter-spacing:.15em;margin-bottom:8px}.hero .hero-brand-tagline{font-size:clamp(14px,4vw,17px);max-width:310px;line-height:1.45}}

/* Scroll-triggered newsletter invitation */
.pv-newsletter-popover{position:fixed;inset:0;z-index:12000;display:flex;align-items:center;justify-content:center;padding:18px;background:rgba(12,12,11,.68);backdrop-filter:blur(5px);opacity:0;visibility:hidden;transition:opacity .25s ease,visibility .25s ease}
.pv-newsletter-popover.is-open{opacity:1;visibility:visible}
.pv-newsletter-popup-card{position:relative;width:min(100%,440px);padding:34px 30px 25px;border:1px solid rgba(221,190,128,.48);border-radius:22px;background:#171715;color:#f8f4ec;text-align:center;box-shadow:0 28px 90px rgba(0,0,0,.4);transform:translateY(14px);transition:transform .25s ease}
.pv-newsletter-popover.is-open .pv-newsletter-popup-card{transform:translateY(0)}
.pv-popup-close{position:absolute;right:13px;top:10px;border:0;background:transparent;color:#d9c8aa;font-size:28px;line-height:1;cursor:pointer;padding:5px 9px}
.pv-popup-logo{width:54px;height:54px;margin:0 auto 14px;display:grid;place-items:center;border:1px solid #d9b982;border-radius:15px;background:linear-gradient(145deg,#29251e,#111);color:#e8c98d;font-size:18px;font-weight:850;letter-spacing:-.06em}
.pv-popup-kicker{font-size:10px;letter-spacing:.18em;color:#e8c98d;font-weight:700;margin:0 0 12px}
.pv-newsletter-popup-card h2{font-size:clamp(25px,5vw,33px);line-height:1.12;letter-spacing:-.035em;color:#fff;margin:0 auto 12px;max-width:340px}
.pv-popup-copy{font-size:13px;line-height:1.65;color:#c8c0b4;margin:0 auto 20px;max-width:340px}
.pv-popup-form{display:grid;gap:9px}.pv-popup-form input{width:100%;min-width:0;box-sizing:border-box;padding:13px 14px;border:1px solid rgba(255,255,255,.18);border-radius:9px;background:#242421;color:#fff;font:inherit;font-size:14px}.pv-popup-form input:focus{outline:2px solid #e8c98d;outline-offset:2px}.pv-popup-form .btn{width:100%;justify-content:center}.pv-popup-form .newsletter-msg{display:none}.pv-popup-form .newsletter-msg.show{display:block}.pv-popup-decline{display:inline-block;margin:13px auto 0;padding:7px 12px;border:0;background:transparent;color:#c8c0b4;text-decoration:underline;text-underline-offset:3px;font:inherit;font-size:12px;cursor:pointer}.pv-popup-privacy{font-size:10px;line-height:1.5;color:#928a7d;margin:12px 0 0}.pv-newsletter-popover button:focus-visible{outline:2px solid #e8c98d;outline-offset:3px}
@media(max-width:480px){.pv-newsletter-popover{padding:14px}.pv-newsletter-popup-card{padding:30px 20px 20px;border-radius:18px}.pv-popup-logo{width:48px;height:48px}}
@media(prefers-reduced-motion:reduce){.pv-newsletter-popover,.pv-newsletter-popup-card{transition:none}}

/* Update 24.3: polished newsletter popup typography */
.pv-newsletter-popup-card #pvPopupTitle{font-size:clamp(1.65rem,4vw,2.25rem);line-height:1.12;letter-spacing:-.035em;}
.pv-newsletter-popup-card .pv-popup-copy{max-width:38rem;margin-inline:auto;line-height:1.65;}
.pv-newsletter-popup-card .pv-popup-decline{cursor:pointer;}
@media(max-width:600px){.pv-newsletter-popup-card{width:min(100% - 28px,480px);max-height:calc(100dvh - 28px);overflow:auto;padding:24px 20px}.pv-newsletter-popup-card #pvPopupTitle{font-size:clamp(1.5rem,7vw,2rem)}}

/* Update 24.4 — premium upper-hero composition and non-blocking top-hanging newsletter */
@media(min-width:901px){.hero-content{padding-top:clamp(22px,3.2vh,38px)!important}.hero .hero-brandline.hero-brandline-featured{margin-bottom:13px}.hero .hero-location-eyebrow{margin-bottom:9px}}
@media(min-width:641px) and (max-width:900px){.hero-content{padding-top:clamp(22px,4vh,36px)!important}.hero .hero-brandline.hero-brandline-featured{font-size:clamp(38px,6vw,62px)}}
@media(max-width:640px){.hero-content{padding-top:24px!important}.hero .hero-brandline.hero-brandline-featured{font-size:clamp(34px,9vw,52px);gap:10px;margin-bottom:12px}.hero .hero-brandline-featured .hero-brandmark{width:48px;height:48px;border-radius:12px;font-size:18px}}
/* The wrapper never intercepts page interaction; only the compact card accepts clicks. */
.pv-newsletter-popover{position:fixed!important;inset:0 0 auto!important;z-index:12000;display:flex!important;align-items:flex-start!important;justify-content:center!important;padding:0 14px!important;background:transparent!important;backdrop-filter:none!important;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .22s ease,visibility .22s ease!important}
.pv-newsletter-popover.is-open{opacity:1;visibility:visible;pointer-events:none}
.pv-newsletter-popup-card{pointer-events:auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,.7fr);column-gap:18px;align-items:center;position:relative;width:min(100%,620px)!important;max-height:min(42vh,310px);overflow-y:auto;margin:0 auto;padding:16px 22px 13px!important;border:1px solid rgba(221,190,128,.65)!important;border-top:0!important;border-radius:0 0 17px 17px!important;background:rgba(23,23,21,.97)!important;text-align:left!important;box-shadow:0 12px 34px rgba(0,0,0,.24)!important;transform:translateY(-105%);transition:transform .28s ease!important}
.pv-newsletter-popover.is-open .pv-newsletter-popup-card{transform:translateY(0)}
.pv-popup-close{right:8px!important;top:5px!important;font-size:23px!important;padding:3px 7px!important}
.pv-popup-logo{width:35px!important;height:35px!important;border-radius:10px!important;font-size:13px!important;margin:0 0 7px!important}
.pv-popup-kicker{font-size:8px!important;letter-spacing:.13em!important;margin:0 0 5px!important}
.pv-newsletter-popup-card #pvPopupTitle{font-size:clamp(18px,2.4vw,23px)!important;line-height:1.08!important;margin:0 20px 6px 0!important;max-width:none!important}
.pv-newsletter-popup-card .pv-popup-copy{font-size:11px!important;line-height:1.45!important;margin:0!important;max-width:none!important}
.pv-popup-form{gap:7px!important}
.pv-popup-form input{padding:10px 11px!important;font-size:12px!important}
.pv-popup-form .btn{padding:10px 13px!important;font-size:12px!important}
.pv-popup-decline{margin:4px 0 0!important;padding:5px 0!important;font-size:11px!important}
.pv-popup-privacy{font-size:9px!important;margin:4px 0 0!important}
@media(max-width:600px){.pv-newsletter-popover{padding:0 8px!important}.pv-newsletter-popup-card{grid-template-columns:minmax(0,1fr);width:100%!important;max-height:45vh;padding:13px 16px 10px!important;border-radius:0 0 14px 14px!important;row-gap:8px}.pv-popup-logo{display:none!important}.pv-popup-kicker{font-size:8px!important}.pv-newsletter-popup-card #pvPopupTitle{font-size:19px!important;margin-bottom:4px!important}.pv-newsletter-popup-card .pv-popup-copy{font-size:11px!important;max-width:100%!important}.pv-popup-form{grid-template-columns:minmax(0,1fr) auto;align-items:start}.pv-popup-form input{min-width:0;padding:10px 9px!important}.pv-popup-form .btn{width:auto!important;white-space:nowrap;padding:10px 12px!important}.pv-popup-form .newsletter-msg{grid-column:1/-1}.pv-popup-decline{margin:0!important}.pv-popup-privacy{display:none!important}}
@media(prefers-reduced-motion:reduce){.pv-newsletter-popover,.pv-newsletter-popup-card{transition:none!important}}


/* UPDATE 24.5 — cohesive luxury header + balanced editorial hero */
header.site-header{background:rgba(250,246,240,.94);border-bottom:1px solid rgba(180,137,79,.20);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
header .nav{max-width:1360px;min-height:78px;padding:10px clamp(16px,3vw,38px);gap:clamp(12px,2vw,26px)}
header .logo{padding:4px 13px 4px 9px;border-radius:13px;box-shadow:0 5px 18px rgba(28,24,21,.055),inset 0 0 0 1px rgba(255,255,255,.75)}
header .logo img#logoHeader{height:48px!important;filter:grayscale(1) contrast(1.35) brightness(.34)}
nav.links{flex:0 1 auto;gap:3px;padding:4px;border:1px solid rgba(180,137,79,.18);border-radius:14px;background:rgba(255,255,255,.62);box-shadow:none}
nav.links a{min-height:39px;padding:8px clamp(9px,1.1vw,15px);font-size:12.5px;font-weight:650;letter-spacing:.025em;white-space:nowrap;border-radius:10px}
nav.links a.on{background:#27231e;color:#fff;border-color:#27231e;box-shadow:0 5px 14px rgba(28,24,21,.12)}
.nav-cta{gap:8px;flex:none}.nav-cta .btn-primary{padding:11px 15px;font-size:12px;letter-spacing:.02em}.nav-cta .lang-btn{font-size:11px;padding:9px 10px}
.hero-stage{height:clamp(640px,calc(100svh - 78px),790px);min-height:640px}
.hero-shade{background:linear-gradient(90deg,rgba(10,8,6,.76) 0%,rgba(12,10,8,.56) 27%,rgba(16,13,10,.20) 56%,rgba(16,13,10,.04) 100%),linear-gradient(0deg,rgba(10,8,6,.44) 0%,rgba(10,8,6,.08) 38%,rgba(10,8,6,.06) 100%)}
.hero-content{max-width:1360px;grid-template-columns:minmax(0,1fr) minmax(330px,400px);column-gap:clamp(28px,5vw,76px);padding:28px clamp(22px,4vw,54px) 48px;align-items:center}
.hero-copy{max-width:650px;padding-left:clamp(0px,1.4vw,20px);transform:translateY(-4px)}
.hero .hero-brandline.hero-brandline-featured{font-size:clamp(48px,6.2vw,82px);line-height:.96;letter-spacing:-.06em;margin-bottom:17px}
.hero .hero-brandline-featured .hero-brand-name{max-width:100%;text-wrap:balance}
.hero .hero-location-eyebrow{display:inline-flex;align-items:center;gap:9px;margin-bottom:13px;color:#f1d6a5;font-size:11px;letter-spacing:.2em}
.hero .hero-location-eyebrow:before{content:'';display:inline-block;width:24px;height:1px;background:#d8b675}
.hero .hero-brand-tagline{max-width:440px;font-size:clamp(17px,1.65vw,22px);line-height:1.42;font-weight:450;color:rgba(255,255,255,.9)}
.hero-side{width:min(400px,100%);gap:13px}
.hero-search-card{padding:20px;border-radius:18px;border-color:rgba(232,201,141,.27);background:rgba(19,17,14,.78);box-shadow:0 24px 70px rgba(0,0,0,.27);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}
.hero-search-head{margin-bottom:15px}.hero-search-head strong{font-size:22px}.hero-search-head span{letter-spacing:.17em}
.hero-cap{padding:10px 14px}.cap-t{font-size:21px}
@media(min-width:901px) and (max-height:740px){.hero-stage{height:650px;min-height:650px}.hero-content{padding-top:18px;padding-bottom:28px}.hero .hero-brandline.hero-brandline-featured{font-size:clamp(45px,5.3vw,70px)}.hero-search-card{padding:15px}.hero-search-card .sp{gap:6px}.hero-search-card .sp-f,.hero-search-card .sp-f+.sp-f{min-height:49px}.hero-search-card .sp-go{min-height:44px}}
@media(min-width:901px) and (max-width:1120px){header .nav{gap:10px;padding-left:16px;padding-right:16px}header .logo img#logoHeader{height:42px!important}nav.links a{padding-left:8px;padding-right:8px;font-size:11.5px}.nav-cta .btn-primary{padding:10px 11px}.hero-content{grid-template-columns:minmax(0,1fr) minmax(310px,370px);column-gap:25px}.hero .hero-brandline.hero-brandline-featured{font-size:clamp(44px,5.5vw,62px)}}
@media(max-width:900px){header .nav{min-height:68px;padding-top:8px;padding-bottom:8px}header .logo img#logoHeader{height:44px!important}.hero-stage{height:auto;min-height:0}.hero-content{position:relative;min-height:0;grid-template-columns:1fr;align-content:center;row-gap:25px;padding:52px 24px 38px}.hero-copy{transform:none;max-width:620px}.hero .hero-brandline.hero-brandline-featured{font-size:clamp(42px,7.8vw,68px);margin-bottom:13px}.hero-side{justify-self:start;max-width:500px;width:100%}.hero-search-card{padding:18px}.hero-caps,.hero-prog,.hero-ctrl{max-width:500px}}
@media(max-width:640px){header .nav{min-height:62px;padding-left:13px;padding-right:13px;gap:8px}header .logo{padding:3px 8px 3px 6px;border-radius:10px}header .logo img#logoHeader{height:39px!important}.nav-cta{gap:5px}.nav-cta .lang-btn{padding:8px 9px}.menu-toggle{border:1px solid rgba(180,137,79,.24);border-radius:10px;background:#fffdf9;padding:5px 9px;font-size:22px}.hero-content{padding:38px 15px 28px;row-gap:20px}.hero .hero-brandline.hero-brandline-featured{font-size:clamp(37px,10.5vw,54px);line-height:1;margin-bottom:11px}.hero .hero-location-eyebrow{font-size:9px;letter-spacing:.16em;margin-bottom:9px}.hero .hero-brand-tagline{font-size:16px;max-width:330px}.hero-search-card{padding:14px;border-radius:15px}.hero-search-head strong{font-size:19px}.hero-search-head{margin-bottom:11px}}
@media(prefers-reduced-motion:reduce){.hero-slide,.hero-slide img,nav.links a,.hero-search-card{transition:none!important}}


/* Update 24.5.1 — official Prime Villas logo and brand palette.
   The supplied gold-on-black emblem is kept intact; a dark plaque lets it sit
   cleanly within the existing warm ivory luxury interface. */
:root{
  --pv-brand-black:#0B0B0B;
  --pv-brand-black-soft:#121212;
  --pv-brand-gold:#C9A227;
  --pv-brand-gold-light:#E0C15A;
  --pv-brand-white:#F5F5F5;
  --pv-brand-muted:#A0A0A0;
}
header .logo{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 auto;
  width:112px;
  height:70px;
  overflow:hidden;
  padding:1px!important;
  border:1px solid rgba(201,162,39,.58)!important;
  border-radius:9px!important;
  background:#080808!important;
  box-shadow:0 5px 18px rgba(11,11,11,.16), inset 0 0 0 1px rgba(224,193,90,.12)!important;
}
header .logo::before,header .logo::after{display:none!important;content:none!important;}
header .logo img#logoHeader{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  object-fit:contain!important;
  filter:none!important;
  border-radius:7px;
}
footer .logo{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:clamp(150px,22vw,210px)!important;
  max-width:100%;
  padding:2px!important;
  overflow:hidden;
  border:1px solid rgba(201,162,39,.48)!important;
  border-radius:10px!important;
  background:#080808!important;
  box-shadow:0 8px 24px rgba(0,0,0,.15),inset 0 0 0 1px rgba(224,193,90,.10)!important;
}
footer .logo img{
  display:block!important;
  width:100%!important;
  height:auto!important;
  max-height:none!important;
  object-fit:contain!important;
  filter:none!important;
  border-radius:8px;
}
footer .logo::before,footer .logo::after{display:none!important;content:none!important;}
.btn-primary,.btn-gold,.nav-cta .btn-primary{--gold:var(--pv-brand-gold);}
@media(max-width:900px){header .logo{width:100px;height:63px;}}
@media(max-width:640px){header .logo{width:83px;height:53px;border-radius:7px!important;padding:1px!important;}header .logo img#logoHeader{height:100%!important;width:100%!important;}footer .logo{width:168px!important;}}


/* UPDATE 24.5.2 — branded privacy promise and consent controls */
.pv-consent-overlay{position:fixed;inset:0;z-index:100000;display:flex;align-items:flex-end;justify-content:center;padding:20px;background:rgba(9,8,7,.52);backdrop-filter:blur(3px);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .22s ease,visibility .22s ease}
.pv-consent-overlay.is-open{opacity:1;visibility:visible;pointer-events:auto}
.pv-consent-card{position:relative;width:min(100%,680px);max-height:calc(100dvh - 32px);overflow:auto;background:#fffdf9;color:#1c1815;border:1px solid rgba(201,162,39,.42);border-radius:20px 20px 14px 14px;padding:clamp(22px,4vw,36px);box-shadow:0 24px 90px rgba(0,0,0,.32);transform:translateY(22px);transition:transform .24s ease;font-family:'Inter',sans-serif}
.pv-consent-overlay.is-open .pv-consent-card{transform:translateY(0)}
.pv-consent-brand{display:flex;align-items:center;gap:10px;font-size:11px;font-weight:800;letter-spacing:.12em;color:#1c1815}.pv-consent-brand i{display:block;font-style:normal;font-size:8px;letter-spacing:.2em;color:#8b8378;margin-top:3px}
.pv-consent-mark{width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:#0b0b0b;color:#e0c15a;border:1px solid #c9a227;font-family:'Fraunces',serif;font-size:13px;letter-spacing:0}
.pv-consent-eyebrow{margin:22px 0 5px!important;color:#9b7820!important;font-size:10px!important;font-weight:800;letter-spacing:.16em}
.pv-consent-card h2{font-size:clamp(27px,4vw,34px);line-height:1.15;margin:0 0 12px;color:#161310}
.pv-consent-card p{margin:0;color:#5f574d;font-size:14px;line-height:1.6}.pv-consent-card .pv-consent-intro{font-size:14px}.pv-consent-policy{margin-top:10px!important;font-size:12px!important}.pv-consent-policy a{color:#8b6516;text-decoration:underline;text-underline-offset:3px;font-weight:600}
.pv-consent-summary{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:18px;padding:14px;border:1px solid #e8dfcf;border-radius:12px;background:#faf6ef}.pv-consent-summary strong,.pv-consent-option strong{display:block;font-size:13px;color:#211d17}.pv-consent-summary p{font-size:11px;margin-top:3px}.pv-consent-always{flex:none;font-size:10px;font-weight:700;color:#5d4917;background:#f0e4c6;border-radius:20px;padding:6px 9px}
.pv-consent-custom{margin-top:14px;border:1px solid #e8dfcf;border-radius:12px;overflow:hidden}.pv-consent-option{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px;border-bottom:1px solid #e8dfcf;cursor:pointer}.pv-consent-option:last-of-type{border-bottom:0}.pv-consent-option small{display:block;color:#6f675d;font-size:11px;line-height:1.45;margin-top:3px}.pv-consent-option input{width:19px;height:19px;accent-color:#c9a227;flex:none}.pv-consent-note{padding:12px 14px;background:#faf6ef;font-size:11px!important}
.pv-consent-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:18px}.pv-consent-btn{min-height:46px;padding:11px 14px;border-radius:9px;border:1px solid #2b2823;font:600 13px 'Inter',sans-serif;cursor:pointer;transition:transform .15s ease,background .15s ease}.pv-consent-btn:hover{transform:translateY(-1px)}.pv-consent-primary{background:#292621;color:#fff}.pv-consent-primary:hover{background:#0b0b0b}.pv-consent-secondary{background:#fffdf9;color:#292621;border-color:#d9d0c1}.pv-consent-secondary:hover{background:#f5efe4}.pv-consent-link{grid-column:1/-1;background:transparent;border:0;color:#755817;text-decoration:underline;text-underline-offset:3px;padding:7px;font:600 12px 'Inter',sans-serif;cursor:pointer}.pv-consent-save{grid-template-columns:1fr auto}.pv-consent-powered{margin-top:18px;padding-top:13px;border-top:1px solid #eee5d7;color:#8b8378;font-size:9px;font-weight:700;letter-spacing:.12em}.pv-consent-powered span{color:#c9a227;padding:0 5px}
.pv-privacy-settings-fab{position:fixed;left:14px;bottom:14px;z-index:9990;background:#171512;color:#f5f5f5;border:1px solid rgba(201,162,39,.7);border-radius:999px;padding:10px 14px;font:600 11px 'Inter',sans-serif;box-shadow:0 8px 24px rgba(0,0,0,.18);cursor:pointer}.pv-privacy-settings-fab:hover{background:#2b261c;color:#e0c15a}
body.pv-consent-open{overflow:hidden}.pv-consent-overlay [hidden]{display:none!important}
@media(max-width:600px){.pv-consent-overlay{padding:0 8px 8px;align-items:flex-end}.pv-consent-card{width:100%;max-height:84dvh;border-radius:18px 18px 12px 12px;padding:22px 18px 16px}.pv-consent-eyebrow{margin-top:17px!important}.pv-consent-card p{font-size:13px}.pv-consent-actions{grid-template-columns:1fr;gap:8px;margin-top:14px}.pv-consent-link{grid-column:auto;min-height:34px}.pv-consent-save{grid-template-columns:1fr 1fr}.pv-privacy-settings-fab{left:9px;bottom:9px;padding:9px 11px;font-size:10px}}
@media(prefers-reduced-motion:reduce){.pv-consent-overlay,.pv-consent-card,.pv-consent-btn{transition:none}}

/* Update 24.5.3 — official company descriptor beside the hero brand. */
.hero .hero-brandline-featured .hero-brand-type{display:inline-block;margin-left:clamp(8px,1.4vw,16px);font-size:clamp(11px,1.25vw,16px);line-height:1.2;letter-spacing:.2em;text-transform:uppercase;vertical-align:middle;color:#e8c98d;font-weight:700;text-shadow:0 3px 16px rgba(0,0,0,.45);white-space:normal}
@media(max-width:640px){.hero .hero-brandline-featured .hero-brand-type{display:block;margin:9px 0 0;font-size:11px;letter-spacing:.22em}}


/* UPDATE 24.7 — editorial page content sourced from the WordPress block editor */
.pv-editorial-section{padding:30px 0 46px;background:var(--paper,#fff)}
.pv-editable-page-copy{color:var(--ink-soft,#555);font-size:16px;line-height:1.85;overflow-wrap:anywhere}
.pv-editable-page-copy h1,.pv-editable-page-copy h2,.pv-editable-page-copy h3,.pv-editable-page-copy h4{color:var(--ink,#171717);line-height:1.25;margin:0 0 14px;font-family:inherit}
.pv-editable-page-copy h1{font-size:clamp(30px,4vw,48px)}
.pv-editable-page-copy h2{font-size:clamp(24px,3vw,34px);margin-top:24px}
.pv-editable-page-copy h3{font-size:21px;margin-top:20px}
.pv-editable-page-copy p{margin:0 0 16px}
.pv-editable-page-copy ul,.pv-editable-page-copy ol{padding-left:24px;margin:0 0 18px}
.pv-editable-page-copy a{color:var(--gold,#b28b27);text-decoration:underline}
.pv-editorial-pagehead{padding-top:54px;padding-bottom:36px}
.pv-editorial-pagehead .pv-editable-page-copy{max-width:920px;margin:0 auto}
.pv-home-editorial{max-width:1000px;margin:0 auto;padding:28px 0}
.pv-contact-editorial{max-width:900px}
.pv-listing-editorial{padding:0 0 8px}

.pv-home-editorial h1{color:#fff;font-size:clamp(42px,6vw,78px);line-height:1.02;letter-spacing:-.04em;margin:0 0 14px;font-weight:800}
.pv-home-editorial p{color:rgba(255,255,255,.9);font-size:clamp(16px,1.5vw,21px);line-height:1.6;margin:0 0 12px;max-width:640px}
.pv-home-editorial p:first-of-type{color:var(--gold-soft,#e0c15a);font-weight:700;letter-spacing:.08em;text-transform:uppercase;font-size:13px}


/* UPDATE 24.7.1 — editorial typography and premium About page layout */
.pv-editable-page-copy,
.pv-editable-about-content{
  color:#49443d;
  font-family:inherit;
  font-size:clamp(16px,1.15vw,18px);
  line-height:1.82;
  letter-spacing:0;
  overflow-wrap:break-word;
  word-break:normal;
  max-width:790px;
}
.pv-editable-page-copy > *:first-child,
.pv-editable-about-content > *:first-child{margin-top:0!important}
.pv-editable-page-copy p,
.pv-editable-about-content p{margin:0 0 1.2em; max-width:72ch}
.pv-editable-page-copy h1,
.pv-editable-about-content h1{font-size:clamp(34px,4vw,52px);line-height:1.12;letter-spacing:-.035em;font-weight:750;color:#171512;margin:0 0 22px}
.pv-editable-page-copy h2,
.pv-editable-about-content h2{font-size:clamp(25px,2.7vw,34px);line-height:1.2;letter-spacing:-.025em;color:#171512;margin:2.0em 0 .65em;padding-bottom:12px;position:relative}
.pv-editable-page-copy h2:after,
.pv-editable-about-content h2:after{content:"";display:block;width:54px;height:3px;background:#c9a227;position:absolute;bottom:0;left:0;border-radius:2px}
.pv-editable-page-copy h3,
.pv-editable-about-content h3{font-size:20px;line-height:1.35;color:#29251f;margin:1.45em 0 .45em;font-weight:700}
.pv-editable-page-copy ul,.pv-editable-page-copy ol,
.pv-editable-about-content ul,.pv-editable-about-content ol{padding-left:1.35em;margin:0 0 1.3em}
.pv-editable-page-copy li,.pv-editable-about-content li{padding-left:.25em;margin:.35em 0}
.pv-editable-page-copy a,.pv-editable-about-content a{color:#98751b;text-decoration:underline;text-underline-offset:3px}
.pv-editable-about-content{max-width:820px;margin:0 auto;padding:clamp(28px,5vw,62px) clamp(20px,4vw,44px);background:#fff;border:1px solid #eee7dc;border-radius:18px;box-shadow:0 16px 45px rgba(34,27,15,.055)}
.pagehead-about{max-width:1120px;text-align:center;padding-top:clamp(38px,6vw,76px);padding-bottom:clamp(22px,4vw,42px)}
.pagehead-about h1{letter-spacing:-.045em}
.pagehead-about>p{max-width:660px;margin:0 auto;line-height:1.75}
.pagehead-about .about-hero-line{max-width:680px;margin:20px auto}
.pagehead-about .pagehead-signature{justify-content:center}
.pv-about-content-section{padding:clamp(24px,4vw,48px) 0 70px;background:linear-gradient(180deg,#fbf8f2 0%,#fff 42%)}
.pv-about-content-section .about-grid{display:block;max-width:1120px;margin:0 auto}
.pv-about-content-section .about-photo{max-width:100%;height:clamp(220px,34vw,420px);margin:0 auto 30px;border-radius:18px;overflow:hidden}
.pv-about-content-section .about-photo img{width:100%;height:100%;object-fit:cover}
.pv-about-content-section .pv-editable-about-content{box-sizing:border-box}
.pv-home-editorial{max-width:1000px;margin:0;padding:0;background:transparent;border:0;box-shadow:none}
.pv-home-editorial h1{font-family:inherit;font-weight:800;letter-spacing:-.045em}
@media(max-width:700px){
 .pv-editable-page-copy,.pv-editable-about-content{font-size:16px;line-height:1.78}
 .pv-editable-about-content{padding:25px 21px;border-radius:14px}
 .pv-about-content-section .about-photo{margin-bottom:18px;height:245px}
 .pv-editable-about-content h2{margin-top:1.6em}
}


/* Update 24.7.3 — refined location, page headings, editorial About and newsletter */
.hero .hero-brandline-featured .hero-brand-type{display:inline-flex;align-items:center;align-self:flex-end;margin:0 0 .22em clamp(8px,1.5vw,18px);padding:7px 10px;border-left:2px solid #c9a227;color:#f3d98f;font-size:clamp(10px,1.15vw,15px);font-weight:750;letter-spacing:.16em;line-height:1.15;text-transform:uppercase;white-space:nowrap}
.pv-contact-editorial{box-sizing:border-box;width:min(100% - 36px,900px);margin:0 auto 26px!important;padding:30px clamp(20px,4vw,42px)!important;text-align:center;background:linear-gradient(135deg,#fffdf8,#f7f1e5)!important;border:1px solid #e8ddc5;border-radius:20px;box-shadow:0 14px 40px rgba(36,28,12,.06);position:relative}
.pv-contact-editorial:before{content:"LET’S TALK PROPERTY";display:block;margin:0 0 12px;color:#98751b;font-size:10px;font-weight:800;letter-spacing:.2em}
.pv-contact-editorial h1{max-width:760px;margin:0 auto 12px!important;font-size:clamp(32px,4.3vw,49px)!important;line-height:1.08!important;letter-spacing:-.04em}
.pv-contact-editorial p{max-width:660px;margin:0 auto!important;color:#686158;font-size:clamp(15px,1.4vw,17px)!important;line-height:1.75!important}
.pv-listing-editorial{max-width:860px;margin:0 auto!important;padding:0 18px 22px!important;text-align:center}
.pv-listing-editorial p{max-width:700px;margin:12px auto 0!important;font-size:clamp(15px,1.35vw,17px)!important;line-height:1.75!important;color:#71695e}
.pv-editable-about-content{max-width:100%;margin:0;padding:clamp(28px,4vw,52px)!important;background:linear-gradient(135deg,#fffdf8 0%,#f7f0e2 100%)!important;border:1px solid #e7d8b5!important;border-radius:8px 26px 8px 26px!important;box-shadow:0 18px 50px rgba(44,33,10,.07)!important;position:relative;overflow:hidden}
.pv-editable-about-content:before{content:"PRIME VILLAS  •  OUR STORY";display:block;margin:0 0 22px;padding:0 0 14px;border-bottom:1px solid #e4d3a7;color:#9a7720;font-size:10px;font-weight:800;letter-spacing:.2em}
.pv-editable-about-content h2{margin-top:1.55em!important;color:#171512}
.footer-newsletter .footer-news-kicker{display:inline-block;color:#c9a227;font-size:10px;font-weight:800;letter-spacing:.2em;text-transform:uppercase;margin-bottom:10px}
.footer-newsletter h3{max-width:520px;font-size:clamp(27px,3.2vw,40px)!important;line-height:1.08!important;letter-spacing:-.035em!important;color:#fff!important}
.footer-newsletter p{max-width:480px;font-size:14px!important;line-height:1.75!important;color:#c9c1b4!important}
.pv-newsletter-popover{z-index:9000!important}
.pv-consent-overlay{z-index:100000!important}
@media(max-width:640px){.hero .hero-brandline-featured .hero-brand-type{font-size:8px;letter-spacing:.11em;padding:5px 7px;margin-left:7px}.pv-contact-editorial{width:auto;margin:0 16px 22px!important;padding:24px 20px!important}.pv-contact-editorial h1{font-size:clamp(30px,9vw,40px)!important}.pv-editable-about-content{padding:25px 21px!important}}

.pv-home-editorial h1 .pv-hero-real-estate{display:inline-block;vertical-align:baseline;margin-left:.28em;padding:.35em .48em;border-left:2px solid #c9a227;color:#9b7924;font-family:inherit;font-size:.19em;font-weight:800;letter-spacing:.16em;line-height:1.2;text-transform:uppercase;white-space:nowrap}
@media(max-width:640px){.pv-home-editorial h1 .pv-hero-real-estate{font-size:.2em;margin-left:.18em;padding:.25em .3em;letter-spacing:.1em}}

/* UPDATE 24.7.4 — polished listing intros and stable home hero */
.pv-listing-editorial-inner{max-width:980px;margin:0 auto;padding:0 18px 26px;text-align:center}.pv-listing-kicker{font-size:10px;font-weight:800;letter-spacing:.22em;color:#a17d20;margin:0 0 13px}.pv-listing-editorial-inner>h1{max-width:820px;margin:0 auto 16px;font-size:clamp(32px,4.2vw,50px);line-height:1.1;letter-spacing:-.035em;color:#181713}.pv-listing-editorial-inner .pv-listing-editorial{padding:0!important}.pv-listing-editorial-inner .pv-listing-editorial p{max-width:740px}.pv-home-editorial .hero-brandline{display:flex;align-items:baseline;flex-wrap:wrap;gap:0}.pv-home-editorial .hero-brand-name{margin:0;font-size:inherit;line-height:inherit}.pv-home-editorial .hero-brand-type{display:inline-block;margin-left:12px;vertical-align:baseline;color:var(--gold-soft,#e0c15a);font-size:clamp(10px,.9vw,13px);font-weight:800;letter-spacing:.18em;text-transform:uppercase}.pv-home-editorial .hero-brand-tagline{margin-top:12px}
@media(max-width:640px){.pv-listing-editorial-inner{padding:0 16px 20px}.pv-listing-editorial-inner>h1{font-size:clamp(29px,8vw,38px)}.pv-home-editorial .hero-brand-type{margin-left:8px;font-size:9px;letter-spacing:.1em}}


/* UPDATE 24.8 — user-editable About story and client-experience content */
.pv-editable-about-content h2{margin-top:2.2em!important;padding:0 0 13px!important;border-bottom:1px solid #e7d8b5!important}
.pv-editable-about-content h3{margin:1.5em 0 .45em!important;color:#8c6b19!important;font-size:clamp(19px,2vw,23px)!important}
.pv-editable-about-content h3 + p{padding:18px 22px;background:rgba(255,255,255,.72);border-left:3px solid #c9a227;border-radius:0 12px 12px 0;max-width:100%!important;margin-bottom:12px!important}
.pv-editable-about-content h3 + p + p{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#8c6b19;margin:0 0 28px!important}

/* Update 24.9.1: editorial copy rendered from the page editor and shared testimonial cards */
.pv-home-page-editorial{padding:clamp(34px,5vw,68px) 0;background:linear-gradient(180deg,#fffdf8 0%,#f8f4ec 100%);border-bottom:1px solid #eee5d4}
.pv-home-editorial-copy{max-width:980px;margin:0 auto;padding:clamp(20px,3vw,36px);background:rgba(255,255,255,.76);border:1px solid #e9dfc9;border-radius:18px;box-shadow:0 14px 38px rgba(32,24,10,.045)}
.pv-home-editorial-copy h2,.pv-listing-editorial h2,.pv-contact-editorial h2{color:#171512;letter-spacing:-.025em}
.pv-shared-testimonials .head p{max-width:620px;margin:12px auto 0;color:#706a60;line-height:1.7}
.pv-shared-testimonials .test-card{height:100%;box-sizing:border-box}
.pv-about-content-section .pv-editable-about-content h3{scroll-margin-top:30px}

/* Update 24.10.1 — editable highlighted Home introduction */
.pv-home-intro-highlight{color:#E0C15A!important;font-style:italic!important;font-weight:700!important;}
