/* =====================================================================
   IDK GLOBAL CONSULTANTS — DESIGN SYSTEM v2
   ---------------------------------------------------------------------
   Same navy/gold brand identity, turned up to maximalist-Gen-Z volume:
   richer gradients, chunky offset shadows, blob shapes, glow, playful
   tilt-on-hover. Public marketing pages get the full treatment; the
   admin/staff/portal work screens get the same visual language but
   dialed back enough that tables and forms stay easy to actually use.
   ▶ TO REBRAND: change the values in :root. Colours live only here.
   ===================================================================== */

:root {
  /* Navy — carries the logo, which is gold on transparent */
  --ink:        #0B1F3A;
  --ink-2:      #12305A;
  --ink-3:      #081729;
  --ink-4:      #051021;   /* deepest — used in blobs/mesh */

  /* Gold — sampled from logo.png, pushed richer/more saturated */
  --gold-deep:  #B99332;
  --gold:       #DAB860;
  --gold-light: #FDE093;
  --gold-hot:   #F2C94C;   /* extra-vivid pop stop for maximalist gradients */
  --gold-ink:   #8A6A1E;   /* accessible gold for text on white (5.05) */
  --gold-grad:  linear-gradient(120deg, #B99332 0%, #F2C94C 30%, #DAB860 55%, #FDE093 78%, #C9A44C 100%);
  --gold-grad-2: linear-gradient(135deg, #FDE093 0%, #F2C94C 45%, #B99332 100%);
  --mesh:  radial-gradient(1200px 600px at 85% -10%, rgba(242,201,76,.24), transparent 60%),
           radial-gradient(900px 700px at -5% 105%, rgba(18,48,90,.85), transparent 55%),
           radial-gradient(700px 500px at 60% 40%, rgba(185,147,50,.10), transparent 60%);

  --success: #2FAE68;
  --danger:  #C23A3A;

  --surface:    #FAFBFC;
  --paper:      #FFFFFF;
  --line:       #E4E7EC;
  --muted:      #5A6472;
  --text:       #26303C;

  --display: "Bricolage Grotesque", "Fraunces", Georgia, serif;
  --body: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;

  --maxw: 1180px;
  --radius: 22px;
  --radius-sm: 14px;
  --radius-lg: 28px;
  --shadow: 0 22px 60px -26px rgba(11,31,58,.32);
  --shadow-sm: 0 8px 24px -14px rgba(11,31,58,.28);
  --shadow-pop: 7px 7px 0 var(--ink);        /* neo-brutalist offset shadow */
  --shadow-pop-gold: 7px 7px 0 var(--gold-deep);
  --glow-gold: 0 0 0 4px rgba(242,201,76,.22), 0 20px 50px -20px rgba(185,147,50,.55);
  --ease: cubic-bezier(.22,.61,.36,1);
  --bounce: cubic-bezier(.34,1.56,.64,1);
}

/* ---- Reset ---- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  color: var(--text);
  background: var(--surface);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--ink-2); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-ink); }

h1,h2,h3,h4 { font-family: var(--display); color: var(--ink); line-height: 1.05; font-weight: 700; letter-spacing: -.03em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: 1.34rem; }

.container { max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }
.section { padding: clamp(56px, 8vw, 100px) 0; }
.eyebrow {
  font-family: var(--body); font-weight: 800; font-size: .76rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink);
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(242,201,76,.14); padding: 6px 14px 6px 10px; border-radius: 999px;
}
.eyebrow::before { content:""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-grad); flex: none; }
.lede { font-size: 1.14rem; color: var(--muted); max-width: 60ch; }
.center { text-align: center; }
.center .lede, .center .eyebrow { margin-inline: auto; }
.center .eyebrow { justify-content: center; }

/* Gold hairline — echoes the logo gradient. Used under the header. */
.gold-rule { height: 3px; background: var(--gold-grad); background-size: 200% auto; animation: goldShift 6s linear infinite; }
@keyframes goldShift { to { background-position: 200% center; } }

/* ---- Buttons — chunky, offset-shadow, playful press ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 28px; border-radius: 999px; font-weight: 700; font-size: .97rem;
  cursor: pointer; border: 2px solid transparent;
  transition: transform .18s var(--bounce), box-shadow .18s var(--ease), background .2s, color .2s, border-color .2s;
  font-family: var(--body); white-space: nowrap;
}
.btn:hover { transform: translate(-2px,-2px); }
.btn:active { transform: translate(0,0); }
.btn--primary { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: var(--shadow-pop); }
.btn--primary:hover { background: var(--ink-2); color: #fff; box-shadow: 9px 9px 0 var(--gold); }
.btn--primary:active { box-shadow: 2px 2px 0 var(--gold); }
.btn--gold { background: var(--gold-grad); background-size: 220% auto; color: #2A1F05; border-color: var(--ink); box-shadow: var(--shadow-pop); }
.btn--gold:hover { color: #2A1F05; background-position: 100% center; box-shadow: 9px 9px 0 var(--ink); }
.btn--gold:active { box-shadow: 2px 2px 0 var(--ink); }
.btn--ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; box-shadow: var(--shadow-pop-gold); }
.btn--onDark { background: transparent; border-color: rgba(255,255,255,.35); color: #fff; }
.btn--onDark:hover { border-color: var(--gold); color: var(--gold); box-shadow: 6px 6px 0 rgba(242,201,76,.3); }
.btn--block { width: 100%; }
.btn--sm { padding: 10px 18px; font-size: .85rem; box-shadow: 4px 4px 0 var(--ink); }
.btn--sm:hover { box-shadow: 6px 6px 0 var(--gold); }

/* ---- Header (navy, so the gold logo reads) ---- */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--ink); border-bottom: 1px solid rgba(242,201,76,.15); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 20px; }
.brand { display: flex; align-items: center; }
.brand img { height: 38px; width: auto; }
.brand .mark {
  width: 42px; height: 42px; border-radius: 13px; flex: none;
  background: var(--gold-grad); color: var(--ink);
  display: grid; place-items: center; font-weight: 800; font-size: .95rem; font-family: var(--body);
  transition: transform .3s var(--bounce);
}
.brand:hover .mark { transform: rotate(-8deg) scale(1.05); }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { color: #C6D2E2; font-weight: 700; font-size: .88rem; letter-spacing: .01em; position: relative; }
.nav-links a::after { content:""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px; background: var(--gold-grad); transition: right .25s var(--ease); }
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--gold); margin: 5px 0; transition: .25s; }

