:root {
  --navy: #0B1F3A;
  --navy-light: #132C4E;
  --charcoal: #1E293B;
  --slate: #475569;
  --muted: #64748B;
  --border: #E2E8F0;
  --bg-light: #F8FAFC;
  --white: #FFFFFF;
  --accent: #0D9488;
  --accent-dark: #0F766E;
  --accent-soft: #CCFBF1;
  --radius: 10px;
  --shadow-sm: 0 1px 3px rgba(11, 31, 58, 0.06);
  --shadow-md: 0 10px 25px -5px rgba(11, 31, 58, 0.08);
  --container: 1240px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-dark); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.22; margin-top: 0; font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 4vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p { margin-top: 0; color: var(--slate); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section-sm { padding: 56px 0; }
.bg-light { background: var(--bg-light); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4 { color: var(--white); }
.bg-navy p { color: #CBD5E1; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 8px; font-weight: 600; font-size: 0.95rem;
  border: 2px solid transparent; cursor: pointer; transition: all var(--transition);
  text-align: center; line-height: 1.2;
}
.btn-primary { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--white); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.45); }
.btn-outline-white:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-sm { padding: 9px 16px; font-size: 0.875rem; }

/* Utility Bar */
.utility-bar {
  background: var(--navy); color: #CBD5E1; font-size: 0.82rem; padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.utility-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.utility-links { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.utility-bar a { color: #E2E8F0; }
.utility-bar a:hover { color: var(--accent-soft); }

/* Header & Navigation */
.site-header {
  position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--border);
  transition: padding var(--transition), box-shadow var(--transition);
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 78px; transition: height var(--transition); }
.site-header.is-scrolled .header-inner { height: 64px; }

.brand-logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: var(--navy); letter-spacing: -0.02em; }
.brand-logo span { color: var(--accent); }
.brand-mark { width: 36px; height: 36px; border-radius: 8px; background: var(--navy); color: var(--white); display: grid; place-items: center; font-weight: 800; font-size: 1rem; border-bottom: 3px solid var(--accent); }

.desktop-nav { display: flex; align-items: center; gap: 24px; }
.nav-list { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; gap: 22px; }
.nav-list > li { position: relative; }
.nav-list > li > a { color: var(--charcoal); font-weight: 600; font-size: 0.92rem; padding: 10px 0; display: inline-flex; align-items: center; gap: 4px; }
.nav-list > li > a:hover, .nav-list > li.current > a { color: var(--accent-dark); }

/* Mega Menu */
.has-mega { position: static !important; }
.mega-menu {
  position: absolute; left: 0; right: 0; top: 100%; background: var(--white);
  border-top: 1px solid var(--border); border-bottom: 3px solid var(--accent);
  box-shadow: 0 20px 40px rgba(11,31,58,0.12); padding: 32px 0;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all var(--transition);
}
.has-mega:hover .mega-menu, .has-mega:focus-within .mega-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.mega-col h4 { font-size: 1rem; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.mega-col ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.mega-col li a { font-size: 0.9rem; color: var(--slate); font-weight: 500; display: block; padding: 4px 0; }
.mega-col li a:hover { color: var(--accent-dark); transform: translateX(3px); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.link-cv { font-size: 0.88rem; font-weight: 600; color: var(--navy); padding: 6px 10px; }
.link-cv:hover { color: var(--accent-dark); }

/* Mobile Controls */
.mobile-controls { display: none; align-items: center; gap: 10px; }
.hamburger { background: none; border: 1px solid var(--border); border-radius: 8px; width: 42px; height: 42px; display: grid; place-items: center; cursor: pointer; color: var(--navy); }
.mobile-drawer {
  position: fixed; inset: 0; z-index: 2000; background: var(--white);
  transform: translateX(100%); transition: transform 0.3s ease; overflow-y: auto;
  display: flex; flex-direction: column; padding: 20px 24px 32px;
}
.mobile-drawer.is-open { transform: translateX(0); }
.mobile-drawer-header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--border); margin-bottom: 16px; }
.mobile-nav-list { list-style: none; margin: 0; padding: 0; flex: 1; }
.mobile-nav-list > li { border-bottom: 1px solid var(--border); }
.mobile-nav-list a, .mobile-acc-btn {
  display: flex; justify-content: space-between; align-items: center; width: 100%;
  padding: 14px 4px; font-weight: 600; color: var(--navy); background: none; border: none; font-size: 1rem; text-align: left; cursor: pointer;
}
.mobile-acc-panel { display: none; padding: 0 0 12px 14px; }
.mobile-acc-panel.is-open { display: block; }
.mobile-acc-panel a { padding: 8px 0; font-size: 0.92rem; font-weight: 500; color: var(--slate); }
.mobile-drawer-ctas { display: grid; gap: 10px; margin-top: 24px; }

