:root {
  --navy: #0f274b;
  --navy-2: #163862;
  --gold: #c9a34a;
  --ink: #333333;
  --muted: #657083;
  --line: #dfe4ec;
  --paper: #ffffff;
  --soft: #f7f8fa;
  --success: #2f8f71;
  --radius: 8px;
  --shadow: 0 18px 48px rgba(15, 39, 75, 0.12);
  --font: "Poppins", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  min-width: 0;
}
html {
  width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  background: var(--paper);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
img, iframe { max-width: 100%; }

.loader {
  display: none;
}
.loader span {
  width: 46px;
  height: 46px;
  border: 4px solid rgba(255,255,255,.25);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
body.loaded .loader { opacity: 0; visibility: hidden; }
@keyframes spin { to { transform: rotate(360deg); } }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  padding: 6px clamp(18px, 4vw, 64px);
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(223,228,236,.9);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; }
.brand-logo {
  display: block;
  width: clamp(92px, 8vw, 108px);
  height: auto;
  border-radius: 6px;
}
.brand strong, .brand small { display: block; line-height: 1.1; }
.brand small { color: var(--muted); font-size: 12px; }
.main-nav { display: flex; align-items: center; gap: 22px; font-size: 14px; font-weight: 600; }
.main-nav a { padding: 8px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover { color: var(--navy); border-color: var(--gold); }
.nav-toggle { display: none; border: 0; background: transparent; color: var(--navy); font-size: 30px; }

.section-band, .section-pad { padding: clamp(70px, 8vw, 118px) clamp(18px, 5vw, 76px); }
.muted { background: var(--soft); }
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: calc(100svh - 82px);
  display: grid;
  grid-template-columns: minmax(0, 760px);
  align-content: center;
  gap: 28px;
  color: white;
  background: var(--navy);
  padding-bottom: clamp(70px, 8vw, 118px);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(9,26,49,.98) 0%, rgba(15,39,75,.92) 43%, rgba(15,39,75,.48) 70%, rgba(15,39,75,.08) 100%),
    linear-gradient(0deg, rgba(9,26,49,.86), rgba(9,26,49,0) 42%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto clamp(18px, 5vw, 76px) 38px;
  z-index: -1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,163,74,.68), transparent);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0;
  background-position: center right;
  background-size: cover;
  transition: opacity .8s ease;
}
.hero-bg.active { opacity: 1; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}
h1, h2, h3, h4 {
  margin: 0;
  color: var(--navy);
  font-family: var(--font);
  line-height: 1.12;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}
.hero h1 {
  max-width: 720px;
  color: white;
  font-size: clamp(44px, 5vw, 70px);
  font-weight: 700;
  line-height: 1.04;
}
.tagline {
  max-width: 650px;
  margin: 20px 0 0;
  color: rgba(255,255,255,.86);
  font-size: clamp(19px, 2.05vw, 27px);
  font-weight: 500;
  line-height: 1.5;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  cursor: pointer;
  white-space: normal;
  text-align: center;
}
.btn.primary { background: var(--gold); color: var(--navy); }
.btn.ghost { color: var(--navy); background: white; border-color: var(--line); }
.hero .btn.ghost { color: white; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.32); }
.trust-strip { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; color: rgba(255,255,255,.86); }
.trust-strip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  overflow-wrap: anywhere;
}
.hero-controls {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 24px;
}
.hero-step {
  width: 42px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.32);
  cursor: pointer;
}
.hero-step.active { width: 64px; background: var(--gold); }
.hero-panel {
  display: none;
}
.metric-card {
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: var(--radius);
  background: rgba(9,26,49,.58);
  box-shadow: 0 18px 42px rgba(4,16,32,.18);
  backdrop-filter: blur(14px);
}
.metric-card span, .metric-card small { color: rgba(255,255,255,.78); }
.metric-card strong {
  display: block;
  margin: 5px 0;
  color: white;
  font-family: var(--font);
  font-size: clamp(28px, 3.1vw, 38px);
  font-weight: 700;
  line-height: 1;
}
.metric-card.accent {
  border-color: rgba(201,163,74,.75);
  background: rgba(15,39,75,.68);
}

