/* Homepage masthead */
.bh-home-presentation .site-header {
    --ink: var(--brand-on-dark);
    --accent: var(--brand-gold);
    --focus-ring: var(--brand-gold);
    margin-block-end: calc(-1 * var(--header));
    background: rgb(26 23 19 / .81);
    border-color: rgb(195 155 75 / .18);
    color: var(--brand-on-dark);
    backdrop-filter: blur(16px);
}
.bh-home-presentation .site-header .brand-wordmark,
.bh-home-presentation .primary-menu a,
.bh-home-presentation .primary-menu summary,
.bh-home-presentation .primary-menu .nav-links-main > li > a[aria-current=page] {
    color: var(--brand-on-dark);
}
.bh-home-presentation .site-header :is(.language-switch,.menu-toggle),
.bh-home-presentation .site-header .header-actions .header-whatsapp {
    background: transparent;
    border-color: rgb(195 155 75 / .48);
    color: var(--brand-on-dark);
}
.bh-home-presentation .site-header :is(.language-switch,.menu-toggle,.header-whatsapp):hover,
.bh-home-presentation .site-header .primary-menu .nav-more a:hover {
    background: var(--brand-depth);
    color: #fff;
    border-color: var(--brand-gold);
}
.bh-home-presentation .site-header .primary-menu .nav-more ul {
    background: var(--brand-night);
    border-color: var(--brand-dark-line);
}

.bh-home-presentation .home-masthead.home-cover::before {
    background:
        radial-gradient(ellipse at 50% 52%,rgb(20 18 15 / .62),rgb(34 30 23 / .19) 82%),
        linear-gradient(180deg,rgb(20 18 15 / .53),rgb(20 18 15 / .12) 34%,rgb(20 18 15 / .31) 69%,rgb(22 19 14 / .85));
}
.bh-home-presentation .home-masthead .architecture-cover img {
    object-position: 51% 55%;
    transform: none;
}
.home-masthead .home-hero-frame {
    min-height: clamp(640px,86svh,940px);
    display: grid;
    grid-template-rows: 1fr auto;
    grid-template-columns: minmax(0,1fr);
    gap: clamp(25px,4vh,46px);
    align-items: center;
    justify-items: center;
    text-align: center;
    padding-block: calc(var(--header) + clamp(40px,9vh,115px)) clamp(52px,8vh,110px);
}
.home-masthead .home-hero-copy {
    width: min(100%,790px);
    max-width: none;
    justify-items: center;
}
.bh-home-presentation .home-masthead h1 {
    max-width: 100%;
    margin: 0 auto .36em;
    font-size: clamp(2.25rem,5.2vw,4.95rem);
    line-height: 1.22;
    color: var(--brand-on-dark);
}
.home-masthead .hero-tagline {
    margin: 0 auto .62rem;
    font-family: Cairo,system-ui,sans-serif;
    font-size: clamp(1.42rem,3vw,2.55rem);
    font-weight: 800;
    line-height: 1.35;
    color: var(--brand-gold);
}
.home-masthead .hero-intro {
    max-width: 49ch;
    margin: 0 auto 1.25rem;
    font-weight: 500;
    color: var(--brand-on-dark);
}
.home-masthead .actions {
    justify-content: center;
    gap: .58rem;
}
.home-masthead .actions .button {
    border-radius: 28px;
}
.home-masthead .actions .button:not(.outline) {
    padding-inline: 1.45rem;
}
.home-masthead .home-project-search {
    width: min(100%,660px);
    display: grid;
    grid-template-columns: auto minmax(0,1fr) auto;
    align-items: center;
    gap: .65rem;
    padding: .35rem .38rem .35rem .6rem;
    padding-inline: 1rem .38rem;
    background: var(--brand-paper);
    border: 1px solid var(--brand-line);
    border-radius: 17px;
    box-shadow: 0 10px 40px rgb(27 23 16 / .27);
    color: var(--brand-accent);
    --focus-ring: var(--brand-accent);
}
.home-project-search svg {
    width: 22px;
    height: 22px;
}
.home-project-search input[type=search] {
    min-height: 44px;
    min-width: 0;
    padding: .4rem .2rem;
    border: 0;
    border-radius: 5px;
    margin: 0;
    box-shadow: none;
    background: var(--brand-paper);
    color: var(--brand-ink);
}
.home-project-search input::placeholder { color: var(--brand-muted); opacity: 1; }
.home-project-search .button:not(.outline):not(.dark-button) {
    min-width: 80px;
    min-height: 43px;
    border-radius: 12px;
    color: var(--brand-night);
    background: var(--brand-gold);
    border-color: var(--brand-gold);
}
.home-project-search .button:not(.outline):not(.dark-button):hover { background: var(--brand-soft); }

