/* ============================================================
   INEAA Website — Main Stylesheet
   International Education Accreditation Agency
   ============================================================ */

/* ── Google Fonts ────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ── Design Tokens ───────────────────────────────────────────── */
:root {
  /* Brand */
  --red:         #C0392B;
  --red-dark:    #922B21;
  --red-mid:     #D44F41;
  --red-tint:    #FDF2F1;
  --navy:        #1B2A4A;
  --navy-dark:   #0F1A30;
  --navy-mid:    #2D4170;
  --navy-tint:   #EEF1F7;
  --gold:        #B8952A;
  --gold-light:  #F5EDD0;

  /* Neutrals */
  --black:       #0D0D0D;
  --charcoal:    #1F2937;
  --dark:        #374151;
  --mid:         #4B5563;
  --grey:        #6B7280;
  --light:       #9CA3AF;
  --border:      #E5E7EB;
  --border-mid:  #D1D5DB;
  --bg:          #F9FAFB;
  --bg-alt:      #F3F4F6;
  --white:       #FFFFFF;

  /* Typography */
  --ff-display:  'Playfair Display', Georgia, 'Times New Roman', serif;
  --ff-body:     'Inter', system-ui, -apple-system, sans-serif;
  --ff-mono:     'JetBrains Mono', 'Courier New', monospace;

  /* Spacing */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;

  /* Layout */
  --nav-h:    76px;
  --max-w:    1240px;
  --max-w-sm: 740px;
  --radius:   8px;
  --radius-lg:16px;

  /* Transitions */
  --ease:         cubic-bezier(.25,.46,.45,.94);
  --ease-spring:  cubic-bezier(.34,1.56,.64,1);
  --dur:          220ms;
}

/* ── Reset ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--ff-body);
  background: var(--white);
  color: var(--charcoal);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; }
table { border-collapse: collapse; width: 100%; }

/* ── Scrollbar ────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }

/* ── Container ────────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}
.container-sm { max-width: var(--max-w-sm); margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }

/* ── Navigation ───────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
#navbar.scrolled {
  border-color: var(--border);
  box-shadow: 0 1px 24px rgba(0,0,0,.07);
}
.nav-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: var(--space-8);
}
.nav-brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-brand-name {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.08em;
  line-height: 1;
}
.nav-brand-sub {
  font-size: 0.57rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey);
  margin-top: 3px;
}
.nav-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}
.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--mid);
  padding: 8px 12px;
  border-radius: 6px;
  transition: color var(--dur), background var(--dur);
  white-space: nowrap;
}
.nav-links a:hover { color: var(--red); background: var(--red-tint); }
.nav-links a.active { color: var(--red); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}
.btn-verify-nav {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--navy);
  border: 1.5px solid var(--navy);
  padding: 8px 16px;
  border-radius: 6px;
  transition: all var(--dur);
  white-space: nowrap;
}
.btn-verify-nav:hover { background: var(--navy); color: var(--white); }
.btn-apply-nav {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--white);
  background: var(--red);
  padding: 9px 18px;
  border-radius: 6px;
  transition: all var(--dur);
  white-space: nowrap;
}
.btn-apply-nav:hover { background: var(--red-dark); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(192,57,43,.35); }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 6px;
  transition: background var(--dur);
}
.nav-burger:hover { background: var(--bg); }
.nav-burger span { display: block; width: 22px; height: 1.5px; background: var(--charcoal); border-radius: 2px; transition: all 0.3s var(--ease); }
.nav-burger.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.nav-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* Mobile nav */
#mobile-menu {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0; bottom: 0;
  background: var(--white);
  z-index: 999;
  padding: var(--space-8) var(--space-6);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
}
#mobile-menu.open { transform: translateX(0); }
.mobile-nav-link {
  display: block;
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--charcoal);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--dur), padding-left var(--dur);
}
.mobile-nav-link:hover { color: var(--red); padding-left: var(--space-3); }
.mobile-nav-actions { margin-top: var(--space-8); display: flex; flex-direction: column; gap: var(--space-3); }

