/* ========== SHARED STYLES ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:    #0A1628;
  --blue:    #1B4FD8;
  --steel:   #2C5282;
  --light:   #EBF4FF;
  --white:   #FFFFFF;
  --gold:    #F6AD55;
  --dark:    #1A202C;
  --muted:   #718096;
  --border:  #CBD5E0;
  --bg:      #F7FAFC;
  --success: #38A169;
  --danger:  #E53E3E;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
}

/* ---- NAVBAR ---- */
.navbar {
  background: var(--navy);
  position: sticky; top: 0; z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,.35);
}
.navbar-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center;
  padding: 0 24px; height: 64px; gap: 32px;
}
.navbar-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.navbar-logo {
  font-size: 1.25rem; font-weight: 800;
  color: var(--white); text-decoration: none; white-space: nowrap;
  letter-spacing: -.5px;
}
.navbar-logo span { color: var(--gold); }
.navbar-links {
  display: flex; gap: 4px; list-style: none; flex: 1;
}
.navbar-links a {
  color: rgba(255,255,255,.82); text-decoration: none;
  padding: 6px 14px; border-radius: 6px; font-size: .9rem;
  transition: background .2s, color .2s;
}
.navbar-links a:hover, .navbar-links a.active {
  background: rgba(255,255,255,.12); color: var(--white);
}
.navbar-cta {
  background: var(--blue); color: var(--white) !important;
  border-radius: 6px; padding: 8px 18px !important;
  font-weight: 600 !important; font-size: .875rem !important;
  transition: background .2s !important;
}
.navbar-cta:hover { background: #1a44c2 !important; }
.navbar-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  color: var(--white);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.navbar-toggle:hover {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.28);
}
.navbar-toggle-box {
  width: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.navbar-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}
.navbar-toggle[aria-expanded="true"] .navbar-toggle-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.navbar-toggle[aria-expanded="true"] .navbar-toggle-bar:nth-child(2) {
  opacity: 0;
}
.navbar-toggle[aria-expanded="true"] .navbar-toggle-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}
.navbar-mobile-only { display: none; }
.navbar-cta-mobile {
  display: block;
  background: var(--blue);
  color: var(--white) !important;
  text-align: center;
  border-radius: 8px;
  padding: 12px 16px;
  font-weight: 700;
  text-decoration: none;
}
.navbar-cta-mobile:hover { background: #1a44c2; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---- RECRUITMENT BANNER ---- */
.recruit-banner {
  background: linear-gradient(90deg, #1155cc 0%, #2C5282 100%);
  text-align: center; padding: 10px 24px;
  font-size: .875rem; color: var(--white);
  display: flex; align-items: center; justify-content: center; gap: 16px;
}
.recruit-banner a {
  background: transparent; border: 1px solid rgba(255,255,255,.7);
  color: var(--white); padding: 4px 14px; border-radius: 4px;
  text-decoration: none; font-weight: 600; font-size: .8rem;
  transition: background .2s;
}
.recruit-banner a:hover { background: rgba(255,255,255,.18); }

/* ---- FOOTER ---- */
.footer {
  background: var(--navy); color: rgba(255,255,255,.75);
  padding: 56px 24px 0;
}
.footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px;
  padding-bottom: 48px;
}
.footer-col h4 {
  color: var(--white); font-size: .8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: rgba(255,255,255,.65); text-decoration: none; font-size: .875rem;
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 20px 0;
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .8rem; color: rgba(255,255,255,.45);
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a {
  color: rgba(255,255,255,.45); text-decoration: none;
  transition: color .2s;
}
.footer-bottom-links a:hover { color: rgba(255,255,255,.8); }

/* ---- PAGE HERO ---- */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--steel) 100%);
  color: var(--white); text-align: center;
  padding: 72px 24px 64px; position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 400px; height: 400px;
  background: rgba(27,79,216,.25);
  border-radius: 50%; pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute; bottom: -60px; left: -60px;
  width: 300px; height: 300px;
  background: rgba(246,173,85,.08);
  border-radius: 50%; pointer-events: none;
}
.page-hero .eyebrow {
  font-size: .75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 2px; color: var(--gold); margin-bottom: 12px;
}
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem); font-weight: 800;
  line-height: 1.15; margin-bottom: 16px;
}
.page-hero p {
  font-size: 1.1rem; color: rgba(255,255,255,.78);
  max-width: 600px; margin: 0 auto;
}