/* Project cards shared by the homepage and directory */
.home-projects { background: var(--brand-cream); }
.home-projects .section { padding-block: clamp(34px,6vw,85px); }
.home-projects-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: .95rem;
    margin-block-end: 1.25rem;
}
.home-projects-heading h2 { color: var(--brand-accent); }
.home-projects :is(.hero-chip,.home-projects-heading .button) { border-radius: 28px; }
.home-projects .showcase-filters { margin-block-end: 1.15rem; align-items: center; }
.home-projects .showcase-count { margin: 0; margin-inline-start: .25rem; font-size: .9rem; color: var(--brand-muted); }
.estate-grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
    align-items: stretch;
    gap: clamp(12px,2vw,25px);
}
.estate-grid .estate-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    background: var(--brand-paper);
    border: 1px solid var(--brand-line);
    border-radius: 18px;
    box-shadow: 0 5px 18px #341b150b;
}
.estate-grid .estate-card .card-media { aspect-ratio: 1.68; display: block; }
.estate-card-visual .bh-project-badges {
    inset-inline: auto .7rem;
    max-width: 64%;
}
.estate-card-visual .bh-project-badge { border-radius: 999px; font-size: .72rem; }
.estate-activity {
    position: absolute;
    inset-block-start: .7rem;
    inset-inline-start: .7rem;
    max-width: 32%;
    margin: 0;
    padding: .26rem .55rem;
    background: rgb(28 24 17 / .86);
    border: 1px solid rgb(195 155 75 / .32);
    border-radius: 10px;
    color: #fff;
    font-size: .72rem;
    line-height: 1.4;
}
.estate-grid .estate-card .card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: stretch;
    gap: .82rem;
    padding: clamp(13px,1.5vw,21px);
}
.estate-grid .estate-card .estate-card-identity {
    display: grid;
    grid-template-columns: auto minmax(0,1fr);
    align-items: start;
    gap: .68rem;
}
.estate-card-icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--brand-wash);
    color: var(--brand-accent);
}
.estate-card-icon svg { width: 19px; height: 19px; }
.estate-grid .estate-card .estate-card-identity h3 {
    text-align: start;
    font-size: clamp(1.04rem,1.8vw,1.34rem);
    margin: 0;
}
.estate-location {
    display: flex;
    align-items: flex-start;
    gap: .28rem;
    font-size: .85rem;
    line-height: 1.45;
    color: var(--brand-muted);
    margin: .3rem 0 0;
}
.estate-location svg { flex: 0 0 15px; width: 15px; height: 15px; }
.estate-grid .estate-card .estate-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(min(100%,92px),1fr));
    gap: .25rem;
    border-block: 1px solid var(--brand-line);
    padding: .8rem 0;
    margin: 0;
    background: transparent;
}
.estate-grid .estate-facts > div {
    display: flex;
    flex-direction: column-reverse;
    text-align: center;
    justify-content: flex-end;
    gap: .17rem;
    min-width: 0;
    padding: 0 .14rem;
    background: transparent;
    border: 0;
    border-radius: 0;
}
.estate-grid .estate-facts > div + div { border-inline-start: 1px solid var(--brand-line); }
.estate-grid .estate-facts dt { color: var(--brand-muted); font-size: .77rem; }
.estate-grid .estate-facts dd { margin: 0; font-weight: 800; font-size: .9rem; overflow-wrap: anywhere; }
.estate-progress {
    display: grid;
    gap: .32rem;
    color: var(--brand-muted);
    font-size: .8rem;
}
.estate-progress > div { display:flex; justify-content:space-between; gap:.35rem; }
.estate-progress bdi { color:var(--brand-accent); font-weight:800; }
.estate-progress progress { block-size:7px; inline-size:100%; accent-color:var(--brand-accent); }
.estate-card-visual .bh-project-badge--open {
    background:#eafaf1;
    border-color:#b5dec6;
    color:#126044;
    box-shadow:0 0 12px #61cb9d42;
}
.estate-card-visual .bh-project-badge.bh-project-badge--construction {
    background:#fff4dd;
    border-color:#eed39f;
    color:#81470c;
}
.estate-card-visual .bh-project-badge:is(.bh-project-badge--open,.bh-project-badge--construction) {
    display:inline-flex;
    align-items:center;
    gap:.3rem;
}
.estate-card-visual .bh-project-badge:is(.bh-project-badge--open,.bh-project-badge--construction)::before {
    content:"";
    flex:0 0 6px;
    width:6px;
    height:6px;
    border-radius:50%;
    background:currentColor;
}
.estate-card-visual .bh-project-badge.bh-project-badge--open::before {
    background:#2caa77;
    box-shadow:0 0 0 3px #2caa7730;
}
.estate-grid .estate-card .estate-price {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .25rem .65rem;
    border: 0;
    background: var(--brand-wash);
    border-radius: 8px;
    font-size: .88rem;
    padding: .5rem .65rem;
}
.estate-grid .estate-card .card-cta { margin-block-start: auto; }
.estate-grid .estate-card .card-cta .button { border-radius: 22px; min-width: 0; }
.estate-details-link span { padding-inline-start: .25rem; }
.estate-grid .estate-card .save-item { margin-block-start: 0; }