/* ---- Hero ---- */
.hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.hero::before { content:""; position: absolute; inset: 0; background: var(--mesh); }
.hero::after {
  content:""; position: absolute; width: 480px; height: 480px; right: -160px; top: -160px;
  background: radial-gradient(circle, rgba(242,201,76,.35), transparent 70%);
  border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%;
  filter: blur(4px); animation: blobFloat 14s var(--ease) infinite alternate;
}
@keyframes blobFloat {
  0%   { transform: translate(0,0) rotate(0deg) scale(1); }
  100% { transform: translate(-30px,40px) rotate(18deg) scale(1.08); }
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; padding: clamp(56px, 8vw, 104px) 0; }
.hero h1 { color: #fff; }
.hero .stamp {
  background: var(--gold-grad); background-size: 200% auto; -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--gold); animation: goldShift 5s linear infinite;
}
.hero-lede { color: #C3CEDE; font-size: 1.18rem; margin: 20px 0 30px; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust { display: flex; gap: 30px; margin-top: 42px; flex-wrap: wrap; }
.hero-trust .t-num { font-family: var(--display); font-weight: 800; font-size: 2.1rem; color: var(--gold); }
.hero-trust .t-lbl { font-size: .82rem; color: #9FB0C6; }

/* Passport-card (hero signature) */
.passport {
  position: relative; background: linear-gradient(160deg, #10294A, #0A1A30);
  border: 2px solid rgba(242,201,76,.4); border-radius: 24px; padding: 26px;
  box-shadow: 0 40px 90px -40px rgba(0,0,0,.7), var(--glow-gold);
  transform: rotate(1.5deg); transition: transform .4s var(--bounce);
}
.passport:hover { transform: rotate(0deg) translateY(-4px); }
.passport-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 16px; border-bottom: 1px dashed rgba(255,255,255,.16); }
.passport-top small { letter-spacing: .32em; font-size: .68rem; color: #9FB0C6; text-transform: uppercase; }
.passport-flags { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 20px; }
.passport-flags .pf {
  aspect-ratio: 1; display: grid; place-items: center; font-size: 1.5rem;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: 14px;
  transition: transform .25s var(--bounce), background .25s, border-color .25s;
}
.passport-flags .pf:hover { transform: translateY(-4px) rotate(-4deg) scale(1.06); background: rgba(242,201,76,.16); border-color: rgba(242,201,76,.5); }
.passport-note { margin-top: 20px; font-size: .82rem; color: #9FB0C6; display: flex; align-items: center; gap: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(47,174,104,.22); animation: pulseDot 2s ease-in-out infinite; }
@keyframes pulseDot { 0%,100% { box-shadow: 0 0 0 4px rgba(47,174,104,.22); } 50% { box-shadow: 0 0 0 8px rgba(47,174,104,.10); } }

/* ---- Grids & cards ---- */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.dest-card {
  position: relative; background: var(--paper); border: 2px solid var(--line);
  border-radius: var(--radius); padding: 26px; overflow: hidden;
  transition: transform .3s var(--bounce), box-shadow .3s, border-color .3s;
  display: flex; flex-direction: column;
}
.dest-card::before {
  content:""; position: absolute; left: 0; top: 0; height: 4px; width: 0;
  background: var(--gold-grad); transition: width .35s var(--ease);
}
.dest-card:hover { transform: translateY(-8px) rotate(-.6deg); box-shadow: var(--shadow-pop-gold); border-color: var(--ink); }
.dest-card:hover::before { width: 100%; }
.dest-flag { font-size: 2.6rem; line-height: 1; }
.dest-card h3 { margin: 16px 0 8px; }
.dest-card p { color: var(--muted); font-size: .95rem; flex: 1; }
.dest-meta { display: flex; gap: 10px; margin: 18px 0; flex-wrap: wrap; }
.dest-meta span { font-size: .78rem; color: var(--ink); background: #F0F3F7; padding: 6px 12px; border-radius: 999px; font-weight: 700; }
.dest-link { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: var(--ink); font-size: .92rem; }
.dest-link::after { content:"→"; transition: transform .2s; color: var(--gold-ink); }
.dest-card:hover .dest-link::after { transform: translateX(6px); }
.badge-pop {
  position: absolute; top: 18px; right: 18px; font-size: .66rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink);
  background: var(--gold-grad); padding: 6px 11px; border-radius: 999px;
  transform: rotate(4deg); box-shadow: 3px 3px 0 var(--ink);
}

.feature { background: var(--paper); border: 2px solid var(--line); border-radius: var(--radius); padding: 28px; height: 100%; transition: transform .3s var(--bounce), box-shadow .3s, border-color .3s; }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-pop); border-color: var(--ink); }
.feature .fi {
  width: 50px; height: 50px; border-radius: 15px; background: var(--gold-grad);
  color: var(--ink); display: grid; place-items: center; font-size: 1.3rem; margin-bottom: 16px;
  transition: transform .3s var(--bounce);
}
.feature:hover .fi { transform: rotate(-8deg) scale(1.08); }
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: .95rem; }

.step { position: relative; padding-left: 60px; }
.step .num {
  position: absolute; left: 0; top: 0; width: 44px; height: 44px;
  display: grid; place-items: center; font-family: var(--display); font-weight: 800;
  color: var(--ink); background: var(--gold-grad);
  /* hexagon — echoes the mark in the logo */
  clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
}
.step h3 { margin-bottom: 6px; font-size: 1.14rem; }
.step p { color: var(--muted); font-size: .93rem; }

/* Office cards */
.office {
  background: var(--paper); border: 2px solid var(--line); border-radius: var(--radius);
  padding: 24px; height: 100%; position: relative; overflow: hidden;
  transition: transform .3s var(--bounce), box-shadow .3s, border-color .3s;
}
.office:hover { transform: translateY(-5px) rotate(.5deg); box-shadow: var(--shadow-pop); border-color: var(--ink); }
.office .of-flag { font-size: 1.9rem; line-height: 1; }
.office h3 { margin: 12px 0 4px; font-size: 1.12rem; }
.office .of-city { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); font-weight: 800; }
.office address { font-style: normal; color: var(--muted); font-size: .92rem; margin-top: 10px; line-height: 1.7; }

