/* =============================================================
   Addis Ababa Tax Appeal Commission — modern public theme
   ============================================================= */

:root {
  --navy-900: #0c2442;
  --navy-800: #12335c;
  --navy-700: #1a3f6e;
  --navy-100: #e6eefb;
  --gold: #e8a33d;
  --gold-dark: #c98620;
  --ink: #16283f;
  --body: #44536b;
  --light: #f4f7fb;
  --line: #e3e9f2;
  --white: #ffffff;
  --radius: 14px;
  --shadow-sm: 0 2px 8px rgba(18, 51, 92, .07);
  --shadow-md: 0 10px 30px rgba(18, 51, 92, .12);
  --shadow-lg: 0 24px 60px rgba(18, 51, 92, .18);
  --font: "Noto Sans Ethiopic", "Noto Sans", "Segoe UI", Tahoma, system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy-700); text-decoration: none; }
a:hover { color: var(--navy-900); }
h1, h2, h3, h4, h5 { color: var(--ink); line-height: 1.3; font-weight: 700; }
.container { width: min(1200px, 92%); margin-inline: auto; }
.section { padding: 84px 0; }
.section-alt { background: var(--light); }

/* ------------------------------ Topbar ------------------------------ */
.topbar {
  background: linear-gradient(90deg, var(--navy-900), var(--navy-800));
  color: #cbd8ee;
  font-size: .85rem;
  padding: 8px 0;
  transition: transform .3s ease, opacity .3s ease;
}
body.scrolled .topbar { transform: translateY(-100%); opacity: 0; }
.topbar .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.topbar a { color: #eef4ff; }
.topbar .tb-item { display: inline-flex; align-items: center; gap: 6px; margin-right: 22px; }
.topbar .tb-item i { color: var(--gold); }
.topbar .tb-right a { margin-left: 18px; }

/* ------------------------------ Header ------------------------------ */
.site-header {
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  position: sticky; top: 0; z-index: 900;
  border-bottom: 1px solid rgba(18, 51, 92, .08);
  transition: box-shadow .3s ease, border-color .3s ease, background .3s ease;
}
body.scrolled .site-header {
  box-shadow: 0 10px 30px -12px rgba(12, 36, 66, .35);
  border-bottom-color: rgba(18, 51, 92, .14);
  background: rgba(255, 255, 255, .96);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 76px; gap: 16px;
  transition: min-height .3s ease;
}
body.scrolled .site-header .container { min-height: 64px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand-logo {
  width: 46px; height: 46px; border-radius: 13px;
  object-fit: cover;
  background: #fff;
  padding: 3px;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--gold), 0 3px 10px rgba(12, 36, 66, .25);
  transition: width .3s ease, height .3s ease, border-radius .3s ease;
}
body.scrolled .brand-logo { width: 40px; height: 40px; border-radius: 11px; }
.brand-text { line-height: 1.15; }
.brand-text strong { font-size: 1.04rem; color: var(--navy-900); display: block; font-weight: 700; }
.brand-text span {
  font-size: .68rem; color: var(--gold-dark); text-transform: uppercase;
  letter-spacing: .1em; font-weight: 600;
}

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.main-nav a {
  position: relative;
  display: block; padding: 10px 14px;
  font-size: .95rem; font-weight: 600; color: var(--body);
  border-radius: 10px; text-decoration: none;
}
.main-nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.main-nav a:hover { color: var(--navy-800); background: rgba(18, 51, 92, .06); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: var(--navy-800); background: rgba(18, 51, 92, .06); }
.nav-cta {
  background: var(--navy-800); color: #fff !important;
  border-radius: 10px; margin-left: 8px;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--navy-900); }
