
/* ============================================================
   College Insight — Public CSS  (Improved UI)
   ============================================================ */

:root {
  --indigo: #4F46E5;
  --indigo-dk: #3730A3;
  --violet: #7C3AED;
  --orange: #F97316;
  --green: #10B981;
  --amber: #F59E0B;
  --red: #EF4444;
  --teal: #06B6D4;

  --bg: #F5F7FF;
  --surf: #FFFFFF;
  --surf2: #F0F4FF;
  --bdr: #E0E7FF;
  --bdr2: #C7D2FE;

  --txt: #1E1B4B;
  --muted: #6B7280;
  --muted2: #9CA3AF;

  --grad: linear-gradient(135deg, #1e1b4b 0%, #4F46E5 55%, #7C3AED 100%);
  --grad2: linear-gradient(135deg, #4F46E5, #06B6D4);

  --r: 14px;
  --rs: 10px;
  --shd: 0 1px 4px rgba(79,70,229,.07), 0 6px 20px rgba(79,70,229,.08);
  --shd-lg: 0 4px 24px rgba(79,70,229,.14);
}

[data-dark] {
  --bg: #0D0B1E;
  --surf: #161430;
  --surf2: #1E1B40;
  --bdr: #2D2B55;
  --bdr2: #3D3A6A;
  --txt: #E9E7FF;
  --muted: #A5A0CC;
  --muted2: #6B67A0;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--txt);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
  transition: background .25s, color .25s;
}

a { color: var(--indigo); text-decoration: none; }
a:hover { text-decoration: underline; }

@keyframes fadeUp { from { opacity:0; transform:translateY(18px) } to { opacity:1; transform:translateY(0) } }
@keyframes tick   { 0% { transform:translateX(0) } 100% { transform:translateX(-50%) } }
@keyframes glow   { 0%,100% { box-shadow:0 0 0 0 rgba(79,70,229,.4) } 60% { box-shadow:0 0 0 10px rgba(79,70,229,0) } }
@keyframes spin   { to { transform:rotate(360deg) } }

.au  { animation: fadeUp .45s both }
.au1 { animation: fadeUp .45s .08s both }
.au2 { animation: fadeUp .45s .16s both }

/* ── NAV ── */
.ci-nav {
  position: sticky; top: 0; z-index: 999;
  background: var(--grad);
  box-shadow: 0 4px 24px rgba(30,27,75,.25);
}
.ci-nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1400px; margin: 0 auto;
  padding: 0 1.5rem; height: 64px; gap: .75rem;
}
.ci-brand {
  display: flex; align-items: center; gap: .7rem;
  text-decoration: none; flex-shrink: 0;
}
.ci-brand-icon {
  width: 40px; height: 40px;
  background: rgba(255,255,255,.18);
  border: 1.5px solid rgba(255,255,255,.3);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: .95rem; color: #fff;
  letter-spacing: -.03em;
}
.ci-brand-name { font-size: 1.15rem; font-weight: 800; color: #fff; display: block; line-height: 1.2; letter-spacing: -.02em; }
.ci-brand-sub  { font-size: .57rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.55); display: block; margin-top: 1px; }

.ci-nav-links { display: flex; align-items: center; gap: .15rem; }
.ci-nav-link {
  color: rgba(255,255,255,.78);
  padding: .4rem .82rem;
  border-radius: 8px;
  font-size: .86rem; font-weight: 500;
  transition: all .14s;
  text-decoration: none;
}
.ci-nav-link:hover,
.ci-nav-link.active {
  background: rgba(255,255,255,.18);
  color: #fff;
  text-decoration: none;
}
.ci-dark-toggle {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; cursor: pointer; font-size: .88rem;
  transition: all .14s; margin-left: .35rem;
}
.ci-dark-toggle:hover { background: rgba(255,255,255,.28); }
.ci-hamburger {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 9px; color: #fff;
  padding: .32rem .65rem; cursor: pointer; font-size: 1.05rem;
  display: none;
}

@media(max-width:991px) {
  .ci-hamburger { display: block; }
  .ci-nav-links {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: #1e1b4b;
    flex-direction: column; padding: .75rem 1.25rem;
    gap: .2rem; border-top: 1px solid rgba(255,255,255,.1); z-index: 999;
  }
  .ci-nav-links.open { display: flex; }
  .ci-nav-link { width: 100%; padding: .6rem .9rem; border-radius: 10px; }
  .ci-dark-toggle { align-self: flex-start; margin-top: .25rem; }
}

/* ── TICKER ── */
.ticker-bar {
  background: rgba(0,0,0,.22);
  border-bottom: 1px solid rgba(255,255,255,.06);
  height: 30px;
  display: flex; align-items: center; overflow: hidden;
}
.ticker-label {
  flex-shrink: 0;
  background: var(--orange);
  color: #fff;
  font-size: .62rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .08em;
  padding: 3px 12px;
  white-space: nowrap; align-self: stretch;
  display: flex; align-items: center;
}
.ticker-scroll { flex: 1; overflow: hidden; }
.ticker-track  { display: flex; white-space: nowrap; animation: tick 60s linear infinite; }
.ticker-track:hover { animation-play-state: paused; }
.tick-item { display: inline-flex; align-items: center; gap: .5rem; padding: 0 1.25rem; font-size: .71rem; color: rgba(255,255,255,.85); }
.tick-num  { background: var(--indigo); color: #fff; border-radius: 4px; padding: 0 6px; font-size: .6rem; font-weight: 700; }
.tick-pct  { background: rgba(255,255,255,.14); border-radius: 4px; padding: 0 7px; font-size: .62rem; font-weight: 700; color: #fff; }
.tick-sep  { color: rgba(255,255,255,.2); padding: 0 .5rem; }

/* ── HERO ── */
.hero {
  background: var(--grad);
  padding: 2.75rem 1.5rem 3.5rem;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 80% 60%, rgba(124,58,237,.25) 0%, transparent 70%);
  pointer-events: none;
}
.hero h1 {
  font-size: clamp(1.6rem, 5vw, 2.6rem);
  font-weight: 900; color: #fff;
  text-align: center; letter-spacing: -.03em;
  margin-bottom: .5rem; line-height: 1.2;
}
.hero h1 span { color: var(--orange); }
.hero-sub {
  font-size: .92rem; color: rgba(255,255,255,.72);
  text-align: center; margin-bottom: 2rem;
  max-width: 560px; margin-left: auto; margin-right: auto;
}

.search-card {
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid rgba(255,255,255,.22);
  border-radius: 22px;
  padding: 1.75rem;
  max-width: 860px; margin: 0 auto;
  box-shadow: 0 8px 32px rgba(0,0,0,.18);
}

.pct-row { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.15rem; }
.pct-label { font-size: .8rem; font-weight: 600; color: rgba(255,255,255,.82); white-space: nowrap; flex-shrink: 0; }
.pct-slider { flex: 1; accent-color: var(--orange); height: 6px; cursor: pointer; }
.pct-val-box {
  background: rgba(255,255,255,.15);
  border: 1.5px solid rgba(255,255,255,.3);
  border-radius: 10px; color: #fff;
  font-weight: 800; font-size: 1.1rem;
  width: 78px; text-align: center; padding: .25rem .3rem;
  font-family: inherit;
}
.pct-val-box:focus { outline: none; border-color: var(--orange); }

.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin-bottom: 1rem; }
@media(min-width:600px) { .hero-grid { grid-template-columns: repeat(4, 1fr); } }

.h-sel {
  width: 100%;
  background: rgba(255,255,255,.12);
  border: 1.5px solid rgba(255,255,255,.22);
  border-radius: 11px; color: #fff;
  padding: .6rem .75rem; font-size: .83rem;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .6rem center; padding-right: 1.9rem;
  cursor: pointer; font-family: inherit;
  transition: border-color .14s;
}
.h-sel option { background: #1e1b4b; color: #fff; }
.h-sel:focus  { outline: none; border-color: var(--orange); }

.cat-pills { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.1rem; }
.cat-pill {
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.2);
  border-radius: 20px; padding: .25rem .75rem;
  font-size: .73rem; font-weight: 600;
  color: rgba(255,255,255,.8);
  cursor: pointer; transition: all .14s; white-space: nowrap;
}
.cat-pill:hover, .cat-pill.on { background: var(--orange); border-color: var(--orange); color: #fff; }

.btn-find {
  width: 100%;
  background: linear-gradient(135deg, #4F46E5, #7C3AED);
  border: none; border-radius: 13px;
  padding: .82rem; font-size: .98rem; font-weight: 700;
  color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  transition: all .2s; animation: glow 2.8s ease infinite;
  font-family: inherit; letter-spacing: .01em;
  box-shadow: 0 4px 15px rgba(79,70,229,.4);
}
.btn-find:hover { transform: translateY(-2px); filter: brightness(1.12); }

/* ── LAYOUT ── */
.main-wrap {
  max-width: 1400px; margin: 0 auto;
  padding: 1.5rem 1.5rem;
  display: flex; gap: 1.35rem; align-items: flex-start;
}
.sidebar  { width: 272px; flex-shrink: 0; }
.content  { flex: 1; min-width: 0; }
@media(max-width:991px) {
  .main-wrap { flex-direction: column; }
  .sidebar { width: 100%; display: none; }
  .sidebar.open { display: block; }
}
.mob-filter-btn {
  display: none; width: 100%;
  background: var(--indigo); color: #fff;
  border: none; border-radius: var(--r);
  padding: .72rem 1rem; font-size: .9rem; font-weight: 600;
  cursor: pointer; align-items: center; justify-content: center; gap: .5rem;
  margin-bottom: 1rem; font-family: inherit;
}
@media(max-width:991px) { .mob-filter-btn { display: flex; } }

/* ── CARDS ── */
.card {
  background: var(--surf);
  border: 1px solid var(--bdr);
  border-radius: var(--r);
  padding: 1.1rem 1.25rem;
  box-shadow: var(--shd);
  margin-bottom: 1rem;
  transition: box-shadow .2s;
}
.card:hover { box-shadow: var(--shd-lg); }
.card-ttl {
  font-size: .66rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .09em;
  color: var(--muted); margin-bottom: .8rem;
  display: flex; align-items: center; gap: .4rem;
}
.card-ttl i { color: var(--indigo); }

/* ── CONTROLS ── */
.ci-label {
  font-size: .69rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em;
  color: var(--muted); margin-bottom: .32rem; display: block;
}
.ci-select, .ci-input {
  width: 100%;
  background: var(--surf);
  border: 1.5px solid var(--bdr);
  border-radius: var(--rs);
  color: var(--txt); padding: .5rem .76rem;
  font-size: .84rem; font-family: inherit;
  transition: border-color .14s;
}
.ci-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .6rem center;
  padding-right: 1.9rem; cursor: pointer;
}
.ci-select:focus, .ci-input:focus {
  outline: none;
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(79,70,229,.12);
}
[data-dark] .ci-select,
[data-dark] .ci-input { background-color: var(--surf2); }

.chips { display: flex; flex-wrap: wrap; gap: .35rem; max-height: 80px; overflow-y: auto; scrollbar-width: thin; margin-top: .4rem; }
.chip {
  background: var(--surf2);
  border: 1.5px solid var(--bdr);
  border-radius: 20px; padding: .2rem .65rem;
  font-size: .68rem; font-weight: 500;
  color: var(--muted); cursor: pointer;
  transition: all .13s; white-space: nowrap; user-select: none;
}
.chip:hover { border-color: var(--indigo); color: var(--indigo); }
.chip.on { background: var(--indigo); border-color: var(--indigo); color: #fff; }

.pct-s-row { display: flex; align-items: center; gap: .6rem; }
.pct-s-disp {
  font-size: 1.1rem; font-weight: 800; color: var(--indigo);
  min-width: 54px; text-align: center;
  background: var(--surf2); border: 1.5px solid var(--bdr2);
  border-radius: 9px; padding: .14rem .38rem;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: .4rem;
  border-radius: var(--rs); padding: .52rem 1.1rem;
  font-size: .81rem; font-weight: 600;
  cursor: pointer; border: none;
  transition: all .15s; font-family: inherit;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-blue   { background: var(--indigo); color: #fff; }
.btn-blue:hover { background: var(--indigo-dk); color: #fff; }
.btn-ghost  { background: var(--surf2); color: var(--txt); border: 1.5px solid var(--bdr); }
.btn-ghost:hover { border-color: var(--indigo); color: var(--indigo); }
.btn-green  { background: var(--green); color: #fff; }
.btn-green:hover { filter: brightness(.92); color: #fff; }
.btn-red    { background: var(--red); color: #fff; }
.btn-red:hover { filter: brightness(.92); color: #fff; }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { filter: brightness(.92); color: #fff; }
.btn-full   { width: 100%; justify-content: center; }
.btn-col    { display: flex; flex-direction: column; gap: .4rem; }

/* ── RESULTS ── */
.results-hdr {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .6rem;
  padding: 1rem 1.25rem; border-bottom: 1px solid var(--bdr);
}
.results-title { font-size: .98rem; font-weight: 700; }
.results-sub   { font-size: .76rem; color: var(--muted); }

.empty { text-align: center; padding: 3.5rem 1rem; color: var(--muted); }
.empty-icon { font-size: 3rem; opacity: .18; margin-bottom: .85rem; }
.empty h5 { font-size: 1rem; font-weight: 700; margin-bottom: .35rem; color: var(--txt); }
.empty p  { font-size: .84rem; }

.spinner { width: 28px; height: 28px; border: 3px solid var(--bdr); border-top-color: var(--indigo); border-radius: 50%; animation: spin .7s linear infinite; margin: 2.5rem auto; display: none; }
.spinner.show { display: block; }

/* ── TABLE ── */
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; padding: .75rem 1.25rem 1.25rem; }
.tbl-res { font-size: .8rem; width: 100%; border-collapse: separate; border-spacing: 0; }
.tbl-res th {
  background: var(--surf2); color: var(--muted);
  font-size: .65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  border-bottom: 2px solid var(--bdr);
  padding: 10px 12px; white-space: nowrap;
}
.tbl-res td { padding: 9px 12px; vertical-align: middle; border-bottom: 1px solid var(--bdr); }
.tbl-res tr:hover td { background: rgba(79,70,229,.04); }
.tbl-res tr:last-child td { border-bottom: none; }

.cn { font-weight: 600; color: var(--txt); line-height: 1.35; }
.cs { font-size: .68rem; color: var(--muted); margin-top: 2px; }
.maps-link { font-size: .67rem; color: var(--teal); display: inline-flex; align-items: center; gap: 2px; margin-top: 2px; }
.maps-link:hover { text-decoration: underline; color: var(--teal); }

.bp { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 20px; font-size: .71rem; font-weight: 700; }
.g { background: #D1FAE5; color: #065F46; }
.m { background: #FEF3C7; color: #92400E; }
.l { background: #FEE2E2; color: #991B1B; }
[data-dark] .g { background: #022C22; color: #6EE7B7; }
[data-dark] .m { background: #451A03; color: #FCD34D; }
[data-dark] .l { background: #450A0A; color: #FCA5A5; }

.pbar  { height: 3px; border-radius: 2px; background: var(--bdr); margin-top: 3px; }
.pbf   { height: 100%; border-radius: 2px; }
.cpill { background: rgba(79,70,229,.1); color: var(--indigo); border-radius: 5px; padding: 2px 7px; font-size: .67rem; font-weight: 700; display: inline-block; }

/* ── QSTATS ── */
.qstats { display: grid; grid-template-columns: repeat(3,1fr); gap: .7rem; margin-bottom: 1.1rem; }
@media(min-width:540px) { .qstats { grid-template-columns: repeat(5,1fr); } }
.qsc { background: var(--surf); border: 1px solid var(--bdr); border-radius: var(--r); padding: .85rem; text-align: center; box-shadow: var(--shd); }
.qsc-v { font-size: 1.55rem; font-weight: 800; color: var(--indigo); }
.qsc-l { font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin-top: 3px; }

/* ── COLLEGE CARD ── */
.col-card {
  background: var(--surf); border: 1px solid var(--bdr);
  border-radius: var(--r); padding: 1.2rem;
  box-shadow: var(--shd); margin-bottom: 1rem;
  transition: all .18s;
}
.col-card:hover { box-shadow: var(--shd-lg); transform: translateY(-2px); border-color: var(--bdr2); }
.col-card-name { font-size: .97rem; font-weight: 700; color: var(--txt); margin-bottom: .28rem; line-height: 1.35; }
.col-card-name a { color: inherit; }
.col-card-name a:hover { color: var(--indigo); text-decoration: none; }
.col-card-meta { font-size: .74rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: .55rem; align-items: center; }
.col-card-meta i { color: var(--indigo); width: 14px; }
.col-cat-row { display: flex; flex-wrap: wrap; gap: .38rem; margin-top: .72rem; }
.cc-badge { background: var(--surf2); border: 1px solid var(--bdr); border-radius: 7px; padding: 2px 9px; font-size: .68rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.col-card-actions { display: flex; gap: .48rem; margin-top: .9rem; flex-wrap: wrap; }

/* ── PAGINATION ── */
.pagination { display: flex; gap: .35rem; flex-wrap: wrap; margin: 1.1rem 0; }
.page-btn {
  background: var(--surf); border: 1.5px solid var(--bdr);
  border-radius: 9px; padding: .32rem .75rem;
  font-size: .79rem; font-weight: 500;
  color: var(--txt); cursor: pointer;
  transition: all .14s; text-decoration: none;
  display: inline-flex; align-items: center;
}
.page-btn:hover,
.page-btn.active { background: var(--indigo); border-color: var(--indigo); color: #fff; text-decoration: none; }

/* ── BLOG ── */
.blog-card {
  background: var(--surf); border: 1px solid var(--bdr);
  border-radius: var(--r); overflow: hidden;
  box-shadow: var(--shd); transition: all .18s; height: 100%;
}
.blog-card:hover { box-shadow: var(--shd-lg); transform: translateY(-2px); }
.blog-card img { width: 100%; height: 190px; object-fit: cover; }
.blog-card-body { padding: 1.1rem 1.2rem; }
.blog-card-cat { font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; color: var(--indigo); margin-bottom: .42rem; }
.blog-card-title { font-size: .95rem; font-weight: 700; line-height: 1.42; margin-bottom: .5rem; }
.blog-card-title a { color: var(--txt); }
.blog-card-title a:hover { color: var(--indigo); text-decoration: none; }
.blog-card-excerpt { font-size: .79rem; color: var(--muted); line-height: 1.6; margin-bottom: .78rem; }
.blog-card-date { font-size: .69rem; color: var(--muted2); }

/* ── MODAL ── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(15,10,50,.6);
  z-index: 2000; display: flex; align-items: center; justify-content: center;
  padding: 1rem; opacity: 0; visibility: hidden;
  transition: all .22s; backdrop-filter: blur(6px);
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal-box {
  background: var(--surf); border-radius: 20px;
  width: 100%; max-width: 720px; max-height: 90vh; overflow-y: auto;
  box-shadow: 0 24px 80px rgba(0,0,0,.3);
  transform: scale(.94); transition: transform .24s;
}
.modal-overlay.open .modal-box { transform: scale(1); }
.modal-hdr { padding: 1.15rem 1.4rem; border-bottom: 1px solid var(--bdr); display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.modal-ttl { font-size: .97rem; font-weight: 700; line-height: 1.35; }
.modal-sub-txt { font-size: .76rem; color: var(--muted); margin-top: 4px; }
.modal-close { background: var(--surf2); border: 1.5px solid var(--bdr); border-radius: 9px; width: 32px; height: 32px; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--muted); }
.modal-close:hover { border-color: var(--red); color: var(--red); }
.modal-body { padding: 1.15rem 1.4rem; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: .6rem; margin-bottom: 1rem; }
.cat-item { background: var(--surf2); border: 1px solid var(--bdr); border-radius: 11px; padding: .7rem; text-align: center; }
.cat-item-name { font-size: .63rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin-bottom: .32rem; }
.cat-item-pct  { font-size: 1.12rem; font-weight: 800; }
.cat-item-rank { font-size: .65rem; color: var(--muted2); margin-top: 2px; }
.maps-btn-big  { display: inline-flex; align-items: center; gap: .42rem; background: #4285F4; color: #fff; border-radius: 9px; padding: .48rem .95rem; font-size: .79rem; font-weight: 600; text-decoration: none; }
.maps-btn-big:hover { filter: brightness(1.12); color: #fff; text-decoration: none; }

/* ── STATS STRIP ── */
.stats-strip {
  background: var(--surf);
  border-bottom: 1px solid var(--bdr);
  padding: .85rem 1.5rem;
}
.stats-strip-inner {
  max-width: 1400px; margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center; align-items: center;
}
.stat-item { text-align: center; }
.stat-item-val { font-size: 1.35rem; font-weight: 800; color: var(--indigo); }
.stat-item-lbl { font-size: .62rem; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); }
.stat-divider { color: var(--bdr2); font-size: 1.2rem; }

/* ── FOOTER ── */
footer {
  background: var(--surf); border-top: 1px solid var(--bdr);
  padding: 2.75rem 1.5rem 1.75rem; margin-top: 2.5rem;
}
.footer-inner { max-width: 1400px; margin: 0 auto; }
.footer-brand-name { font-size: 1.12rem; font-weight: 800; color: var(--txt); }
.footer-tagline { font-size: .76rem; color: var(--muted); margin-bottom: 1.1rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1.3rem; margin-bottom: 1rem; }
.footer-links a { font-size: .79rem; color: var(--muted); }
.footer-links a:hover { color: var(--indigo); }
.footer-copy { font-size: .71rem; color: var(--muted2); border-top: 1px solid var(--bdr); padding-top: .85rem; margin-top: .85rem; }

/* ── PRINT / PDF export ── */
@media print {
  .ci-nav, .ticker-bar, .hero, .sidebar, .mob-filter-btn,
  .btn-find, .col-card-actions, footer, .cat-pills,
  .search-card, .modal-overlay, .no-print { display: none !important; }
  body { background: #fff; color: #000; font-size: 12px; }
  .main-wrap { display: block; padding: 0; }
  .content { width: 100%; }
  .card { box-shadow: none; border: 1px solid #ddd; }
  .tbl-res th, .tbl-res td { padding: 6px 8px; }
  .print-header { display: block !important; margin-bottom: 1rem; }
}
.print-header { display: none; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-thumb { background: var(--bdr2); border-radius: 4px; }

@media(max-width:600px) {
  .hero h1 { font-size: 1.5rem; }
  .search-card { padding: 1.1rem; border-radius: 18px; }
  .btn { padding: .48rem .85rem; font-size: .79rem; }
}
