/* ==========================================================================
   IVN Global — refined static site
   ========================================================================== */

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../assets/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
}

:root {
  --navy-900: #0f1218;
  --navy-800: #161a23;
  --navy-700: #20232c;
  --navy-600: #2b2f3a;
  --green: #90be16;
  --green-600: #7aa311;
  --green-50: #f3f8e6;
  --blue: #3371ff;
  --ink: #1b1e26;
  --muted: #5d6270;
  --muted-light: #a3a7b3;
  --line: #e6e8ee;
  --surface: #ffffff;
  --surface-alt: #f6f7fa;

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(15, 18, 24, .06);
  --shadow: 0 18px 50px -18px rgba(15, 18, 24, .28);
  --container: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0 0 .6em; line-height: 1.2; letter-spacing: -.01em; font-weight: 300; }
p { margin: 0 0 1em; }
strong, b { font-weight: 400; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--green); color: var(--navy-900); padding: 10px 16px; border-radius: 8px; font-weight: 400;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--alt { background: var(--surface-alt); }
.section--dark { background: var(--navy-800); color: #fff; }
.text-center { text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 400; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-600); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.section--dark .eyebrow, .on-dark .eyebrow { color: var(--green); }

.h-display { font-size: clamp(2.4rem, 5.6vw, 4.4rem); }
.h-xl { font-size: clamp(2rem, 4vw, 3rem); }
.h-lg { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--muted); }
.section--dark .lead, .on-dark .lead { color: var(--muted-light); }
.measure { max-width: 760px; margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px; font-weight: 400; font-size: 1rem;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s, border-color .25s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--green); color: var(--navy-900); box-shadow: 0 10px 30px -10px rgba(144, 190, 22, .7); }
.btn--primary:hover { background: #a1d21c; transform: translateY(-2px); }
.btn--ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); transform: translateY(-2px); }
.btn--dark { background: var(--navy-700); color: #fff; }
.btn--dark:hover { background: var(--navy-900); transform: translateY(-2px); }

/* Call buttons only on touch devices that can dial; desktop gets .btn--desktop alternatives */
.btn--desktop { display: none; }
@media (hover: hover) and (pointer: fine) {
  .btn--call { display: none; }
  .btn--desktop { display: inline-flex; }
}

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-900); color: var(--muted-light); font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar a { color: #fff; transition: color .2s; }
.topbar a:hover { color: var(--green); }
.topbar__group { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; }
.topbar__item svg { width: 14px; height: 14px; color: var(--green); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(22, 26, 35, .92);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .5); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.logo img { width: auto; height: 56px; }

.nav { display: flex; align-items: center; gap: 8px; }
.nav__link {
  position: relative; color: #d6d8de; font-weight: 300; font-size: .95rem; padding: 10px 16px; border-radius: 999px;
  transition: color .2s, background .2s;
}
.nav__link:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.nav__link[aria-current="page"] { color: #fff; }
.nav__link[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 6px; height: 6px; margin-left: -3px;
  border-radius: 50%; background: var(--green);
}
.nav .btn { margin-left: 12px; padding: 11px 20px; font-size: .92rem; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .15);
  background: transparent; color: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative;
  transition: transform .3s var(--ease), background .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; color: #fff; overflow: hidden;
  min-height: min(88vh, 760px); display: flex; align-items: center;
  background: var(--navy-900) url("../assets/images/bg-slider-1.jpg") center / cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(15, 18, 24, .94) 0%, rgba(15, 18, 24, .78) 45%, rgba(15, 18, 24, .35) 100%),
    radial-gradient(60% 60% at 10% 90%, rgba(144, 190, 22, .25), transparent 70%);
}
.hero__content { padding-block: 96px; max-width: 760px; }
.hero h1 span { color: var(--green); }
.hero .lead { color: #c9ccd4; max-width: 600px; margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 56px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .12); }
.hero__badge { display: flex; align-items: center; gap: 12px; font-weight: 300; font-size: .95rem; color: #e3e5ea; }
.hero__badge svg { width: 22px; height: 22px; color: var(--green); flex: none; }

/* Page hero (inner pages) */
.page-hero {
  position: relative; isolation: isolate; color: #fff; text-align: center;
  padding-block: clamp(80px, 11vw, 140px);
  background: var(--navy-900) url("../assets/images/career-management-3.jpg") center / cover no-repeat;
}
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15, 18, 24, .88), rgba(15, 18, 24, .95)); }
.page-hero .lead { color: #c9ccd4; }
.page-hero--full { min-height: calc(100vh - var(--header-h) - 40px); display: flex; align-items: center; }
.hero__actions--center { justify-content: center; }
.hero__actions--spaced { margin-top: 32px; }
.section--tight-top { padding-top: 0; }
.panel__title { margin-top: 18px; }
address { font-style: normal; }
.breadcrumb { display: inline-flex; gap: 8px; font-size: .9rem; color: var(--muted-light); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--green); }

