:root{
  --red:#d9152b;
  --red2:#ff4b55;
  --ink:#0e1320;
  --muted:#5b6475;
  --line:#e8ebf2;
  --soft:#f6f7fb;
  --spasa:#37a8a8;
  --shadow: 0 16px 40px rgba(14,19,32,.10);
  --r:18px;
}

html{ scroll-behavior:smooth; }
body{
  background:#fff;
  color:var(--spasa);
}

.navbar{
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(232,235,242,.8);
  transition: all .2s ease;
}
.navbar.shrink{
  background: rgba(255,255,255,.92);
  box-shadow: 0 8px 24px rgba(14,19,32,.06);
}
.brand-mark{
  width:38px;height:38px;border-radius:14px;
  display:grid;place-items:center;
  background: linear-gradient(135deg, var(--spasa), var(--spasa));
  color:#fff;
  box-shadow: 0 14px 30px rgba(217,21,43,.18);
}

/* HERO (white, municipal vibe) */
.hero{
  padding-top: 110px;
  padding-bottom: 40px;
  position:relative;
}
.hero-bg{
  position:absolute; inset:0;
  background:radial-gradient(900px 420px at 15% 0%, rgb(55 168 168), transparent 55%), radial-gradient(900px 420px at 85% 10%, rgb(55 168 168), transparent 55%), linear-gradient(180deg, #ffffff, #ffffff);
  pointer-events:none;
}

.hero-card{
  border-radius: calc(var(--r) + 10px);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
  overflow:hidden;
  position:relative;
}

.ribbon{
  position:absolute;
  right:-140px; top:-140px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background:radial-gradient(circle at 35% 35%, rgba(255, 255, 255, .70), rgba(255, 255, 255, 0) 55%), conic-gradient(from 200deg, rgb(55 168 168), rgb(214 235 234), rgb(55 168 168));
  opacity:.22;
  animation: spin 16s linear infinite;
  pointer-events:none;
}
@keyframes spin{ to{ transform: rotate(360deg); } }

.kicker{
  letter-spacing:.18em;
  text-transform: uppercase;
  font-size:.78rem;
  color: var(--muted);
}
.muted{ color: var(--muted); }

.btn-spasa{
  background: linear-gradient(135deg, var(--spasa), var(--spasa));
  border:none;
  color:#fff;
  font-weight:800;
  box-shadow: 0 12px 28px #37a8a86b;
}
.btn-spasa:hover{ filter: brightness(1.03); transform: translateY(-1px); background:inear-gradient(135deg, var(--red), var(--spasa)) }

.btn-soft{
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-weight:700;
}
.btn-soft:hover{ background: var(--soft); transform: translateY(-1px); }

.chip{
  display:inline-flex; align-items:center; gap:.5rem;
  border: 1px solid var(--line);
  background: var(--soft);
  border-radius: 999px;
  padding: .45rem .75rem;
  color: var(--muted);
  font-weight: 600;
  font-size:.88rem;
}
.chip i{ color: var(--red); }

.section{ padding: 80px 0; }
.soft-panel{
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.cardx{
  background:#fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  height:100%;
  transition: transform .22s ease, box-shadow .22s ease;
}
.cardx:hover{ transform: translateY(-6px); box-shadow: 0 22px 50px rgba(14,19,32,.12); }

.iconbox{
  width:46px;height:46px;border-radius:14px;
  display:grid;place-items:center;
  background: rgb(55 168 168 / 18%);
  border: 1px solid rgb(55 168 168 / 41%);
  color: #37a8a8;
}

.filter-pill{
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  padding: .45rem .85rem;
  font-weight: 800;
  cursor:pointer;
  user-select:none;
  transition: all .18s ease;
}
.filter-pill.active{
  background: linear-gradient(135deg, #37a8a8, #35a8a8);
  border-color: transparent;
  color:#fff;
  box-shadow: 0 12px 26px rgb(55 168 168 / 36%);
}

.avatar{
  width:56px;height:56px;border-radius:18px;
  display:grid;place-items:center;
  background: var(--soft);
  border: 1px solid var(--line);
}

.stat{
  border-radius: var(--r);
  border: 1px solid var(--line);
  background:#fff;
  box-shadow: var(--shadow);
  padding: 18px;
  height:100%;
}
.stat .num{
  font-size: 1.9rem;
  font-weight: 900;
  letter-spacing: .3px;
}

.timeline{ position:relative; padding-left: 22px; }
.timeline::before{
  content:"";
  position:absolute; left:2px; top:6px; bottom:6px;
  width:2px; background: var(--line);
}
.t-item{
  position:relative;
  margin-bottom: 12px;
  padding: 14px 14px 14px 18px;
  border: 1px solid var(--line);
  background:#fff;
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(14,19,32,.06);
}
.t-item::before{
  content:"";
  position:absolute; left:-25px; top: 20px;
  width: 12px; height: 12px; border-radius: 50%;
  background: linear-gradient(135deg, #37a8a8, #37a8a8);
  box-shadow: 0 0 0 6px rgb(55 168 168 / 18%);
}

.reveal{
  opacity:0;
  transform: translateY(14px);
  transition: opacity .55s ease, transform .55s ease;
  will-change: opacity, transform;
}
.reveal.show{ opacity:1; transform: translateY(0); }

footer{
  border-top: 1px solid var(--line);
  background:#fff;
}
.hero .container {
  max-width: 1520px;
}

.news-img img {
  width: 100%;
}


@media (max-width:640px) {
  .bi.bi-activity {
    display: none;
  }
  .navbar {
    top:40px;
  }
  .navbar-brand {
    width: 80px;
  }
}