/* ── Buttons ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 13px 26px;
  border-radius: var(--radius);
  transition: all var(--dur) var(--ease);
  cursor: pointer;
  border: 2px solid transparent;
  line-height: 1;
  text-decoration: none;
}
.btn-primary   { background: var(--red);   color: var(--white); border-color: var(--red); }
.btn-primary:hover   { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(192,57,43,.3); }
.btn-secondary { background: var(--navy);  color: var(--white); border-color: var(--navy); }
.btn-secondary:hover { background: var(--navy-dark); border-color: var(--navy-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(27,42,74,.3); }
.btn-outline-red  { background: transparent; color: var(--red); border-color: var(--red); }
.btn-outline-red:hover  { background: var(--red); color: var(--white); transform: translateY(-2px); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn-outline-white:hover { background: rgba(255,255,255,.1); border-color: var(--white); transform: translateY(-2px); }
.btn-outline-navy { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--mid); border-color: var(--border); }
.btn-ghost:hover { background: var(--bg); color: var(--charcoal); }
.btn-sm { font-size: 0.8rem; padding: 9px 18px; }
.btn-lg { font-size: 0.95rem; padding: 16px 32px; }
.btn svg { flex-shrink: 0; transition: transform var(--dur); }
.btn:hover svg { transform: translateX(3px); }

/* ── Badges ───────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: 100px;
  white-space: nowrap;
}
.badge::before { content: ''; display: block; width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.badge-active      { background: rgba(16,185,129,.1);  color: #059669; }
.badge-active::before      { background: #059669; }
.badge-provisional { background: rgba(245,158,11,.1);  color: #D97706; }
.badge-provisional::before { background: #D97706; }
.badge-suspended   { background: rgba(192,57,43,.1);   color: var(--red); }
.badge-suspended::before   { background: var(--red); }
.badge-expired     { background: var(--bg-alt);         color: var(--grey); }
.badge-expired::before     { background: var(--grey); }
.badge-revoked     { background: rgba(17,24,39,.08);   color: var(--charcoal); }
.badge-revoked::before     { background: var(--charcoal); }

/* ── Section Anatomy ─────────────────────────────────────────── */
.section { padding: clamp(64px, 8vw, 120px) 0; }
.section-alt { background: var(--bg); }
.section-dark { background: var(--navy-dark); color: var(--white); }
.section-navy { background: var(--navy); color: var(--white); }
.section-red  { background: var(--red); color: var(--white); }

.section-label {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: var(--space-4);
}
.section-label::before { content: ''; display: block; width: 24px; height: 1px; background: currentColor; }

.section-dark .section-label,
.section-navy .section-label { color: var(--gold); }
.section-dark .section-label::before,
.section-navy .section-label::before { background: var(--gold); }

.section-title {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--black);
  margin-bottom: var(--space-5);
  letter-spacing: -0.01em;
}
.section-dark .section-title,
.section-navy .section-title { color: var(--white); }

.section-body {
  font-size: 1.05rem;
  color: var(--grey);
  line-height: 1.75;
  max-width: 600px;
}
.section-dark .section-body,
.section-navy .section-body { color: rgba(255,255,255,.65); }

.divider-line {
  width: 48px;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
  margin: var(--space-6) 0;
}