.nav-cta i { color: var(--gold); margin-right: 6px; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; border-radius: 11px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle:hover { background: rgba(18, 51, 92, .06); }
.nav-toggle .bar {
  display: block; width: 22px; height: 2px; border-radius: 2px;
  background: var(--navy-800); transition: transform .3s ease, opacity .3s ease;
}
.nav-toggle.open .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open .bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1000px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white);
    box-shadow: var(--shadow-md);
    display: none; padding: 12px 16px;
    border-top: 1px solid var(--line);
    max-height: calc(100vh - 90px); overflow: auto;
  }
  .main-nav.open { display: block; animation: navDrop .22s ease; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav a { padding: 13px 12px; }
  .main-nav a::after { display: none; }
  .nav-cta { margin-left: 0; margin-top: 6px; text-align: center; }
}
@keyframes navDrop {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ------------------------------ Hero ------------------------------ */
.hero { position: relative; min-height: 620px; overflow: hidden; background: var(--navy-800); }
.hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, rgba(12,36,66,.94) 0%, rgba(18,51,92,.78) 45%, rgba(18,51,92,.35) 100%); }
.hero-inner { position: relative; z-index: 2; min-height: 620px; display: flex; align-items: center; }
.hero-content { max-width: 640px; color: #fff; padding: 60px 0; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(232,163,61,.16); color: var(--gold);
  border: 1px solid rgba(232,163,61,.4);
  padding: 6px 14px; border-radius: 100px; font-size: .8rem; letter-spacing: .06em;
  text-transform: uppercase; font-weight: 600; margin-bottom: 18px;
}
.hero-content h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); margin: 0 0 18px; }
.hero-content p { font-size: 1.06rem; color: #d8e3f5; max-width: 560px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; border-radius: 12px; padding: 13px 22px;
  border: 0; cursor: pointer; font-family: inherit; font-size: .95rem;
  transition: transform .15s ease, box-shadow .15s ease, background .15s;
}
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: var(--navy-900); }
.btn-gold:hover { background: var(--gold-dark); color: var(--navy-900); box-shadow: 0 10px 24px rgba(232,163,61,.4); }
.btn-navy { background: var(--navy-800); color: #fff; }
.btn-navy:hover { background: var(--navy-900); color: #fff; }
.btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.55); }
.btn-outline:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }

.hero-dots { position: absolute; bottom: 26px; left: 0; right: 0; z-index: 3; display: flex; justify-content: center; gap: 8px; }
.hero-dots button { width: 30px; height: 5px; border-radius: 4px; border: 0; background: rgba(255,255,255,.35); cursor: pointer; }
.hero-dots button.active { background: var(--gold); }

/* ------------------------------ Section headers ------------------------------ */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-head .kicker {
  color: var(--gold-dark); text-transform: uppercase; letter-spacing: .14em;
  font-size: .78rem; font-weight: 700; margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0 0 12px; }
.section-head p { color: var(--body); margin: 0; }

/* ------------------------------ Cards ------------------------------ */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 992px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- about page: horizontal pillar row ---------- */
.pillars { align-items: stretch; }
.pillar-list { list-style: none; margin: 0; padding: 0; color: var(--body); font-size: .9rem; text-align: center; }
.pillar-list li { margin-bottom: 6px; }
.pillar-list li::before { content: "\2022 "; }
.pillar-more {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 12px;
  font-size: .82rem; font-weight: 700; color: var(--navy-700); text-decoration: none;
}
.pillar-more:hover { text-decoration: underline; }
.pillar-more i { transition: transform .25s ease; }
.pillar-more:hover i { transform: translateX(3px); }
.pillar-sub {
  display: block; margin-top: 8px; font-size: .78rem; font-weight: 600;
  color: var(--body); text-decoration: none; opacity: .85;
}
.pillar-sub:hover { color: var(--navy-700); text-decoration: underline; }

/* Below the single-column breakpoint the row stays horizontal and swipeable
   rather than collapsing into a tall stack. */