/* Published achievements and company approach */
.home-achievements {
    background: radial-gradient(ellipse at 50% 0,#3a3020,var(--brand-night) 76%);
    color: var(--brand-on-dark);
}
.home-achievements .section { padding-block: clamp(38px,5.5vw,77px); }
.home-achievements h2 { margin: 0 0 clamp(20px,3.5vw,38px); text-align: center; }
.achievement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(min(100%,178px),1fr));
    gap: clamp(9px,1.4vw,20px);
    margin: 0;
}
.achievement-grid > div {
    display: grid;
    justify-items: center;
    align-content: center;
    text-align: center;
    padding: clamp(17px,2.5vw,32px);
    border: 1px solid rgb(195 155 75 / .25);
    border-radius: 15px;
    background: rgb(195 155 75 / .07);
}
.achievement-icon { color: var(--brand-gold); margin-block-end: .38rem; }
.achievement-grid dt { grid-row: 3; font-size: .92rem; color: var(--brand-gold); }
.achievement-grid dd {
    margin: 0;
    font: 800 clamp(1.65rem,3.3vw,3.05rem)/1.15 Cairo,sans-serif;
    font-variant-numeric: tabular-nums;
}
.home-values { background: var(--brand-wash); }
.home-values-layout {
    display: grid;
    grid-template-columns: .99fr 1.01fr;
    align-items: center;
    gap: clamp(24px,5vw,76px);
}
.home-values-copy h2 { max-width: 21ch; margin: .3rem 0 .65rem; }
.home-values-intro { color: var(--brand-muted); max-width: 52ch; }
.home-values-visual {
    margin: 0;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--brand-line);
    border-radius: 28px 8px 28px 8px;
    box-shadow: 0 16px 48px #39231b18;
}
.home-values-visual img {
    display: block;
    width: 100%;
    aspect-ratio: 1.15;
    height: auto;
    object-fit: cover;
}
.home-values-visual figcaption {
    position: absolute;
    inset-inline-start: .78rem;
    inset-block-end: .78rem;
    padding: .34rem .58rem;
    background: var(--brand-night);
    border-radius: 5px;
    color: var(--brand-on-dark);
    font-size: .72rem;
}
.home-values-list {
    list-style: none;
    display: grid;
    gap: .54rem;
    padding: 0;
    margin: 1rem 0 1.1rem;
}
.home-values-list li {
    display: grid;
    grid-template-columns: auto minmax(0,1fr);
    align-items: start;
    gap: .65rem;
    padding: .65rem .78rem;
    border: 1px solid var(--brand-line);
    border-radius: 10px;
    background: var(--brand-paper);
}
.home-value-icon {
    display: grid;
    place-items: center;
    width: 35px;
    height: 35px;
    border-radius: 8px;
    color: var(--brand-on-dark);
    background: var(--brand-accent);
}
.home-value-icon svg { width: 19px; height: 19px; }
.home-values-list h3 { font-size: .99rem; margin: 0 0 .12rem; }
.home-values-list p { color: var(--brand-muted); font-size: .87rem; line-height: 1.5; margin: 0; }

@media (max-width:1199px) {
    .bh-home-presentation .primary-menu .nav-links-main > li > a,
    .bh-home-presentation .primary-menu .nav-more summary {
        background: var(--brand-depth);
    }
}
@media (max-width:1000px) {
    .estate-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width:760px) {
    .home-values-layout { grid-template-columns: minmax(0,1fr); }
    .home-values-visual img { aspect-ratio: 1.5; }
}
@media (max-width:680px) {
    .home-masthead .home-hero-frame {
        min-height: 620px;
        gap: 1.35rem;
        padding-block: calc(var(--header) + 28px) 48px;
    }
    .bh-home-presentation .home-masthead h1 { font-size: clamp(1.9rem,7.6vw,3.1rem); }
    .home-masthead .home-project-search { gap: .35rem; padding-inline-start: .62rem; }
    .home-project-search .button:not(.outline):not(.dark-button) { min-width: 56px; padding-inline: .65rem; }
    .home-project-search input[type=search] { font-size: .9rem; }
    .achievement-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width:550px) {
    .estate-grid { grid-template-columns: minmax(0,1fr); }
}

