:root{
  --home-ink:#0e2330;
  --home-gold:#dcb734;
  --home-muted:#6b7a86;
  --home-card:#ffffff;
  --home-bg:#f5f7fb;
  --home-line:#e9ecef;
  --home-shadow:0 18px 50px rgba(0,59,115,.08);
  --home-shadow-sm:0 10px 24px rgba(0,59,115,.07);
}

body{
  font-family:var(--app-font-family,"Cairo",var(--app-font-sans,system-ui,sans-serif));
  margin:0 !important;
  color:var(--home-ink);
}

body.scope-public.page-index .container{
  width:min(100% - 32px, 1180px);
  max-width:1180px;
  padding-inline:0;
}

a{text-decoration:none}
a:hover{text-decoration:none}

.topbar{
  background:#0d2431;
  color:#dbe4ea;
  font-size:.84rem;
}
.topbar .container{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:.75rem;
  min-height:34px;
}
.topbar .soc{display:flex; gap:.35rem; align-items:center}
.topbar .soc a{
  width:28px; height:28px; border-radius:50%;
  display:inline-flex; align-items:center; justify-content:center;
  background:rgba(255,255,255,.08); color:#fff;
  transition:.2s ease;
}
.topbar .soc a:hover{background:var(--home-gold); color:#10202d; transform:translateY(-1px)}

.header{
  position:sticky; top:0; z-index:1030;
  backdrop-filter:blur(12px);
  background:rgba(255,255,255,.9);
  border-bottom:1px solid rgba(14,35,48,.06);
  transition:transform .25s ease, box-shadow .25s ease;
}
.header .nav{
  display:flex; align-items:center; justify-content:space-between;
  gap:.75rem;
  min-height:62px;
  width:min(100% - 32px, 1180px);
  max-width:1180px;
  padding-block:.35rem;
}
.brand{display:flex; align-items:center; gap:10px; color:var(--home-ink); min-width:0}
.brand img{height:42px; width:auto; object-fit:contain}
.brand b{font-size:1rem; font-weight:800}

.menu-btn{
  display:none;
  border:1px solid rgba(14,35,48,.12);
  background:#fff;
  color:var(--home-ink);
  border-radius:12px;
  padding:.5rem .75rem;
  font-weight:700;
  box-shadow:var(--home-shadow-sm);
}

.navlinks{display:flex; align-items:center; gap:.15rem; flex-wrap:wrap}
.navlinks a{
  color:var(--home-ink);
  font-weight:700;
  padding:.52rem .68rem;
  border-radius:999px;
  font-size:.9rem;
  transition:.18s ease;
}
.navlinks a:hover{background:rgba(14,35,48,.06); color:#0b4566}
.navlinks .cta-golden{padding:.56rem .85rem;box-shadow:0 10px 20px rgba(220,183,52,.24)}

.hero{
  isolation:isolate;
}
.hero::before{
  content:"";
  position:absolute;
  inset:14px;
  border:1px solid rgba(255,255,255,.22);
  border-radius:18px;
  z-index:1;
  pointer-events:none;
}
.hero-brand-mark{
  display:inline-flex;
  align-items:center;
  gap:.65rem;
  margin-bottom:1rem;
  padding:.45rem .75rem;
  border-radius:999px;
  background:rgba(255,255,255,.92);
  color:var(--home-ink);
  box-shadow:0 12px 24px rgba(0,0,0,.12);
}
.hero-brand-mark img{
  width:36px;
  height:36px;
  object-fit:contain;
}
.hero-brand-mark span{
  font-weight:800;
  font-size:.9rem;
}
.hero .inner p{
  margin:0 auto 1.1rem;
  max-width:680px;
  line-height:1.9;
  color:rgba(255,255,255,.92);
}
.hero-actions{
  display:flex;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
  gap:.7rem;
}
.cta-outline{
  color:#fff !important;
  border:1px solid rgba(255,255,255,.45);
  background:rgba(255,255,255,.12);
  border-radius:999px;
  padding:10px 18px;
  font-weight:800;
}

.tiles{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:12px;
  margin:18px auto 0;
}
.tile{
  background:#fff;
  color:var(--home-ink);
  border:1px solid rgba(14,35,48,.06);
  border-radius:14px;
  padding:16px 14px;
  box-shadow:var(--home-shadow-sm);
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.tile:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 40px rgba(0,59,115,.12);
  border-color:rgba(220,183,52,.35);
}
.tile .ico{
  width:46px; height:46px; border-radius:14px;
  display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg, rgba(220,183,52,.17), rgba(0,59,115,.08));
  font-size:1.35rem; margin-bottom:10px;
}
.tile b{display:block; font-size:1.03rem; margin-bottom:4px}
.tile small{color:var(--home-muted); line-height:1.8}

.split{
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);
  gap:16px;
  margin:26px auto;
}
.exemplary{display:grid; grid-template-columns:260px 1fr; gap:16px; align-items:stretch}
.exemplary .img{
  min-height:250px; border-radius:18px; background-size:cover; background-position:center;
  box-shadow:var(--home-shadow-sm);
}
.about .lead, .exemplary .lead{color:#50616d; line-height:2}
.badge-mini{
  display:inline-flex; align-items:center; justify-content:center;
  padding:.5rem .8rem; border-radius:999px;
  background:#f3f6f9; color:var(--home-ink); font-weight:700;
  border:1px solid rgba(14,35,48,.08);
}

.stats{margin:28px auto}
.stats .grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
  margin-bottom:14px;
}
.stats .grid > .col-md-3{min-width:0}
.bar{display:grid; gap:.7rem; margin-top:12px}
.meter{
  height:11px; border-radius:999px; background:#edf2f7; overflow:hidden;
}
.meter i{
  display:block; height:100%; border-radius:999px;
  background:linear-gradient(90deg,#0e2330 0%, #0a5c31 55%, #dcb734 100%);
}

.newsletter{
  display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr); gap:18px;
  align-items:start;
}
.newsletter form{display:flex; gap:10px; flex-wrap:wrap}
.newsletter input[type="email"]{
  flex:1 1 260px;
  border:1px solid #d9e2e8; border-radius:14px; padding:.95rem 1rem;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.02);
}
.newsletter button{
  border:0; border-radius:14px; padding:.95rem 1.1rem;
  background:#0e2330; color:#fff; font-weight:800;
}