/* ---------- Split (text + media) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.split--reverse .split__media { order: -1; }
.split__media { position: relative; }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.split__media::before {
  content: ""; position: absolute; z-index: -1; inset: auto -18px -18px auto; width: 60%; height: 60%;
  border-radius: var(--radius); background: var(--green-50);
}
.section--dark .split__media::before { background: rgba(144, 190, 22, .14); }
.split--reverse .split__media::before { inset: auto auto -18px -18px; }
.split__body p { color: var(--muted); }
.section--dark .split__body p { color: var(--muted-light); }

.quote-card {
  margin: 0; padding: 36px; border-radius: var(--radius); background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08); font-size: clamp(1.1rem, 1.8vw, 1.35rem); line-height: 1.6; font-weight: 300;
}
.quote-card svg { width: 40px; height: 40px; color: var(--green); margin-bottom: 18px; }
.section--light-quote .quote-card { background: var(--surface); border-color: var(--line); box-shadow: var(--shadow-sm); color: var(--ink); }

/* Check list */
.checklist { display: grid; gap: 14px; margin-top: 26px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; font-weight: 300; }
.checklist li svg {
  width: 26px; height: 26px; flex: none; padding: 5px; border-radius: 50%;
  background: var(--green-50); color: var(--green-600); margin-top: 1px;
}
.section--dark .checklist li svg { background: rgba(144, 190, 22, .16); color: var(--green); }

/* ---------- Feature banner w/ image bg ---------- */
.banner {
  position: relative; isolation: isolate; color: #fff; text-align: center;
  background: var(--navy-900) url("../assets/images/career-management-3.jpg") center / cover no-repeat;
}
.banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15, 18, 24, .86), rgba(22, 26, 35, .92)); }
.banner .lead { color: #c9ccd4; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; }
.stat { padding: 28px 20px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); }
.stat strong { display: block; font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--green); line-height: 1.1; margin-bottom: 6px; }
.stat span { font-size: .92rem; color: #c9ccd4; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.card {
  position: relative; padding: 36px 30px; border-radius: var(--radius); background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); text-align: left; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card__icon {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; margin-bottom: 22px;
  background: var(--green-50); color: var(--green-600);
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.2rem; }
.card p { color: var(--muted); margin: 0; }
.card__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 400; color: var(--green-600); }
.card__link:hover { color: var(--navy-700); }

/* ---------- CTA band ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: 28px; padding: clamp(40px, 6vw, 72px);
  background: linear-gradient(120deg, var(--navy-800) 0%, var(--navy-600) 100%); color: #fff;
  display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center;
}
.cta::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(144, 190, 22, .35), transparent 70%); pointer-events: none;
}
.cta h2 { margin: 0 0 .3em; }
.cta p { color: var(--muted-light); margin: 0; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: -72px; position: relative; z-index: 2; }
.contact-card {
  display: flex; flex-direction: column; gap: 6px; padding: 30px 26px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform .35s var(--ease), border-color .3s;
}
a.contact-card:hover { transform: translateY(-6px); border-color: var(--green); }
.contact-card .card__icon { margin-bottom: 14px; }
.contact-card h3 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0; }
.contact-card strong { font-size: 1.12rem; overflow-wrap: anywhere; }
.contact-card small { color: var(--muted); font-size: .9rem; }

.panel {
  padding: clamp(32px, 5vw, 56px); border-radius: var(--radius); background: var(--surface-alt); border: 1px solid var(--line);
}
.hours { display: grid; gap: 12px; margin-top: 18px; }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 1px dashed var(--line); }
.hours li:last-child { border-bottom: 0; }
.hours span:last-child { font-weight: 400; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--green-50); color: var(--green-600); font-weight: 400; font-size: .85rem; }
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(144, 190, 22, .6); } 70% { box-shadow: 0 0 0 10px rgba(144, 190, 22, 0); } 100% { box-shadow: 0 0 0 0 rgba(144, 190, 22, 0); } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: var(--muted-light); padding-top: 80px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 20px; position: relative; padding-bottom: 14px; }
.site-footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 32px; height: 2px; background: var(--green); border-radius: 2px; }
.site-footer .logo img { margin-bottom: 18px; height: 64px; }
.footer-label { display: block; color: #fff; font-weight: 400; margin-bottom: 2px; }
.site-footer a { color: #d6d8de; transition: color .2s; }
.site-footer a:hover { color: var(--green); }
.footer-list { display: grid; gap: 10px; }
.footer-list li { display: flex; gap: 10px; align-items: flex-start; }
.footer-list svg { width: 16px; height: 16px; color: var(--green); flex: none; margin-top: 5px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding-block: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .88rem; }

/* Back to top */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 48px; height: 48px; border-radius: 50%;
  border: 0; cursor: pointer; background: var(--green); color: var(--navy-900); display: grid; place-items: center;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s, transform .3s var(--ease), visibility .3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s !important; }
.reveal-delay-2 { transition-delay: .2s !important; }
.reveal-delay-3 { transition-delay: .3s !important; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  :root { --header-h: 68px; }
  .topbar__group--secondary { display: none; }
  .logo img { height: 46px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    /* header's backdrop-filter makes it the containing block, so anchor to its bottom edge */
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px;
    padding: 16px 24px 28px; background: var(--navy-800); border-bottom: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .6);
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .3s, transform .3s var(--ease), visibility .3s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav__link { padding: 14px 16px; font-size: 1.05rem; }
  .nav__link[aria-current="page"] { background: rgba(255, 255, 255, .06); }
  .nav__link[aria-current="page"]::after { left: auto; right: 18px; top: 50%; bottom: auto; margin-top: -3px; }
  .nav .btn { margin: 10px 0 0; }

  .split, .cta { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .cards { grid-template-columns: 1fr; }
  .footer-bottom { padding-bottom: 84px; }
}

@media (max-width: 560px) {
  .container { padding-inline: 16px; }
  .topbar .container { justify-content: center; }
  .hero__content { padding-block: 72px; }
  .hero__actions .btn, .cta__actions .btn { width: 100%; }
  .hero__badges { gap: 16px; flex-direction: column; }
  .contact-grid, .stats, .footer-grid { grid-template-columns: 1fr; }
  .split__media::before { display: none; }
  .footer-bottom { justify-content: center; text-align: center; }
}
