.huna-properties-section{
  background:var(--surface-soft,#f5f1e8);
  color:var(--text,#171717);
  border-block:1px solid var(--border,rgba(23,23,23,.08));
}

/* Keep the projects module visually aligned with the public property pages. */
.huna-properties-section{position:relative;overflow:hidden}
.huna-properties-section::before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 88% 8%,rgba(200,168,117,.12),transparent 26rem)}
.huna-properties-section>*{position:relative}
.huna-properties-section .huna-properties__head h2{font-family:"Cairo","IBM Plex Sans Arabic",sans-serif;letter-spacing:-.02em}
.huna-properties-section .huna-property-card{border-radius:20px;transition:transform .2s ease,box-shadow .2s ease}
.huna-properties-section .huna-property-card:hover{transform:translateY(-4px)}
.huna-properties-section :where(a,button):focus-visible{outline:2px solid var(--properties-accent,#c8a875);outline-offset:3px}
html[data-theme="light"] .huna-properties-section{
  --surface-soft:#f8f5ef;
  --card:#ffffff;
  --text:#171717;
  --muted:#746f67;
  --border:rgba(23,23,23,.10);
  --accent:#c8a875;
}
html[data-theme="dark"] .huna-properties-section{
  --surface-soft:#1c1b19;
  --card:#242321;
  --text:#f5f1e8;
  --muted:#b4aea5;
  --border:rgba(245,241,232,.13);
  --accent:#c8a875;
}
.huna-properties-section[hidden]{
  display:none !important;
}
.huna-properties-section .huna-properties__head{
  max-width:720px;
  margin:0 auto 34px;
  text-align:center;
}
.huna-properties-section .huna-properties__head .kicker{
  justify-content:center;
}
.huna-properties-section .huna-properties__head h2{
  font-size:clamp(27px,3.6vw,42px);
}
.huna-properties-section .huna-properties__head p{
  max-width:600px;
  margin-inline:auto;
}
.huna-properties-section .huna-properties__tabs{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:9px;
  margin:0 0 30px;
}
.huna-properties-section .huna-properties__tab{
  appearance:none;
  min-height:42px;
  border:1px solid var(--border,rgba(23,23,23,.11));
  border-radius:999px;
  background:var(--card,#fff);
  color:var(--text,#171717);
  padding:8px 19px;
  font-family:'IBM Plex Sans Arabic',system-ui,sans-serif;
  font-size:14px;
  font-weight:600;
  cursor:pointer;
  box-shadow:0 4px 16px rgba(23,23,23,.035);
  transition:background-color .18s ease,border-color .18s ease,color .18s ease,transform .18s ease;
}
.huna-properties-section .huna-properties__tab:hover,
.huna-properties-section .huna-properties__tab:focus-visible{
  border-color:var(--accent,#c8a875);
  transform:translateY(-1px);
}
.huna-properties-section .huna-properties__tab:focus-visible{
  outline:2px solid var(--accent,#c8a875);
  outline-offset:2px;
}
.huna-properties-section .huna-properties__tab.is-active{
  background:var(--accent,#c8a875);
  border-color:var(--accent,#c8a875);
  color:#171717;
  box-shadow:0 8px 22px rgba(200,168,117,.24);
}
.huna-properties-section .huna-properties__grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
}
.huna-properties-section .huna-property-card{
  display:flex;
  min-width:0;
  flex-direction:column;
  overflow:hidden;
  background:var(--card,#fff);
  color:var(--text,#171717);
  border:1px solid var(--border,rgba(23,23,23,.09));
  border-radius:18px;
  box-shadow:0 16px 42px rgba(23,23,23,.075);
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
.huna-properties-section .huna-property-card:hover{
  transform:translateY(-5px);
  border-color:rgba(200,168,117,.65);
  box-shadow:0 22px 54px rgba(23,23,23,.115);
}
.huna-properties-section .huna-property-card__media{
  position:relative;
  aspect-ratio:16/10;
  overflow:hidden;
  background:linear-gradient(135deg,#272522,#c8a875);
}
.huna-properties-section .huna-property-card__media::after{
  content:'';
  position:absolute;
  inset:auto 0 0;
  height:32%;
  background:linear-gradient(to top,rgba(23,23,23,.32),transparent);
  pointer-events:none;
}
.huna-properties-section .huna-property-card__media img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .4s ease;
}
.huna-properties-section .huna-property-card:hover .huna-property-card__media img{
  transform:scale(1.025);
}
.huna-properties-section .huna-property-card__placeholder{
  display:grid;
  width:100%;
  height:100%;
  place-items:center;
  color:#f5f1e8;
  font-family:'Cairo',system-ui,sans-serif;
  font-size:32px;
  font-weight:800;
}
.huna-properties-section .huna-property-card__badge{
  position:absolute;
  z-index:1;
  top:14px;
  right:14px;
  padding:6px 11px;
  border-radius:999px;
  background:rgba(23,23,23,.9);
  color:#f5f1e8;
  border:1px solid rgba(245,241,232,.2);
  font-size:12px;
  font-weight:600;
  line-height:1.45;
  backdrop-filter:blur(7px);
}
.huna-properties-section .huna-property-card__badge.status-available{
  color:#c8a875;
}
.huna-properties-section .huna-property-card__badge.status-sold{
  opacity:.84;
}
.huna-properties-section .huna-property-card__badge.status-coming_soon,
.huna-properties-section .huna-property-card__badge.status-under_construction{
  background:rgba(200,168,117,.92);
  color:#171717;
}
.huna-properties-section .huna-property-card__body{
  display:flex;
  flex:1;
  flex-direction:column;
  padding:21px 20px 20px;
}
.huna-properties-section .huna-property-card__title{
  margin:0 0 8px;
  color:var(--text,#171717);
  font-size:19px;
  line-height:1.5;
}
.huna-properties-section .huna-property-card__meta{
  min-height:24px;
  margin:0 0 14px;
  color:var(--muted,#746f67);
  font-size:13px;
}
.huna-properties-section .huna-property-card__price{
  margin:0 0 19px;
  color:#987847;
  font-family:'Cairo',system-ui,sans-serif;
  font-size:16px;
  font-weight:700;
}
.huna-properties-section .huna-property-card__link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  margin-top:auto;
  border:1px solid var(--accent,#c8a875);
  border-radius:10px;
  background:transparent;
  color:var(--text,#171717);
  text-decoration:none;
  font-weight:700;
  transition:background-color .18s ease,color .18s ease;
}
.huna-properties-section .huna-property-card__link:hover,
.huna-properties-section .huna-property-card__link:focus-visible{
  background:var(--accent,#c8a875);
  color:#171717;
}
.huna-properties-section .huna-property-card__link:focus-visible{
  outline:2px solid var(--accent,#c8a875);
  outline-offset:2px;
}
.huna-properties-section .huna-properties__empty{
  grid-column:1/-1;
  margin:0;
  padding:42px 20px;
  border:1px solid var(--border,rgba(23,23,23,.1));
  border-radius:16px;
  background:var(--card,#fff);
  color:var(--muted,#746f67);
  text-align:center;
  box-shadow:0 12px 34px rgba(23,23,23,.05);
}
.huna-properties-section .huna-properties__footer{
  display:flex;
  justify-content:center;
  margin-top:32px;
}
.huna-properties-section .huna-properties__all{
  display:inline-flex;
  min-height:46px;
  align-items:center;
  justify-content:center;
  padding:10px 24px;
  border:1px solid var(--text,#171717);
  border-radius:10px;
  color:var(--text,#171717);
  text-decoration:none;
  font-weight:700;
  transition:background-color .18s ease,color .18s ease,border-color .18s ease;
}
.huna-properties-section .huna-properties__all:hover,
.huna-properties-section .huna-properties__all:focus-visible{
  background:var(--text,#171717);
  color:var(--surface-soft,#f5f1e8);
}
[data-theme="dark"] .huna-properties-section .huna-property-card,
[data-theme="dark"] .huna-properties-section .huna-properties__empty,
[data-theme="dark"] .huna-properties-section .huna-properties__tab{
  box-shadow:none;
}
[data-theme="dark"] .huna-properties-section .huna-property-card__price{
  color:#c8a875;
}
@media (max-width:850px){
  .huna-properties-section .huna-properties__grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media (max-width:560px){
  .huna-properties-section .huna-properties__tabs{
    flex-wrap:nowrap;
    justify-content:flex-start;
    overflow-x:auto;
    padding:2px 1px 8px;
    scrollbar-width:thin;
  }
  .huna-properties-section .huna-properties__tab{
    flex:0 0 auto;
    min-height:40px;
    padding:7px 16px;
    font-size:13px;
  }
  .huna-properties-section .huna-properties__grid{
    grid-template-columns:1fr;
    gap:18px;
  }
  .huna-properties-section .huna-property-card{
    border-radius:14px;
  }
  .huna-properties-section .huna-properties__footer{
    margin-top:26px;
  }
  .huna-properties-section .huna-properties__all{
    width:100%;
  }
}
