/* ═══════════════════════════════════════════════════════════
   VANJES & ELIAT LIMITED — GLOBAL STYLESHEET
   Shared: resets, tokens, nav, footer, buttons, forms, utilities
   Brand: Navy #0B1E3D · Green #1B5E3B · White #FFFFFF
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ── TOKENS ── */
:root {
  --navy:      #0B1E3D;
  --navy2:     #0E2647;
  --navy3:     #162E52;
  --green:     #1B5E3B;
  --green2:    #0D3B26;
  --green-lt:  #2A7A4F;
  --green-pale:#7FD4A4;
  --white:     #FFFFFF;
  --off:       #F7FAF8;
  --slate:     #EAF0EC;
  --text:      #0B1E3D;
  --muted:     #4A6272;
  --light:     #8FA5B5;
  --border:    #D4DDE8;
  --font-d:    'Bebas Neue', sans-serif;
  --font:      'Inter', sans-serif;
  --max:       1240px;
  --radius:    10px;
  --sh:        0 4px 24px rgba(11,30,61,.09);
  --sh-lg:     0 16px 56px rgba(11,30,61,.14);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: var(--font); color: var(--text); background: var(--white); overflow-x: hidden; line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; }

/* ── CONTAINER ── */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 48px; }

/* ── SOCIAL ICONS (shared) ── */
.social-icons { display: flex; align-items: center; gap: 10px; }
.social-icon { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all .2s; flex-shrink: 0; }
.social-icon svg { width: 14px; height: 14px; fill: currentColor; }
.social-icon-topbar { color: rgba(255,255,255,.55); background: rgba(255,255,255,.07); }
.social-icon-topbar:hover { color: #fff; background: rgba(255,255,255,.16); opacity: 1; }
.social-icon-footer { color: rgba(255,255,255,.45); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.social-icon-footer:hover { color: #fff; background: var(--green); border-color: transparent; opacity: 1; }

/* ── TOPBAR ── */
.topbar { background: var(--green2); padding: 10px 0; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.topbar-certs { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar-certs span { font-size: 11px; color: rgba(255,255,255,.55); letter-spacing: .3px; display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.topbar-certs span::before { content: '✓'; color: var(--green-pale); font-weight: 700; }
.topbar-right { display: flex; align-items: center; gap: 18px; }
.topbar-right a.tb-quote { color: var(--green-pale); font-weight: 700; font-size: 11.5px; transition: color .2s; white-space: nowrap; }
.topbar-right a.tb-quote:hover { color: #fff; }
.topbar-divider { width: 1px; height: 14px; background: rgba(255,255,255,.15); }

/* ── HEADER / NAV ── */
.header { position: sticky; top: 0; z-index: 200; background: rgba(11,30,61,.97); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(255,255,255,.07); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.brand-logo { width: 48px; height: 48px; border-radius: 8px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); flex-shrink: 0; background: rgba(255,255,255,.04); }
.brand-logo img { width: 100%; height: 100%; object-fit: contain; }
.brand-name { font-family: var(--font-d); font-size: 22px; letter-spacing: 2.5px; color: #fff; line-height: 1; }
.brand-tag { font-size: 10px; color: rgba(255,255,255,.35); letter-spacing: 1.5px; text-transform: uppercase; margin-top: 3px; }
.navlinks { display: flex; align-items: center; gap: 2px; flex: 1; justify-content: center; }
.navlinks a { font-size: 13px; font-weight: 500; color: rgba(255,255,255,.6); padding: 8px 13px; border-radius: 6px; transition: all .2s; white-space: nowrap; }
.navlinks a:hover, .navlinks a.active { color: #fff; background: rgba(255,255,255,.09); }

/* DROPDOWN — FIXED: no gap, bridged hover zone, no flicker */
.dropdown { position: relative; }
.dropdown-toggle { font-size: 13px; font-weight: 500; color: rgba(255,255,255,.6); padding: 8px 13px; border-radius: 6px; cursor: pointer; display: flex; align-items: center; gap: 5px; transition: color .2s, background .2s; white-space: nowrap; user-select: none; }
.dropdown-toggle::after { content: '▾'; font-size: 9px; opacity: .5; transition: transform .2s; }
.dropdown:hover .dropdown-toggle, .dropdown:focus-within .dropdown-toggle { color: #fff; background: rgba(255,255,255,.09); }
.dropdown:hover .dropdown-toggle::after { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute; top: 100%; left: 0; padding-top: 12px; /* bridge zone — no gap, mouse never loses hover */
  min-width: 250px; z-index: 300;
  opacity: 0; visibility: hidden; transform: translateY(4px);
  transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
}
.dropdown-menu::before { content: ''; position: absolute; inset: 0; } /* invisible hit-area extension, sits behind panel */
.dropdown-menu-panel { position: relative; background: var(--navy2); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 8px; box-shadow: 0 24px 64px rgba(0,0,0,.5); }
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a { display: block; padding: 11px 14px; border-radius: 8px; font-size: 13px; color: rgba(255,255,255,.7); transition: all .15s; }
.dropdown-menu a:hover { background: rgba(255,255,255,.09); color: #fff; opacity: 1; }

.nav-cta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.nav-social { display: flex; gap: 8px; padding-right: 6px; border-right: 1px solid rgba(255,255,255,.1); margin-right: 6px; }

/* HAMBURGER */
.hamburger { display: none; width: 42px; height: 42px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 8px; color: #fff; cursor: pointer; flex-shrink: 0; position: relative; z-index: 250; }
.hamburger-lines { position: absolute; top: 50%; left: 50%; width: 18px; height: 14px; transform: translate(-50%,-50%); }
.hamburger-lines span { position: absolute; left: 0; width: 100%; height: 2px; background: #fff; border-radius: 2px; transition: all .3s cubic-bezier(.4,0,.2,1); }
.hamburger-lines span:nth-child(1) { top: 0; }
.hamburger-lines span:nth-child(2) { top: 6px; }
.hamburger-lines span:nth-child(3) { top: 12px; }
.hamburger.is-open .hamburger-lines span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.hamburger.is-open .hamburger-lines span:nth-child(2) { opacity: 0; }
.hamburger.is-open .hamburger-lines span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* MOBILE MENU PANEL */
.mobilemenu-overlay { display: none; position: fixed; inset: 0; background: rgba(11,30,61,.6); z-index: 220; opacity: 0; transition: opacity .25s ease; }
.mobilemenu-overlay.is-open { display: block; opacity: 1; }
.mobilemenu { position: fixed; top: 0; right: 0; bottom: 0; width: min(88vw, 380px); background: var(--navy2); z-index: 230; transform: translateX(100%); transition: transform .32s cubic-bezier(.16,1,.3,1); overflow-y: auto; box-shadow: -16px 0 56px rgba(0,0,0,.4); }
.mobilemenu.is-open { transform: translateX(0); }
.mobilemenu-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 22px 18px; border-bottom: 1px solid rgba(255,255,255,.08); }
.mobilemenu-head .brand-name { font-size: 18px; }
.mobilemenu-close { width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); color: #fff; font-size: 16px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.mobilemenu-body { padding: 14px; }
.mobilemenu-body a { display: block; padding: 13px 14px; font-size: 15px; font-weight: 500; color: rgba(255,255,255,.75); border-radius: 8px; transition: all .15s; }
.mobilemenu-body a:hover, .mobilemenu-body a.active { color: #fff; background: rgba(255,255,255,.07); }
.mobilemenu-body .sub-link { padding: 10px 14px 10px 30px; font-size: 13.5px; color: rgba(255,255,255,.42); }
.mobilemenu-section-label { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--green-pale); padding: 18px 14px 8px; }
.mobilemenu-cta { margin: 16px 14px 8px; }
.mobilemenu-social { display: flex; gap: 10px; padding: 18px 14px 22px; border-top: 1px solid rgba(255,255,255,.08); margin-top: 12px; }
body.menu-open { overflow: hidden; }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 28px; border-radius: 6px; font-family: var(--font); font-size: 13.5px; font-weight: 700; letter-spacing: .3px; transition: transform .22s, box-shadow .22s, background .2s; white-space: nowrap; border: none; cursor: pointer; text-decoration: none; }
.btn:hover { transform: translateY(-2px); }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 4px 20px rgba(27,94,59,.4); }
.btn-green:hover { background: var(--green-lt); box-shadow: 0 8px 32px rgba(27,94,59,.5); opacity: 1; }
.btn-white { background: #fff; color: var(--navy); box-shadow: 0 4px 16px rgba(0,0,0,.14); }
.btn-white:hover { box-shadow: 0 8px 28px rgba(0,0,0,.2); opacity: 1; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy2); opacity: 1; }
.btn-outline-white { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.32); }
.btn-outline-white:hover { border-color: #fff; opacity: 1; }
.btn-outline-dark { background: transparent; color: var(--navy); border: 1.5px solid var(--border); }
.btn-outline-dark:hover { border-color: var(--navy); opacity: 1; }
.btn-sm { padding: 10px 20px; font-size: 12.5px; }
.btn-lg { padding: 17px 38px; font-size: 15px; }

/* ── SECTION SPACING ── */
.section { padding: 120px 0; }
.section-alt { background: var(--off); }
.section-navy { background: var(--navy); }
.section-green2 { background: var(--green2); }
.section-slate { background: var(--slate); }

/* ── TYPOGRAPHY ── */
.eyebrow { display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--green); margin-bottom: 14px; }
.eyebrow-white { color: var(--green-pale); }
.section-title { font-family: var(--font-d); font-size: clamp(40px,5vw,68px); line-height: .92; letter-spacing: 1.5px; color: var(--navy); margin-bottom: 20px; }
.section-title-white { color: #fff; }
.section-sub { font-size: 15.5px; color: var(--muted); max-width: 64ch; line-height: 1.78; }
.section-sub-white { color: rgba(255,255,255,.55); }
.t-center { text-align: center; }
.t-center .section-sub { margin-left: auto; margin-right: auto; }

/* ── SCROLL REVEAL ── */
[data-reveal] { opacity: 0; transition: opacity .75s ease, transform .75s cubic-bezier(.16,1,.3,1); }
[data-reveal="up"] { transform: translateY(44px); }
[data-reveal="left"] { transform: translateX(-44px); }
[data-reveal="right"] { transform: translateX(44px); }
[data-reveal="scale"] { transform: scale(.94); }
[data-reveal].revealed { opacity: 1; transform: none; }

/* ── PAGE HERO (inner pages, shared shell) ── */
.page-hero { position: relative; background: var(--navy); overflow: hidden; padding: 120px 0 100px; }
.page-hero-media { position: absolute; inset: 0; z-index: 0; }
.page-hero-bg { position: absolute; inset: 0; opacity: 0; background-size: cover; background-position: center; transition: opacity 1.4s ease; }
.page-hero-bg.is-active { opacity: .22; }
.page-hero-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(108deg,rgba(11,30,61,.96) 0%,rgba(11,30,61,.88) 42%,rgba(11,30,61,.65) 70%,rgba(11,30,61,.25) 100%); }
.page-hero-gold-bar { position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--green) 0%, transparent 55%); z-index: 3; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero-kicker { display: inline-flex; align-items: center; gap: 9px; font-size: 10.5px; font-weight: 700; letter-spacing: 2.2px; text-transform: uppercase; color: var(--green-pale); background: rgba(27,94,59,.18); border: 1px solid rgba(127,212,164,.2); padding: 6px 14px; border-radius: 4px; margin-bottom: 22px; }
.page-hero h1 { font-family: var(--font-d); font-size: clamp(38px,6vw,80px); line-height: .9; letter-spacing: 2px; color: #fff; margin-bottom: 22px; }
.page-hero-lead { font-size: 16px; color: rgba(255,255,255,.68); max-width: 58ch; line-height: 1.78; margin-bottom: 36px; }
.page-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.page-hero-trust { font-size: 11.5px; color: rgba(255,255,255,.32); font-weight: 600; letter-spacing: .5px; }

/* ── GENERIC CARD / GRID UTILITIES (used across pages) ── */
.info-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--sh); }
.info-card h3 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.info-card p { font-size: 13.5px; color: var(--muted); line-height: 1.65; }
.info-card-dark { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 28px 24px; }
.info-card-dark h3 { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.info-card-dark p { font-size: 13.5px; color: rgba(255,255,255,.55); line-height: 1.65; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.pdc-tag { font-size: 11.5px; background: var(--off); border: 1px solid var(--border); border-radius: 4px; padding: 3px 10px; color: var(--text); font-weight: 500; }
.nda-card { background: var(--off); border: 1px solid var(--border); border-left: 4px solid var(--green); padding: 28px 32px; border-radius: 0 var(--radius) var(--radius) 0; }
.nda-card h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.nda-card p { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ── FORMS (shared) ── */
.form-shell { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 40px; box-shadow: var(--sh-lg); }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field label { font-size: 12.5px; font-weight: 700; color: var(--muted); letter-spacing: .2px; }
.field input, .field select, .field textarea { padding: 12px 16px; border: 1.5px solid var(--border); border-radius: 7px; background: var(--white); font-family: var(--font); font-size: 14px; color: var(--text); outline: none; transition: border-color .2s, box-shadow .2s; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(27,94,59,.1); }
.field textarea { min-height: 140px; resize: vertical; }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.form-note { font-size: 12px; color: var(--light); margin-top: 12px; }

/* ── SHARED CTA BAND ── */
.cta-section { position: relative; padding: 120px 0; overflow: hidden; }
.cta-overlay { position: absolute; inset: 0; background: rgba(13,59,38,.92); }
.cta-inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 64px; flex-wrap: wrap; }
.cta-copy h2 { font-family: var(--font-d); font-size: clamp(40px,6vw,76px); line-height: .88; letter-spacing: 2px; color: #fff; margin-bottom: 18px; }
.cta-copy p { font-size: 16px; color: rgba(255,255,255,.55); max-width: 50ch; line-height: 1.78; }
.cta-actions { display: flex; flex-direction: column; gap: 14px; min-width: 220px; flex-shrink: 0; }

/* ── FOOTER ── */
.footer { background: var(--navy2); color: #fff; padding: 96px 0 36px; border-top: 1px solid rgba(255,255,255,.06); }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 56px; margin-bottom: 64px; }
.footer-brand-row { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.footer-logo-box { width: 44px; height: 44px; border-radius: 8px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); flex-shrink: 0; background: rgba(255,255,255,.04); }
.footer-logo-box img { width: 100%; height: 100%; object-fit: contain; }
.footer-brand-name { font-family: var(--font-d); font-size: 20px; letter-spacing: 2px; color: #fff; }
.footer-brand-tag { font-size: 10px; color: rgba(255,255,255,.28); letter-spacing: 1.5px; text-transform: uppercase; margin-top: 2px; }
.footer-desc { font-size: 13.5px; color: rgba(255,255,255,.35); line-height: 1.78; max-width: 35ch; margin-bottom: 22px; }
.footer-contact { font-size: 12.5px; color: rgba(255,255,255,.3); line-height: 2.1; margin-bottom: 20px; }
.footer-contact a { color: rgba(255,255,255,.48); transition: color .2s; }
.footer-contact a:hover { color: #fff; opacity: 1; }
.footer-certs { margin-top: 4px; font-size: 11px; color: rgba(255,255,255,.18); line-height: 1.9; margin-bottom: 22px; }
.fcol-title { font-size: 10px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--green-pale); margin-bottom: 20px; }
.fcol-links { display: flex; flex-direction: column; gap: 13px; }
.fcol-links a { font-size: 13.5px; color: rgba(255,255,255,.42); font-weight: 500; transition: color .2s; }
.fcol-links a:hover { color: #fff; opacity: 1; }
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,.07); margin-bottom: 24px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-btxt { font-size: 11.5px; color: rgba(255,255,255,.2); }
.footer-btxt a { color: rgba(255,255,255,.28); transition: color .2s; }
.footer-btxt a:hover { color: #fff; opacity: 1; }

/* ══════════ RESPONSIVE ══════════ */
@media (max-width: 1180px) {
  .container { padding: 0 32px; }
  .navlinks, .nav-cta { display: none; }
  .hamburger { display: flex; align-items: center; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  .container { padding: 0 24px; }
  .section { padding: 84px 0; }
  .topbar-certs span:nth-child(n+3) { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; gap: 40px; align-items: flex-start; }
  .cta-actions { width: 100%; flex-direction: row; flex-wrap: wrap; }
  .cta-actions .btn { flex: 1; min-width: 140px; justify-content: center; }
  .form-grid-2, .form-grid-3 { grid-template-columns: 1fr; }
  .page-hero-actions .btn { flex: 1; min-width: 140px; justify-content: center; }
}
@media (max-width: 540px) {
  .container { padding: 0 18px; }
  .section { padding: 64px 0; }
  .brand-tag { display: none; }
  .topbar-certs { display: none; }
  .topbar .container { justify-content: flex-end; }
  .form-shell { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { transition: none; opacity: 1; transform: none; }
  .page-hero-bg { transition: none; }
}
