/* ==========================================================
   FINANCIAL INTELLIGENCE UNIT — BELIZE
   Public site · MOBILE FIRST
   Palette sampled directly from the logo artwork:
     red  #CC010C   blue #0145A0
   ========================================================== */

:root {
  --red:        #cc010c;
  --red-dark:   #a30009;
  --red-tint:   #fdeaeb;

  --blue:       #0145a0;
  --blue-dark:  #013370;
  --blue-deep:  #01203f;
  --blue-tint:  #eaf1fb;

  --ink:        #10192b;
  --ink-mid:    #4a5a72;
  --ink-light:  #8494ab;

  --paper:      #ffffff;
  --paper-alt:  #f4f7fc;
  --line:       #dbe4f0;

  --radius:     4px;
  --radius-lg:  10px;
  --shadow:     0 14px 44px rgba(1, 32, 63, .10);
  --t:          .2s ease;
  --wrap:       1120px;
}

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

body {
  font-family: 'Public Sans', Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a   { color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: 'Archivo', Arial, Helvetica, sans-serif;
  font-weight: 800;
  letter-spacing: -.5px;
  line-height: 1.18;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* ---------- shared bits ---------- */
.eyebrow {
  display: inline-block;
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  font-weight: 700; color: var(--red);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--red);
  margin-bottom: 18px;
}
.eyebrow--light { color: #ffffff; border-color: rgba(255,255,255,.5); }

.lede { font-size: 16.5px; color: var(--ink-mid); max-width: 62ch; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: inherit; font-size: 14.5px; font-weight: 700;
  letter-spacing: .2px;
  padding: 14px 26px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: background var(--t), color var(--t), border-color var(--t);
}
.btn i { font-size: 12px; }
.btn-red   { background: var(--red);  color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-blue  { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dark); }
.btn-line  { border-color: rgba(255,255,255,.45); color: #fff; }
.btn-line:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-dark  { border-color: var(--line); color: var(--blue); background: #fff; }
.btn-dark:hover { border-color: var(--blue); }

/* ==========================================================
   NOTICE BAR
   ========================================================== */
.notice { background: var(--blue-deep); color: #cfe0f5; font-size: 13px; }
.notice-in {
  display: flex; align-items: center; gap: 12px;
  padding-top: 9px; padding-bottom: 9px;
}
.notice p { flex: 1; }
.notice i { color: #ffc94d; margin-right: 7px; }
.notice a { color: #fff; text-decoration: underline; white-space: nowrap; }
.notice-x { background: none; border: 0; color: inherit; cursor: pointer;
            padding: 4px; opacity: .7; }
.notice-x:hover { opacity: 1; }

/* ==========================================================
   HEADER
   ========================================================== */
.hdr {
  position: sticky; top: 0; z-index: 80;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.hdr.is-stuck { box-shadow: 0 3px 18px rgba(1,32,63,.10); }

.hdr-in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 74px; flex-wrap: wrap;
}

.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; }
.brand img { width: 46px; height: 46px; flex-shrink: 0; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.16; }
.brand-txt strong {
  font-family: 'Archivo', Arial, sans-serif;
  font-size: 14px; font-weight: 800; color: var(--blue);
  letter-spacing: -.2px; text-transform: uppercase;
}
.brand-txt span {
  font-size: 9.5px; letter-spacing: 3.6px; text-transform: uppercase;
  color: var(--red); font-weight: 700;
}

.burger { background: none; border: 0; font-size: 21px;
          color: var(--blue); padding: 8px; cursor: pointer; }

.nav { display: none; width: 100%; flex-direction: column;
       padding-bottom: 14px; border-top: 1px solid var(--line); }
.nav.is-open { display: flex; }

.nav > a {
  padding: 13px 2px;
  font-size: 15px; font-weight: 600; color: var(--ink-mid);
  text-decoration: none;
  border-bottom: 1px solid var(--paper-alt);
}
.nav > a:hover, .nav > a.is-here { color: var(--red); }

.nav-cta {
  margin-top: 14px;
  background: var(--red); color: #fff !important;
  text-align: center; border-bottom: 0 !important;
  padding: 13px 20px !important; border-radius: var(--radius);
  font-weight: 700 !important;
}
.nav-cta:hover { background: var(--red-dark); }

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  position: relative; overflow: hidden;
  display: flex; align-items: center;
  min-height: 480px;
  /* The photograph is the subject here, so the blue is pulled back to
     roughly half. Legibility comes from the left-weighted scrim below
     rather than from flooding the whole panel. */
  background-image:
    linear-gradient(95deg,
      rgba(1,32,63,.93) 0%,
      rgba(1,32,63,.80) 30%,
      rgba(1,32,63,.52) 62%,
      rgba(1,32,63,.42) 100%),
    url('../assets/courthouse.jpg');
  background-size: cover, cover;
  background-position: center, center center;
  background-repeat: no-repeat;
  color: #fff;
  padding: 60px 0;
}
/* red rule echoing the logo's crossbar */
.hero::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 5px; background: var(--red); z-index: 5;
}
/* soft floor so the marks row never sits on a bright patch of masonry */
.hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 45%; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(1,32,63,0) 0%, rgba(1,32,63,.55) 100%);
}
.hero-in { position: relative; z-index: 4; max-width: 720px; }

.hero h1 { font-size: 33px; }
.hero h1 em { color: #ffd166; font-style: normal; }

.hero p {
  margin-top: 18px; font-size: 16px; line-height: 1.75;
  color: #c5d6ee; max-width: 58ch;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.hero-marks {
  display: flex; flex-wrap: wrap; gap: 10px 26px;
  margin-top: 34px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.18);
  list-style: none;
}
.hero-marks li { display: flex; align-items: center; gap: 9px;
                 font-size: 13px; color: #c5d6ee; }
.hero-marks i { color: #ffd166; font-size: 12px; }

/* watermark logo */
/* Logo watermark. Kept fully inside the frame — it was bleeding off the
   right edge and reading as a rendering fault rather than a watermark.
   Hidden on small screens where there is no room for it. */
.hero-mark { display: none; }

@media (min-width: 1000px) {
  .hero-mark {
    display: block;
    position: absolute; right: 40px; bottom: 40px;
    width: 150px; opacity: .16; z-index: 3; pointer-events: none;
  }
}

/* ==========================================================
   SECTIONS
   ========================================================== */
.sec { padding: 52px 0; }
.sec--alt { background: var(--paper-alt); }
.sec--blue { background: var(--blue-deep); color: #fff; }
.sec--blue .lede { color: #bed2ea; }

.sec h2 { font-size: 26px; color: var(--blue); }
.sec--blue h2 { color: #fff; }
.sec > .wrap > .lede { margin-top: 14px; }

/* two-column intro */
.split { display: grid; gap: 26px; }

.factlist { list-style: none; display: flex; flex-direction: column; gap: 0; }
.factlist li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.factlist li:last-child { border-bottom: 0; }
.factlist i {
  color: var(--red); font-size: 15px; margin-top: 3px; width: 20px;
  flex-shrink: 0;
}
.factlist strong { display: block; font-size: 15px; color: var(--ink); }
.factlist span { font-size: 14px; color: var(--ink-mid); }

/* value cards */
.cards { display: grid; gap: 16px; margin-top: 30px; }
.card {
  background: #fff; border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  border-radius: var(--radius);
  padding: 24px 22px;
}
.sec--alt .card { background: #fff; }
.card h3 { font-size: 17px; color: var(--blue); margin-bottom: 9px; }
.card p  { font-size: 14.5px; color: var(--ink-mid); }
.card--blue { border-top-color: var(--blue); }

/* bullet list used by Mission / Mandate */
.bullets { list-style: none; margin-top: 18px; display: flex;
           flex-direction: column; gap: 13px; }
.bullets li {
  position: relative; padding-left: 26px;
  font-size: 15px; color: var(--ink-mid); line-height: 1.7;
}
.bullets li::before {
  content: ''; position: absolute; left: 0; top: 10px;
  width: 9px; height: 9px; background: var(--red);
  border-radius: 50%;
}
.sec--blue .bullets li { color: #c9daf0; }
.sec--blue .bullets li::before { background: #ffd166; }

/* core values chips */
.values { list-style: none; display: flex; flex-wrap: wrap;
          gap: 10px; margin-top: 26px; }
.values li {
  display: flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  padding: 12px 18px; border-radius: var(--radius);
  font-size: 14.5px; font-weight: 600; color: var(--blue);
}
.values i { color: var(--red); font-size: 13px; }

/* page banner for interior pages */
.pagehead {
  position: relative; overflow: hidden;
  background-image:
    linear-gradient(95deg,
      rgba(1,32,63,.94) 0%,
      rgba(1,32,63,.82) 34%,
      rgba(1,32,63,.58) 100%),
    url('../assets/courthouse-band.jpg');
  background-size: cover, cover;
  background-position: center, center 38%;
  background-repeat: no-repeat;
  color: #fff; padding: 52px 0 56px;
}
.pagehead::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 5px; background: var(--red); z-index: 5;
}
.pagehead h1 { font-size: 30px; position: relative; z-index: 4; }
.pagehead p  { margin-top: 12px; color: #c5d6ee; font-size: 15.5px;
               max-width: 60ch; position: relative; z-index: 4; }
.pagehead-mark { display: none; }

@media (min-width: 1000px) {
  .pagehead-mark {
    display: block;
    position: absolute; right: 40px; top: 30px;
    width: 130px; opacity: .16; z-index: 3;
    pointer-events: none;
  }
}

/* in-page jump nav */
.jump {
  background: #fff; border-bottom: 1px solid var(--line);
  position: sticky; top: 74px; z-index: 60;
}
.jump ul {
  list-style: none; display: flex; gap: 4px;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  padding: 10px 0;
}
.jump a {
  display: block; white-space: nowrap;
  padding: 8px 14px; border-radius: 999px;
  font-size: 13.5px; font-weight: 600; color: var(--ink-mid);
  text-decoration: none;
}
.jump a:hover { background: var(--paper-alt); color: var(--blue); }
.jump a.is-active { background: var(--blue); color: #fff; }

/* ==========================================================
   CONTACT
   ========================================================== */
.contact-grid { display: grid; gap: 22px; }

.cbox {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 22px;
}
.cbox h3 {
  display: flex; align-items: center; gap: 11px;
  font-size: 16px; color: var(--blue); margin-bottom: 14px;
  padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.cbox h3 i { color: var(--red); font-size: 15px; }
.cbox p, .cbox a { font-size: 15px; color: var(--ink-mid); }
.cbox a { text-decoration: none; }
.cbox a:hover { color: var(--red); text-decoration: underline; }
.cbox .row { margin-bottom: 9px; }
.cbox .row:last-child { margin-bottom: 0; }

.mapwrap {
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: var(--paper-alt);
}
.mapwrap iframe { width: 100%; height: 320px; border: 0; display: block; }

/* ==========================================================
   FOOTER
   ========================================================== */
.ftr { background: var(--blue-deep); color: #9db3d1; padding-top: 44px; font-size: 14px; }
.ftr-in { display: grid; gap: 30px; }

.ftr-brand img { width: 54px; margin-bottom: 14px; }
.ftr-name { font-family: 'Archivo', Arial, sans-serif; font-size: 16px;
            color: #fff; font-weight: 800; text-transform: uppercase;
            letter-spacing: -.2px; }
.ftr-sub  { font-size: 9.5px; letter-spacing: 4px; text-transform: uppercase;
            color: #ffd166; font-weight: 700; margin-top: 2px; }
.ftr-note { margin-top: 15px; font-size: 12.5px; line-height: 1.7;
            color: #7f96b6; max-width: 42ch; }

.ftr-cols { display: grid; gap: 24px; }
.ftr-cols h4 { font-size: 10.5px; letter-spacing: 1.8px; text-transform: uppercase;
               color: #fff; font-weight: 700; margin-bottom: 12px; }
.ftr-cols a, .ftr-cols p { display: block; padding: 4px 0; font-size: 14px;
                           color: #9db3d1; text-decoration: none; }
.ftr-cols a:hover { color: #ffd166; }

.ftr-base {
  margin-top: 34px; padding-top: 18px; padding-bottom: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between;
  font-size: 12.5px; color: #7f96b6;
}
.ftr-base a { color: inherit; text-decoration: none; }
.ftr-base a:hover { color: #ffd166; }

/* ==========================================================
   TABLET  ≥ 700px
   ========================================================== */
@media (max-width: 640px) {
  /* Narrow viewport crops a wide photo hard — hold it centred and let
     the scrim carry legibility. */
  .hero { min-height: 440px; background-position: center, center center; }
  .pagehead { background-position: center, center 40%; }
}

@media (min-width: 700px) {
  .wrap { padding: 0 32px; }
  .hero { min-height: 620px; padding: 80px 0; }
  .hero h1 { font-size: 46px; letter-spacing: -1.2px; }
  .sec { padding: 68px 0; }
  .sec h2 { font-size: 32px; letter-spacing: -.9px; }
  .pagehead { padding: 60px 0 62px; }
  .pagehead h1 { font-size: 40px; letter-spacing: -1.1px; }
  .cards { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .ftr-cols { grid-template-columns: repeat(3, 1fr); }
}

/* ==========================================================
   DESKTOP  ≥ 1000px
   ========================================================== */
@media (min-width: 1000px) {
  .burger { display: none; }

  .nav {
    display: flex; flex-direction: row; align-items: center; gap: 2px;
    width: auto; padding-bottom: 0; border-top: 0;
  }
  .nav > a { padding: 10px 16px; border-bottom: 0; font-size: 14.5px; }
  .nav > a.is-here { color: var(--red); }
  .nav-cta { margin: 0 0 0 12px; }

  .hero { min-height: 720px; padding: 90px 0; }
  .hero h1 { font-size: 54px; letter-spacing: -1.8px; }

  .split { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .ftr-in { grid-template-columns: 1fr 1.5fr; gap: 60px; }
  .mapwrap iframe { height: 420px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