@media (max-width:680px) {
    body.bh-no-mobile-actions { padding-bottom: 0; }
    .bh-no-mobile-actions .customer-support,
    .bh-no-mobile-actions .bh-back-top { bottom: 1rem; }
}

.site-footer .brand .brand-wordmark {
    max-width: none;
    white-space: nowrap;
    font-size: clamp(.88rem,1.15vw,1.04rem);
}
@media (min-width:961px) {
    .site-footer .footer-main {
        grid-template-columns: minmax(18rem,1.32fr) repeat(3,minmax(0,1fr));
        gap: clamp(24px,3vw,44px);
    }
}

.home-finishes-editorial {
    background: var(--brand-paper);
    border-block: 1px solid var(--brand-soft);
}
.home-finishes-grid {
    display: grid;
    grid-template-columns: minmax(0,.83fr) minmax(0,1.17fr);
    overflow: hidden;
    border-radius: clamp(14px,2.8vw,36px);
    border: 1px solid var(--brand-dark-line);
    background: var(--brand-night);
    color: var(--brand-on-dark);
    box-shadow: 0 18px 48px rgb(30 23 13 / .13);
}
.home-finishes-photo {
    position: relative;
    min-height: 100%;
    margin: 0;
}
.home-finishes-photo img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 54% center;
}
.home-finishes-photo figcaption {
    position: absolute;
    inset-block-end: .85rem;
    inset-inline-end: .85rem;
    max-width: calc(100% - 1.7rem);
    padding: .24rem .6rem;
    border-radius: 1rem;
    font-size: .72rem;
    background: var(--brand-night);
    color: var(--brand-on-dark);
}
.home-finishes-copy {
    align-self: center;
    padding: clamp(32px,5.1vw,80px);
}
.home-finishes-copy h2 {
    margin: 0 0 .65rem;
    color: var(--brand-on-dark);
    font-size: clamp(1.85rem,3.8vw,3.5rem);
    line-height: 1.24;
}
.home-finishes-copy h2::before {
    display: block;
    content: "";
    inline-size: 2.75rem;
    block-size: 2px;
    margin-block-end: 1.15rem;
    background: var(--brand-gold);
}
.home-finishes-copy p {
    max-width: 35ch;
    margin-block-end: 1.55rem;
    color: var(--brand-on-dark-muted);
}
.home-finishes-copy :is(.home-finishes-gallery,.home-finishes-engineer) {
    display: flex;
    width: min(100%,22rem);
    min-height: 52px;
    align-items: center;
    gap: .7rem;
    border-radius: 10px;
    text-align: start;
}
.home-finishes-copy .home-finishes-gallery {
    justify-content: space-between;
    padding: .68rem 1rem;
    border: 1px solid var(--brand-gold);
    background: var(--brand-gold);
    color: var(--brand-ink);
}
.home-finishes-copy .home-finishes-gallery:hover { background: var(--brand-line); }
.home-finishes-arrow { font-family: system-ui,sans-serif; font-size: 1.26rem; line-height: 1; }
.home-finishes-gallery:dir(rtl) .home-finishes-arrow { transform: scaleX(-1); }
.home-finishes-copy .home-finishes-engineer {
    margin-block-start: .65rem;
    padding: .52rem .72rem;
    border: 1px solid var(--brand-dark-line);
    background: var(--brand-depth);
    color: var(--brand-on-dark);
    font-weight: 700;
    text-decoration: none;
}
.home-finishes-copy .home-finishes-engineer:hover { border-color: var(--brand-gold); }
.home-finishes-copy a:focus-visible { outline-color: var(--brand-gold); }
.home-finishes-call-icon {
    flex: 0 0 34px;
    display: grid;
    place-items: center;
    height: 34px;
    border: 1px solid var(--brand-dark-line);
    border-radius: 50%;
    color: var(--brand-gold);
}
.home-finishes-call-icon svg { width: 17px; height: 17px; }
.home-finishes-contact bdi {
    display: block;
    width: fit-content;
    color: var(--brand-on-dark-muted);
    font-size: .9em;
}
@media (max-width:760px) {
    .home-finishes-grid { grid-template-columns: minmax(0,1fr); }
    .home-finishes-photo { grid-row: 1; min-height: 0; aspect-ratio: 16/10; }
    .home-finishes-copy { padding: clamp(22px,6.5vw,42px); }
}
