:root {
  --navy: #003e51;
  --navy-dark: #002631;
  --teal: #14b8a6;
  --teal-soft: #f0fdf9;
  --muted: #f8fafc;
  --text: #002631;
  --subtle: #64748b;
  --line: rgba(0, 62, 81, 0.08);
  --shadow: 0 24px 60px rgba(0, 62, 81, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: "Inter", system-ui, sans-serif;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
.container { width: calc(100% - 240px); margin: 0 auto; }

.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid rgba(0, 62, 81, 0.06);
  transition: box-shadow .25s ease;
}
.site-nav.scrolled { box-shadow: 0 8px 24px rgba(15, 23, 42, .06); }
.nav-inner { width: calc(100% - 240px); height: 110px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 5px; flex: 0 0 auto; }
.brand img { display: block; object-fit: contain; }
.brand .brand-icon { width: 48px; height: 48px; }
.brand .brand-wordmark { width: 115px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { padding: 8px 16px; border-radius: 8px; color: #475569; font-size: 14px; font-weight: 500; }
.nav-links a:hover, .nav-links a.active { color: var(--navy); background: var(--teal-soft); }
.nav-links .nav-cta { margin-left: 12px; padding: 10px 20px; color: #fff; background: var(--navy); font-weight: 600; }
.nav-links .nav-cta:hover { color: #fff; background: var(--navy-dark); }
.menu-toggle { display: none; width: 42px; height: 42px; border: 0; background: transparent; padding: 9px; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--navy); }

main { padding-top: 110px; }
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 110px);
  overflow: hidden;
  background: #fff;
  color: #003e51;
}
.hero-inner { position: relative; display: flex; justify-content: center; padding: 40px 0 80px; text-align: center; }
.hero-copy { display: flex; width: 100%; max-width: 1120px; flex-direction: column; align-items: center; margin: 0 auto; }
.hero h1, .page-hero h1, h2 { font-family: "Inter", system-ui, sans-serif; letter-spacing: 0; }
.hero h1 { max-width: none; margin: 28px auto 26px; font-size: clamp(42px, 4.2vw, 64px); line-height: 1.08; font-weight: 700; white-space: nowrap; }
.hero h1 span { color: var(--teal); }
.hero p { color: rgba(0,62,81,.68); }
.hero .lead { max-width: 720px; margin: 0 auto; color: #003e51; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; font-weight: 500; }
.hero-details { max-width: 780px; margin: 22px auto 0; }
.hero-details p { margin: 0 auto 10px; font-size: 14px; line-height: 1.7; }
.hero-details p:last-child { margin-bottom: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; color: #003e51; background: rgba(0,62,81,.05); border: 1px solid rgba(0,62,81,.1); font-size: 14px; font-weight: 500; }
.eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 28px; border-radius: 8px; border: 0; font-weight: 600; font-size: 14px; cursor: pointer; }
.btn.accent { background: var(--teal); color: #fff; }
.btn.primary { background: var(--navy); color: #fff; }
.btn.ghost { background: rgba(0,62,81,.05); border: 1px solid rgba(0,62,81,.2); color: #003e51; }
.btn.full { width: 100%; }
.card-top b, .industry-grid b { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: rgba(20,184,166,.14); color: var(--teal); font-size: 12px; }
.trust-bar { background: var(--navy-dark); padding: 20px 0; }
.trust-items { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 38px; color: #94a3b8; font-size: 12px; font-weight: 500; }
.trust-items span::first-letter { color: var(--teal); }

.section { padding: 80px 0; background: #fff; }
.section.muted { background: var(--muted); }
.section-label { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; color: #64748b; text-transform: uppercase; font-size: 12px; font-weight: 600; letter-spacing: .12em; }
.section-label span { color: var(--teal); font-weight: 700; }
.section-label i, .panel-tag i { width: 40px; height: 1px; background: var(--teal); }
.section-head { margin-bottom: 40px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; }
h2 { margin: 0 0 20px; font-size: clamp(32px, 3.4vw, 48px); line-height: 1.1; }
h2.narrow { max-width: 760px; margin-bottom: 40px; }
p { color: var(--subtle); line-height: 1.72; }
.text-link { display: inline-flex; gap: 7px; color: var(--teal); font-size: 14px; font-weight: 600; }
.card-grid { display: grid; gap: 20px; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.info-card { min-height: 220px; padding: 28px; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.info-card:hover { border-color: rgba(20,184,166,.4); box-shadow: var(--shadow); }
.info-card.compact { min-height: 250px; }
.card-top { display: flex; align-items: start; justify-content: space-between; margin-bottom: 20px; }
.card-top span { color: #cbd5e1; font-size: 12px; font-weight: 700; }
.info-card h3 { margin: 0 0 12px; font-family: "Inter"; font-size: 19px; line-height: 1.25; }
.info-card p { margin: 0; font-size: 14px; }
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.industry-grid a { display: flex; min-height: 132px; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: #fff; text-align: center; font-weight: 400; }

.page-hero { position: relative; overflow: hidden; padding: 40px 0 56px; background: #fff; color: #003e51; }
.page-hero .container { position: relative; }
.page-hero h1 { max-width: 768px; margin: 22px 0 0; font-size: clamp(44px, 5vw, 60px); line-height: 1.12; }
.page-hero p { max-width: 620px; color: rgba(0,62,81,.72); font-size: 18px; }

.solution-layout { display: grid; grid-template-columns: minmax(320px, 2fr) 3fr; gap: 32px; align-items: start; }
.solution-tabs { position: sticky; top: 132px; display: grid; gap: 10px; }
.solution-tab { display: grid; grid-template-columns: 44px 1fr 20px; align-items: center; gap: 14px; width: 100%; padding: 16px; border: 1px solid rgba(0,62,81,.1); border-radius: 14px; background: #fff; text-align: left; cursor: pointer; }
.solution-tab b { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--teal-soft); color: var(--teal); font-size: 12px; }
.solution-tab strong, .solution-tab small { display: block; }
.solution-tab small { margin-top: 2px; color: var(--subtle); }
.solution-tab i { color: #cbd5e1; font-style: normal; font-size: 24px; }
.solution-tab.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.solution-tab.active small, .solution-tab.active i { color: #bfdbfe; }
.solution-tab.active b { background: rgba(255,255,255,.15); color: #fff; }
.solution-panel { display: none; padding: 34px; border: 1px solid var(--line); border-radius: 18px; background: var(--muted); }
.solution-panel.active { display: block; }
.panel-tag { display: flex; align-items: center; gap: 12px; color: var(--teal); font-size: 12px; font-weight: 900; letter-spacing: .12em; }
.solution-panel h2 { margin-top: 14px; font-size: 38px; }
.solution-panel h3 { margin: -10px 0 18px; color: var(--teal); font-size: 14px; }
.capabilities { margin: 30px 0; padding-top: 24px; border-top: 1px solid var(--line); }
.capabilities h4, .needs-card h3 { margin: 0 0 16px; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; }
.capabilities div { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.capabilities span, .needs-card span { display: block; padding: 13px 14px; border: 1px solid rgba(0,62,81,.07); border-radius: 10px; background: #fff; font-size: 14px; font-weight: 500; }

/* Infrastructure & Market Access Services — section headings inside .capabilities */
.ima-section-heading { margin: 20px 0 4px; font-family: "Inter", system-ui, sans-serif; font-size: 14px; font-weight: 700; color: var(--navy); text-transform: uppercase; letter-spacing: .08em; }
.ima-section-heading:first-child { margin-top: 0; }
.ima-section-lead { margin: 0 0 10px; font-size: 13px; color: var(--subtle); }
.ima-outcome { display: flex; align-items: flex-start; gap: 14px; margin: 24px 0 28px; padding: 22px 24px; border: 1px solid rgba(20,184,166,.25); border-radius: 14px; background: var(--teal-soft); }
.ima-outcome p { margin: 0; font-size: 14px; font-weight: 600; color: #0f766e; line-height: 1.6; font-style: italic; }

.industry-list .industry-row + .industry-row { border-top: 1px solid var(--line); }
.industry-row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 56px 0; align-items: start; }
.industry-row h2 { font-size: 36px; }
.needs-card { padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--muted); }
.needs-card span + span { margin-top: 12px; }
.needs-card span::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 12px; border-radius: 50%; background: var(--teal); vertical-align: 2px; }

.partners-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.partners-grid h2 { font-size: 36px; }
.role-list { display: grid; gap: 12px; margin-top: 32px; }
.role-list span { padding: 16px; border: 1px solid rgba(0,62,81,.07); border-radius: 14px; background: var(--muted); font-size: 14px; font-weight: 500; }
.partner-areas span { padding: 16px; border: 1px solid rgba(0,62,81,.07); border-radius: 14px; background: var(--muted); font-size: 14px; font-weight: 600; }
.partner-areas { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.notice { margin-top: 26px; padding: 24px; border: 1px solid rgba(0,62,81,.1); border-radius: 14px; background: #fff; }
.notice p { margin-bottom: 0; }
.dark-card { padding: 38px; border-radius: 18px; background: var(--navy); color: #fff; }
.dark-card h3 { color: var(--teal); text-transform: uppercase; letter-spacing: .12em; font-size: 12px; }
.dark-card span { display: block; margin-top: 16px; color: #dbeafe; font-weight: 500; }

.contact-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 64px; align-items: start; }
.contact-form label { display: grid; gap: 8px; color: var(--text); text-transform: uppercase; letter-spacing: .04em; font-size: 12px; font-weight: 700; }
.contact-form label .required { color: #ef4444; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-fields { display: grid; gap: 20px; }
input, textarea, select { width: 100%; border: 1px solid rgba(0,62,81,.15); border-radius: 10px; background: var(--muted); padding: 14px 15px; color: var(--text); outline: 0; }
textarea { resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(20,184,166,.12); }
input.has-error, textarea.has-error, select.has-error { border-color: #ef4444; background: #fff7f7; }
.field-error { min-height: 16px; color: #dc2626; text-transform: none; letter-spacing: 0; font-size: 12px; font-weight: 600; }
.form-alert { padding: 14px 16px; border-radius: 10px; font-size: 14px; font-weight: 700; }
.form-alert.error { border: 1px solid rgba(239,68,68,.22); background: #fef2f2; color: #b91c1c; }
.form-alert.success { border: 1px solid rgba(20,184,166,.2); background: var(--teal-soft); color: #0f766e; }
.form-success {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.form-success[hidden] {
  display: none !important;
}
.form-success-card {
  position: relative;
  max-width: 500px;
  width: 100%;
  padding: 48px 36px 36px;
  border: 1px solid rgba(20, 184, 166, 0.2);
  border-radius: 24px;
  background: #f0fdfa;
  text-align: center;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  animation: modalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modalPop {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.form-success strong { display: block; margin-bottom: 12px; font-family: "Inter"; font-size: 26px; color: var(--navy); }
.form-success p { color: var(--subtle); font-size: 15px; margin: 0; line-height: 1.5; }
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  color: var(--subtle);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}
.modal-close:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--navy);
}
.contact-side h2 { font-size: 22px; }
.contact-side > a, .contact-side > p { display: block; margin: 0 0 14px; padding: 17px; border: 1px solid var(--line); border-radius: 14px; background: var(--muted); color: var(--navy); font-weight: 600; }
.contact-side small { display: block; margin-bottom: 4px; color: var(--subtle); text-transform: uppercase; letter-spacing: .08em; font-size: 11px; }
.contact-brand { margin-top: 24px; padding: 28px; border-radius: 18px; background: var(--navy); color: #fff; }
.contact-brand img { width: 200px; filter: brightness(0) invert(1); margin-bottom: 16px; }
.contact-brand strong { color: var(--teal); font-size: 13px; }
.contact-brand p { color: rgba(219,234,254,.72); font-size: 12px; }

.cta-band { position: relative; overflow: hidden; padding: 96px 0; background: radial-gradient(circle at 75% 50%, rgba(20,184,166,.1), transparent 55%), var(--navy); color: #fff; }
.center { text-align: center; }
.cta-band h2 { margin-bottom: 16px; color: #fff; }
.cta-band p { max-width: 480px; margin: 0 auto 34px; color: #bfdbfe; }
.footer { padding: 56px 0 0; background: var(--navy-dark); color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand img { width: 140px; max-width: 100%; height: auto; object-fit: contain; }
.footer h3 { color: #64748b; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; }
.footer a, .footer p { display: block; margin: 0 0 10px; color: #94a3b8; font-size: 14px; }
.footer-brand p { max-width: 350px; line-height: 1.7; }
.footer-brand span { color: var(--teal); }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.05); }
.footer-bottom p { color: #475569; font-size: 12px; }

@media (max-width: 767px) {
  .container, .nav-inner { width: 100%; padding-left: 24px; padding-right: 24px; }
  .nav-inner { height: 84px; }
  .brand .brand-icon { width: 43px; height: 43px; }
  .brand .brand-wordmark { width: 104px; }
  main { padding-top: 84px; }
  .menu-toggle { display: block; }
  .nav-links { position: absolute; top: 84px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; padding: 14px 16px 20px; background: #fff; border-top: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .nav-links .nav-cta { margin: 10px 0 0; text-align: center; }
  .hero-inner, .two-col, .solution-layout, .industry-row, .partners-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-inner { padding-top: 36px; padding-bottom: 36px; }
  .card-grid.three, .card-grid.four, .industry-grid, .capabilities div, .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .solution-tabs { position: static; }
}

@media (min-width: 768px) and (max-width: 1100px) {
  .hero h1 { white-space: normal; }
  .nav-inner { gap: 32px; }
  .nav-links { gap: 6px; }
  .nav-links a { padding: 8px 14px; font-size: 14px; }
  .nav-links .nav-cta { display: none; }
  .hero-inner { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container, .nav-inner { width: calc(100% - 40px); }
  .hero h1 { font-size: 42px; white-space: normal; }
  .page-hero h1 { font-size: 42px; }
  .section, .cta-band { padding: 64px 0; }
  .page-hero { padding: 32px 0; }
  .card-grid.three, .card-grid.four, .industry-grid, .capabilities div, .partner-areas, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}