.section-heading { max-width: 820px; margin-bottom: 36px; }
.section-heading,
.accordion,
.jobs-layout,
.insight-tools,
.card-grid,
.industry-grid,
.timeline,
.service-feature,
.split,
.legal {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}
.section-heading h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 700; }
.section-heading p:not(.eyebrow) { color: var(--muted); font-size: 17px; }
.split { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: 24px; align-items: stretch; }
.story, .partner-note, .profile-card, .service-card, .post-card, .job-card, blockquote, .map-card, .contact-form, .about-media, .service-feature {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 10px 34px rgba(15,39,75,.07);
}
.story { padding: clamp(24px, 4vw, 42px); }
.story h3 { font-size: 30px; }
.story p { color: var(--muted); }
.mission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
  align-items: stretch;
}
.mission-grid article {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}
.mission-grid i, .service-card i, .industry-card i { color: var(--gold); font-size: 24px; }
.mission-grid h4 { margin-top: 8px; }
.mission-grid p {
  flex: 1;
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.55;
}
.about-media { overflow: hidden; }
.about-media img { display: block; width: 100%; height: 265px; object-fit: cover; }
.partner-note { position: relative; padding: 30px; background: var(--navy); color: white; }
.partner-note p { font-size: 21px; }
.partner-note strong, .partner-note small { display: block; }
.partner-note small { color: rgba(255,255,255,.7); }
.quote-mark { color: var(--gold); font-size: 82px; line-height: .7; }
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 22px; }
.timeline span { padding: 16px; color: var(--navy); background: var(--soft); border-left: 4px solid var(--gold); border-radius: var(--radius); font-weight: 700; }

.service-tabs, .insight-tools { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.service-feature {
  display: grid;
  grid-template-columns: minmax(280px, .75fr) minmax(280px, 1fr);
  align-items: center;
  gap: 0;
  overflow: hidden;
  margin: 0 0 24px;
}
.service-feature img { width: 100%; height: 260px; object-fit: cover; }
.service-feature figcaption { padding: 28px; }
.service-feature strong { display: block; color: var(--navy); font-size: 24px; line-height: 1.2; }
.service-feature span { display: block; margin-top: 8px; color: var(--muted); }
.chip {
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  background: white;
  cursor: pointer;
  font-weight: 700;
}
.chip.active, .chip:hover { background: var(--navy); color: white; border-color: var(--navy); }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.service-card, .post-card, .job-card, .profile-card { padding: 24px; }
.service-card { cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card .category { display: inline-flex; margin: 13px 0; padding: 4px 9px; color: var(--navy); background: rgba(201,163,74,.2); border-radius: 999px; font-size: 12px; font-weight: 800; }
.service-card p, .post-card p, .job-card p, .profile-card small, .feature-grid .profile-card p { color: var(--muted); }
.industry-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.industry-card { padding: 20px; min-height: 128px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.industry-card strong { display: block; margin-top: 12px; color: var(--navy); }
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  color: white;
  background: var(--navy);
}
.stats article { padding: 20px; border-left: 3px solid var(--gold); }
.stats strong { display: block; color: white; font-size: clamp(38px, 5vw, 58px); line-height: 1; }
.stats span { color: rgba(255,255,255,.78); font-weight: 600; }
.profile-card { text-align: center; }
.feature-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature-grid .profile-card i {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  color: var(--navy);
  background: rgba(201,163,74,.22);
  border-radius: var(--radius);
  font-size: 26px;
}
.feature-grid .profile-card p { font-weight: 500; }
.avatar {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  margin: 0 auto 18px;
  color: white;
  background: var(--navy);
  border: 4px solid var(--gold);
  border-radius: 50%;
  font-size: 26px;
  font-weight: 800;
}
.profile-card p { margin: 7px 0; color: var(--gold); font-weight: 800; }
.profile-card a { display: inline-block; margin-top: 16px; color: var(--navy); font-size: 22px; }
blockquote { margin: 0; padding: 26px; color: var(--navy); font-size: 18px; font-weight: 600; }
blockquote cite { display: block; margin-top: 16px; color: var(--muted); font-size: 14px; font-style: normal; font-weight: 500; }
.insight-tools label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: min(100%, 330px);
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}
.insight-tools input, .insight-tools select, .contact-form input, .contact-form select, .contact-form textarea, .newsletter input {
  width: 100%;
  min-height: 45px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px;
  background: white;
}
.insight-tools label input { border: 0; padding-left: 0; outline: 0; }
.post-card .meta { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 13px; }
.post-card h3 { margin: 12px 0; }
.share-row { display: flex; gap: 10px; margin-top: 14px; color: var(--navy); }
.jobs-layout { display: grid; grid-template-columns: 1fr; gap: 20px; }
.jobs-list { display: grid; gap: 14px; }
.job-card { display: grid; gap: 9px; }
.job-card .tags { display: flex; flex-wrap: wrap; gap: 8px; }
.job-card .tags span { padding: 3px 8px; color: var(--navy); background: white; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; font-weight: 700; overflow-wrap: anywhere; }
.contact-form { display: grid; gap: 12px; padding: 24px; }
textarea { min-height: 118px; resize: vertical; }
.accordion {
  width: 100%;
  max-width: none;
}
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item button {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  min-height: 64px;
  padding: 16px 0;
  border: 0;
  background: transparent;
  color: var(--navy);
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}
.faq-item button i {
  flex: 0 0 auto;
  margin-left: auto;
}
.faq-item p { display: none; max-width: 1120px; margin: 0 0 20px; color: var(--muted); }
.faq-item.open p { display: block; }
.contact-section { display: grid; grid-template-columns: minmax(280px, .8fr) minmax(320px, 1fr); gap: 20px; align-items: start; }
.contact-info p:not(.eyebrow) { color: var(--muted); }
.contact-info i { color: var(--gold); margin-right: 9px; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; color: white; background: var(--navy); border-radius: var(--radius); }
.map-card { grid-column: 1 / -1; overflow: hidden; }
.map-card iframe { display: block; width: 100%; height: 320px; border: 0; }
.legal-page { background: var(--soft); }
.legal-document {
  max-width: 1040px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 10px 34px rgba(15,39,75,.07);
}
.legal-document p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.75;
  white-space: pre-line;
}
body.single-section-page main > section:not(.single-active-section):not(#not-found) {
  display: none;
}
.not-found { display: none; text-align: center; }
.not-found h2 { font-size: 92px; color: var(--gold); }

