.project-detail{--project-offset:7.25rem;color:var(--ui-text,#132236)}
.project-anchor{scroll-margin-top:var(--project-offset)}
.project-hero{padding:8.5rem 0 4rem;background:linear-gradient(135deg,#09192c 0%,#102e49 68%,#0d5d62 140%);color:#fff;overflow:hidden}
.project-hero__grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(24rem,.92fr);gap:clamp(2rem,5vw,5rem);align-items:center}
.project-hero__content{min-width:0}.project-hero h1{font:900 clamp(2.5rem,6vw,5rem)/1.18 Cairo,sans-serif;margin:.65rem 0 1rem;max-width:13ch}
.project-hero__location{color:#8ddbd7;font-weight:700}.project-hero__lead{max-width:44rem;color:rgba(255,255,255,.78);font-size:1.05rem;line-height:1.9;margin:1rem 0 1.5rem}
.project-hero__badges,.project-hero__facts{display:flex;flex-wrap:wrap;gap:.7rem}.project-status-badge,.unit-status{display:inline-flex;align-items:center;width:max-content;padding:.4rem .7rem;border-radius:99rem;font-size:.76rem;font-weight:800;background:#d9f5ef;color:#0a675f}.project-status-badge.is-demo{background:#fff3c4;color:#7d5700}
.project-hero__facts{margin:1.4rem 0}.project-hero__facts>span{display:grid;gap:.2rem;padding-inline-end:1.4rem;border-inline-end:1px solid rgba(255,255,255,.22)}.project-hero__facts small{color:rgba(255,255,255,.58)}.project-hero__facts strong{font:800 1.08rem Cairo,sans-serif}
.project-hero__media{position:relative}.project-hero__media:before{content:"";position:absolute;inset:-1.25rem;border:1px solid rgba(104,211,206,.22);border-radius:2rem;transform:rotate(-2deg)}.project-hero__image,.project-hero__placeholder{position:relative;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:1.5rem;box-shadow:0 2rem 5rem rgba(0,0,0,.35)}.project-hero__placeholder{display:grid;place-items:center;background:#e8f1f1}.project-hero__placeholder svg{width:6rem;height:6rem}
.project-summary{position:relative;z-index:3;margin-top:-1.5rem}.project-summary__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(9rem,1fr));background:#fff;border:1px solid var(--ui-border);border-radius:1rem;box-shadow:0 1rem 2.5rem rgba(10,22,40,.1);overflow:hidden}.project-summary__grid div{padding:1.2rem 1.4rem;border-inline-start:1px solid var(--ui-border)}.project-summary dt{font-size:.76rem;color:var(--ui-muted)}.project-summary dd{margin:.3rem 0 0;font:800 1rem Cairo,sans-serif}
.project-section-nav{position:sticky;top:var(--ui-header,5.25rem);z-index:40;background:rgba(255,255,255,.96);border-bottom:1px solid var(--ui-border);backdrop-filter:blur(12px)}.admin-bar .project-section-nav{top:calc(var(--ui-header,5.25rem) + 32px)}.project-section-nav__scroll{display:flex;overflow-x:auto;scrollbar-width:none;white-space:nowrap;gap:.5rem;row-gap:.25rem}.project-section-nav__scroll::-webkit-scrollbar{display:none}.project-section-nav a{padding:1rem 1.2rem;border-bottom:3px solid transparent;color:var(--ui-muted);font-weight:800;font-size:.85rem}.project-section-nav a:hover,.project-section-nav a.is-active{color:var(--ui-teal-dark);border-color:var(--ui-teal)}
.project-about__grid,.project-location__grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(18rem,.8fr);gap:clamp(2rem,5vw,5rem);align-items:start}.project-intro{font-size:1.08rem;color:var(--ui-muted);line-height:1.9}.project-facts{display:grid;border:1px solid var(--ui-border);border-radius:1rem;background:#fff;overflow:hidden}.project-facts div,.unit-detail-list div{display:grid;grid-template-columns:1fr 1fr;gap:1rem;padding:1rem 1.2rem;border-bottom:1px solid var(--ui-border)}.project-facts div:last-child,.unit-detail-list div:last-child{border:0}.project-facts dt,.unit-detail-list dt{color:var(--ui-muted);font-size:.82rem}.project-facts dd,.unit-detail-list dd{margin:0;font-weight:800}.project-note{margin-top:1.5rem;padding:1.2rem;border-inline-start:4px solid var(--ui-teal);background:#edf8f7}.project-note p{margin:.4rem 0 0}.project-disclaimer{padding:.85rem 1rem;border-radius:.6rem;background:#fff8df;color:#6f5710;font-size:.82rem}
.project-features-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1.6rem 2rem;margin-top:2rem}.project-feature-card{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;column-gap:.8rem;min-height:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.project-feature-card__icon{display:grid;place-items:center;width:2.7rem;height:2.7rem;border-radius:50%;background:#e7f6f5;color:var(--ui-teal-dark);font:900 1.1rem Cairo,sans-serif}.project-feature-card__icon svg{width:1.6rem;height:1.6rem;max-width:1.6rem;max-height:1.6rem;color:currentColor}.project-feature-card h3{margin:.15rem 0 0;font:800 1rem Cairo,sans-serif}.project-feature-card p{grid-column:2;margin:.2rem 0 0;color:var(--ui-muted);font-size:.85rem;line-height:1.7}
.project-section-heading{display:flex;justify-content:space-between;gap:1.5rem;align-items:end;margin-bottom:2rem}
.project-lightbox__panel,.unit-detail-modal__panel,.project-interest-modal__panel{position:relative;z-index:1;width:min(100%,72rem);max-height:92dvh;overflow:auto;border-radius:1rem;background:#fff;padding:clamp(1.2rem,3vw,2rem)}.project-lightbox__panel{background:#081524;color:#fff}.project-lightbox__slides figure{margin:0;text-align:center}.project-lightbox__slides img{max-width:100%;max-height:78dvh;width:auto;height:auto;margin:auto}.project-lightbox__slides figcaption{margin-top:.7rem}.project-lightbox__nav{position:absolute;z-index:3;top:50%;width:3rem;height:3rem;border-radius:50%;background:rgba(255,255,255,.9);color:#0a1628;font-size:2rem}.project-lightbox__nav.is-prev{right:1rem}.project-lightbox__nav.is-next{left:1rem}
.project-interest-form label{display:grid;gap:.45rem;font-size:.8rem;font-weight:800}.project-interest-form input,.project-interest-form select,.project-interest-form textarea{width:100%;min-height:2.8rem;padding:.65rem .75rem;border:1px solid var(--ui-border);border-radius:.55rem;background:#fff}
.project-units-table{overflow:auto;border:1px solid var(--ui-border);border-radius:1rem;background:#fff}.project-units-table+.project-units-table{margin-top:1.5rem}.project-units-table__title{margin:0;padding:1rem 1.2rem;border-bottom:1px solid var(--ui-border);font:900 1rem Cairo,sans-serif;color:var(--ui-ink);background:#fff}.project-units-table table{width:100%;border-collapse:collapse;min-width:48rem}.project-units-table th,.project-units-table td{padding:1rem;text-align:right;border-bottom:1px solid var(--ui-border);vertical-align:middle}.project-units-table th{background:#f4f8f8;color:var(--ui-muted);font-size:.75rem}.project-units-table td{font-size:.86rem}.project-units-table td small{display:block;color:var(--ui-muted);margin-top:.25rem}.unit-status.is-reserved{background:#fff1c7;color:#7c5a00}.unit-status.is-sold,.unit-status.is-unavailable{background:#f2e5e5;color:#8d3030}.project-empty-state{text-align:center;padding:3rem;border:1px dashed var(--ui-border);border-radius:1rem;background:#fff}#project-plots .site-container{padding-inline-start:7.25rem}
.unit-detail-modal__grid{display:grid;grid-template-columns:minmax(18rem,.8fr) minmax(0,1fr);gap:2rem}.unit-detail-modal__grid img{width:100%;height:auto;border-radius:.8rem}.unit-detail-modal h2{font:900 1.8rem Cairo,sans-serif;margin:.7rem 0}.unit-detail-list{margin:1rem 0;border:1px solid var(--ui-border);border-radius:.8rem;overflow:hidden}.unit-detail-modal li{margin:.35rem 0}
.project-location__grid img{width:100%;height:auto;border-radius:1rem}.project-location__visual{display:grid;place-items:center;gap:.55rem;min-height:15rem;padding:2rem;border:1px solid var(--ui-border);border-radius:1rem;background:radial-gradient(circle at 20% 20%,rgba(77,189,184,.2),transparent 34%),linear-gradient(135deg,#f4f9f9,#e8f1f1);text-align:center;color:var(--ui-ink)}.project-location__pin{display:grid;place-items:center;width:3.5rem;height:3.5rem;border-radius:50%;background:var(--ui-teal);color:#fff}.project-location__pin svg{width:1.6rem!important;height:1.6rem!important}.project-location__label{font:800 .8rem Cairo,sans-serif;color:var(--ui-teal-dark)}.project-location__visual strong{max-width:22rem;font:900 1.05rem/1.7 Cairo,sans-serif}.project-contact-cta .site-container{display:flex;justify-content:space-between;align-items:center;gap:2rem}.project-contact-cta p{color:rgba(255,255,255,.7);max-width:44rem}.project-interest-modal__panel{width:min(100%,44rem)}.project-interest-modal h2{font:900 1.8rem Cairo,sans-serif}.project-interest-form{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-top:1.2rem}.project-interest-form .is-wide{grid-column:1/-1}.project-consent{grid-template-columns:auto 1fr!important;align-items:start}.project-consent input{width:auto;min-height:auto;margin-top:.2rem}.form-success,.form-error{padding:1rem;border-radius:.6rem;margin-block:1rem}.form-success{background:#e3f5ee;color:#176044}.form-error{background:#fbe8e8;color:#8a2525}
.project-card-media.is-placeholder{overflow:hidden;background:radial-gradient(circle at 24% 18%,rgba(104,211,206,.28),transparent 32%),linear-gradient(135deg,#edf8f7 0%,#dfeceb 100%)}.project-card-placeholder{display:grid;place-items:center;gap:.45rem;color:rgba(10,93,98,.65);font:800 .85rem Cairo,sans-serif}.project-card-placeholder svg{width:3.8rem;height:3.8rem;max-width:3.8rem;max-height:3.8rem;color:rgba(10,93,98,.28)}.project-card__head{display:flex;justify-content:space-between;gap:1rem;align-items:flex-start;margin-bottom:.85rem}.project-card__title{margin:0 0 .35rem;font:900 1.1rem/1.45 Cairo,sans-serif;color:var(--ui-ink)}.project-card__location{margin:0;color:var(--ui-muted);font-size:.84rem}.project-card__type{flex:none;padding:.32rem .65rem;border-radius:999rem;background:#edf8f7;color:var(--ui-teal-dark);font:800 .72rem Cairo,sans-serif}.project-card__desc{min-height:3.2rem;margin:0 0 1rem;color:#5d6b7a;font-size:.9rem;line-height:1.75}.project-card-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.55rem}.project-card-fact{display:flex!important;align-items:center;justify-content:flex-start;gap:.5rem;min-height:3.8rem;padding:.7rem .65rem;border:1px solid var(--ui-border);border-radius:.75rem;background:#f8fbfb;text-align:right}.project-card-fact i{display:grid;place-items:center;flex:0 0 1.1rem;width:1.1rem;height:1.1rem;color:var(--ui-teal-dark)}.project-card-fact i svg,.project-card-fact i .alsakan-icon{width:1.05rem!important;height:1.05rem!important;max-width:1.05rem!important;max-height:1.05rem!important;color:currentColor!important}.project-card-fact>strong{font:900 .84rem/1.45 Cairo,sans-serif;color:var(--ui-ink)}.project-card-fact--price span{display:grid;gap:.08rem;min-height:0;padding:0;border:0;background:transparent;text-align:right}.project-card-fact--price strong{font:900 .86rem/1.35 Cairo,sans-serif;color:var(--ui-ink)}.project-card-fact--price small{color:var(--ui-muted);font-size:.68rem;line-height:1.2}
@media(max-width:1000px){.project-hero__grid,.project-about__grid,.project-location__grid{grid-template-columns:1fr}.project-hero__content{order:1}.project-hero__media{order:0}.project-hero__image,.project-hero__placeholder{aspect-ratio:16/9}.project-features-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.unit-detail-modal__grid{grid-template-columns:1fr}}
@media(max-width:782px){.project-detail{--project-offset:7.8rem}.project-hero{padding-top:7rem}.admin-bar .project-section-nav{top:calc(var(--ui-header,4.25rem) + 46px)}.project-section-nav__scroll{flex-wrap:wrap;overflow-x:visible;white-space:normal;gap:.25rem .4rem}.project-section-nav a{padding:.9rem}.project-units-table{overflow:visible;border:0;background:transparent}.project-units-table table,.project-units-table tbody,.project-units-table tr,.project-units-table td{display:block;min-width:0}.project-units-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.project-units-table tbody{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.project-units-table tr{padding:1rem;border:1px solid var(--ui-border);border-radius:1rem;background:#fff}.project-units-table td{display:flex;justify-content:space-between;gap:1rem;padding:.55rem 0;border-bottom:1px solid var(--ui-border)}.project-units-table td:before{content:attr(data-label);color:var(--ui-muted);font-size:.78rem}.project-units-table td:first-child,.project-units-table td:last-child{display:block}.project-units-table td:first-child:before,.project-units-table td:last-child:before{display:none}.project-units-table .btn{width:100%;margin-top:.4rem}}
@media(max-width:520px){.project-hero h1{font-size:2.35rem}.project-summary__grid{grid-template-columns:1fr 1fr}.project-summary__grid div{padding:1rem}.project-features-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem 1rem}.project-feature-card{column-gap:.55rem}.project-feature-card__icon{width:2.35rem;height:2.35rem}.project-feature-card h3{font-size:.92rem}.project-feature-card p{font-size:.8rem}.project-units-table tbody,.project-interest-form{grid-template-columns:1fr}.project-interest-form .is-wide{grid-column:auto}.project-section-heading,.project-contact-cta .site-container{align-items:flex-start;flex-direction:column}.unit-detail-modal__panel,.project-interest-modal__panel{padding:1rem}.project-facts div,.unit-detail-list div{grid-template-columns:1fr;gap:.3rem}.project-hero__facts span{flex:1 1 8rem}#project-gallery .project-section-heading{padding-inline-start:6.3rem}#project-plots .site-container{padding-inline-start:6.3rem}#project-plots .project-section-heading{padding-inline-start:0}#project-plots .project-units-table td,#project-plots .project-units-table .btn{position:relative;z-index:1}}
#project-plots .site-container,#project-gallery .project-section-heading{padding-inline-start:0}

#about-project .project-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;border:0;background:transparent;overflow:visible;margin-top:2rem}
#about-project .project-facts .project-fact{display:grid;grid-template-columns:1fr;gap:.35rem;align-content:start;padding:1.1rem 1.2rem;border:1px solid var(--ui-border);border-bottom:1px solid var(--ui-border);border-radius:.9rem;background:#fff;box-shadow:0 8px 24px rgba(10,22,40,.04)}
#about-project .project-facts .project-fact:last-child{border-bottom:1px solid var(--ui-border)}
#about-project .project-facts dt{color:var(--ui-muted);font-size:.78rem;font-weight:800}
#about-project .project-facts dd{margin:0;font:900 1.02rem/1.4 Cairo,sans-serif;color:var(--ui-ink,#132236);word-break:normal}
#about-project .project-facts dd.is-price{display:flex;align-items:center;gap:.45rem;flex-wrap:wrap}
#about-project .project-facts dd.is-price .project-facts__price{font:900 1.02rem/1.4 Cairo,sans-serif}
@media(max-width:782px){#about-project .project-facts{scroll-margin-top:8.5rem}}
@media(max-width:520px){#about-project .project-facts{grid-template-columns:1fr}}
.project-brochure-dialog__viewer iframe{display:block;width:100%;height:100%;border:0;background:#fff}
.project-brochure-dialog{position:fixed;inset:0;z-index:calc(var(--ui-z-modal,120) + 1);display:grid;place-items:center;padding:max(1rem,env(safe-area-inset-top)) max(1rem,env(safe-area-inset-right)) max(1rem,env(safe-area-inset-bottom)) max(1rem,env(safe-area-inset-left));isolation:isolate}.project-brochure-dialog[hidden]{display:none}.project-brochure-dialog__backdrop{position:absolute;inset:0;background:rgba(4,14,25,.86);pointer-events:auto}.project-brochure-dialog__panel{position:relative;z-index:1;width:min(100%,78rem);height:min(94dvh,58rem);display:flex;flex-direction:column;overflow:hidden;border-radius:1rem;background:#10243a;color:#fff}.project-brochure-dialog__close{position:absolute;z-index:2;inset-block-start:max(.75rem,env(safe-area-inset-top));inset-inline-end:max(.75rem,env(safe-area-inset-end));width:2.6rem;height:2.6rem;border:0;border-radius:50%;background:#fff;color:#10243a;font-size:1.6rem}.project-brochure-dialog__viewer{position:relative;flex:1;min-height:0;overflow:hidden;padding:4.25rem 1rem 1rem;background:#10243a}.project-brochure-dialog__viewer [data-project-brochure-status]{position:absolute;z-index:1;inset:50% auto auto 50%;margin:0;transform:translate(-50%,-50%);color:#fff;white-space:nowrap}.project-brochure-dialog__viewer iframe{height:100%;box-shadow:0 .5rem 2rem rgba(0,0,0,.3)}

/* V4 polish — compact project units filter toolbar (RTL) */
.project-unit-filters{display:flex;flex-wrap:wrap;gap:.85rem 1.1rem;align-items:flex-end;margin-bottom:1.75rem;padding:1.1rem 1.2rem;background:var(--ui-surface);border:1px solid var(--ui-border);border-radius:var(--ui-radius);box-shadow:var(--ui-shadow-soft)}
.project-unit-filters .puf-fields{display:flex;flex-wrap:wrap;gap:.85rem 1.1rem;align-items:flex-end;flex:1 1 auto;min-width:0}
.project-unit-filters .puf-field{display:flex;flex-direction:column;gap:.32rem;min-width:0}
.project-unit-filters .puf-field:has(select){min-width:8.6rem}
.project-unit-filters .puf-label{font-family:Cairo,sans-serif;font-size:.78rem;font-weight:700;color:var(--ui-muted);line-height:1.3}
.project-unit-filters select,
.project-unit-filters input[type="number"]{width:100%;min-width:0;min-height:2.85rem;padding:.5rem .8rem;border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface);color:var(--ui-ink);font-family:Tajawal,sans-serif;font-size:.92rem;line-height:1.3}
.project-unit-filters select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='m1 1 5 5 5-5' stroke='%231a7a76' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:left .8rem center;padding-inline-end:.8rem;padding-inline-start:2rem;cursor:pointer}
.project-unit-filters select:focus,
.project-unit-filters input[type="number"]:focus{outline:none;border-color:var(--ui-teal);box-shadow:0 0 0 3px var(--ui-teal-soft)}
.project-unit-filters .puf-range{display:flex;align-items:center;gap:.45rem}
.project-unit-filters .puf-range input{width:5.4rem}
.project-unit-filters .puf-range-sep{color:var(--ui-muted);font-weight:800}
.project-unit-filters .puf-actions{display:flex;align-items:center;gap:.6rem;margin-inline-start:auto}
.project-unit-filters .puf-actions .btn{white-space:nowrap}
@media(max-width:900px){.project-unit-filters .puf-actions{margin-inline-start:0}}
@media(max-width:520px){.project-unit-filters,.project-unit-filters .puf-fields{flex-direction:column;align-items:stretch}.project-unit-filters .puf-field{min-width:0}.project-unit-filters .puf-range input{flex:1;width:auto}.project-unit-filters .puf-actions .btn{flex:1}}