@media (max-width: 620px) {
  .pillars {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 4px 16px 16px;
    margin: 0 -16px;
    scrollbar-width: none;
  }
  .pillars::-webkit-scrollbar { display: none; }
  .pillars > .card { flex: 0 0 80%; scroll-snap-align: center; }
  .pillars > .card:last-child { margin-right: 16px; }
}

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-img { aspect-ratio: 3/2; object-fit: cover; width: 100%; background: var(--navy-100); }
.card-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body h3 { font-size: 1.05rem; margin: 0; }
.card-body p { color: var(--body); margin: 0; font-size: .93rem; }
.card-link { margin-top: auto; font-weight: 700; color: var(--gold-dark); font-size: .9rem; display: inline-flex; align-items: center; gap: 6px; }
.card-link:hover { color: var(--navy-800); }

.icon-card { padding: 30px; text-align: center; align-items: center; }
.icon-card .ic { width: 64px; height: 64px; border-radius: 16px; background: var(--navy-100); color: var(--navy-800); display: flex; align-items: center; justify-content: center; font-size: 1.7rem; margin: 0 auto 16px; }
.icon-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.icon-card p { color: var(--body); font-size: .93rem; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 26px; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; text-align: center; box-shadow: var(--shadow-sm);
}
.stat strong { font-size: 1.9rem; color: var(--navy-800); display: block; }
.stat span { color: var(--body); font-size: .85rem; }

/* ------------------------------ Messages / slider ------------------------------ */
.msg-slider { overflow: hidden; }
.msg-card {
  background: #fff; border-radius: var(--radius); border: 1px solid var(--line);
  padding: 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 14px; height: 100%;
}
.msg-card blockquote { margin: 0; color: var(--body); font-size: .98rem; font-style: italic; flex: 1; }
.msg-card .msg-who { display: flex; align-items: center; gap: 12px; }
.msg-card .msg-who img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: var(--navy-100); }
.msg-card .msg-who strong { display: block; font-size: .95rem; }
.msg-card .msg-who span { font-size: .78rem; color: var(--gold-dark); }

/* ------------------------------ FAQ ------------------------------ */
.faq-item { margin-bottom: 12px; }
.faq-q {
  width: 100%; text-align: left; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 18px 22px; font: inherit; font-weight: 700;
  color: var(--navy-800); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-q i { transition: transform .2s; color: var(--gold); }
.faq-item.open .faq-q i { transform: rotate(180deg); }
.faq-a { display: none; padding: 8px 22px 18px; color: var(--body); }

/* ------------------------------ Contact ------------------------------ */
.info-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .info-grid { grid-template-columns: 1fr; } }
.info-box {
  display: flex; gap: 16px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm);
}
.info-box .ic { flex: none; width: 52px; height: 52px; border-radius: 13px; background: var(--navy-100); color: var(--navy-800); display: flex; align-items: center; justify-content: center; font-size: 1.35rem; }
.info-box h4 { margin: 0 0 4px; font-size: 1rem; }
.info-box p { margin: 0; color: var(--body); font-size: .9rem; }