/* Hero */
.hero {
  background: linear-gradient(135deg, #0B1F3A 0%, #132C4E 100%);
  color: var(--white); padding: 88px 0 96px; position: relative; overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.hero-eyebrow {
  display: inline-block; background: rgba(13, 148, 136, 0.2); color: #5EEAD4;
  font-weight: 600; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; border: 1px solid rgba(94,234,212,0.25);
}
.hero h1 { color: var(--white); margin-bottom: 18px; }
.hero-sub { font-size: 1.12rem; color: #CBD5E1; margin-bottom: 30px; max-width: 600px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-visual {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px; padding: 32px;
}
.hero-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hero-stat { background: rgba(11,31,58,0.65); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 20px; }
.hero-stat strong { display: block; font-size: 1.85rem; color: #5EEAD4; line-height: 1.1; margin-bottom: 6px; }
.hero-stat span { font-size: 0.85rem; color: #CBD5E1; }

/* Page Header (Inner Pages) */
.page-hero { background: var(--navy); color: var(--white); padding: 64px 0; }
.page-hero h1 { color: var(--white); margin-bottom: 14px; }
.page-hero p { color: #CBD5E1; max-width: 740px; font-size: 1.08rem; }
.breadcrumbs { font-size: 0.85rem; color: #94A3B8; margin-bottom: 14px; }
.breadcrumbs a { color: #5EEAD4; }

/* Grids & Cards */
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head .eyebrow { color: var(--accent-dark); font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; display: block; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.card-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-dark); display: grid; place-items: center; font-weight: 700; margin-bottom: 18px; }
.card h3 { margin-bottom: 10px; }
.card p { flex: 1; margin-bottom: 16px; }
.card-link { font-weight: 600; font-size: 0.92rem; color: var(--accent-dark); display: inline-flex; align-items: center; gap: 6px; }

.hub-card { background: var(--white); border: 2px solid var(--border); border-radius: 14px; padding: 34px; transition: all var(--transition); }
.hub-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); }
.hub-badge { display: inline-block; background: var(--navy); color: var(--white); font-size: 0.78rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; margin-bottom: 14px; }

/* Process Stepper */
.stepper { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.step-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; position: relative; }
.step-num { width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: var(--white); font-weight: 700; font-size: 0.9rem; display: grid; place-items: center; margin-bottom: 14px; }

/* Metrics Band */
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.metric-box { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 28px 22px; text-align: center; }
.metric-val { font-size: 2.3rem; font-weight: 800; color: #5EEAD4; line-height: 1.1; margin-bottom: 8px; }
.metric-label { font-size: 0.92rem; color: #E2E8F0; }

/* Tables */
.data-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); }
.data-table { width: 100%; border-collapse: collapse; text-align: left; }
.data-table th, .data-table td { padding: 15px 18px; border-bottom: 1px solid var(--border); }
.data-table th { background: var(--navy); color: var(--white); font-weight: 600; font-size: 0.9rem; }
.data-table tr:last-child td { border-bottom: none; }

/* FAQ Accordion */
.faq-list { display: grid; gap: 14px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 18px 22px; font-weight: 700; font-size: 1rem; color: var(--navy); cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-a { padding: 0 22px 18px; color: var(--slate); display: none; }
.faq-item.is-open .faq-a { display: block; }

/* Forms */
.form-card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 36px; box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-weight: 600; font-size: 0.9rem; color: var(--navy); }
.form-control {
  width: 100%; padding: 12px 14px; border: 1px solid #CBD5E1; border-radius: 8px;
  font-family: inherit; font-size: 0.95rem; color: var(--charcoal); background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(13,148,136,0.15); }
.checkbox-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.check-label { display: flex; align-items: flex-start; gap: 10px; font-size: 0.92rem; color: var(--slate); cursor: pointer; }
.alert-error { background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B; padding: 14px 18px; border-radius: 8px; margin-bottom: 20px; }
.alert-success { background: #F0FDF4; border: 1px solid #BBF7D0; color: #166534; padding: 14px 18px; border-radius: 8px; margin-bottom: 20px; }

/* CTA Banner */
.cta-banner { background: linear-gradient(135deg, var(--navy) 0%, #0F3B57 100%); color: var(--white); border-radius: 16px; padding: 52px 44px; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-banner h2 { color: var(--white); margin-bottom: 10px; }
.cta-banner p { color: #CBD5E1; margin-bottom: 0; max-width: 620px; }

/* Footer */
.site-footer { background: #071527; color: #CBD5E1; padding: 68px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 48px; }
.site-footer h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #94A3B8; font-size: 0.9rem; }
.site-footer a:hover { color: #5EEAD4; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; font-size: 0.85rem; color: #94A3B8; }

/* Subtle Reveal Animation */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

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

@media (max-width: 1024px) {
  .desktop-nav, .header-actions { display: none; }
  .mobile-controls { display: flex; }
  .hero-grid, .grid-2, .grid-3, .grid-4, .stepper, .metrics-grid, .footer-grid { grid-template-columns: 1fr; }
  .mega-grid, .form-grid, .checkbox-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .hero { padding: 56px 0 64px; }
  .cta-banner { padding: 36px 24px; }
  .form-card { padding: 24px; }
}