/* ── Page Hero ────────────────────────────────────────────────── */
.page-hero {
  background: var(--navy-dark);
  padding: clamp(72px,8vw,120px) 0 clamp(48px,6vw,80px);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 70% at 80% 50%, rgba(192,57,43,.14) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-inner { position: relative; }
.page-hero-label {
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.page-hero-label::before { content: ''; display: block; width: 22px; height: 1px; background: var(--gold); }
.page-hero h1 {
  font-family: var(--ff-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.1;
  max-width: 740px;
  margin-bottom: var(--space-5);
}
.page-hero-body {
  font-size: 1.05rem;
  color: rgba(255,255,255,.6);
  max-width: 580px;
  line-height: 1.75;
}

/* ── Cards ────────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: border-color var(--dur), box-shadow var(--dur), transform var(--dur) var(--ease);
}
.card:hover {
  border-color: var(--red);
  box-shadow: 0 12px 40px rgba(192,57,43,.09);
  transform: translateY(-4px);
}
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--red-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  margin-bottom: var(--space-5);
  flex-shrink: 0;
}
.card-title {
  font-family: var(--ff-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: var(--space-2);
}
.card-body { font-size: 0.9rem; color: var(--grey); line-height: 1.7; }

/* ── Grid Layouts ─────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--space-6); }

/* ── Stats Row ────────────────────────────────────────────────── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  background: rgba(255,255,255,.07);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.07);
}
.stat-cell {
  padding: var(--space-8) var(--space-6);
  background: rgba(255,255,255,.03);
  text-align: center;
  transition: background var(--dur);
}
.stat-cell:hover { background: rgba(255,255,255,.06); }
.stat-num {
  font-family: var(--ff-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
  margin-bottom: var(--space-2);
}
.stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,.5);
  letter-spacing: 0.05em;
  line-height: 1.4;
}

/* ── Forms ────────────────────────────────────────────────────── */
.form-group { margin-bottom: var(--space-5); }
.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: var(--space-2);
  letter-spacing: 0.02em;
}
.form-label .req { color: var(--red); margin-left: 2px; }
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--ff-body);
  font-size: 0.9rem;
  color: var(--charcoal);
  background: var(--white);
  transition: border-color var(--dur), box-shadow var(--dur);
  outline: none;
  -webkit-appearance: none;
}
.form-control:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27,42,74,.1);
}
.form-control::placeholder { color: var(--light); }
textarea.form-control { resize: vertical; min-height: 140px; }
select.form-control { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; cursor: pointer; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
.form-hint { font-size: 0.78rem; color: var(--light); margin-top: var(--space-1); }
.form-error { font-size: 0.78rem; color: var(--red); margin-top: var(--space-1); }

/* ── Tables ───────────────────────────────────────────────────── */
.table-wrap { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.data-table { width: 100%; }
.data-table thead tr { background: var(--navy-dark); }
.data-table th {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  padding: 14px 20px;
  text-align: left;
  white-space: nowrap;
}
.data-table td {
  padding: 15px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--charcoal);
  vertical-align: middle;
}
.data-table tr:last-child td { border: none; }
.data-table tbody tr { transition: background var(--dur); }
.data-table tbody tr:hover { background: rgba(27,42,74,.03); }
.cert-num {
  font-family: var(--ff-mono);
  font-size: 0.8rem;
  color: var(--navy);
  font-weight: 500;
}
.inst-name { font-weight: 600; color: var(--black); }
.inst-type-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--navy-tint);
  padding: 2px 8px;
  border-radius: 4px;
}

/* ── Search & Filter Bar ──────────────────────────────────────── */
.search-bar {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-bottom: var(--space-6);
}
.search-input-wrap {
  position: relative;
  flex: 1;
  min-width: 240px;
}
.search-input-wrap svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--light);
  pointer-events: none;
}
.search-input-wrap input {
  width: 100%;
  padding: 11px 14px 11px 42px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--ff-body);
  font-size: 0.875rem;
  color: var(--charcoal);
  background: var(--white);
  transition: border-color var(--dur), box-shadow var(--dur);
  outline: none;
}
.search-input-wrap input:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27,42,74,.08);
}
.filter-select {
  padding: 11px 36px 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--ff-body);
  font-size: 0.875rem;
  color: var(--charcoal);
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center;
  cursor: pointer;
  outline: none;
  transition: border-color var(--dur);
  -webkit-appearance: none;
}
.filter-select:focus { border-color: var(--navy); }