.contact-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 34px; align-items: start; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-md); }
.form-card h3 { margin: 0 0 20px; }
.form-grid { display: grid; gap: 16px; }
.form-grid.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .form-grid.two { grid-template-columns: 1fr; } }
label { font-size: .86rem; font-weight: 600; color: var(--navy-800); margin-bottom: 6px; display: block; }
input, textarea, select {
  width: 100%; border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; font: inherit; color: var(--ink); background: #fbfcfe;
  transition: border-color .15s, box-shadow .15s;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 3px rgba(18,51,92,.12); background: #fff; }
textarea { resize: vertical; min-height: 130px; }
.is-invalid { border-color: #c0392b !important; box-shadow: 0 0 0 3px rgba(192,57,43,.12) !important; }

.alert { border-radius: 12px; padding: 14px 18px; font-size: .95rem; margin-bottom: 18px; }
.alert-success { background: #e9f9ef; color: #1c6b43; border: 1px solid #bfe9cf; }
.alert-danger { background: #fdecec; color: #9c2b2b; border: 1px solid #f5c6c6; }

/* ------------------------------ Case lookup ------------------------------ */
.lookup-hero { background: linear-gradient(120deg, var(--navy-900), var(--navy-700)); padding: 60px 0; color: #fff; }
.lookup-hero h1 { color: #fff; margin-bottom: 10px; }
.lookup-hero p { color: #d6e2f5; margin: 0 0 26px; }
.lookup-box { display: flex; gap: 12px; flex-wrap: wrap; }
.lookup-box input { flex: 1; min-width: 240px; border-radius: 12px; padding: 15px 18px; border: 0; }
.lookup-results { margin-top: 40px; }
.timeline { position: relative; padding-left: 26px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: var(--navy-100); }
.tl-item { position: relative; margin-bottom: 22px; }
.tl-item::before { content: ""; position: absolute; left: -26px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--gold); }
.tl-item .tl-date { font-size: .8rem; font-weight: 700; color: var(--gold-dark); text-transform: uppercase; letter-spacing: .04em; }
.tl-item p { margin: 4px 0 0; color: var(--body); }

/* ------------------------------ Detail page ------------------------------ */
.detail-hero { background: var(--navy-900); padding: 60px 0; color: #fff; }
.detail-hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 900px) { .detail-hero .container { grid-template-columns: 1fr; } }
.detail-hero h1 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 14px; }
.detail-hero p { color: #d6e2f5; white-space: pre-line; }
.detail-hero img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; }

/* ------------------------------ Footer ------------------------------ */
.site-footer { background: var(--navy-900); color: #b9c7de; margin-top: 0; }
.site-footer .container { padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: 1rem; margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #b9c7de; }
.site-footer a:hover { color: var(--gold); }
.site-footer .brand-text strong { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0; text-align: center; font-size: .86rem; }

/* ------------------------------ Misc ------------------------------ */
.pill { display: inline-flex; align-items: center; gap: 7px; background: var(--navy-100); color: var(--navy-800); border-radius: 100px; padding: 5px 13px; font-size: .8rem; font-weight: 600; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.badge { display: inline-block; background: var(--gold); color: var(--navy-900); font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 100px; }

/* =============================================================
   Smart landing page
   ============================================================= */

/* ---------- shrink sticky header ---------- */
.site-header { transition: box-shadow .3s ease, border-color .3s ease, background .3s ease; }
body.scrolled .site-header .container { min-height: 64px; }

/* ---------- announcement ticker ---------- */
.ticker {
  background: var(--white); border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 14px; overflow: hidden;
}
.ticker-label {
  flex: none; display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy-800); color: #fff; font-size: .76rem; font-weight: 700;
  padding: 9px 18px; letter-spacing: .02em;
}
.ticker-label i { color: var(--gold); }
.ticker-track { flex: 1; overflow: hidden; position: relative; height: 40px; }
.ticker-slide {
  display: flex; align-items: center; gap: 48px; white-space: nowrap;
  width: max-content; padding: 0 24px; height: 40px;
  animation: ticker-scroll 45s linear infinite;
}
.ticker:hover .ticker-slide { animation-play-state: paused; }
.ticker-slide a { color: var(--body); font-size: .88rem; display: inline-flex; align-items: center; gap: 8px; }
.ticker-slide a i { color: var(--gold-dark); }
.ticker-slide a:hover { color: var(--navy-800); }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- split hero ---------- */
.hero-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; width: 100%; }
@media (max-width: 940px) { .hero-split { grid-template-columns: 1fr; } }
.hero-content { max-width: none; padding: 70px 0; }
@media (max-width: 940px) { .hero-content { padding-bottom: 20px; } }

.hero-stats { display: flex; gap: 26px; margin-top: 26px; flex-wrap: wrap; }
.hero-stats .hs { display: flex; align-items: center; gap: 9px; color: #cfe0f8; font-size: .82rem; }
.hero-stats .hs strong { color: var(--gold); font-size: 1.1rem; display: block; line-height: 1.1; }

/* lookup card */
.lookup-card {
  background: rgba(255,255,255,.98); border-radius: 20px; padding: clamp(20px, 3vw, 30px);
  box-shadow: 0 30px 70px rgba(5,20,40,.45); position: relative;
}
.lookup-card .lk-eyebrow { display: inline-flex; gap: 8px; align-items: center; color: var(--gold-dark); font-weight: 700; font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; }
.lookup-card h2 { font-size: 1.3rem; margin: 8px 0 4px; }
.lookup-card .lk-sub { color: var(--body); font-size: .9rem; margin: 0 0 18px; }

.lk-tabs { display: flex; gap: 8px; background: var(--light); border: 1px solid var(--line); border-radius: 12px; padding: 5px; margin-bottom: 14px; }
.lk-tab { flex: 1; border: 0; background: transparent; border-radius: 9px; padding: 9px 8px; font: inherit; font-weight: 700; font-size: .82rem; color: var(--body); cursor: pointer; transition: .15s; }
.lk-tab.active { background: var(--navy-800); color: #fff; box-shadow: 0 4px 12px rgba(18,51,92,.28); }

.lk-form { display: flex; gap: 10px; }
.lk-form input { flex: 1; min-width: 0; border-radius: 11px; padding: 13px 15px; }
.lk-hint { margin: 9px 0 0; font-size: .74rem; color: var(--body); }

.lk-results { margin-top: 16px; }
.lk-row {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; background: #fff;
}
.lk-row .lk-ic { flex: none; width: 40px; height: 40px; border-radius: 11px; background: var(--navy-100); color: var(--navy-800); display: flex; align-items: center; justify-content: center; }
.lk-row b { display: block; font-size: .9rem; color: var(--navy-800); }
.lk-row span { font-size: .8rem; color: var(--body); }
.lk-status { margin-left: auto; flex: none; }
.lk-full { display: block; margin-top: 10px; font-size: .82rem; color: var(--navy-700); font-weight: 700; }
.lk-empty { color: var(--body); font-size: .9rem; }
.lk-err { color: #c0392b; font-size: .85rem; }
.lk-loading { color: var(--body); font-size: .85rem; display: flex; align-items: center; gap: 8px; }
.spinner { width: 15px; height: 15px; border: 2px solid var(--navy-100); border-top-color: var(--gold); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- services tiles ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 992px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services-grid { grid-template-columns: 1fr; } }
.svc-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 8px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #c9d8ee; }
.svc-card .svc-ic { width: 54px; height: 54px; border-radius: 14px; background: var(--navy-900); color: var(--gold); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 6px; }
.svc-card h3 { font-size: 1.02rem; margin: 0; }
.svc-card p { color: var(--body); font-size: .88rem; margin: 0; }
.svc-card .svc-link { margin-top: 6px; font-weight: 700; font-size: .88rem; color: var(--gold-dark); display: inline-flex; align-items: center; gap: 6px; }

/* ---------- count-up stats band ---------- */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 760px) { .stat-band { grid-template-columns: repeat(2, 1fr); } }
.stat-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 18px; text-align: center; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
}
.stat-item::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--gold), transparent); }
.stat-item .si-ic { width: 46px; height: 46px; margin: 0 auto 10px; border-radius: 12px; background: var(--navy-100); color: var(--navy-800); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.stat-item strong { font-size: 2rem; color: var(--navy-900); display: block; line-height: 1.1; }
.stat-item span { color: var(--body); font-size: .84rem; }

/* ---------- steps ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 992px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps-grid { grid-template-columns: 1fr; } }
.step {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 24px; box-shadow: var(--shadow-sm);
}
.step .step-num {
  width: 46px; height: 46px; border-radius: 50%; background: var(--navy-900); color: var(--gold);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.05rem; margin-bottom: 16px;
}
.step h3 { font-size: 1.02rem; margin: 0 0 8px; }
.step p { color: var(--body); font-size: .89rem; margin: 0; }
.step::before {
  content: ""; position: absolute; top: 52px; right: -22px; width: 22px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--gold-dark) 0 6px, transparent 6px 12px);
}
.step:last-child::before { display: none; }
@media (max-width: 992px) { .step::before { display: none; } }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(115deg, var(--navy-900), var(--navy-700));
  border-radius: 22px; color: #fff; padding: clamp(34px, 5vw, 56px);
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.cta-band::before { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(232,163,61,.25), transparent 65%); }
.cta-band h2 { color: #fff; font-size: clamp(1.35rem, 2.6vw, 1.9rem); margin: 0 0 8px; }
.cta-band p { color: #d6e2f5; margin: 0; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.revealed { opacity: 1; transform: none; }

/* ---------- lookup page tweaks (hero card reuse) ---------- */
.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 100px; font-size: .74rem; font-weight: 700; }
.status-pill.on { background: #e3f6ea; color: #1c7c45; }
.status-pill.close { background: #fdecec; color: #c0392b; }

/* =============================================================
   Inner-page banner
   ============================================================= */
.page-hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(120deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
  padding: clamp(46px, 7vw, 84px) 0 clamp(32px, 5vw, 52px);
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 88% 25%, rgba(232,163,61,.2), transparent 42%),
    repeating-linear-gradient(45deg, transparent 0 26px, rgba(255,255,255,.03) 26px 27px);
}
.page-hero .container { position: relative; z-index: 1; }
.crumbs { display: flex; align-items: center; gap: 9px; font-size: .8rem; color: #b9c7de; margin-bottom: 20px; }
.crumbs a { color: #d6e2f5; display: inline-flex; align-items: center; gap: 6px; }
.crumbs a:hover { color: #fff; }
.crumbs .bi-chevron-right { font-size: .72rem; color: var(--gold); }
.crumbs span { color: var(--gold); font-weight: 700; letter-spacing: .02em; }
.page-hero h1 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin: 0 0 10px; }
.page-hero p { color: #d6e2f5; max-width: 700px; margin: 0; font-size: 1.02rem; line-height: 1.9; }
.page-hero-line { display: block; width: 76px; height: 5px; border-radius: 5px; background: var(--gold); margin-top: 24px; }
@media (max-width: 600px) { .crumbs { flex-wrap: wrap; row-gap: 6px; } }

/* ---------- case lookup tool ---------- */
.lookup-tool {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow-md); padding: clamp(24px, 4vw, 40px); max-width: 840px; margin: 0 auto;
}
.lookup-tool .lt-y { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-dark); font-weight: 700; font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 8px; }
.lookup-tool h2 { font-size: 1.25rem; margin: 0 0 4px; color: var(--navy-800); }
.lookup-tool .lt-sub { color: var(--body); font-size: .92rem; margin: 0 0 20px; }
.lt-form { display: flex; gap: 12px; }
.lt-form input { flex: 1; min-width: 0; padding: 16px 18px; font-size: 1.02rem; }
@media (max-width: 560px) { .lt-form { flex-direction: column; } .lt-form .btn { width: 100%; } }
.lt-hint { margin: 10px 0 0; color: var(--body); font-size: .78rem; }
.lt-tips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.lt-tip { display: inline-flex; align-items: center; gap: 7px; background: var(--navy-100); color: var(--navy-800); font-size: .8rem; font-weight: 700; padding: 8px 16px; border-radius: 100px; }
.lt-tip i { color: var(--gold-dark); }

.lookup-guide { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 840px; margin: 34px auto 0; }
@media (max-width: 760px) { .lookup-guide { grid-template-columns: 1fr; } }
.lg-item { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; display: flex; gap: 14px; align-items: flex-start; box-shadow: var(--shadow-sm); }
.lg-num { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--navy-900); color: var(--gold); display: flex; align-items: center; justify-content: center; font-weight: 800; }
.lg-item h4 { margin: 2px 0 4px; font-size: .95rem; }
.lg-item p { color: var(--body); font-size: .83rem; margin: 0; line-height: 1.7; }

/* ---------- grouped case cards ---------- */
.case-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); margin-bottom: 22px; overflow: hidden; }
.case-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 16px 22px; background: var(--navy-900); color: #fff; }
.case-no { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .02em; font-size: 1rem; }
.case-no i { color: var(--gold); }
.case-parties { padding: 14px 22px 12px; display: flex; gap: 26px; flex-wrap: wrap; border-bottom: 1px dashed var(--line); }
.case-parties .cp b { display: block; color: var(--navy-800); font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 2px; }
.case-parties .cp span { color: var(--body); font-size: .9rem; }
.case-timeline { padding: 8px 22px 24px; }
.case-timeline .tl-item { position: relative; padding: 14px 0 4px 24px; }
.case-timeline .tl-item::before { content: ""; position: absolute; left: 5px; top: 24px; bottom: -10px; width: 2px; background: var(--navy-100); }
.case-timeline .tl-item:last-child::before { display: none; }
.case-timeline .tl-item::after { content: ""; position: absolute; left: 0; top: 20px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(232,163,61,.25); }
.case-timeline .tl-date { font-size: .76rem; font-weight: 800; color: var(--navy-700); text-transform: uppercase; letter-spacing: .04em; }
.case-timeline .tl-item p { margin: 5px 0 0; color: var(--body); font-size: .9rem; line-height: 1.75; }

.notfound { max-width: 780px; margin: 0 auto; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 44px 30px; box-shadow: var(--shadow-sm); }
.notfound .nf-ic { font-size: 2.4rem; color: var(--gold); }
.notfound h3 { margin: 12px 0 8px; color: var(--navy-800); }
.notfound p { color: var(--body); max-width: 460px; margin: 0 auto 22px; }

/* ---------- content detail ---------- */
.detail-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
@media (max-width: 992px) { .detail-layout { grid-template-columns: 1fr; } }
.detail-article { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: clamp(24px, 4vw, 46px); box-shadow: var(--shadow-sm); }
.detail-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.tagpill { display: inline-flex; align-items: center; gap: 7px; background: var(--navy-100); color: var(--navy-800); font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 6px 14px; border-radius: 100px; }
.tagpill i { color: var(--gold-dark); }
.lede { font-size: 1.13rem; color: var(--navy-800); font-weight: 600; line-height: 1.9; margin: 0 0 22px; }
.detail-cover { width: 100%; max-height: 460px; object-fit: cover; border-radius: 14px; margin: 0 0 26px; box-shadow: var(--shadow-md); }
.prose { color: var(--body); font-size: 1rem; line-height: 2.05; }
.prose p { margin: 0 0 18px; }
.prose strong { color: var(--navy-800); }

.aside-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm); padding: 22px; margin-bottom: 18px; }
.aside-card h4 { font-size: .95rem; margin: 0 0 14px; }
.aside-cta { background: linear-gradient(120deg, var(--navy-900), var(--navy-700)); color: #fff; }
.aside-cta h4 { color: #fff; }
.aside-cta p { color: #d6e2f5; font-size: .88rem; line-height: 1.8; margin: 0 0 18px; }
.related-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.related-list a { display: flex; gap: 10px; align-items: flex-start; color: var(--body); font-size: .88rem; line-height: 1.55; }
.related-list a:hover { color: var(--navy-800); }
.related-list .dot { color: var(--gold); font-size: .5rem; margin-top: 7px; }
.aside-back { display: inline-flex; align-items: center; gap: 8px; color: var(--navy-700); font-weight: 700; font-size: .88rem; }