/* =====================================================================
   v46 — Bandhigga dadweynaha: naqshad cusub (buluug + caddaan)
   Waxay ka dambeysaa public.css (override). Qaab-dhismeedka JS (filter, lightbox, reveal) lama taabanayo.
   ===================================================================== */
body.pub-v46 { background: #f4f8ff; color: #0f2150; }
.pub-v46 .btn { border-radius: 12px; }
.pub-v46 .btn-primary { --bs-btn-bg: #1d6ef0; --bs-btn-border-color: #1d6ef0; --bs-btn-hover-bg: #1350c4; --bs-btn-hover-border-color: #1350c4; box-shadow: 0 8px 18px rgba(29, 110, 240, .28); }
.pub-v46 .btn-outline-primary { --bs-btn-color: #1d6ef0; --bs-btn-border-color: #1d6ef0; --bs-btn-hover-bg: #1d6ef0; --bs-btn-hover-border-color: #1d6ef0; }

/* ---------- nav ---------- */
.pub-v46 .pub-nav, .pub-v46 .pub-nav.solid { background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); box-shadow: 0 6px 22px rgba(14, 42, 104, .08); padding: .55rem 0; }
.pub-v46 .pub-nav.solid { box-shadow: 0 8px 28px rgba(14, 42, 104, .14); }
.pub-v46 .pub-brand { color: #0f2150; gap: .65rem; }
.pub-v46 .pub-brand:hover { color: #0f2150; }
.pub-v46 .pub-brand .site-logo { height: 46px !important; border-radius: 12px; }
.pub-v46 .pb-text { display: flex; flex-direction: column; line-height: 1.05; }
.pub-v46 .pb-text b { font-size: 1.45rem; font-weight: 900; color: #0f2150; }
.pub-v46 .pb-text small { font-size: .72rem; font-weight: 600; color: #5b6f99; letter-spacing: .3px; }
.pub-v46 .pub-links { align-items: center; gap: .2rem; margin-left: 1.2rem; }
.pub-v46 .pub-link { color: #23365f; font-weight: 700; padding: .45rem .9rem; border-radius: 999px; }
.pub-v46 .pub-link:hover { background: #edf4ff; color: #1d6ef0; }
.pub-v46 .pub-link.on { background: #1d6ef0; color: #fff; box-shadow: 0 6px 14px rgba(29, 110, 240, .3); }
.pub-icon { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #e2e9f5; background: #fff; color: #0f2150; display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.pub-icon:hover { color: #1d6ef0; background: #f1f6ff; }
.pub-v46 .pub-login { font-weight: 700; }
.pub-menu { display: flex; flex-direction: column; padding: .6rem 0 .9rem; }
.pub-menu a { padding: .6rem .3rem; font-weight: 700; color: #23365f; border-bottom: 1px solid #eef2f9; }
.pub-footer .pub-brand, .pub-footer .pb-text b { color: #fff; }
.pub-footer .pb-text small { color: #a9c1f2; }

/* ---------- hero ---------- */
.pub-hero.v46 { color: #0f2150; padding: 7.2rem 0 2.2rem; overflow: visible;
    background: radial-gradient(900px 420px at 85% 10%, rgba(59, 139, 255, .18), transparent 60%), radial-gradient(700px 360px at 0% 100%, rgba(29, 110, 240, .10), transparent 60%), linear-gradient(180deg, #ffffff 0%, #f1f6ff 100%); }
.pub-hero.v46 .hero-tag { background: #e8f1ff; border: 1px solid #d3e3fd; color: #1d4fb8; }
.pub-hero.v46 .hero-tag i { color: #1d6ef0; }
.pub-hero.v46 h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); font-weight: 900; color: #0f2150; letter-spacing: -1px; line-height: 1.04; }
.pub-hero.v46 h1 .hl { color: #1d6ef0; }
.pub-hero.v46 .lead { color: #44557c; font-size: 1.12rem; max-width: 520px; }
.hero-cta { font-weight: 800; }
.hero-cta2 { font-weight: 800; background: #fff; border: 1px solid #e2e9f5; color: #0f2150; box-shadow: 0 8px 18px rgba(14, 42, 104, .08); }
.hero-cta2 .play { display: inline-flex; width: 28px; height: 28px; border-radius: 50%; background: #1d6ef0; color: #fff; align-items: center; justify-content: center; margin-right: .2rem; font-size: 1rem; }
.hero-visual { position: relative; height: 430px; border-radius: 30px; overflow: hidden; box-shadow: 0 30px 60px rgba(14, 42, 104, .22); background: linear-gradient(135deg, #b9d3ff, #2f86ff); }
.hero-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity 1.2s ease, transform 6s ease; }
.hero-slides img.on { opacity: 1; transform: scale(1.12); }
.hero-empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, .8); font-size: 6rem; }
.hero-badge { position: absolute; right: 1.2rem; bottom: 1.2rem; z-index: 2; width: 210px; background: rgba(255, 255, 255, .93); backdrop-filter: blur(8px); border-radius: 22px;
    padding: 1rem 1.1rem; box-shadow: 0 16px 36px rgba(6, 24, 64, .25); color: #0f2150; text-align: center; }
.hero-badge .site-logo { height: 44px !important; border-radius: 12px; margin: 0 auto .3rem; display: block; }
.hero-badge b { display: block; font-size: 1.5rem; font-weight: 900; line-height: 1; }
.hero-badge small { display: block; color: #5b6f99; font-weight: 600; font-size: .74rem; margin-bottom: .5rem; }
.hero-badge ul { list-style: none; padding: 0; margin: 0; text-align: left; display: inline-flex; flex-direction: column; gap: .25rem; }
.hero-badge li { font-weight: 700; font-size: .9rem; }
.hero-badge li i { color: #16a34a; margin-right: .3rem; }
.hero-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 2.2rem; }
.hk { display: flex; align-items: center; gap: .9rem; background: #fff; border: 1px solid #e2e9f5; border-radius: 20px; padding: 1rem 1.1rem; box-shadow: 0 12px 28px rgba(14, 42, 104, .08); }
.hk b { display: block; font-size: 1.7rem; font-weight: 900; line-height: 1; color: #0f2150; font-variant-numeric: tabular-nums; }
.hk small { display: block; color: #5b6f99; font-weight: 700; font-size: .85rem; margin-top: .2rem; }
.hk-ic { width: 54px; height: 54px; flex-shrink: 0; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.hk-blue { background: #e3eeff; color: #1d6ef0; } .hk-green { background: #ddf5e7; color: #16a34a; }
.hk-purple { background: #ece2ff; color: #7c3aed; } .hk-orange { background: linear-gradient(135deg, #ffb347, #f7861c); color: #fff; }
@media (max-width: 991.98px) {
    .pub-hero.v46 { padding-top: 6.2rem; }
    .hero-visual { height: 300px; }
    .hero-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
    .hero-visual { height: 240px; border-radius: 22px; }
    .hero-badge { width: auto; left: auto; right: .7rem; bottom: .7rem; padding: .6rem .8rem; }
    .hero-badge ul, .hero-badge small { display: none; }
    .hero-badge b { font-size: 1.1rem; }
    .hero-badge .site-logo { height: 30px !important; }
    .hk { padding: .75rem; gap: .6rem; } .hk-ic { width: 42px; height: 42px; font-size: 1.15rem; border-radius: 13px; } .hk b { font-size: 1.3rem; }
}

/* ---------- toolbar / sections ---------- */
.pub-v46 .pub-toolbar { top: 62px; background: rgba(244, 248, 255, .92); scroll-margin-top: 70px; }
.pub-v46 .search-box input { border-color: #dbe5f6; padding-top: .75rem; padding-bottom: .75rem; box-shadow: 0 6px 16px rgba(14, 42, 104, .05); }
.pub-v46 .chip.active { background: #1d6ef0; border-color: #1d6ef0; }
.pub-v46 .section-head h2 { color: #0f2150; font-weight: 900; }
.pub-v46 .section-head h2::after { content: ""; display: block; width: 56px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, #1d6ef0, #6aa8ff); margin-top: .5rem; }
.pub-v46 .pub-section { scroll-margin-top: 140px; }

/* ---------- kaararka guryaha / kirada ---------- */
.pub-v46 .pub-house { border-radius: 22px; border: 1px solid #e2e9f5; box-shadow: 0 12px 28px rgba(14, 42, 104, .07); display: flex; flex-direction: column; }
.pub-v46 .pub-house .ph { height: 215px; }
.pub-v46 .ph-badge { top: .8rem; left: .8rem; right: auto; font-size: .76rem; font-weight: 800; }
.pub-v46 .ph-badge.ok { background: #16a34a; color: #fff; }
.pub-v46 .ph-badge.full { background: rgba(15, 33, 80, .78); color: #fff; }
.pub-v46 .ph-badge.vid { left: auto; right: .8rem; background: rgba(15, 33, 80, .78); color: #fff; }
.card-body-v46 { padding: 1rem 1.1rem 1.1rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.card-body-v46 h3 { font-size: 1.12rem; font-weight: 900; color: #0f2150; margin: 0; }
.card-body-v46 .loc { color: #5b6f99; font-size: .86rem; }
.card-body-v46 .loc i { color: #1d6ef0; }
.card-body-v46 .kiro-specs { display: flex; flex-wrap: wrap; gap: .35rem .9rem; color: #44557c; font-size: .82rem; font-weight: 600; margin-top: .15rem; }
.card-body-v46 .kiro-specs i { color: #6a83b8; }
.price-row { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-top: auto; padding-top: .7rem; }
.price-row .price { font-size: 1.4rem; font-weight: 900; color: #1d6ef0; }
.price-row .price small { font-size: .78rem; color: #5b6f99; font-weight: 700; }
.pub-v46 .price-row .go { background: #1d6ef0; color: #fff; border-radius: 12px; padding: .45rem .85rem; font-size: .84rem; box-shadow: 0 6px 14px rgba(29, 110, 240, .28); }
.pub-v46 .pub-house:hover .price-row .go { background: #1350c4; }
.pub-v46 .pub-apt { border-radius: 18px; border: 1px solid #e2e9f5; box-shadow: 0 10px 22px rgba(14, 42, 104, .06); }
.pub-v46 .pub-apt .status.ok { background: #16a34a; }
.pub-v46 .pub-apt .name { color: #0f2150; }

/* ---------- footer ---------- */
.pub-v46 .pub-footer { background: linear-gradient(135deg, #061840 0%, #0a2766 55%, #103a94 100%); }
.pub-v46 .pub-footer .site-logo { height: 46px !important; border-radius: 12px; }

/* luqadda (SO / EN) */
.lang-switch { display: inline-flex; background: #eef3fb; border: 1px solid #e2e9f5; border-radius: 999px; padding: 3px; }
.lang-switch a { padding: .25rem .6rem; border-radius: 999px; font-size: .75rem; font-weight: 800; color: #5b6f99; text-decoration: none; letter-spacing: .5px; }
.lang-switch a.on { background: #1d6ef0; color: #fff; box-shadow: 0 4px 10px rgba(29, 110, 240, .35); }