/* ── Alert / Notice Boxes ─────────────────────────────────────── */
.alert {
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: var(--space-5);
  border-left: 4px solid;
}
.alert-info    { background: var(--navy-tint); color: var(--navy); border-color: var(--navy); }
.alert-success { background: rgba(16,185,129,.08); color: #065F46; border-color: #059669; }
.alert-warning { background: rgba(245,158,11,.08); color: #92400E; border-color: #D97706; }
.alert-error   { background: var(--red-tint); color: var(--red-dark); border-color: var(--red); }

/* ── Verify Box ───────────────────────────────────────────────── */
.verify-hero {
  background: var(--navy-dark);
  padding: clamp(64px,8vw,100px) 0;
  position: relative;
  overflow: hidden;
}
.verify-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(192,57,43,.15) 0%, transparent 60%);
}
.verify-box {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-10);
  max-width: 680px;
  margin: var(--space-10) auto 0;
  box-shadow: 0 24px 80px rgba(0,0,0,.25);
}
.verify-input-row {
  display: flex;
  gap: var(--space-3);
}
.verify-input {
  flex: 1;
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--ff-mono);
  font-size: 0.9rem;
  color: var(--charcoal);
  transition: border-color var(--dur), box-shadow var(--dur);
  outline: none;
}
.verify-input:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(27,42,74,.1); }
.verify-btn {
  padding: 14px 24px;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-family: var(--ff-body);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--dur);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.verify-btn:hover { background: var(--red-dark); transform: translateY(-1px); }
.verify-result {
  margin-top: var(--space-6);
  display: none;
}
.verify-result.show { display: block; }
.verify-card {
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-6);
  margin-bottom: var(--space-4);
}
.verify-card.found   { border-color: #059669; background: rgba(16,185,129,.04); }
.verify-card.not-found { border-color: var(--red); background: var(--red-tint); }

/* ── Download Cards ───────────────────────────────────────────── */
.download-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: var(--space-5); }
.download-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  transition: all var(--dur);
}
.download-card:hover { border-color: var(--red); box-shadow: 0 8px 24px rgba(192,57,43,.08); transform: translateY(-2px); }
.dl-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.dl-icon-pdf  { background: rgba(192,57,43,.1); color: var(--red); }
.dl-icon-docx { background: rgba(27,42,74,.1);  color: var(--navy); }
.dl-icon-xlsx { background: rgba(16,185,129,.1); color: #059669; }
.dl-meta { flex: 1; min-width: 0; }
.dl-title { font-size: 0.9rem; font-weight: 600; color: var(--black); margin-bottom: 4px; line-height: 1.4; }
.dl-desc  { font-size: 0.78rem; color: var(--grey); line-height: 1.5; margin-bottom: var(--space-3); }
.dl-footer { display: flex; align-items: center; gap: var(--space-3); flex-wrap: wrap; }
.dl-size  { font-family: var(--ff-mono); font-size: 0.72rem; color: var(--light); }
.dl-version { font-size: 0.72rem; color: var(--light); }
.dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--red);
  padding: 5px 12px;
  border: 1.5px solid rgba(192,57,43,.3);
  border-radius: 5px;
  transition: all var(--dur);
}
.dl-btn:hover { background: var(--red); color: var(--white); border-color: var(--red); }

/* ── Category Tabs ────────────────────────────────────────────── */
.cat-tabs {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-bottom: var(--space-8);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0;
}
.cat-tab {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--grey);
  padding: var(--space-3) var(--space-4);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  transition: color var(--dur), border-color var(--dur);
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
}
.cat-tab:hover { color: var(--red); }
.cat-tab.active { color: var(--red); border-bottom-color: var(--red); }

/* ── News Cards ───────────────────────────────────────────────── */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: var(--space-6); }
.news-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--dur);
  display: flex;
  flex-direction: column;
}
.news-card:hover { border-color: var(--red); box-shadow: 0 12px 40px rgba(192,57,43,.09); transform: translateY(-4px); }
.news-card-img {
  width: 100%;
  height: 200px;
  background: var(--navy-tint);
  object-fit: cover;
}
.news-card-img-placeholder {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.2);
}
.news-card-body { padding: var(--space-6); flex: 1; display: flex; flex-direction: column; }
.news-cat {
  font-family: var(--ff-mono);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: var(--space-3);
}
.news-title { font-family: var(--ff-display); font-size: 1.15rem; font-weight: 600; color: var(--black); margin-bottom: var(--space-3); line-height: 1.35; }
.news-excerpt { font-size: 0.875rem; color: var(--grey); line-height: 1.65; flex: 1; margin-bottom: var(--space-5); }
.news-footer { display: flex; align-items: center; justify-content: space-between; }
.news-date { font-size: 0.78rem; color: var(--light); }
.news-link { font-size: 0.82rem; font-weight: 600; color: var(--red); display: flex; align-items: center; gap: 4px; transition: gap var(--dur); }
.news-link:hover { gap: 8px; }

