/* ==========================================================================
   Public site + candidate portal styles
   ========================================================================== */
:root {
  /* FIFOconnect brand palette, sampled from the logo: navy, orange, royal blue, ice blue (+ shades) */
  --navy: #0b1f4d;
  --navy-2: #163a7a;
  --navy-deep: #07163a;
  --orange: #fb7a05;
  --orange-dark: #e06a00;
  --orange-text: #c55a06;   /* orange for text on white (4.3:1); use navy text on orange fills */
  --royal: #1f56a8;
  --royal-dark: #184585;
  --ice: #e6f1fd;
  --paper: #f5f9fe;
  --ink: #0f1d3d;
  --text: #3a4660;
  --muted: #66718a;
  --line: #d9e2ef;
  --white: #fff;
  --success: #12805c;
  --success-bg: #e6f6ef;
  --error: #c62f2f;
  --error-bg: #fdecec;
  --info: #1f56a8;
  --info-bg: #e6f1fd;
  --warn: #9a5a00;
  --warn-bg: #fff1e0;
  --radius: 6px;
  --shadow: 0 2px 10px rgba(11, 31, 77, .08);
  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  /* aliases (admin console + older rules) */
  --charcoal: var(--navy);
  --slate: var(--navy-2);
  --red: var(--orange);
  --red-dark: var(--orange-dark);
  --blue: var(--royal);
  --blue-dark: var(--royal-dark);
  --cream: var(--ice);
  --accent: var(--orange);
  --accent-2: var(--orange-dark);
  --teal: var(--royal);
  --bg-alt: var(--paper);
  --card: #fff;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 400 16px/1.6 var(--font); color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; font-weight: 400; }
p { margin: 0 0 1em; }
button { font-family: inherit; }
.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container-narrow { width: 100%; max-width: 1173px; margin: 0 auto; padding: 0 24px; }
.container-wide { width: 100%; padding: 0 36px; }
.center { text-align: center; }
.inline { display: inline; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.hint { color: var(--muted); font-size: .82rem; font-weight: 400; }
.pre { white-space: pre-wrap; }
.pad { padding: 18px 24px; }
.empty { color: var(--muted); padding: 12px 0; }
.is-hidden, [hidden] { display: none !important; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 200; background: #fff; padding: 8px 12px; }
.bar { display: block; width: 32px; height: 6px; background: var(--orange); margin-bottom: 18px; }
.bar.white { background: #fff; }
.u-link { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; font-size: 1rem; color: inherit; }
.u-link:hover { text-decoration-thickness: 2px; }
.linklike { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 500; color: rgba(255,255,255,.75); margin: 0 0 8px; }
.section-h { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 500; letter-spacing: -.01em; margin-bottom: 28px; }
.section-h.light { color: #fff; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: 12px 18px; border: 1px solid transparent; border-radius: 2px; font: 500 1rem var(--font); text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; white-space: nowrap; line-height: 1.3; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-blue { background: var(--royal); color: #fff; }
.btn-blue:hover { background: var(--royal-dark); }
.btn-red, .btn-primary { background: var(--orange); color: var(--navy); font-weight: 600; }
.btn-red:hover, .btn-primary:hover { background: var(--orange-dark); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-deep); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--ice); }
.btn-outline { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); }
.btn-outline-white { border-color: #fff; color: #fff; background: transparent; }
.btn-outline-white:hover { background: rgba(255,255,255,.12); }
.btn-danger { background: var(--error-bg); color: var(--error); margin-top: 10px; }
.btn-danger:hover { background: var(--error); color: #fff; }
.btn-sm { padding: 6px 12px; font-size: .85rem; }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; color: var(--ink); }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 500; color: var(--ink); text-decoration: none; }
.link-arrow.small { font-size: .875rem; }
.icon-btn { background: none; border: 0; padding: 6px; border-radius: 4px; cursor: pointer; color: var(--muted); display: inline-flex; }
.icon-btn:hover { background: var(--error-bg); color: var(--error); }
.icon-btn.light { color: rgba(255,255,255,.7); }
.icon-btn.light:hover { background: rgba(255,255,255,.1); color: #fff; }

/* Logo */
.logo { display: inline-flex; align-items: center; text-decoration: none; color: #fff; }
.logo-card { display: block; background: #fff; padding: 10px 14px; border-radius: 4px; box-shadow: 0 4px 16px rgba(7, 22, 58, .25); }
.logo-card img { display: block; height: 40px; width: auto; }
.logo-full { display: block; width: 100%; max-width: 360px; height: auto; margin-bottom: 20px; }
.logo-light { color: #fff; }

/* ==========================================================================
   Header (overlays the hero/banner of every page)
   ========================================================================== */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 50; color: #fff; padding-top: 34px; }
.header-grid { position: relative; display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; column-gap: 48px; align-items: center; }
.header-grid > .logo { grid-row: 1 / span 2; align-self: start; }
.header-top { grid-column: 2 / span 2; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-bottom: 6px; border-bottom: 1px solid rgba(255,255,255,.75); }
.audience-switch { display: inline-flex; border: 1px solid #fff; border-radius: 22px; padding: 2px; }
.audience-switch a { padding: 6px 14px; border-radius: 20px; text-decoration: none; font-size: .95rem; color: #fff; transition: background .15s; }
.audience-switch a.on { background: #fff; color: var(--ink); }
.utility { list-style: none; display: flex; gap: 16px; margin: 0; padding: 0; font-size: .9rem; font-weight: 300; }
.utility a, .utility .linklike { text-decoration: none; opacity: .92; }
.utility a:hover, .utility .linklike:hover { opacity: 1; text-decoration: underline; }
.main-nav ul { list-style: none; display: flex; gap: 30px; margin: 0; padding: 18px 0 0; }
.main-nav a, .nav-trigger { color: #fff; text-decoration: none; font: 300 1rem var(--font); background: none; border: 0; padding: 4px 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.nav-trigger .icon { width: 18px; height: 18px; transition: transform .2s; }
.main-nav a:hover, .nav-trigger:hover { text-decoration: underline; text-underline-offset: 6px; }
.has-mega.open .nav-trigger .icon { transform: rotate(180deg); }
.mega { display: none; position: absolute; left: 0; right: 0; top: 100%; padding-top: 14px; z-index: 60; }
.has-mega:hover .mega, .has-mega.open .mega, .has-mega:focus-within .mega { display: block; }
.mega-inner { background: #fff; color: var(--ink); border-radius: var(--radius); box-shadow: 0 16px 40px rgba(0,0,0,.18); padding: 32px 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.mega-col h3 { font-size: 1.05rem; font-weight: 500; margin-bottom: 14px; padding-left: 12px; border-left: 4px solid var(--orange); }
.mega-col ul { display: grid; gap: 10px; padding: 0; }
.mega-col a { color: var(--text); font-size: .95rem; }
.mega-col a:hover { color: var(--royal); }
.header-actions { grid-column: 3; display: flex; align-items: center; gap: 10px; padding-top: 18px; }
.btn-outline-light { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #fff; padding: 7px 12px; color: #fff; text-decoration: none; font-size: .95rem; font-weight: 300; position: relative; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); }
.btn-outline-light .icon { fill: #fff; }
.saved-count { position: absolute; top: -8px; right: -8px; background: var(--orange); color: var(--navy); font-size: .7rem; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; font-weight: 600; }
.menu-toggle { display: none; background: none; border: 0; color: #fff; padding: 6px; cursor: pointer; }
.menu-toggle .icon { width: 28px; height: 28px; }
.mobile-menu { position: fixed; inset: 0; background: var(--navy); color: #fff; z-index: 100; overflow-y: auto; padding: 20px 20px 40px; }
.mobile-menu-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.mobile-menu .menu-toggle { display: inline-flex; }
.mobile-menu .audience-switch { margin-bottom: 20px; }
.mobile-menu details { border-bottom: 1px solid rgba(255,255,255,.15); }
.mobile-menu summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-size: 1.15rem; cursor: pointer; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu details[open] summary .icon { transform: rotate(180deg); }
.mobile-menu details h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; opacity: .6; margin: 8px 0; }
.mobile-menu details ul { list-style: none; padding: 0 0 16px; margin: 0; display: grid; gap: 12px; }
.mobile-menu a { text-decoration: none; }
.mobile-link { display: block; padding: 16px 0; font-size: 1.15rem; border-bottom: 1px solid rgba(255,255,255,.15); }
.mobile-utility { list-style: none; padding: 20px 0 0; margin: 0; display: grid; gap: 12px; opacity: .85; }

/* ==========================================================================
   Hero + banners
   ========================================================================== */
.hero { position: relative; min-height: 515px; padding: 245px 0 40px; background: var(--navy); color: #fff; overflow: hidden; }
.hero-img, .banner-img, .international-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after, .banner.has-image::after, .search-banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 22, 58,.72), rgba(7, 22, 58,.45) 45%, rgba(7, 22, 58,.55)); }
.banner.has-image::after, .search-banner::after { background: linear-gradient(180deg, rgba(7, 22, 58,.78), rgba(7, 22, 58,.6)); }
.hero-inner, .banner-inner { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); font-weight: 400; letter-spacing: -.005em; margin-bottom: 30px; }
.hero-sub { font-size: 1.15rem; font-weight: 300; max-width: 620px; margin-bottom: 26px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.search-bar { display: flex; gap: 6px; padding: 5px; background: rgba(255,255,255,.45); border-radius: 3px; max-width: 1125px; }
.search-bar input { flex: 1; min-width: 0; border: 0; border-radius: 2px; padding: 0 12px; height: 54px; font: 400 .95rem var(--font); color: var(--ink); }
.search-bar input:focus { outline: 2px solid var(--royal); }
.search-bar .btn { padding: 0 28px; height: 54px; }
.banner { position: relative; min-height: 360px; padding: 190px 0 52px; background: var(--navy); color: #fff; overflow: hidden; }
.banner h1 { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 400; margin-bottom: 12px; max-width: 900px; }
.banner-intro { font-size: 1.1rem; font-weight: 300; max-width: 720px; opacity: .95; margin: 0; }
.crumbs { font-size: .85rem; font-weight: 300; margin-bottom: 14px; opacity: .9; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span { margin: 0 4px; }
.search-banner h1 { margin-bottom: 24px; }
.job-facts { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px; font-weight: 300; }
.job-facts li { display: inline-flex; align-items: center; gap: 8px; }

/* Flash */
.flash-wrap { background: var(--paper); padding: 16px 0 0; }
.flash { padding: 12px 16px; border-radius: 3px; font-weight: 400; border-left: 4px solid; margin-bottom: 8px; }
.flash-success { background: var(--success-bg); color: var(--success); }
.flash-error { background: var(--error-bg); color: var(--error); }
.flash-info { background: var(--info-bg); color: var(--info); }

/* ==========================================================================
   Rails (horizontal carousels)
   ========================================================================== */
.rail { position: relative; min-width: 0; }
.rail-track { display: flex; gap: 36px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 36px; scroll-behavior: smooth; scrollbar-width: none; padding: 4px 36px 12px; }
.rail-track::-webkit-scrollbar { display: none; }
.rail-track > * { scroll-snap-align: start; flex: none; }
.rail-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 58px; height: 58px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); z-index: 3; }
.rail-btn .icon { width: 24px; height: 24px; }
.rail-btn.next { right: 22px; }
.rail-btn.prev { left: 22px; }
.rail-btn[disabled] { display: none; }

/* Promo cards */
.promos { background: var(--ice); padding: 64px 0 60px; }
.promo { width: 340px; min-height: 640px; background: #fff; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .2s; }
.promo:hover { transform: translateY(-3px); }
.promo-text { flex: 1; display: flex; flex-direction: column; padding: 22px 20px 20px; }
.promo-text h2 { font-size: 2rem; font-weight: 300; letter-spacing: .01em; line-height: 1.22; }
.promo-text .u-link { margin-top: auto; }
.promo > img { width: 70%; height: 250px; object-fit: cover; }
.promo.red { background: var(--orange); color: var(--navy); }
.promo.red .bar { background: var(--navy); }
.promo.image-top > img { width: 100%; height: 320px; }
.promo.image-top .promo-text { min-height: 250px; }

/* Opportunities / jobs */
.opportunities { background: var(--paper); padding: 56px 0 64px; }
.chips-wrap { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; flex: 1; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; border: 1px solid #c9ced3; background: #fff; border-radius: 20px; padding: 5px 13px; font: 400 1rem var(--font); color: var(--ink); cursor: pointer; }
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--royal); border-color: var(--royal); color: #fff; }
.chip-arrow { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid #c9ced3; background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.job-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 36px; }
.job-grid.one { grid-template-columns: 1fr; }
.job-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 20px 24px; display: flex; flex-direction: column; height: 100%; }
.job-slot { display: flex; }
.job-slot > .job-card { flex: 1; }
.job-card-top { display: flex; justify-content: space-between; gap: 16px; }
.job-date { font-size: .9rem; color: var(--muted); font-weight: 300; margin: 0 0 6px; }
.job-card h3 { font-size: 1.6rem; font-weight: 400; margin-bottom: 14px; }
.job-card h3 a { color: var(--royal); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.job-card h3 a:hover { color: var(--navy); }
.heart { flex: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--ink); transition: background .15s, color .15s; }
.heart .icon { width: 22px; height: 22px; }
.heart[aria-pressed="true"], .save-btn[aria-pressed="true"] { color: var(--orange); }
.heart[aria-pressed="true"] .icon, .save-btn[aria-pressed="true"] .icon { fill: var(--orange); }
.job-summary { font-size: .95rem; color: var(--text); font-weight: 300; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 18px; }
.job-meta { margin-top: auto; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .95rem; }
.job-meta span { display: inline-flex; align-items: center; gap: 8px; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; background: #fff; padding: 18px 20px; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 20px; }
.filter-bar label { display: grid; gap: 4px; font-size: .8rem; color: var(--muted); flex: 1; min-width: 170px; }
.result-count { color: var(--muted); margin-bottom: 16px; }
.empty-card { background: #fff; border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); text-align: center; margin-bottom: 24px; }
.empty-card h3 { font-size: 1.4rem; }

/* Sector band */
.sectors-band { background: var(--navy); padding: 66px 0; color: #fff; }
.sectors-band.flat { padding: 56px 0 72px; }
.sectors-layout { display: grid; grid-template-columns: 440px 1fr; align-items: stretch; }
.sectors-intro { padding: 0 36px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.sectors-intro h2 { font-size: clamp(1.8rem, 2.6vw, 2.45rem); font-weight: 400; }
.sectors-intro .btn { align-self: flex-start; }
.sectors-layout .rail-track { padding-left: 36px; scroll-padding-left: 36px; }
.sector-card { width: 340px; min-height: 580px; background: var(--c, var(--royal)); color: var(--t, #fff); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; transition: transform .2s; }
.sector-card:hover { transform: translateY(-3px); }
.sector-card-text { flex: 1; padding: 20px 20px 24px; display: flex; flex-direction: column; }
.sector-card h3 { font-size: 2.1rem; font-weight: 300; line-height: 1.2; }
.sector-card p { font-size: .95rem; font-weight: 300; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.sector-card .u-link { margin-top: auto; }
.sector-card > img { width: 240px; height: 240px; object-fit: cover; }
.sector-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.sector-grid .sector-card { width: auto; }

/* Teams / branches */
.teams { background: var(--ice); padding: 72px 0; }
.teams-card { display: grid; grid-template-columns: 1fr 1fr; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 580px; }
.map { min-height: 420px; background: #8fd3e8; z-index: 0; }
.teams-info { padding: 32px 32px 40px; }
.teams-info h3 { font-size: 2rem; font-weight: 400; margin-bottom: 32px; }
.search-mini { display: flex; gap: 6px; padding: 3px; box-shadow: var(--shadow); border-radius: 3px; margin-bottom: 28px; }
.search-mini input { flex: 1; border: 1px solid var(--line); border-radius: 2px; height: 38px; padding: 0 10px; font: 400 .9rem var(--font); min-width: 0; }
.search-mini .btn { padding: 0 18px; height: 38px; }
.state-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.state-links a { text-decoration: none; }
.state-links a:hover { color: var(--royal); text-decoration: underline; }
.state-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.state-tabs a { padding: 4px 12px; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; font-size: .9rem; }
.state-tabs a.on { background: var(--royal); border-color: var(--royal); color: #fff; }
.branch-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; max-height: 420px; overflow-y: auto; }
.branch-list li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.branch-list .bar { width: 6px; height: 34px; margin: 0; flex: none; }
.branch-list div { flex: 1; display: grid; }
.branch-list div span { color: var(--muted); font-size: .85rem; }
.branch-list a { text-decoration: none; font-size: .9rem; display: inline-flex; gap: 6px; align-items: center; }
.map-pin { width: 26px; height: 34px; }
.map-pin svg { width: 26px; height: 34px; filter: drop-shadow(0 2px 2px rgba(0,0,0,.3)); }

/* News */
.news-band { background: var(--navy); padding: 56px 0 66px; }
.news-band.flat { padding: 56px 0 72px; }
.news-card { width: 500px; min-height: 700px; background: #fff; color: var(--ink); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; }
.news-card.red { background: var(--orange); color: var(--navy); }
.news-text { padding: 18px 20px 24px; }
.news-text h3 { font-size: 1.85rem; font-weight: 400; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-text p { font-weight: 300; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin: 0; }
.news-card > img { flex: 1; width: 100%; min-height: 300px; object-fit: cover; }
.news-card.list { padding: 18px 30px 30px; }
.news-card.list h3 { font-size: 1.85rem; font-weight: 400; padding-bottom: 36px; border-bottom: 1px solid var(--line); margin: 0; }
.news-card.list ul { list-style: none; padding: 0; margin: 0; }
.news-card.list li a { display: flex; gap: 12px; align-items: center; padding: 30px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 500; }
.news-card.list li img { width: 80px; height: 80px; object-fit: cover; border-radius: 3px; flex: none; }
.news-card.list li a:hover span { text-decoration: underline; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.news-grid .news-card { width: auto; min-height: 560px; }
.tag-line { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; opacity: .7; margin-bottom: 10px; }

/* Testimonials */
.testimonials { background: var(--ice); padding: 48px 0 64px; }
.testimonial-card { position: relative; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.testimonial-slide { display: none; grid-template-columns: 1fr 1fr; margin: 0; min-height: 700px; }
.testimonial-slide.on { display: grid; }
.testimonial-slide > img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-body { padding: 40px 40px 120px; }
.quote-box { width: 60px; height: 60px; background: var(--orange); color: var(--navy); display: grid; place-items: center; margin-bottom: 24px; }
.quote-box .icon { width: 28px; height: 28px; fill: var(--navy); stroke: none; }
.testimonial-body blockquote { margin: 0 0 24px; font-style: italic; font-weight: 300; font-size: 1.15rem; line-height: 1.85; color: var(--text); }
.testimonial-body figcaption { display: grid; font-size: 1.1rem; }
.testimonial-body figcaption strong { font-weight: 600; }
.pager { display: inline-flex; align-items: center; gap: 18px; background: #fff; border-radius: 30px; padding: 12px 22px; box-shadow: 0 2px 10px rgba(0,0,0,.12); font-size: 1rem; }
.pager button { background: none; border: 0; cursor: pointer; display: grid; place-items: center; color: var(--ink); padding: 2px; }
.testimonial-card .pager { position: absolute; bottom: 40px; left: calc(50% + 40px); }
.cta-card { display: flex; justify-content: space-between; align-items: center; gap: 24px; background: #fff; border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); flex-wrap: wrap; }
.cta-card h2 { font-size: 2rem; font-weight: 400; }
.cta-card p { margin: 0; color: var(--text); }

/* Mission + portal */
.duo { background: var(--ice); padding: 0 0 86px; }
.duo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.mission-card { background: var(--navy-2); color: #fff; border-radius: var(--radius); padding: 40px; min-height: 440px; display: flex; flex-direction: column; }
.mission-card h2 { font-size: 2.4rem; margin-bottom: 22px; }
.highlight { color: var(--navy); background: var(--orange); padding: 0 4px; box-decoration-break: clone; -webkit-box-decoration-break: clone; display: block; }
.mission-slide { display: none; }
.mission-slide.on { display: block; }
.mission-title { font-size: 2rem; line-height: 1.3; margin-bottom: 18px; }
.mission-slide p:not(.mission-title) { font-weight: 300; }
.mission-card .pager { align-self: flex-start; margin-top: auto; }
.portal-card { position: relative; background: var(--royal); color: #fff; border-radius: var(--radius); padding: 40px; min-height: 440px; overflow: hidden; }
.portal-card::before { content: ''; position: absolute; width: 380px; height: 520px; right: -80px; top: 60px; background: var(--navy-2); transform: skewX(-18deg); border-radius: 40px; }
.portal-card > * { position: relative; }
.portal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.portal-head h2 { font-size: 2.4rem; font-weight: 400; }
.portal-badge { width: 60px; height: 60px; border: 2px solid #fff; display: grid; place-items: center; background: var(--orange); color: var(--navy); flex: none; }
.portal-badge .icon { width: 28px; height: 28px; }
.square-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 8px; }
.square-list li { position: relative; padding-left: 26px; font-weight: 300; }
.square-list li::before { content: ''; position: absolute; left: 0; top: .45em; width: 14px; height: 14px; background: #fff; }
.square-list.dark li { color: var(--text); }
.square-list.dark li::before { background: var(--orange); width: 10px; height: 10px; top: .55em; }
.square-list.cols { grid-template-columns: 1fr 1fr; }
.portal-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.u-link.light { color: #fff; }
.portal-mock { position: absolute; right: 30px; bottom: -70px; width: 190px; height: 290px; background: #111; border-radius: 28px; padding: 10px; transform: rotate(-12deg); box-shadow: 0 20px 40px rgba(0,0,0,.35); }
.mock-screen { background: #fff; color: var(--ink); height: 100%; border-radius: 20px; padding: 16px; }
.mock-bar { width: 40px; height: 40px; background: var(--orange); margin-bottom: 14px; }
.mock-screen p { font-size: 1.1rem; margin-bottom: 14px; }
.mock-row { height: 22px; border-radius: 4px; background: var(--paper); margin-bottom: 8px; border-left: 4px solid var(--line); }
.mock-row.ok { border-left-color: var(--success); }

/* International */
.international { position: relative; min-height: 600px; padding: 120px 0; overflow: hidden; }
.international-img { opacity: .55; }
.international .container-wide { position: relative; }
.international-card { background: #fff; border-radius: var(--radius); padding: 40px; max-width: 500px; margin-left: clamp(0px, 12vw, 225px); box-shadow: var(--shadow); }
.international-card h2 { font-size: 2.4rem; font-weight: 500; }
.international-card p { color: var(--text); font-weight: 300; }
.country-list { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 6px; }
.country-list li { font-size: .78rem; padding: 3px 10px; border: 1px solid var(--line); border-radius: 12px; color: var(--text); }

/* Services (companies page) */
.services { background: var(--paper); padding: 56px 0 64px; }
.service-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.col-h { font-size: 1.1rem; font-weight: 500; padding-left: 12px; border-left: 4px solid var(--orange); margin-bottom: 16px; }
.service-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; background: #fff; padding: 18px 20px; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 12px; text-decoration: none; transition: transform .15s; }
.service-row:hover { transform: translateX(4px); }
.service-row div { display: grid; }
.service-row strong { font-weight: 500; font-size: 1.1rem; }
.service-row span { color: var(--muted); font-size: .9rem; font-weight: 300; }
.service-row .icon { color: var(--orange); }

/* Footer */
.footer-band { background: #fff; padding: 36px 0; border-top: 1px solid var(--line); }
.footer-band-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.footer-tagline { font-size: 2rem; font-weight: 500; margin-bottom: 16px; }
.footer-band ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer-band ul a { text-decoration: none; color: var(--text); }
.footer-band ul a:hover { color: var(--royal); }
.follow p { font-size: 1.1rem; margin-bottom: 14px; }
.socials { display: flex; gap: 16px; }
.socials a { width: 60px; height: 60px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; }
.socials a:hover { border-color: var(--ink); }
.site-footer { background: var(--navy); color: #fff; padding: 44px 0 28px; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.site-footer h3 { font-size: 1.25rem; margin-bottom: 22px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.site-footer a { color: rgba(255,255,255,.88); text-decoration: none; font-size: .95rem; font-weight: 300; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-legal { margin-top: 56px; text-align: center; }
.footer-legal .ack { font-size: .82rem; font-weight: 300; color: rgba(255,255,255,.65); max-width: 760px; margin: 0 auto 14px; }
.footer-legal ul { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; font-size: .9rem; color: rgba(255,255,255,.65); }
.alerts-fab { position: fixed; right: 0; bottom: 0; z-index: 40; background: var(--orange); color: var(--navy); border: 0; padding: 10px 18px; font: 600 .95rem var(--font); cursor: pointer; }
.alerts-fab:hover { background: var(--orange-dark); }
.alerts-dialog { border: 0; border-radius: var(--radius); padding: 32px; width: min(440px, calc(100% - 32px)); box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.alerts-dialog::backdrop { background: rgba(7, 22, 58,.6); }
.alerts-dialog h2 { font-size: 1.6rem; font-weight: 500; }
.dialog-close { position: absolute; top: 14px; right: 14px; background: none; border: 0; cursor: pointer; color: var(--muted); }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.page-body { background: var(--paper); padding: 56px 0 80px; }
.page-grid { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.prose section { margin-bottom: 40px; }
.prose h2 { font-size: 1.75rem; font-weight: 500; }
.prose p { color: var(--text); font-weight: 300; line-height: 1.8; }
.prose a:not(.btn) { color: var(--royal); }
.lead-p { font-size: 1.15rem; color: var(--ink) !important; font-weight: 400 !important; }
.side { display: grid; gap: 20px; position: sticky; top: 24px; }
.side-card { background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.side-card h3 { font-size: 1.3rem; font-weight: 500; }
.side-card p { color: var(--text); font-weight: 300; }
.side-card.red { background: var(--navy); color: #fff; }
.side-card.red p { color: #fff; }
.side-card .btn-block + .btn-block { margin-top: 10px; }
.save-btn { margin-top: 10px; }
.plain-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.plain-list li { display: grid; }
.plain-list a { color: var(--ink); font-weight: 500; }
.applied { color: var(--success); display: flex; gap: 8px; align-items: center; font-weight: 500; }

/* Cards & forms */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card.flush { padding: 0; overflow: hidden; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.card-head h2 { font-size: 1.25rem; font-weight: 500; margin: 0; }
.card-head .bar { margin-bottom: 10px; }
.form { display: grid; gap: 16px; }
.form label, .filter-bar label { font-weight: 500; font-size: .88rem; }
.form label { display: grid; gap: 6px; }
input, select, textarea { font: 400 .95rem var(--font); color: var(--ink); padding: 11px 12px; border: 1px solid #cfd4da; border-radius: 2px; background: #fff; width: 100%; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--royal); outline-offset: -1px; border-color: var(--royal); }
input:disabled { background: var(--paper); color: var(--muted); }
textarea { resize: vertical; }
input[type=checkbox], input[type=radio] { width: auto; accent-color: var(--orange); }
.form label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.form label.check input { margin-top: 5px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.seg { display: flex; gap: 8px; flex-wrap: wrap; border: 0; padding: 0; margin: 0; }
.seg legend { font-weight: 500; font-size: .88rem; margin-bottom: 6px; width: 100%; }
.seg label { display: flex; gap: 8px; align-items: center; padding: 9px 14px; border: 1px solid var(--line); border-radius: 2px; cursor: pointer; font-weight: 400; }
.checks { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 16px; }
.checks legend { font-weight: 500; font-size: .88rem; margin-bottom: 8px; }
.form .checks label { display: flex; gap: 8px; align-items: center; font-weight: 400; font-size: .9rem; }
.auth-wrap { background: var(--paper); padding: 56px 20px 80px; display: grid; place-items: center; }
.auth-card { width: 100%; max-width: 460px; padding: 36px; }
.auth-card.wide { max-width: 640px; }
.auth-card h2 { font-size: 1.8rem; font-weight: 500; }

/* Candidate dashboard */
.dash-banner { min-height: 0; padding-bottom: 96px; }
.dash-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.status-pill { display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.35); padding: 10px 18px; border-radius: 999px; font-weight: 500; }
.status-pill .dot { width: 10px; height: 10px; border-radius: 50%; background: #a0aec0; }
.status-submitted .dot, .status-under_review .dot { background: #f6c34a; }
.status-approved .dot { background: #3ddc97; }
.status-rejected .dot { background: #ff6b6b; }
.dash { margin-top: -56px; padding-bottom: 80px; position: relative; z-index: 2; }
.dash-banner + .flash-wrap + .dash, .dash-banner + .dash { margin-top: -56px; }
.flash-wrap + .dash { margin-top: 16px; }
.progress { list-style: none; margin: 0 0 24px; padding: 18px 24px; display: flex; gap: 8px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.progress li { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--muted); font-size: .9rem; flex: 1; }
.progress li:not(:last-child)::after { content: ''; flex: 1; height: 2px; background: var(--line); margin-left: 6px; }
.progress li span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 2px solid var(--line); font-size: .85rem; flex: none; }
.progress li.done { color: var(--ink); }
.progress li.done span { background: var(--success); border-color: var(--success); color: #fff; }
.progress li.done:not(:last-child)::after { background: var(--success); }
.notice { display: flex; gap: 14px; align-items: flex-start; padding: 16px 20px; border-radius: var(--radius); margin-bottom: 24px; }
.notice > .icon { width: 22px; height: 22px; margin-top: 2px; }
.notice-success { background: var(--success-bg); color: var(--success); }
.notice-error { background: var(--error-bg); color: var(--error); }
.notice-info { background: var(--info-bg); color: var(--info); }
.dash-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 24px; align-items: start; }
.submit-card { position: sticky; top: 24px; display: grid; gap: 12px; }
.req-list { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 10px; }
.req-list li { display: flex; gap: 10px; align-items: center; color: var(--muted); }
.req-list li .icon { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--error-bg); color: var(--error); }
.req-list li.ok { color: var(--ink); }
.req-list li.ok .icon { background: var(--success-bg); color: var(--success); }
.req-list li.opt .icon { background: var(--paper); color: var(--muted); }
.section-title { font-size: 1.5rem; font-weight: 500; margin: 44px 0 16px; scroll-margin-top: 24px; }
.app-list { list-style: none; padding: 0; margin: 0; }
.app-list li { display: grid; grid-template-columns: 1fr auto auto; gap: 20px; align-items: center; padding: 16px 24px; border-bottom: 1px solid var(--line); }
.app-list li:last-child { border-bottom: 0; }
.app-list li > div { display: grid; }
.app-list a { color: var(--royal); text-decoration: none; }
.tag { display: inline-block; font-size: .74rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.tag-app-new { background: var(--info-bg); color: var(--info); }
.tag-app-shortlisted { background: var(--warn-bg); color: var(--warn); }
.tag-app-placed { background: var(--success-bg); color: var(--success); }
.tag-app-unsuccessful { background: #eef0f3; color: var(--muted); }
.doc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.doc-card.wide { grid-column: 1 / -1; }
.doc-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.doc-head h3 { margin: 0 0 2px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 1.15rem; font-weight: 500; }
.doc-head p { margin: 0; }
.doc-icon { width: 46px; height: 46px; background: var(--orange); color: var(--navy); display: grid; place-items: center; flex: none; }
.doc-icon .icon { width: 24px; height: 24px; }
.req, .opt-tag { font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; padding: 3px 8px; border-radius: 2px; }
.req { background: var(--error-bg); color: var(--error); }
.opt-tag { background: var(--paper); color: var(--muted); }
.file-list { display: grid; gap: 8px; margin-bottom: 14px; }
.file-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: var(--paper); border-radius: 3px; margin-bottom: 12px; flex-wrap: wrap; }
.file-list .file-row { margin: 0; }
.file-name { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: none; flex: 1; min-width: 0; word-break: break-all; }
.file-row form { margin-left: auto; }
.upload-form { display: flex; gap: 10px; align-items: stretch; }
.upload-form.cert { flex-wrap: wrap; }
.upload-form.cert input[name=title] { flex: 1 1 100%; }
.dropzone { flex: 1; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border: 2px dashed var(--line); border-radius: 3px; cursor: pointer; color: var(--muted); font-size: .9rem; position: relative; min-width: 0; }
.dropzone:hover, .dropzone.drag { border-color: var(--orange); color: var(--ink); }
.dropzone.has-file { border-style: solid; border-color: var(--success); color: var(--ink); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; padding: 0; }
.dropzone span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }


/* Job search page */
.search-banner.plain { min-height: 0; padding: 172px 0 40px; }
.search-banner.plain::after { display: none; }
.search-banner.plain h1 { margin-bottom: 26px; }
.job-search { background: var(--paper); padding: 64px 0 80px; }
.job-search-grid { display: grid; grid-template-columns: 384px 1fr; gap: 48px; align-items: start; max-width: 1173px; }
.criteria { position: sticky; top: 20px; }
.criteria-box { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 20px 20px 22px; }
.criteria-head { list-style: none; cursor: default; position: relative; }
.criteria-head::-webkit-details-marker { display: none; }
.criteria-head .bar { width: 20px; height: 20px; margin-bottom: 12px; background: var(--orange); }
.criteria-head h2 { font-size: 2rem; font-weight: 400; margin: 0 0 6px; }
.criteria-head h2 small { font-size: 1rem; opacity: .85; }
.criteria-toggle { display: none; position: absolute; right: 0; top: 30px; }
.criteria-toggle .icon { width: 26px; height: 26px; transition: transform .2s; }
.criteria-box[open] .criteria-toggle .icon { transform: rotate(180deg); }
.reset { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-size: 1rem; margin-bottom: 22px; }
.reset:hover { text-decoration: underline; }
.reset .icon { width: 20px; height: 20px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; min-width: 0; }
.field-label { font-size: .85rem; font-weight: 500; color: #fff; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.criteria select { border: 0; border-radius: 3px; height: 36px; padding: 0 12px; font-size: .95rem; appearance: none; -webkit-appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d2126' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 18px; }
.ms { position: relative; }
.ms summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 8px; background: #fff; color: var(--muted); height: 36px; padding: 0 12px; border-radius: 3px; cursor: pointer; font-size: .95rem; }
.ms summary::-webkit-details-marker { display: none; }
.ms summary.has-value { color: var(--ink); font-weight: 500; }
.ms summary span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ms summary .icon { color: var(--ink); width: 18px; height: 18px; transition: transform .2s; }
.ms[open] summary .icon { transform: rotate(180deg); }
.ms-panel { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 20; background: #fff; color: var(--ink); border-radius: 3px; box-shadow: 0 10px 30px rgba(0,0,0,.2); padding: 6px; max-height: 300px; overflow-y: auto; }
.ms-panel label { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 3px; cursor: pointer; font-size: .92rem; }
.ms-panel label:hover { background: var(--paper); }
.ms-panel label span { flex: 1; }
.ms-panel em { font-style: normal; color: var(--muted); font-size: .8rem; }
.salary-note { font-size: .75rem; opacity: .85; margin: -4px 0 16px; }
.results-count { font-weight: 600; font-size: 1.1rem; margin: 0 0 18px; }
.results .job-grid { margin-bottom: 24px; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; }
.page-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; text-decoration: none; color: var(--ink); font-size: 1rem; }
.page-btn:hover:not(.disabled):not(.current) { border-color: var(--ink); }
.page-btn.current { background: var(--royal); border-color: var(--royal); color: #fff; }
.page-btn.disabled { color: #b8bec4; }
.page-gap { color: var(--muted); padding: 0 4px; }
@media (max-width: 1040px) {
  .search-banner.plain { padding-top: 120px; }
  .job-search { padding: 32px 0 64px; }
  .job-search-grid { grid-template-columns: 1fr; gap: 24px; }
  .criteria { position: static; }
  .criteria-head { cursor: pointer; }
  .criteria-toggle { display: block; }
  .criteria-box:not([open]) { padding-bottom: 14px; }
}


/* About page */
.about-banner { min-height: 474px; padding-top: 270px; }
.about-banner h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); max-width: 560px; }
.red-h { color: var(--orange-text); font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 500; margin-bottom: 48px; }
.about-story { background: var(--ice); padding: 56px 0 72px; }
.story-text p { font-size: 1rem; color: var(--ink); line-height: 1.6; margin-bottom: 1.5em; }
.about-brand { background: var(--paper); padding: 80px 0 40px; }
.about-brand .red-h { font-size: 2rem; margin-bottom: 32px; }
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; cursor: pointer; font-weight: 500; font-size: 1.05rem; }
.acc-item summary::-webkit-details-marker { display: none; }
.acc-btn { width: 60px; height: 60px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; box-shadow: var(--shadow); flex: none; }
.acc-btn .icon { width: 20px; height: 20px; transition: transform .2s; }
.acc-item[open] .acc-btn .icon { transform: rotate(180deg); }
.acc-item p { margin: 0 0 24px; max-width: 860px; color: var(--text); font-weight: 300; line-height: 1.8; }
.about-values { background: var(--ice); padding: 64px 0 72px; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.value-card { background: #fff; border-radius: var(--radius); padding: 24px 24px 32px; box-shadow: var(--shadow); }
.value-tag { display: inline-block; background: var(--orange); color: var(--navy); font-weight: 500; padding: 4px 6px; margin-bottom: 14px; }
.value-card p { margin: 0; color: var(--text); line-height: 1.6; }
.value-card strong { font-weight: 400; color: var(--ink); }
.culture-link { display: inline-block; margin-top: 88px; color: var(--royal); text-decoration: none; }
.culture-link:hover { text-decoration: underline; }
.about-message { position: relative; color: #fff; padding: 64px 0; overflow: hidden; background: var(--navy); }
.about-message::after { content: ''; position: absolute; inset: 0; background: rgba(7, 22, 58,.72); }
.about-message-inner { position: relative; z-index: 2; text-align: center; max-width: 1000px; }
.about-message p { font-size: 1.05rem; line-height: 1.65; }
.about-message .signature { margin-top: 22px; font-weight: 600; }
.about-map { background: var(--ice); padding-top: 48px; }
.map.tall { min-height: 560px; height: 560px; }
.about-cta-wrap { background: var(--paper); padding: 40px 0 72px; }
.about-cta { position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; background: var(--navy); color: #fff; border-radius: var(--radius); padding: 32px 32px 30px; margin-bottom: 96px; }
.about-cta::before, .about-cta::after { content: ''; position: absolute; width: 90px; height: 90px; background: var(--orange); transform: rotate(45deg); }
.about-cta::before { right: -45px; top: -60px; }
.about-cta::after { left: -30px; bottom: -70px; }
.about-cta > * { position: relative; z-index: 1; }
.about-cta h2 { font-size: 2rem; font-weight: 400; margin-bottom: 18px; }
.about-cta p { margin: 0; font-size: 1.1rem; }
.about-cta .btn { min-width: 340px; color: var(--ink); }
.bar.square { width: 20px; height: 20px; background: var(--orange); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; }
@media (max-width: 1040px) {
  .about-banner { min-height: 0; padding-top: 140px; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .about-cta .btn { min-width: 0; }
}
@media (max-width: 700px) {
  .values-grid, .gallery { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .map.tall { min-height: 360px; height: 360px; }
  .red-h { margin-bottom: 24px; }
  .culture-link { margin-top: 40px; }
  .about-cta { margin-bottom: 48px; padding: 24px 20px; }
  .about-cta h2 { font-size: 1.5rem; }
  .acc-btn { width: 44px; height: 44px; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .main-nav ul { gap: 20px; }
  .header-grid { column-gap: 28px; }
  .utility { gap: 12px; }
  .sector-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1040px) {
  .site-header { padding-top: 18px; }
  .header-grid { grid-template-columns: 1fr auto; grid-template-rows: auto; }
  .header-grid > .logo { grid-row: 1; }
  .header-top, .main-nav { display: none; }
  .header-actions { grid-column: 2; padding-top: 0; }
  .logo-card img { height: 32px; }
  .header-actions .btn-outline-light span { display: none; }
  .menu-toggle { display: inline-flex; }
  .hero { padding-top: 150px; min-height: 440px; }
  .banner { padding-top: 130px; min-height: 280px; }
  .sectors-layout { grid-template-columns: 1fr; gap: 28px; }
  .sectors-intro { padding: 0 24px; flex-direction: row; align-items: flex-end; flex-wrap: wrap; }
  .sectors-layout .rail-track { padding-left: 24px; }
  .page-grid, .dash-grid, .duo-grid, .service-cols { grid-template-columns: 1fr; }
  .side, .submit-card { position: static; }
  .teams-card { grid-template-columns: 1fr; }
  .map { min-height: 320px; }
  .testimonial-slide { grid-template-columns: 1fr; min-height: 0; }
  .testimonial-slide > img { height: 340px; }
  .testimonial-body { padding: 32px 28px 110px; }
  .testimonial-card .pager { left: 28px; bottom: 32px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .checks { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .container, .container-narrow { padding: 0 16px; }
  .container-wide { padding: 0 16px; }
  .rail-track { gap: 16px; padding-left: 16px; padding-right: 16px; scroll-padding: 0 16px; }
  .sectors-layout .rail-track { padding-left: 16px; }
  .sectors-intro { padding: 0 16px; }
  .rail-btn { width: 44px; height: 44px; }
  .rail-btn.next { right: 10px; }
  .rail-btn.prev { left: 10px; }
  .logo-card { padding: 7px 10px; }
  .logo-card img { height: 26px; }
  .hero { padding-top: 130px; min-height: 0; padding-bottom: 32px; }
  .hero h1 br { display: none; }
  .search-bar input, .search-bar .btn { height: 48px; }
  .search-bar .btn { padding: 0 16px; }
  .promos { padding: 36px 0; }
  .promo { width: 280px; min-height: 540px; }
  .promo-text h2 { font-size: 1.6rem; }
  .promo.image-top > img { height: 240px; }
  .promo > img { height: 200px; }
  .job-grid, .sector-grid, .news-grid, .row2, .row3, .doc-grid, .footer-cols, .square-list.cols, .checks { grid-template-columns: 1fr; }
  .job-card h3 { font-size: 1.35rem; }
  .sector-card { width: 280px; min-height: 520px; }
  .sector-card h3 { font-size: 1.7rem; }
  .sector-card > img { width: 200px; height: 200px; }
  .news-card { width: 300px; min-height: 560px; }
  .news-text h3, .news-card.list h3 { font-size: 1.4rem; }
  .teams { padding: 48px 0; }
  .teams-info { padding: 24px 20px 28px; }
  .teams-info h3 { font-size: 1.5rem; }
  .mission-card, .portal-card { padding: 28px 22px; }
  .mission-card h2, .portal-head h2 { font-size: 1.8rem; }
  .mission-title { font-size: 1.5rem; }
  .portal-mock { display: none; }
  .international { padding: 64px 0; min-height: 0; }
  .international-card { margin-left: 0; padding: 28px 22px; }
  .international-card h2 { font-size: 1.8rem; }
  .footer-tagline { font-size: 1.5rem; }
  .progress { overflow-x: auto; }
  .progress li { flex: none; }
  .progress li::after { display: none; }
  .upload-form { flex-direction: column; }
  .app-list li { grid-template-columns: 1fr; gap: 6px; }
  .auth-card { padding: 26px 20px; }
  .cta-card { padding: 28px 22px; }
  .filter-bar label { min-width: 100%; }
}

/* Brand additions */
.footer-logo { display: block; height: 44px; width: auto; margin-bottom: 14px; }
.footer-tagline { font-size: 1.5rem !important; color: var(--navy); }
.international-card h2 { font-size: 2rem; color: var(--navy); }

/* Admin shortcuts on the public site (only rendered for logged-in admins) */
.editable { position: relative; }
.admin-edit { position: absolute; top: 12px; right: 12px; z-index: 30; display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.hero .admin-edit, .banner .admin-edit { top: auto; bottom: 12px; }
.admin-edit a { display: inline-flex; align-items: center; gap: 6px; background: var(--orange); color: var(--navy); font-size: .78rem; font-weight: 600; padding: 6px 10px; border-radius: 999px; text-decoration: none; box-shadow: 0 2px 8px rgba(7, 22, 58, .3); }
.admin-edit a:hover { background: #fff; }
.admin-edit .icon { width: 14px; height: 14px; }

/* Keep navy sector cards visible on the navy band */
.sector-card { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }

/* Mobile menu: "Log out" looks like the other links in the list */
.mobile-utility .linklike { font-size: inherit; line-height: inherit; text-align: left; }