/* ---- CONTAINER ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 24px; }
.section-sm { padding: 48px 24px; }

/* ---- CARD ---- */
.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; padding: 32px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 8px; font-size: .95rem;
  font-weight: 600; border: none; cursor: pointer;
  text-decoration: none; transition: all .2s;
}
.btn-primary {
  background: var(--blue); color: var(--white);
}
.btn-primary:hover { background: #1a44c2; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(27,79,216,.4); }
.btn-outline {
  background: transparent; color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-outline:hover { background: var(--blue); color: var(--white); }

/* ---- FORM ELEMENTS ---- */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block; font-size: .875rem; font-weight: 600;
  color: var(--dark); margin-bottom: 6px;
}
.form-label .req { color: var(--danger); margin-left: 2px; }
.form-control {
  width: 100%; padding: 11px 14px; border-radius: 8px;
  border: 1.5px solid var(--border); font-size: .95rem;
  color: var(--dark); background: var(--white);
  transition: border-color .2s, box-shadow .2s;
  font-family: inherit;
}
.form-control:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(27,79,216,.15);
}
.form-control::placeholder { color: var(--muted); }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23718096' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-hint { font-size: .8rem; color: var(--muted); margin-top: 4px; }
.phone-row { display: grid; grid-template-columns: 180px 1fr; gap: 12px; }

/* ---- TABLE ---- */
.table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th {
  background: var(--navy); color: var(--white);
  padding: 12px 16px; text-align: left;
  font-size: .8rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .6px;
}
td { padding: 12px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
tr:hover td { background: var(--light); }
tr:last-child td { border-bottom: none; }

/* ---- BADGE ---- */
.badge {
  display: inline-block; padding: 3px 10px; border-radius: 20px;
  font-size: .75rem; font-weight: 600;
}
.badge-blue { background: var(--light); color: var(--blue); }
.badge-gold { background: #FEF3C7; color: #92400E; }
.badge-green { background: #F0FFF4; color: var(--success); }

/* ---- INSIGHT SECTIONS ---- */
.insight-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 24px;
  align-items: start;
}
.insight-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  min-width: 0;
  max-width: 100%;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.insight-kicker {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: var(--blue);
  margin-bottom: 12px;
}
.insight-panel h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.insight-panel p {
  color: var(--muted);
  margin-top: 12px;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.insight-list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-top: 24px;
}
.insight-list li {
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid rgba(10,22,40,.06);
  overflow-wrap: anywhere;
  word-break: break-word;
}
.insight-list strong {
  display: block;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--navy);
  margin-bottom: 6px;
}
.insight-cases {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}
.insight-case {
  padding: 16px 18px;
  border-left: 4px solid var(--gold);
  border-radius: 12px;
  background: rgba(27,79,216,.04);
  overflow-wrap: anywhere;
  word-break: break-word;
}
.insight-case strong {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
}
.insight-positioning {
  margin-top: 24px;
  padding: 20px 22px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--steel) 100%);
  color: var(--white);
}
.insight-positioning strong {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  letter-spacing: .6px;
}
.insight-positioning p {
  color: rgba(255,255,255,.82);
  margin-top: 0;
}
.table-note {
  font-size: .85rem;
  color: var(--muted);
  margin-top: 16px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* ---- DIVIDER ---- */
.divider { border: none; border-top: 1px solid var(--border); margin: 40px 0; }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .phone-row { grid-template-columns: 1fr; }
  .recruit-banner {
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px 16px;
  }
  .navbar-inner {
    height: auto;
    min-height: 64px;
    padding: 10px 16px;
    gap: 16px;
    flex-wrap: wrap;
  }
  .navbar-logo { font-size: 1.1rem; }
  .navbar-actions { gap: 10px; }
  .navbar-toggle { display: inline-flex; }
  .navbar-cta { display: none; }
  .navbar-links {
    display: none;
    width: 100%;
    flex-basis: 100%;
    flex-direction: column;
    gap: 8px;
    padding: 10px 0 18px;
    border-top: 1px solid rgba(255,255,255,.08);
  }
  .navbar.navbar-open .navbar-links { display: flex; }
  .navbar-links li { width: 100%; }
  .navbar-links a {
    display: block;
    width: 100%;
    padding: 12px 14px;
    font-size: .95rem;
  }
  .navbar-mobile-only { display: list-item; }
  .page-hero { padding: 60px 16px 52px; }
  .page-hero h1 { font-size: clamp(1.85rem, 8vw, 2.5rem); }
  .page-hero p { font-size: 1rem; }
  .section { padding: 56px 16px; }
  .section-sm { padding: 40px 16px; }
  .container { padding: 0 16px; }
  .card { padding: 24px; }
  .footer-bottom { align-items: flex-start; }
  .footer-bottom-links { flex-wrap: wrap; gap: 12px 16px; }
  .insight-grid { grid-template-columns: 1fr; }
  .insight-panel {
    padding: 24px;
    overflow: hidden;
  }
  .insight-panel h3 { font-size: 1.2rem; }
  .insight-list li,
  .insight-case,
  .insight-positioning { padding: 16px; }
  .table-wrap table {
    min-width: 640px;
    width: max-content;
  }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .insight-panel { padding: 24px; }
  .table-wrap {
    margin: 0 -4px;
    padding: 0 4px 6px;
  }
  th, td { padding: 10px 12px; }
}