/* ── Event Cards ──────────────────────────────────────────────── */
.event-card {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: var(--space-5);
  align-items: start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: all var(--dur);
}
.event-card:hover { border-color: var(--navy); box-shadow: 0 8px 32px rgba(27,42,74,.08); transform: translateY(-2px); }
.event-date-box {
  background: var(--navy-dark);
  border-radius: var(--radius);
  padding: var(--space-3) var(--space-2);
  text-align: center;
  flex-shrink: 0;
}
.event-day   { font-family: var(--ff-display); font-size: 1.6rem; font-weight: 700; color: var(--white); line-height: 1; }
.event-month { font-size: 0.65rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-top: 2px; }
.event-type  { font-family: var(--ff-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy); margin-bottom: var(--space-2); }
.event-title { font-family: var(--ff-display); font-size: 1.1rem; font-weight: 600; color: var(--black); margin-bottom: var(--space-2); }
.event-meta  { font-size: 0.82rem; color: var(--grey); display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap; }
.event-meta svg { width: 14px; height: 14px; flex-shrink: 0; }
.event-meta span { display: flex; align-items: center; gap: 5px; }

/* ── Timeline ─────────────────────────────────────────────────── */
.timeline { position: relative; }
.timeline-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: var(--space-8);
  padding-bottom: var(--space-10);
  position: relative;
}
.timeline-left { display: flex; flex-direction: column; align-items: center; }
.timeline-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-size: 1.3rem;
  font-weight: 700;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 4px var(--white), 0 0 0 7px rgba(192,57,43,.15);
}
.timeline-connector {
  flex: 1;
  width: 2px;
  background: linear-gradient(var(--border), transparent);
  margin-top: var(--space-3);
  min-height: var(--space-10);
}
.timeline-content {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  margin-bottom: var(--space-6);
  transition: all var(--dur);
}
.timeline-content:hover { border-color: var(--red); box-shadow: 0 8px 32px rgba(192,57,43,.08); }
.timeline-stage {
  font-family: var(--ff-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: var(--space-3);
}
.timeline-title { font-family: var(--ff-display); font-size: 1.3rem; font-weight: 600; color: var(--black); margin-bottom: var(--space-3); }
.timeline-body { font-size: 0.9rem; color: var(--grey); line-height: 1.7; margin-bottom: var(--space-4); }
.timeline-duration {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--navy);
  background: var(--navy-tint);
  padding: 4px 12px;
  border-radius: 100px;
}

/* ── Accordion / FAQ ──────────────────────────────────────────── */
.accordion { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-item:last-child { border: none; }
.accordion-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-5) var(--space-6);
  cursor: pointer;
  background: var(--white);
  transition: background var(--dur);
  gap: var(--space-5);
  text-align: left;
  width: 100%;
  border: none;
  font-family: inherit;
}
.accordion-trigger:hover { background: var(--bg); }
.accordion-trigger h3 { font-size: 0.95rem; font-weight: 600; color: var(--black); line-height: 1.5; }
.accordion-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--grey);
  font-size: 1.1rem;
  transition: all 0.3s var(--ease);
}
.accordion-item.open .accordion-icon {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  transform: rotate(45deg);
}
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease), padding 0.3s;
}
.accordion-item.open .accordion-body { max-height: 600px; padding-bottom: var(--space-6); }
.accordion-body-inner { padding: 0 var(--space-6); font-size: 0.9rem; color: var(--grey); line-height: 1.75; }