footer{
  background:#0f1f2b;
  color:#fff;
  margin-top:28px;
}
footer .cols{
  display:grid;
  grid-template-columns:1.2fr .8fr .8fr;
  gap:24px;
  padding:24px 0;
}
footer h4{margin:0 0 12px; font-size:1.05rem}
footer a{color:#dfeaf1}
footer a:hover{color:#fff}
.footbar{
  border-top:1px solid rgba(255,255,255,.1);
  text-align:center; color:#c7d4de; padding:14px 12px;
}

@media (max-width:1199px){
  .tiles{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:991.98px){
  .menu-btn{display:inline-flex; align-items:center; justify-content:center}
  .header .nav{min-height:58px}
  .navlinks{
    position:absolute; inset-inline:16px; top:calc(100% + 8px);
    display:none; flex-direction:column; align-items:stretch;
    background:#fff; border:1px solid rgba(14,35,48,.08);
    border-radius:20px; padding:10px; box-shadow:0 22px 60px rgba(0,0,0,.12);
  }
  .navlinks.show{display:flex}
  .navlinks a{padding:.95rem 1rem; border-radius:14px}
  .tiles{grid-template-columns:repeat(2,minmax(0,1fr))}
  .split, .newsletter, footer .cols{grid-template-columns:1fr}
  .stats .grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .exemplary{grid-template-columns:1fr}
}
@media (max-width:575.98px){
  body.scope-public.page-index .container{width:min(100% - 20px, 1180px)}
  .topbar .container{flex-direction:column; justify-content:center; padding:.35rem 0}
  .brand img{height:38px}
  .brand b{font-size:.92rem}
  .brand-copy small{display:none}
  .hero-brand-mark{max-width:100%;border-radius:14px}
  .tiles, .stats .grid{grid-template-columns:1fr}
  .newsletter form{flex-direction:column}
}