.footer {
  display: grid;
  grid-template-columns: 1.4fr .55fr .55fr .8fr;
  gap: 28px;
  padding: 54px clamp(18px, 5vw, 76px);
  color: rgba(255,255,255,.78);
  background: #091a31;
}
.footer h3 { color: white; font-size: 16px; }
.footer .brand-logo {
  width: 178px;
  padding: 6px;
  background: white;
  border-radius: var(--radius);
}
.footer a { display: block; margin: 7px 0; }
.newsletter { display: flex; gap: 8px; }
.newsletter button { width: 46px; border: 0; border-radius: var(--radius); color: var(--navy); background: var(--gold); cursor: pointer; }
.whatsapp, .back-top {
  position: fixed;
  right: 18px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  box-shadow: var(--shadow);
  cursor: pointer;
}
.whatsapp { bottom: 82px; color: white; background: #25d366; font-size: 24px; }
.back-top { bottom: 24px; color: var(--navy); background: var(--gold); opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.back-top.show { opacity: 1; pointer-events: auto; }
.cookie {
  position: fixed;
  left: 18px;
  right: auto;
  bottom: 18px;
  z-index: 45;
  display: flex;
  width: min(420px, calc(100vw - 36px));
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  color: white;
  background: rgba(15, 39, 75, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.cookie span {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 500;
}
.cookies-accepted .cookie { display: none; }
.cookie button {
  flex: 0 0 auto;
  border: 0;
  padding: 10px 18px;
  border-radius: 10px;
  color: var(--navy);
  background: var(--gold);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}
dialog { width: min(760px, calc(100vw - 32px)); border: 0; border-radius: var(--radius); padding: 0; box-shadow: var(--shadow); }
dialog::backdrop { background: rgba(9,26,49,.64); }
.modal-close { position: absolute; right: 12px; top: 12px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--soft); cursor: pointer; }
#modalBody { padding: 34px; }
#modalBody h2 { padding-right: 42px; }
#modalBody ul, #modalBody ol { color: var(--muted); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

@media (max-width: 1040px) {
  .main-nav {
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    background: white;
    border-bottom: 1px solid var(--line);
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .hero, .split, .jobs-layout, .contact-section, .service-feature { grid-template-columns: 1fr; }
  .hero-panel {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .industry-grid, .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .card-grid,
  .industry-grid,
  .stats,
  .mission-grid,
  .timeline,
  .legal,
  .footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header { min-height: 76px; }
  .brand-logo { width: 92px; }
  .main-nav { top: 76px; }
  .hero { min-height: auto; padding-top: 54px; }
  .hero::before { background: linear-gradient(90deg, rgba(9,26,49,.98), rgba(15,39,75,.82)); }
  .hero h1 { font-size: clamp(38px, 11.5vw, 54px); line-height: 1.08; }
  .tagline { font-size: 19px; line-height: 1.48; }
  .hero-actions, .trust-strip, .service-tabs, .insight-tools { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .section-band, .section-pad { padding-left: 18px; padding-right: 18px; }
  .card-grid, .industry-grid, .stats, .mission-grid, .timeline, .legal, .hero-panel, .footer { grid-template-columns: 1fr; }
  .cookie {
    left: 18px;
    right: 18px;
    width: auto;
    flex-direction: column;
    align-items: stretch;
  }
  .cookie button { width: 100%; min-height: 44px; }
}