/* ── Domain Cards ─────────────────────────────────────────────── */
.domain-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--dur);
}
.domain-card:hover { box-shadow: 0 12px 40px rgba(27,42,74,.1); transform: translateY(-4px); }
.domain-header {
  background: var(--navy);
  padding: var(--space-5) var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.domain-num {
  font-family: var(--ff-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: rgba(255,255,255,.2);
  line-height: 1;
  flex-shrink: 0;
}
.domain-header-text .domain-sublabel {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 3px;
}
.domain-header-text .domain-name { font-size: 0.9rem; font-weight: 600; color: var(--white); line-height: 1.3; }
.domain-weight {
  margin-left: auto;
  background: rgba(255,255,255,.12);
  border-radius: 100px;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
  flex-shrink: 0;
}
.domain-body { padding: var(--space-5) var(--space-6); }
.domain-desc { font-size: 0.85rem; color: var(--grey); line-height: 1.65; margin-bottom: var(--space-4); }
.domain-standards { list-style: none; }
.domain-standards li {
  font-size: 0.82rem;
  color: var(--dark);
  padding: 6px 0;
  border-bottom: 1px solid var(--bg-alt);
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  line-height: 1.5;
}
.domain-standards li:last-child { border: none; }
.domain-standards li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--navy);
  flex-shrink: 0;
  margin-top: 5px;
}
.critical-tag {
  display: inline-block;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--red);
  background: var(--red-tint);
  padding: 1px 5px;
  border-radius: 3px;
  margin-left: auto;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── Outcome Cards ────────────────────────────────────────────── */