/* Bands */
.band-dark { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark .lede { color: #B7C4D6; }
.band-dark .eyebrow { color: var(--gold); background: rgba(242,201,76,.14); }
.band-dark .eyebrow::before { background: var(--gold-grad); }
.band-soft { background: #fff; }

/* ---- Forms ---- */
.form-card { background: var(--paper); border: 2px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: .88rem; color: var(--ink); margin-bottom: 7px; }
.field .req { color: var(--gold-ink); }
.input, select, textarea {
  width: 100%; padding: 13px 16px; border: 2px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--body); font-size: .96rem; color: var(--text); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold-deep); box-shadow: 0 0 0 4px rgba(242,201,76,.22); }
textarea { min-height: 130px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.help { font-size: .82rem; color: var(--muted); margin-top: 6px; }
input[type="file"] { padding: 10px; background: #F7F9FB; }

.flash { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 18px; font-size: .92rem; font-weight: 600; border: 2px solid transparent; }
.flash--ok { background: #E8F6EE; color: #1C7A45; border-color: #BFE6CF; }
.flash--error { background: #FDECEC; color: #B23636; border-color: #F3CACA; }

/* Interior page hero */
.page-hero { background: var(--ink); color: #fff; padding: clamp(50px, 7vw, 90px) 0 clamp(40px, 6vw, 70px); position: relative; overflow: hidden; }
.page-hero::before { content:""; position: absolute; inset: 0; background: var(--mesh); }
.page-hero h1 { color: #fff; position: relative; }
.page-hero p { color: #B7C4D6; position: relative; max-width: 60ch; margin-top: 14px; }
.page-hero .hero-actions { position: relative; }
.breadcrumb { position: relative; font-size: .84rem; color: #93A4BD; margin-bottom: 16px; }
.breadcrumb a { color: #93A4BD; }
.breadcrumb a:hover { color: var(--gold); }

/* ---- Footer ---- */
.site-footer { background: var(--ink-3); color: #A9B6C9; padding: 64px 0 30px; position: relative; overflow: hidden; }
.site-footer::before { content:""; position: absolute; inset: 0; background: var(--mesh); opacity: .5; pointer-events: none; }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 34px; }
.site-footer h4 { color: #fff; font-family: var(--body); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer a { color: #A9B6C9; display: block; padding: 5px 0; font-size: .93rem; }
.site-footer a:hover { color: var(--gold); }
.footer-brand img { height: 40px; width: auto; margin-bottom: 14px; }
.footer-brand p { font-size: .93rem; margin-bottom: 14px; max-width: 38ch; }
.footer-offices { position: relative; display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; margin-top: 44px; padding-top: 34px; border-top: 1px solid rgba(255,255,255,.09); }
.footer-offices .fo-name { color: var(--gold); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; margin-bottom: 8px; }
.footer-offices address { font-style: normal; font-size: .86rem; line-height: 1.7; color: #8D9BB0; }
.footer-bottom {
  position: relative; border-top: 1px solid rgba(255,255,255,.09); margin-top: 34px; padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: .84rem; color: #7F8DA3;
}

/* Stats */
.stats-strip { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.stat { text-align: center; padding: 8px; }
.stat .n { font-family: var(--display); font-weight: 800; font-size: clamp(2.1rem,4vw,3rem); background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat .l { font-size: .86rem; color: #B7C4D6; }

/* ---- Portal / Admin shell ---- */
.app-shell { display: grid; grid-template-columns: 254px 1fr; min-height: 100vh; }
.app-side { background: var(--ink); color: #CDD8E6; padding: 26px 18px; position: relative; }
.app-side::after { content:""; position: absolute; top: 0; right: 0; bottom: 0; width: 3px; background: var(--gold-grad); }
.app-side .brand { margin-bottom: 6px; }
.app-side .brand img { height: 34px; }
.app-side nav a { display: flex; align-items: center; gap: 11px; color: #A9B6C9; padding: 11px 13px; border-radius: 12px; font-weight: 600; font-size: .93rem; margin-bottom: 3px; transition: background .2s, color .2s, transform .2s; }
.app-side nav a:hover { background: rgba(255,255,255,.06); color: #fff; transform: translateX(2px); }
.app-side nav a.active { background: var(--gold-grad); color: var(--ink); font-weight: 800; box-shadow: 0 6px 18px -6px rgba(242,201,76,.5); }
.nav-badge { margin-left: auto; background: var(--danger); color: #fff; border-radius: 10px; padding: 1px 7px; font-size: .7rem; font-weight: 700; }
.app-main { padding: 30px clamp(20px,4vw,44px); background: var(--surface); }
.app-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; flex-wrap: wrap; gap: 14px; }
.app-top h1 { font-size: 1.85rem; }
.app-burger { display: none; background: none; border: 0; font-size: 1.55rem; line-height: 1; color: var(--ink); cursor: pointer; padding: 4px 8px; margin-right: 2px; }
.nav-backdrop { display: none; }
.kpi-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin-bottom: 28px; }
.kpi { background: var(--paper); border: 2px solid var(--line); border-radius: var(--radius); padding: 22px; transition: transform .25s var(--bounce), box-shadow .25s, border-color .25s; }
.kpi:hover { transform: translateY(-4px); border-color: var(--gold-deep); box-shadow: var(--shadow-sm); }
.kpi .n { font-family: var(--display); font-weight: 800; font-size: 2.2rem; color: var(--ink); }
.kpi .l { font-size: .84rem; color: var(--muted); }
.panel { background: var(--paper); border: 2px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 22px; }
.panel h2 { font-size: 1.28rem; }

/* Tables stay clean and dense on purpose — this is where real work happens */
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th { text-align: left; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 11px 12px; border-bottom: 2px solid var(--line); }
.table td { padding: 13px 12px; border-bottom: 1px solid var(--line); color: var(--text); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table tr:hover td { background: #FBF9F2; }
.pill { display: inline-block; font-size: .74rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; text-transform: capitalize; }
.pill--new { background: #EAF1FB; color: #12305A; }
.pill--pending { background: #FBF2DF; color: #8A6A1E; }
.pill--approved, .pill--active { background: #E5F5EB; color: #1C7A45; }
.pill--rejected { background: #FDECEC; color: #B23636; }

/* Auth screens */
.auth-wrap {
  min-height: 100vh; display: grid; place-items: center; padding: 30px 18px;
  background: var(--mesh), var(--surface);
}
.auth-card { width: 100%; max-width: 430px; }
.auth-card .form-card { padding: 34px; box-shadow: var(--shadow-pop-gold); }
.auth-head { text-align: center; margin-bottom: 24px; }
.auth-head .brand { justify-content: center; margin-bottom: 14px; }
.auth-head .brand img { height: 42px; }
.auth-logo-plate { background: var(--ink); border-radius: 16px; padding: 18px 22px; display: inline-block; margin-bottom: 14px; box-shadow: var(--shadow-pop); }
.auth-logo-plate img { height: 38px; width: auto; }

/* Messages */
.msg { border: 2px solid var(--line); border-radius: var(--radius-sm); padding: 15px 17px; margin-bottom: 12px; }
.msg--me { background: #F0F3F7; }
.msg--them { background: #fff; border-left: 4px solid var(--gold); }
.msg .who { font-weight: 700; font-size: .84rem; color: var(--ink); }
.msg .when { font-size: .76rem; color: var(--muted); }
.msg .body { margin-top: 6px; font-size: .93rem; }

/* Utilities */
.mt-0{margin-top:0}.mt-1{margin-top:10px}.mt-2{margin-top:20px}.mt-3{margin-top:32px}
.mb-2{margin-bottom:20px}.mb-3{margin-bottom:32px}
.text-muted{color:var(--muted)}.small{font-size:.86rem}
.split{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--bounce); }
.reveal.in { opacity: 1; transform: none; }

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .grid--4 { grid-template-columns: repeat(2,1fr); }
  .grid--3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-offices { grid-template-columns: repeat(2,1fr); }
  .kpi-grid { grid-template-columns: repeat(2,1fr); }
  .stats-strip { grid-template-columns: repeat(2,1fr); }
  .app-shell { grid-template-columns: 1fr; }
  .app-burger { display: inline-flex; }
  .app-side {
    position: fixed; top: 0; left: 0; bottom: 0; width: 254px; z-index: 1001;
    overflow-y: auto; transform: translateX(-100%); transition: transform .25s ease;
  }
  .app-side.open { transform: translateX(0); box-shadow: 0 0 40px rgba(0,0,0,.4); }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 1000; }
  .nav-backdrop.open { display: block; }
}
@media (max-width: 640px) {
  .nav-links, .nav-cta .btn--onDark { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; position: absolute; top: 78px; left: 0; right: 0; flex-direction: column;
    background: var(--ink); border-top: 1px solid rgba(255,255,255,.1); padding: 16px 22px; gap: 4px;
  }
  .nav-links.open a { padding: 12px 0; width: 100%; border-bottom: 1px solid rgba(255,255,255,.07); }
  .field-row { grid-template-columns: 1fr; }
  .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .footer-grid, .footer-offices { grid-template-columns: 1fr; }
  .kpi-grid, .stats-strip { grid-template-columns: 1fr 1fr; }
  .brand img { height: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

a:focus-visible, button:focus-visible, .btn:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--gold); outline-offset: 2px;
}


/* =====================================================================
   MODERN VISA-SEARCH LAYOUT
   Patterns borrowed from the visa industry (from/to checker, top
   destinations, comparison table) rendered in the IDK navy/gold brand.
   ===================================================================== */

/* ---- Trust bar under the header ---- */
.trustbar { background: var(--ink-3); color: #9FB0C6; font-size: .84rem; }
.trustbar .container { display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; padding-block: 10px; }
.trustbar b { color: var(--gold); }

/* ---- Hero built around the search widget ---- */
.hero-search { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.hero-search::before { content: ""; position: absolute; inset: 0; background: var(--mesh); }
.hero-search .inner { position: relative; padding: clamp(52px,7vw,86px) 0 clamp(80px,9vw,110px); text-align: center; }
.hero-search h1 { color: #fff; max-width: 16ch; margin-inline: auto; }
.hero-search .sub { color: #C3CEDE; font-size: 1.1rem; max-width: 56ch; margin: 18px auto 0; }

/* The from/to checker — floats over the hero edge */
.vcheck {
  position: relative; z-index: 5; background: #fff; border-radius: 22px; border: 2px solid var(--ink);
  box-shadow: var(--shadow-pop-gold); padding: 20px;
  display: grid; grid-template-columns: 1fr auto 1fr auto; gap: 14px; align-items: end;
  max-width: 980px; margin: 34px auto 0; text-align: left;
}
.vcheck--inline { margin-top: 0; }
.vcheck .vc-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.vcheck label {
  font-size: .7rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: var(--muted);
}
.vcheck select {
  border: 2px solid var(--line); border-radius: 13px; padding: 13px 14px;
  font-size: 1rem; font-weight: 700; color: var(--ink); background: #fff; width: 100%;
}
.vcheck select:focus { border-color: var(--gold-deep); box-shadow: 0 0 0 4px rgba(242,201,76,.22); outline: none; }
.vcheck .vc-swap {
  align-self: end; margin-bottom: 6px; width: 42px; height: 42px; flex: none;
  border-radius: 50%; border: 2px solid var(--line); background: #fff; cursor: pointer;
  font-size: 1rem; color: var(--ink); transition: transform .3s var(--bounce), border-color .2s;
}
.vcheck .vc-swap:hover { transform: rotate(180deg) scale(1.08); border-color: var(--gold); }
.vcheck .btn { padding: 14px 28px; }

/* ---- Destination cards, search-result style ---- */
.dest-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.dcard {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px;
  background: #fff; border: 2px solid var(--line); border-radius: 18px;
  transition: transform .25s var(--bounce), box-shadow .25s, border-color .25s;
}
.dcard:hover { transform: translateY(-4px) rotate(-.5deg); box-shadow: var(--shadow-pop-gold); border-color: var(--ink); }
.dcard .fl { font-size: 2.2rem; line-height: 1; flex: none; }
.dcard .meta { flex: 1; min-width: 0; }
.dcard .nm { font-weight: 800; color: var(--ink); font-size: 1rem; }
.dcard .sub { font-size: .8rem; color: var(--muted); }
.dcard .go { color: var(--gold-ink); font-size: 1.2rem; transition: transform .2s; }
.dcard:hover .go { transform: translateX(4px); }

/* ---- Comparison table (with us vs alone) ---- */
.vs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.vs-col { border-radius: var(--radius); padding: 28px; border: 2px solid var(--line); background: #fff; }
.vs-col--win { border-color: var(--gold-deep); box-shadow: var(--shadow-pop-gold); }
.vs-col h3 { display: flex; align-items: center; gap: 9px; }
.vs-col .tag { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.vs-col--win .tag { background: var(--gold-grad); color: var(--ink); }
.vs-col--lose .tag { background: #F0F3F7; color: var(--muted); }
.vs-list { list-style: none; padding: 0; margin: 18px 0 0; }
.vs-list li { padding: 11px 0 11px 30px; position: relative; font-size: .93rem; border-bottom: 1px solid var(--line); }
.vs-list li:last-child { border-bottom: 0; }
.vs-list li strong { display: block; color: var(--ink); }
.vs-list li span { color: var(--muted); font-size: .88rem; }
.vs-col--win .vs-list li::before { content: "✓"; position: absolute; left: 0; top: 11px; color: var(--success); font-weight: 800; }
.vs-col--lose .vs-list li::before { content: "✕"; position: absolute; left: 0; top: 11px; color: var(--danger); }

/* ---- Result page ---- */
.result-head { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.result-head .rf { font-size: 2.7rem; line-height: 1; }
.route-pill {
  display: inline-flex; align-items: center; gap: 12px; background: rgba(255,255,255,.08);
  border: 2px solid rgba(255,255,255,.18); border-radius: 999px; padding: 9px 18px;
  font-size: .92rem; color: #fff;
}
.route-pill .arw { color: var(--gold); }

@media (max-width: 860px) {
  .vcheck { grid-template-columns: 1fr; gap: 12px; padding: 18px; }
  .vcheck .vc-swap { display: none; }
  .vcheck .btn { width: 100%; }
  .dest-grid { grid-template-columns: 1fr; }
  .vs-grid { grid-template-columns: 1fr; }
}


/* =====================================================================
   MODERN HERO — photographic background + frosted glass search card
   ===================================================================== */

.hero-search {
  background-image:
    linear-gradient(180deg, rgba(6,16,30,.74) 0%, rgba(6,16,30,.5) 45%, rgba(6,16,30,.88) 100%),
    url("../img/hero.jpg");
  background-size: cover;
  background-position: center;
  isolation: isolate;
}
.hero-search::before { display: none; }   /* the photo replaces the old gradient wash */

.hero-search .inner { padding: clamp(72px,10vw,132px) 0 clamp(96px,11vw,140px); }
.hero-search h1 {
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  letter-spacing: -.03em;
  max-width: 17ch;
  text-shadow: 0 2px 40px rgba(0,0,0,.45);
}
.hero-search .sub { font-size: clamp(1.02rem, 1.5vw, 1.22rem); color: #D3DEEC; }

/* Frosted-glass search card */
.vcheck {
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 40px 90px -35px rgba(0,0,0,.75), inset 0 1px 0 rgba(255,255,255,.25);
  gap: 12px;
}
.vcheck label { color: rgba(255,255,255,.75); }
.vcheck select {
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 14px;
  padding: 15px 16px;
  font-size: 1rem;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' stroke='%230B1F3A' stroke-width='2' fill='none' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
  cursor: pointer;
}
.vcheck select:focus { box-shadow: 0 0 0 4px rgba(242,201,76,.35); border-color: var(--gold); }
.vcheck .vc-swap {
  background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.28); color: #fff;
  backdrop-filter: blur(8px);
}
.vcheck .vc-swap:hover { background: rgba(242,201,76,.3); border-color: var(--gold); color: #fff; }
.vcheck .btn--gold { padding: 15px 30px; font-size: 1rem; border-radius: 14px; }

/* On a light section the glass needs a solid backing */
.vcheck--inline {
  background: #fff;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-pop-gold);
}
.vcheck--inline label { color: var(--muted); }
.vcheck--inline select { background-color: #fff; border-color: var(--line); }
.vcheck--inline .vc-swap { background: #fff; border-color: var(--line); color: var(--ink); }

/* Reassurance line under the card */
.hero-note {
  margin-top: 18px; font-size: .88rem; color: #A9BACE;
  display: flex; gap: 22px; justify-content: center; flex-wrap: wrap;
}
.hero-note span { display: inline-flex; align-items: center; gap: 7px; }
.hero-note .tick { color: var(--gold); }

/* ---- Softer, more modern cards ---- */
.dcard { border-radius: 18px; padding: 20px 22px; }
.dcard:hover { box-shadow: var(--shadow-pop-gold); }
.feature { border-radius: 20px; }
.office  { border-radius: 20px; }
.vs-col  { border-radius: 22px; }

/* Section rhythm */
.section { padding: clamp(64px, 9vw, 112px) 0; }

@media (max-width: 860px) {
  .hero-search { background-attachment: scroll; }
  .vcheck { border-radius: 18px; }
  .hero-note { gap: 12px; font-size: .82rem; }
}

/* ---- Labelled document slots on the application form ---- */
.doc-slots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.doc-slot {
  border: 2px solid var(--line); border-radius: 14px; padding: 14px 16px; background: #fff;
  transition: border-color .2s, transform .2s;
}
.doc-slot--req { border-color: var(--gold-deep); background: #FFFDF8; }
.doc-slot label { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .92rem; margin-bottom: 8px; }
.doc-slot input[type=file] { width: 100%; font-size: .85rem; }
.req-star { color: var(--danger); font-weight: 800; }
.opt-tag { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); background: #F0F3F7; padding: 3px 8px; border-radius: 999px; }
@media (max-width: 640px) { .doc-slots { grid-template-columns: 1fr; } }

/* ---- Notification bell ---- */
.bell-wrap { position: relative; }
.bell {
  background: #fff; border: 2px solid var(--line); border-radius: 50%;
  width: 40px; height: 40px; cursor: pointer; font-size: 1rem; position: relative;
  transition: border-color .2s, transform .2s;
}
.bell:hover { border-color: var(--gold); transform: translateY(-2px) rotate(-8deg); }
.bell-dot {
  position: absolute; top: -6px; right: -6px; min-width: 19px; height: 19px;
  background: var(--gold-ink); color: #fff; border-radius: 999px;
  font-size: .68rem; font-weight: 800; line-height: 19px; padding: 0 5px;
  box-shadow: 0 0 0 2px #fff;
}
.bell-dot--urgent { background: var(--danger); }
.bell-panel {
  display: none; position: absolute; right: 0; top: 48px; width: 320px; z-index: 60;
  background: #fff; border: 2px solid var(--ink); border-radius: 16px;
  box-shadow: var(--shadow-pop-gold); overflow: hidden;
}
.bell-panel.open { display: block; }
.bell-item {
  display: flex; gap: 10px; align-items: flex-start; padding: 12px 15px;
  border-bottom: 1px solid var(--line); font-size: .88rem; color: var(--ink);
  transition: background .15s;
}
.bell-item:last-child { border-bottom: 0; }
.bell-item:hover { background: #FBF9F2; }
.bell-item--urgent { border-left: 3px solid var(--danger); }
.bell-item--warn   { border-left: 3px solid var(--gold); }
.bell-item--info   { border-left: 3px solid var(--line); }
.bell-empty { padding: 20px 16px; text-align: center; color: var(--muted); font-size: .88rem; }
@media (max-width: 640px) { .bell-panel { width: 280px; } }

/* ---- Lead pipeline board ---- */
.pipeline-board { display: grid; grid-template-columns: repeat(5, minmax(190px, 1fr)); gap: 12px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 22px; }
.pipe-col { background: #F4F3EC; border-radius: 16px; padding: 12px; min-width: 190px; }
.pipe-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: .84rem; }
.pipe-count { background: var(--ink); color: #fff; border-radius: 999px; font-size: .7rem; padding: 1px 8px; font-weight: 800; }
.pipe-card { background: #fff; border: 2px solid var(--line); border-radius: 13px; padding: 11px 12px; margin-bottom: 9px; transition: box-shadow .2s, transform .2s; }
.pipe-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px) rotate(-.5deg); border-color: var(--gold-deep); }
.pipe-card--due { border-left: 4px solid var(--danger); }
.pipe-card a { color: var(--ink); font-size: .9rem; }
.score-bar { display: inline-block; width: 60px; height: 6px; background: #E3E9F0; border-radius: 999px; overflow: hidden; vertical-align: middle; }
.score-bar > span { display: block; height: 100%; background: var(--gold-grad); }
@media (max-width: 900px) { .pipeline-board { grid-template-columns: repeat(5, 200px); } }

/* ---- Staff "My Day" ---- */
.todo {
  padding: 12px 13px; border-radius: 13px; margin-bottom: 7px;
  background: #F7F9FC; color: var(--ink); font-size: .9rem;
  border-left: 3px solid var(--line); transition: background .15s, transform .15s;
}
a.todo:hover { background: #F4F3EC; transform: translateX(3px); }
.todo--urgent { border-left-color: var(--danger); background: #FFF8F8; }
.todo--warn   { border-left-color: var(--gold); background: #FFFDF8; }
.tbar { height: 11px; background: #E9EEF4; border-radius: 999px; overflow: hidden; margin-top: 5px; }
.tbar > span { display: block; height: 100%; border-radius: 999px; transition: width .5s var(--ease); }
