/* =====================================================================
   AqarPro — Front-end styles (RTL-first, LTR-aware)
   ===================================================================== */
:root{
  --p:#1E4164; --p-dark:#153352; --sec:#7DCBC1; --sec-l:#eaf7f5;
  --txt:#243b53; --muted:#64748B; --bg:#fff; --bg-alt:#F8FAFC;
  --border:#E2E8F0; --border-l:#F1F5F9; --wa:#1faa55;
  --radius:10px; --radius-lg:16px; --shadow:0 2px 10px rgba(30,65,100,.07);
  --container:1180px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;overflow-x:hidden}
body{font-family:'Cairo',system-ui,sans-serif;color:var(--txt);background:var(--bg);line-height:1.8;font-size:16px;overflow-x:hidden;max-width:100%}
a{color:var(--p);text-decoration:none}
img,svg{max-width:100%;display:block}
h1,h2,h3{line-height:1.4;color:var(--p-dark)}
.container{max-width:var(--container);margin-inline:auto;padding-inline:1.1rem}

/* ---- Header ---- */
.site-header{border-bottom:1px solid var(--border);background:#fff;position:sticky;top:0;z-index:50}
.site-header__inner{display:flex;align-items:center;justify-content:space-between;height:66px;gap:1rem}
.site-logo{display:inline-flex;align-items:center;font-size:1.4rem;font-weight:900;color:var(--p);min-width:0}
.site-logo img{max-height:46px;width:auto;object-fit:contain}
.site-nav{display:flex;gap:1.4rem;font-weight:700;font-size:.95rem}
.site-nav a{color:var(--txt)}
.site-nav a:hover{color:var(--p)}
.site-header__side{display:flex;align-items:center;gap:.8rem;flex-shrink:0}
.lang-switch{display:inline-flex;align-items:center;gap:.4rem;padding:.45rem 1rem;border:1px solid var(--border);border-radius:999px;background:var(--bg-alt);color:var(--p);font-weight:700;font-size:.9rem;white-space:nowrap;flex-shrink:0}
.lang-switch:hover{background:var(--p);color:#fff;border-color:var(--p)}
.site-call{display:inline-flex;align-items:center;gap:.4rem;font-weight:800;color:var(--p);font-size:.88rem}
@media(max-width:820px){.site-nav{display:none}.site-call span{display:none}}

/* ---- Hero ---- */
.hero{background:linear-gradient(135deg,var(--p-dark),var(--p));color:#fff;padding:3.5rem 0}
.hero__title{font-size:clamp(1.6rem,4vw,2.4rem);font-weight:900;color:#fff;text-align:center;margin-bottom:1.5rem}
.hero__search{display:flex;gap:.5rem;max-width:600px;margin-inline:auto;background:#fff;padding:.5rem;border-radius:var(--radius-lg)}
.hero__search input{flex:1;border:0;padding:.7rem 1rem;font-family:inherit;font-size:1rem;background:transparent;outline:none}
.hero__search button{background:var(--p);color:#fff;border:0;padding:.7rem 1.6rem;border-radius:var(--radius);font-family:inherit;font-weight:800;cursor:pointer}

/* ---- Sections + grids ---- */
.home-section{padding:2.5rem 0}
.home-section__head{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.4rem}
.section-title{font-size:1.5rem;font-weight:800;position:relative;padding-inline-start:.85rem}
.section-title::before{content:"";position:absolute;inset-inline-start:0;top:.2em;bottom:.2em;width:4px;border-radius:4px;background:var(--sec)}
.section-more{font-weight:700;color:var(--sec)}
.page-head{padding:2rem 0 1.5rem}
.page-head h1{font-size:1.8rem;font-weight:900}
.grid{display:grid;gap:1.4rem}
.grid--3{grid-template-columns:repeat(3,1fr)}
.grid--4{grid-template-columns:repeat(4,1fr)}
@media(max-width:900px){.grid--3,.grid--4{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.grid--3,.grid--4{grid-template-columns:1fr}}
.empty{padding:3rem 0;text-align:center;color:var(--muted)}

/* ---- Project card ---- */
.pcard{background:#fff;border:1px solid var(--border);border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow);transition:transform .15s,box-shadow .15s}
.pcard:hover{transform:translateY(-3px);box-shadow:0 10px 28px rgba(30,65,100,.13)}
.pcard__media{display:block;aspect-ratio:16/10;overflow:hidden}
.pcard__media img{width:100%;height:100%;object-fit:cover}
.pcard__body{padding:1rem 1.1rem}
.pcard__city{font-size:.78rem;color:var(--muted);font-weight:700}
.pcard__title{font-size:1.1rem;font-weight:800;margin:.2rem 0}
.pcard__title a{color:var(--p-dark)}
.pcard__title a:hover{color:var(--p)}
.pcard__sub{font-size:.85rem;color:var(--muted);margin-bottom:.5rem}
.pcard__price{display:flex;flex-direction:column;border-top:1px solid var(--border-l);padding-top:.6rem}
.pcard__price span{font-size:.72rem;color:var(--muted)}
.pcard__price strong{font-size:1.05rem;color:var(--p)}

/* ---- City / logo cards ---- */
.city-card{position:relative;border-radius:var(--radius-lg);overflow:hidden;aspect-ratio:4/3;display:block;box-shadow:var(--shadow)}
.city-card img{width:100%;height:100%;object-fit:cover}
.city-card__name{position:absolute;inset-inline:0;bottom:0;padding:1rem;background:linear-gradient(transparent,rgba(21,51,82,.85));color:#fff;font-weight:800}
.logo-card{display:grid;place-items:center;background:#fff;border:1px solid var(--border);border-radius:var(--radius-lg);padding:1.5rem;aspect-ratio:3/2;box-shadow:var(--shadow);transition:transform .15s}
.logo-card:hover{transform:translateY(-3px)}
.logo-card__name{font-weight:800;color:var(--p);text-align:center}

/* ---- Blog cards ---- */
.bcard{background:#fff;border:1px solid var(--border);border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow);transition:transform .15s}
.bcard:hover{transform:translateY(-3px)}
.bcard__media{display:block;aspect-ratio:16/10;overflow:hidden}
.bcard__media img{width:100%;height:100%;object-fit:cover}
.bcard__body{padding:1rem 1.1rem}
.bcard__title{font-size:1.05rem;font-weight:800}
.bcard__title a{color:var(--p-dark)}
.bcard__excerpt{font-size:.85rem;color:var(--muted);margin-top:.4rem}

/* ---- Breadcrumbs ---- */
.breadcrumbs{padding:1rem 0;font-size:.82rem;color:var(--muted);display:flex;flex-wrap:wrap;gap:.4rem;align-items:center}
.breadcrumbs a{color:var(--muted)}
.breadcrumbs a:hover{color:var(--p)}
.breadcrumbs__sep{opacity:.5}

/* ---- Project page ---- */
.project{padding-bottom:3rem}
.project-gallery{width:100%;max-width:720px;margin:0 0 1.4rem}
.project-gallery__main{display:block;width:100%;border:0;background:transparent;padding:0;border-radius:var(--radius-lg);overflow:hidden;aspect-ratio:16/8.2;max-height:360px;cursor:zoom-in;box-shadow:var(--shadow)}
.project-gallery__main img{width:100%;height:100%;object-fit:cover}
.project-gallery__thumbs{display:flex;gap:.5rem;overflow-x:auto;padding:.55rem .1rem .15rem;scrollbar-width:thin}
.project-gallery__thumb{flex:0 0 86px;border:2px solid transparent;background:transparent;padding:0;border-radius:8px;overflow:hidden;cursor:pointer;opacity:.72;transition:opacity .15s,border-color .15s,transform .15s}
.project-gallery__thumb:hover,.project-gallery__thumb.is-active{opacity:1;border-color:var(--sec);transform:translateY(-1px)}
.project-gallery__thumb img{width:100%;height:56px;object-fit:cover}
.project-lightbox[hidden]{display:none}
.project-lightbox{position:fixed;inset:0;z-index:1000;background:rgba(8,20,34,.92);display:flex;align-items:center;justify-content:center;padding:4rem 1rem}
.project-lightbox__img{max-width:min(1100px,92vw);max-height:82vh;border-radius:var(--radius-lg);object-fit:contain;box-shadow:0 20px 70px rgba(0,0,0,.35)}
.project-lightbox__close,.project-lightbox__nav{position:absolute;border:0;background:rgba(255,255,255,.12);color:#fff;cursor:pointer;display:grid;place-items:center;transition:background .15s}
.project-lightbox__close:hover,.project-lightbox__nav:hover{background:rgba(255,255,255,.24)}
.project-lightbox__close{top:1rem;inset-inline-end:1rem;width:42px;height:42px;border-radius:999px;font-size:2rem;line-height:1}
.project-lightbox__nav{top:50%;width:48px;height:70px;border-radius:999px;font-size:3rem;transform:translateY(-50%)}
.project-lightbox__nav--prev{inset-inline-start:1rem}
.project-lightbox__nav--next{inset-inline-end:1rem}
.project-lightbox__count{position:absolute;bottom:1rem;left:50%;transform:translateX(-50%);color:#fff;background:rgba(255,255,255,.12);border-radius:999px;padding:.35rem .9rem;font-weight:800}
body.has-lightbox{overflow:hidden}
@media(max-width:768px){.project-gallery{max-width:none}.project-gallery__main{aspect-ratio:16/10}.project-gallery__thumb{flex-basis:76px}.project-gallery__thumb img{height:50px}.project-lightbox__nav{width:40px;height:58px;font-size:2.3rem}}
.project__head{margin-bottom:1.5rem}
.project__title{font-size:clamp(1.5rem,3.5vw,2.1rem);font-weight:900}
.project__meta{display:flex;flex-wrap:wrap;gap:.5rem 1rem;margin-top:.5rem;color:var(--muted);font-weight:600;align-items:center}
.project__badge{background:var(--sec-l);color:var(--p);padding:.2rem .8rem;border-radius:999px;font-size:.8rem;font-weight:700}
.project__layout{display:grid;grid-template-columns:1fr 340px;gap:2rem;align-items:start}
@media(max-width:980px){.project__layout{grid-template-columns:1fr}}
.project__facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:1px;background:var(--border);border:1px solid var(--border);border-radius:var(--radius-lg);overflow:hidden;margin-bottom:1.5rem}
.fact{background:#fff;padding:1rem;text-align:center}
.fact span{display:block;font-size:.75rem;color:var(--muted)}
.fact strong{font-size:1.1rem;color:var(--p)}
.project__section{margin:2rem 0}
.project__section h2{font-size:1.3rem;font-weight:800;margin-bottom:1rem}
.amenities{list-style:none;display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:.5rem}
.amenities li{background:var(--bg-alt);padding:.5rem .9rem;border-radius:var(--radius);font-size:.88rem}
.amenities li::before{content:"✓";color:var(--sec);font-weight:900;margin-inline-end:.4rem}
.plans{display:grid;gap:.6rem}
.plan{background:var(--bg-alt);padding:.8rem 1.1rem;border-radius:var(--radius);border-inline-start:3px solid var(--sec)}
.plan__label{display:inline-block;margin-inline-start:.5rem;color:var(--muted);font-size:.85rem}
.units{display:grid;gap:.7rem}
.unit{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:.9rem 1.1rem}
.unit__meta{display:flex;flex-wrap:wrap;gap:.4rem 1rem;color:var(--muted);font-size:.85rem;margin-top:.3rem}
.unit__price{color:var(--p);font-weight:800}
.project__section--units h2{display:flex;align-items:center;justify-content:center;gap:.55rem;text-align:center}
.project__section--units h2::after{content:"";width:28px;height:22px;background:radial-gradient(circle,var(--p) 2px,transparent 3px) 0 0/10px 10px}
.project-unit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.6rem 1.8rem}
.project-unit-card{background:#fff;border:1px solid var(--border);border-radius:8px;overflow:hidden;box-shadow:var(--shadow);scroll-margin-top:90px}
.project-unit-card:target{outline:3px solid var(--sec);outline-offset:3px}
.project-unit-card__media{display:block;aspect-ratio:16/9;background:var(--bg-alt);overflow:hidden}
.project-unit-card__media img{width:100%;height:100%;object-fit:cover}
.project-unit-card__body{padding:.95rem .95rem .85rem;display:grid;gap:.75rem}
.project-unit-card__title{font-size:1.05rem;font-weight:900;text-align:center;line-height:1.65;margin:0}
.project-unit-card__title a{color:#000}
.project-unit-card__title a:hover{color:var(--p)}
.project-unit-card__meta{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.35rem .65rem;color:var(--muted);font-size:.82rem;text-align:center}
.project-unit-card__price{color:var(--p);font-weight:900}
.project-unit-card__actions{display:grid;grid-template-columns:repeat(3,1fr);gap:.65rem;margin-top:.15rem}
.project-unit-card__actions a{min-height:36px;border-radius:999px;background:#f4e7d6;color:#a76814;display:grid;place-items:center;transition:filter .15s,transform .1s}
.project-unit-card__actions a:hover{filter:brightness(1.03);transform:translateY(-1px)}
.project-unit-card__actions svg{width:18px;height:18px}
@media(max-width:720px){.project-unit-grid{grid-template-columns:1fr;gap:1rem}.project-unit-card__title{font-size:1rem}.project-unit-card__actions{gap:.5rem}}

/* ---- Prose (rich content) ---- */
.prose{font-size:1rem;line-height:2}
.prose p{margin-bottom:1rem}
.prose h2{font-size:1.3rem;margin:1.6rem 0 .8rem}
.prose h3{font-size:1.12rem;margin:1.3rem 0 .6rem}
.prose ul,.prose ol{margin:0 1.4rem 1rem 0}
.prose a{color:var(--p);font-weight:700;border-bottom:2px solid var(--sec)}

/* ---- FAQ ---- */
.faq__item{border:1px solid var(--border);border-radius:var(--radius);margin-bottom:.6rem;background:#fff;overflow:hidden}
.faq__item summary{cursor:pointer;font-weight:800;padding:.9rem 1.1rem;list-style:none;display:flex;justify-content:space-between;align-items:center;color:var(--p-dark)}
.faq__item summary::-webkit-details-marker{display:none}
.faq__item summary::after{content:"+";font-size:1.3rem;color:var(--sec);font-weight:800}
.faq__item[open] summary::after{content:"−"}
.faq__answer{padding:0 1.1rem 1rem;color:var(--muted)}

/* ---- CTA box + buttons (shortcodes) ---- */
.cta-box{background:linear-gradient(135deg,var(--p-dark),var(--p));border-radius:var(--radius-lg);padding:1.4rem;color:#fff;margin:1.5rem 0}
.cta-box__head{margin-bottom:1rem}
.cta-box__title{display:block;font-size:1.15rem;font-weight:900}
.cta-box__text{font-size:.9rem;opacity:.9}
.cta-box__actions{display:flex;gap:.6rem;flex-wrap:wrap}
.cta-btn{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;font-family:inherit;font-weight:800;font-size:.92rem;padding:.7rem 1.4rem;border-radius:999px;border:0;cursor:pointer;text-decoration:none;transition:filter .15s,transform .1s}
.cta-btn:hover{filter:brightness(1.08)}
.cta-btn:active{transform:scale(.97)}
.cta-btn--call{background:#fff;color:var(--p-dark)}
.cta-btn--wa{background:var(--wa);color:#fff}
.cta-btn--primary{background:var(--sec);color:var(--p-dark);width:100%}
.cta-form{margin-top:1rem;display:grid;gap:.6rem}
.cta-form__row{display:grid;grid-template-columns:1fr 1fr;gap:.6rem}
@media(max-width:480px){.cta-form__row{grid-template-columns:1fr}}
.cta-form input{padding:.7rem .9rem;border:0;border-radius:var(--radius);font-family:inherit;font-size:.92rem}
.cta-form__hp{position:absolute;left:-9999px;width:1px;height:1px}
.cta-form__msg{font-size:.85rem;min-height:1.2em}
.cta-form__msg.is-success{color:#aef5cf}
.cta-form__msg.is-error{color:#ffc9d1}

/* ---- Sticky sidebar CTA card ---- */
.project__sidebar{position:static;top:auto}
.cta-card{background:#fff;border:1px solid var(--border);border-radius:var(--radius-lg);padding:1.2rem;box-shadow:var(--shadow)}
.cta-card__title{display:block;font-size:1.1rem;font-weight:800;color:var(--p-dark);margin-bottom:.8rem}
.cta-card .cta-box{margin:0}
.project__sidebar .cta-card{padding:1rem}
.project__sidebar .cta-card__title{text-align:center;margin-bottom:1rem}
.project__sidebar .cta-box{padding:1.1rem;border-radius:var(--radius-lg)}
.project__sidebar .cta-box__actions{display:grid;grid-template-columns:1fr;gap:.65rem;justify-items:stretch}
.project__sidebar .cta-btn{width:100%;min-height:46px}
.project__sidebar .cta-form{gap:.7rem;margin-top:.9rem}
.project__sidebar .cta-form__row{grid-template-columns:1fr}
.project__sidebar .cta-form input{width:100%;min-width:0;text-align:inherit}
.project__sidebar .cta-form__msg{text-align:center;margin:0}
.project-contact{padding:1.15rem}
.project-contact .cta-card__title{font-size:1.15rem;text-align:center;margin-bottom:1rem}
.project-contact__actions{display:grid;grid-template-columns:1fr 1fr;gap:.65rem;margin-top:.9rem}
.project-contact .cta-btn{width:100%;border-radius:999px;min-height:46px}
.project-contact .cta-form{margin:0;display:grid;gap:.7rem}
.project-contact .cta-form__row{display:grid;grid-template-columns:1fr;gap:.7rem}
.project-contact .cta-form input{background:#fff;border:1.5px solid var(--border);color:var(--txt);border-radius:var(--radius);height:46px;padding:.7rem .9rem;width:100%;min-width:0}
.project-contact .cta-form input:focus{outline:none;border-color:var(--sec)}
.project-contact .cta-btn--primary{background:var(--sec);color:var(--p-dark);border-radius:999px}
.project-contact .cta-form__msg{margin:0;text-align:center;color:var(--muted)}
.project-contact .cta-form__msg.is-success{color:var(--wa)}
.project-contact .cta-form__msg.is-error{color:#d34a5e}
.project-contact .cta-btn svg{display:block;flex:0 0 auto}
@media(max-width:980px){.project__sidebar{position:static}.project-contact{max-width:440px;margin-inline:auto}}
@media(max-width:420px){.project-contact__actions{grid-template-columns:1fr}}

/* ---- Article ---- */
.article{max-width:820px;padding-bottom:3rem}
.article__title{font-size:clamp(1.6rem,4vw,2.3rem);font-weight:900;margin-bottom:.6rem}
.article__meta{display:flex;flex-wrap:wrap;gap:.4rem 1rem;color:var(--muted);font-size:.88rem;margin-bottom:1.5rem}
.article__hero{border-radius:var(--radius-lg);overflow:hidden;margin-bottom:1.5rem;aspect-ratio:16/9}
.article__hero img{width:100%;height:100%;object-fit:cover}
.article__author{background:var(--bg-alt);border-radius:var(--radius-lg);padding:1.2rem;margin:2rem 0}
.article__author strong{color:var(--p-dark)}
.article__author p{font-size:.88rem;color:var(--muted);margin-top:.3rem}

/* ---- Entity (developer/city) head ---- */
.entity-head{display:flex;gap:1.5rem;align-items:flex-start;margin:1rem 0 2rem}
.entity-head__logo{width:120px;flex-shrink:0;border:1px solid var(--border);border-radius:var(--radius-lg);padding:1rem;background:#fff}
.entity-head h1{font-size:1.8rem;font-weight:900}
.entity-head__desc{margin-top:.6rem;color:var(--muted)}
@media(max-width:560px){.entity-head{flex-direction:column}}

/* ---- Pagination ---- */
.pagination{display:flex;gap:.4rem;justify-content:center;margin-top:2rem;flex-wrap:wrap}
.pagination__link{display:inline-flex;min-width:40px;height:40px;align-items:center;justify-content:center;border:1px solid var(--border);border-radius:var(--radius);font-weight:700;color:var(--p)}
.pagination__link.is-active{background:var(--p);color:#fff;border-color:var(--p)}

/* ---- Footer ---- */
.site-footer{background:var(--p-dark);color:#cfe0ef;margin-top:3rem;padding:2.5rem 0 0}
.site-footer__grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:2rem;padding-bottom:2rem}
.site-footer__brand{font-size:1.3rem;font-weight:900;color:#fff;margin-bottom:.5rem}
.site-footer__about{font-size:.88rem;opacity:.8}
.site-footer h3{color:#fff;font-size:1rem;margin-bottom:.7rem}
.site-footer ul{list-style:none}
.site-footer ul li{margin-bottom:.4rem}
.site-footer a{color:#cfe0ef}
.site-footer a:hover{color:#fff}
.site-footer__bottom{border-top:1px solid rgba(255,255,255,.1);padding:1.2rem;text-align:center;font-size:.82rem}
@media(max-width:720px){.site-footer__grid{grid-template-columns:1fr}}

/* ---- Floating mobile CTA ---- */
.floating-cta{position:fixed;bottom:0;inset-inline:0;z-index:60;display:none;gap:.5rem;padding:.6rem .9rem calc(.6rem + env(safe-area-inset-bottom));background:rgba(255,255,255,.97);backdrop-filter:blur(6px);border-top:1px solid var(--border);box-shadow:0 -4px 16px rgba(30,65,100,.12)}
.floating-cta__btn{flex:1;display:inline-flex;align-items:center;justify-content:center;font-weight:800;font-size:.9rem;padding:.7rem;border-radius:999px;text-decoration:none}
.floating-cta__btn--call{background:var(--p);color:#fff}
.floating-cta__btn--wa{background:var(--wa);color:#fff}
@media(max-width:820px){.floating-cta{display:flex}body{padding-bottom:4rem}}

/* ---- Mobile RTL hardening ---- */
@media(max-width:820px){
  html[dir="rtl"] body{text-align:right}
  html[dir="rtl"] .container{padding-inline:.85rem}
  html[dir="rtl"] .site-header__inner{min-width:0}
  html[dir="rtl"] .site-logo{max-width:62vw;overflow:hidden}
  html[dir="rtl"] .site-logo img{max-width:100%;height:auto}
  html[dir="rtl"] .project__title{font-size:1.55rem;word-break:normal;overflow-wrap:anywhere}
  html[dir="rtl"] .project__meta{justify-content:flex-start;gap:.45rem .7rem}
  html[dir="rtl"] .project__layout,
  html[dir="rtl"] .project__main,
  html[dir="rtl"] .project__sidebar{min-width:0;width:100%}
  html[dir="rtl"] .project-gallery{max-width:100%;margin-inline:0}
  html[dir="rtl"] .project-gallery__thumbs{direction:rtl}
  html[dir="rtl"] .project__facts{grid-template-columns:repeat(2,minmax(0,1fr))}
  html[dir="rtl"] .fact{min-width:0;padding:.85rem .55rem}
  html[dir="rtl"] .fact strong{font-size:.98rem;overflow-wrap:anywhere}
  html[dir="rtl"] .prose,
  html[dir="rtl"] .project__section{max-width:100%;overflow-wrap:anywhere}
  html[dir="rtl"] .project-contact{width:100%;max-width:440px}
  html[dir="rtl"] .project-contact .cta-btn{display:inline-flex;flex-direction:row;gap:.45rem}
  html[dir="rtl"] .floating-cta__btn{gap:.35rem;white-space:nowrap}
}
@media(max-width:420px){
  html[dir="rtl"] .project__facts{grid-template-columns:1fr}
}

/* ---- Buttons ---- */
.btn{display:inline-flex;align-items:center;gap:.4rem;font-weight:800;padding:.7rem 1.6rem;border-radius:999px;text-decoration:none}
.btn--primary{background:var(--p);color:#fff}
.empty-state{text-align:center;padding:4rem 1rem}
.empty-state h1{font-size:2rem;margin-bottom:.5rem}
.empty-state p{color:var(--muted);margin-bottom:1.5rem}

/* =====================================================================
   Phase 4 — Homepage sections (trust bar, unit cards, CTA block)
   ===================================================================== */

/* ---- Trust bar ---- */
.trust{padding:0;margin-top:-1.5rem;position:relative;z-index:5}
.trust__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:1px;background:var(--border);border:1px solid var(--border);border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow)}
.trust__item{background:#fff;text-align:center;padding:1.15rem .75rem;display:flex;flex-direction:column;gap:.1rem}
.trust__value{font-size:clamp(1.25rem,2.4vw,1.7rem);font-weight:900;color:var(--p);font-feature-settings:"tnum";line-height:1.3}
.trust__label{font-size:.8rem;font-weight:700;color:var(--muted)}
@media(max-width:640px){.trust{margin-top:-1rem}.trust__grid{grid-template-columns:repeat(2,1fr)}.trust__item{padding:.85rem .5rem}}

/* ---- Unit cards (homepage) ---- */
.unit-card{display:block;background:#fff;border:1px solid var(--border);border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow);transition:transform .15s,box-shadow .15s}
.unit-card:hover{transform:translateY(-3px);box-shadow:0 10px 28px rgba(30,65,100,.13)}
.unit-card__media{aspect-ratio:16/10;overflow:hidden}
.unit-card__media img{width:100%;height:100%;object-fit:cover}
.unit-card__body{padding:1rem 1.1rem;display:flex;flex-direction:column;gap:.25rem}
.unit-card__title{font-size:1.05rem;font-weight:800;color:var(--p-dark)}
.unit-card__project{font-size:.8rem;color:var(--muted);font-weight:700}
.unit-card__meta{display:flex;flex-wrap:wrap;gap:.3rem .9rem;color:var(--muted);font-size:.83rem;margin-top:.2rem}
.unit-card__price{color:var(--p);font-weight:800;margin-top:.3rem}

/* ---- Homepage CTA block ---- */
.home-cta{display:grid;grid-template-columns:1.1fr 1fr;gap:2rem;align-items:center;background:linear-gradient(135deg,var(--p-dark),var(--p));border-radius:var(--radius-lg);padding:2.2rem;box-shadow:0 14px 36px rgba(21,51,82,.22)}
.home-cta__title{color:#fff;font-size:clamp(1.3rem,2.6vw,1.7rem);font-weight:900;margin-bottom:.4rem}
.home-cta__sub{color:rgba(255,255,255,.88);font-size:.95rem;line-height:1.9}
.home-cta__action .cta-box{margin:0;background:rgba(255,255,255,.08)}
@media(max-width:800px){.home-cta{grid-template-columns:1fr;padding:1.5rem}}

/* ---- Homepage free content ---- */
.home-content{max-width:860px;margin-inline:auto}