.outcome-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--space-5); }
.outcome-card {
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  border: 2px solid transparent;
  transition: all var(--dur);
}
.outcome-card:hover { transform: translateY(-4px); }
.outcome-full        { background: rgba(5,150,105,.06); border-color: rgba(5,150,105,.2); }
.outcome-full:hover  { border-color: #059669; box-shadow: 0 12px 40px rgba(5,150,105,.12); }
.outcome-prov        { background: rgba(217,119,6,.06); border-color: rgba(217,119,6,.2); }
.outcome-prov:hover  { border-color: #D97706; box-shadow: 0 12px 40px rgba(217,119,6,.12); }
.outcome-deny        { background: var(--red-tint); border-color: rgba(192,57,43,.2); }
.outcome-deny:hover  { border-color: var(--red); box-shadow: 0 12px 40px rgba(192,57,43,.12); }
.outcome-score { font-family: var(--ff-display); font-size: 2.5rem; font-weight: 700; margin: var(--space-4) 0 var(--space-3); }
.outcome-full  .outcome-score { color: #059669; }
.outcome-prov  .outcome-score { color: #D97706; }
.outcome-deny  .outcome-score { color: var(--red); }
.outcome-title { font-family: var(--ff-display); font-size: 1.15rem; font-weight: 600; color: var(--black); margin-bottom: var(--space-2); }
.outcome-body  { font-size: 0.85rem; color: var(--grey); line-height: 1.65; }
.outcome-label {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: var(--space-4);
}
.outcome-full .outcome-label  { color: #059669; }
.outcome-prov .outcome-label  { color: #D97706; }
.outcome-deny .outcome-label  { color: var(--red); }

/* ── Pagination ───────────────────────────────────────────────── */
.pagination {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  justify-content: center;
  margin-top: var(--space-10);
  flex-wrap: wrap;
}
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  border: 1.5px solid var(--border);
  color: var(--charcoal);
  transition: all var(--dur);
}
.pagination a:hover { border-color: var(--red); color: var(--red); background: var(--red-tint); }
.pagination .current { background: var(--red); color: var(--white); border-color: var(--red); }
.pagination .dots { border: none; color: var(--light); width: auto; }

/* ── Contact Page ─────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: var(--space-16); align-items: start; }
.contact-item { display: flex; gap: var(--space-4); align-items: flex-start; margin-bottom: var(--space-6); }
.contact-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--red-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  flex-shrink: 0;
}
.contact-item h4 { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--light); margin-bottom: 4px; }
.contact-item p  { font-size: 0.9rem; color: var(--charcoal); line-height: 1.6; }
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-10);
  box-shadow: 0 4px 24px rgba(0,0,0,.04);
}
.contact-form-title { font-family: var(--ff-display); font-size: 1.8rem; font-weight: 600; color: var(--black); margin-bottom: var(--space-6); }

/* ── Notice Box ───────────────────────────────────────────────── */
.notice {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  padding: var(--space-5) var(--space-6);
  border-radius: var(--radius);
  background: var(--navy-tint);
  border-left: 4px solid var(--navy);
  margin-bottom: var(--space-6);
}
.notice svg { flex-shrink: 0; color: var(--navy); margin-top: 2px; }
.notice-text { font-size: 0.9rem; color: var(--navy); line-height: 1.65; }
.notice-text strong { font-weight: 700; }

/* ── CTA Banner ───────────────────────────────────────────────── */
.cta-section {
  background: var(--navy-dark);
  padding: clamp(64px,8vw,100px) 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 100% at 50% 110%, rgba(192,57,43,.2) 0%, transparent 70%);
}
.cta-inner { position: relative; text-align: center; max-width: 680px; margin: 0 auto; }
.cta-inner h2 {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-5);
}
.cta-inner p { font-size: 1.05rem; color: rgba(255,255,255,.65); line-height: 1.75; margin-bottom: var(--space-8); }
.cta-actions { display: flex; gap: var(--space-4); justify-content: center; flex-wrap: wrap; }

/* ── Footer ───────────────────────────────────────────────────── */
footer {
  background: var(--black);
  color: var(--white);
  padding: clamp(56px,7vw,96px) 0 var(--space-8);
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(32px,5vw,64px);
  margin-bottom: clamp(40px,5vw,64px);
  padding-bottom: clamp(32px,5vw,48px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand-name {
  font-family: var(--ff-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.06em;
  margin-bottom: 4px;
  line-height: 1;
}
.footer-brand-sub {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  margin-bottom: var(--space-5);
}
.footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,.45); line-height: 1.7; max-width: 300px; }
.footer-col h4 {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  font-weight: 600;
  margin-bottom: var(--space-5);
}
.footer-col ul { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-col a {
  font-size: 0.875rem;
  color: rgba(255,255,255,.55);
  transition: color var(--dur);
}
.footer-col a:hover { color: var(--red); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,.25); }
.footer-legal { display: flex; gap: var(--space-6); }
.footer-legal a { font-size: 0.78rem; color: rgba(255,255,255,.25); transition: color var(--dur); }
.footer-legal a:hover { color: rgba(255,255,255,.5); }

/* ── Utility ──────────────────────────────────────────────────── */
.text-red   { color: var(--red); }
.text-navy  { color: var(--navy); }
.text-grey  { color: var(--grey); }
.text-white { color: var(--white); }
.text-center { text-align: center; }
.mt-4  { margin-top: var(--space-4); }
.mt-6  { margin-top: var(--space-6); }
.mt-8  { margin-top: var(--space-8); }
.mt-10 { margin-top: var(--space-10); }
.mb-4  { margin-bottom: var(--space-4); }
.mb-6  { margin-bottom: var(--space-6); }
.mb-8  { margin-bottom: var(--space-8); }
.mb-10 { margin-bottom: var(--space-10); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ── Animations ───────────────────────────────────────────────── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes spin   { to { transform: rotate(360deg); } }
.fade-up { animation: fadeUp 0.5s var(--ease) both; }
.fade-up-1 { animation-delay: 0.1s; }
.fade-up-2 { animation-delay: 0.2s; }
.fade-up-3 { animation-delay: 0.3s; }
.fade-up-4 { animation-delay: 0.4s; }
.spinner { width: 20px; height: 20px; border: 2px solid rgba(255,255,255,.3); border-top-color: var(--white); border-radius: 50%; animation: spin 0.7s linear infinite; }

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .nav-links { gap: 0; }
  .nav-links a { padding: 7px 9px; font-size: 0.78rem; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .outcome-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .nav-burger { display: flex; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .timeline-item { grid-template-columns: 1fr; }
  .timeline-left { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .event-card { grid-template-columns: 56px 1fr; }
  .event-card .btn { display: none; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .verify-input-row { flex-direction: column; }
  .search-bar { flex-direction: column; }
  .search-input-wrap { width: 100%; }
}
@media (max-width: 480px) {
  .stats-row { grid-template-columns: 1fr 1fr; }
  .outcome-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
}

/* ── Print ────────────────────────────────────────────────────── */
@media print {
  #navbar, footer, .cta-section { display: none; }
  body { font-size: 12pt; color: #000; }
  a { color: #000; }
}
