/* ==========================================================================
   Acumen Scout — design system
   Palette: navy #0d2647, blue #1d4ed8, green #16a34a, light bg #f7f9fc
   ========================================================================== */

:root {
  --navy: #0d2647;
  --navy-2: #133257;
  --navy-soft: #22406b;
  --blue: #1d4ed8;
  --blue-dark: #1741b8;
  --blue-50: #eaf1ff;
  --blue-100: #dbe8ff;
  --green: #159a4a;
  --green-dark: #0f7c3b;
  --green-50: #e8f8ee;
  --ink: #0f1f36;
  --gray-700: #445069;
  --gray-500: #6b7690;
  --gray-300: #c9d3e2;
  --gray-100: #eef2f8;
  --gray-50: #f7f9fc;
  --white: #ffffff;
  --border: #e3e9f2;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(13,38,71,.06);
  --shadow: 0 8px 24px rgba(13,38,71,.08);
  --shadow-lg: 0 20px 48px rgba(13,38,71,.14);
  --container: 1240px;
  --font-display: 'Sora', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  margin: 0 0 .5em;
  line-height: 1.15;
  letter-spacing: -.01em;
}
p { margin: 0 0 1em; color: var(--gray-700); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ---------- Reveal-on-scroll ---------- */
[data-animate] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
[data-animate].in-view { opacity: 1; transform: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: .95rem;
  padding: 13px 22px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn:hover { transform: translateY(-1px); }

.btn-solid { background: var(--navy); color: #fff; }
.btn-solid:hover { background: var(--navy-2); box-shadow: var(--shadow); }

.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue-100); }
.btn-outline:hover { background: var(--blue-50); }

.btn-line { background: var(--navy); color: #fff; }
.btn-line:hover { background: var(--navy-2); }

.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dark); box-shadow: var(--shadow); }

.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-outline-light:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.6); }

.btn-white { background: #fff; color: var(--navy); border-color: #fff; }
.btn-white:hover { background: var(--gray-100); }
.btn-white .icon { color: var(--green); }

.btn-text { background: none; padding: 13px 4px; color: var(--blue); }
.btn-text:hover { color: var(--blue-dark); }

.icon { width: 20px; height: 20px; flex-shrink: 0; }
.icon-sm { width: 16px; height: 16px; }
.icon-lg { width: 26px; height: 26px; }

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.eyebrow.green { color: var(--green); }
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-50);
  color: var(--blue);
  border: 1px solid var(--blue-100);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.mono-label { /* legacy hook used on inner pages */
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.mono-label.light { color: var(--blue-100); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 84px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 44px; height: 44px;
  color: var(--blue);
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.18rem; color: var(--navy); letter-spacing: .01em; }
.brand-tag { font-size: .72rem; color: var(--gray-500); font-weight: 600; letter-spacing: .03em; }

.main-nav { display: flex; align-items: center; gap: 30px; }
.nav-link {
  position: relative;
  font-size: .95rem;
  font-weight: 600;
  color: var(--ink);
  padding: 6px 0;
}
.nav-link:hover, .nav-link.active { color: var(--blue); }
.nav-link.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}
.nav-item-drop { position: relative; }
.nav-drop-trigger { display: inline-flex; align-items: center; gap: 5px; background: none; border: none; }
.nav-drop-trigger svg { width: 13px; height: 13px; transition: transform .15s ease; }
.nav-item-drop:hover .nav-drop-trigger svg,
.nav-item-drop.open .nav-drop-trigger svg { transform: rotate(180deg); }
.nav-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  min-width: 230px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(6px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
}
.nav-item-drop:hover .nav-dropdown,
.nav-item-drop.open .nav-dropdown {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: .92rem;
  font-weight: 600;
  color: var(--ink);
}
.nav-dropdown a:hover { background: var(--blue-50); color: var(--blue); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none; border: 1px solid var(--border); border-radius: var(--radius-sm);
}
.hamburger span { width: 18px; height: 2px; background: var(--navy); margin: 0 auto; border-radius: 2px; }

@media (max-width: 980px) {
  .main-nav {
    position: fixed; inset: 84px 0 0 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 24px 30px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .25s ease;
  }
  .main-nav.open { transform: translateX(0); }
  .nav-link { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .nav-item-drop { display: block; }
  .nav-dropdown {
    position: static; transform: none; opacity: 1; visibility: visible;
    box-shadow: none; border: none; padding: 0 0 0 14px; display: none; min-width: 0;
  }
  .nav-item-drop.open .nav-dropdown { display: block; }
  .nav-item-drop.open .nav-dropdown, .nav-item-drop:hover .nav-dropdown { transform: none; }
  .hamburger { display: flex; }
  .header-actions .btn-solid.header-cta { display: none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { background: linear-gradient(180deg, #fbfcfe 0%, var(--gray-50) 100%); padding: 64px 0 0; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding-bottom: 56px;
}
.hero-left h1 {
  font-size: clamp(2.2rem, 3.4vw, 3.1rem);
  font-weight: 800;
  margin-bottom: 20px;
}
.hero-left h1 .accent { color: var(--blue); }
.hero-sub { font-size: 1.06rem; color: var(--gray-700); max-width: 46ch; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; margin-bottom: 40px; flex-wrap: wrap; }

.feature-strip { display: flex; gap: 26px; flex-wrap: wrap; }
.feature-item { display: flex; gap: 12px; align-items: flex-start; max-width: 210px; }
.feature-item .icon-wrap {
  width: 42px; height: 42px; flex-shrink: 0;
  border-radius: 11px;
  background: var(--blue-50);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
}
.feature-item strong { display: block; font-size: .92rem; color: var(--navy); margin-bottom: 2px; }
.feature-item p { font-size: .82rem; color: var(--gray-500); margin: 0; }

/* ---- hero illustration ---- */
.hero-right { position: relative; }
.map-frame {
  position: relative;
  border-radius: var(--radius-lg);
  min-height: 420px;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.map-frame svg.map-svg { width: 100%; height: auto; max-width: 480px; }
.map-pin-icon { color: var(--blue); filter: drop-shadow(0 3px 5px rgba(13,38,71,.25)); }
.map-pin-icon.accent-green { color: var(--green); }

.city-card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 18px;
  min-width: 150px;
  z-index: 3;
}
.city-card h4 {
  font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  margin: 0 0 8px; color: var(--blue);
}
.city-card.tier3 h4 { color: var(--green); }
.city-card li { font-size: .84rem; color: var(--gray-700); padding: 2px 0; font-weight: 500; }
.city-card.tier2 { top: 2%; left: -2%; }
.city-card.tier3 { top: 34%; right: -4%; }

.hero-callout {
  margin-top: 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.hero-callout .icon-wrap {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--blue-50); color: var(--blue);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hero-callout p {
  margin: 0; font-weight: 700; color: var(--navy); font-size: .98rem;
  border-left: 3px solid var(--green); padding-left: 14px;
}

.deco-city { position: absolute; z-index: 1; color: var(--gray-300); opacity: .8; }
.deco-city.pos-bl { left: -4%; bottom: 2%; width: 110px; }
.deco-city.pos-tr { right: -6%; top: -2%; width: 130px; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .city-card.tier2 { top: -14px; left: 0; }
  .city-card.tier3 { top: auto; bottom: -14px; right: 0; }
  .map-frame { min-height: 380px; margin-top: 30px; }
  .deco-city { display: none; }
}

/* ==========================================================================
   Section shells
   ========================================================================== */
.section { padding: 88px 0; }
.section.tight { padding: 64px 0; }
.section-tag-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 46px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 800; max-width: 20ch; }
.section-head.light .eyebrow { color: var(--blue-100); }
.section-head.light h2 { color: #fff; }
.section-head { max-width: 640px; }
.section-head p { max-width: 46ch; }
.section-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--blue); font-size: .92rem; }
.section-link:hover { color: var(--blue-dark); }
.section-bg-alt { background: var(--gray-50); }

/* ==========================================================================
   Services
   ========================================================================== */
.services-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.services-intro { padding-right: 10px; }
.services-intro .eyebrow { margin-bottom: 12px; }
.services-intro h2 { font-size: 1.7rem; margin-bottom: 14px; }
.services-intro p { font-size: .95rem; margin-bottom: 18px; }

.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--blue-100); }
.service-card .icon-wrap {
  width: 50px; height: 50px; border-radius: 13px;
  background: var(--blue-50); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.service-card h3 { font-size: 1.06rem; margin-bottom: 8px; }
.service-card p { font-size: .89rem; flex: 1; margin-bottom: 16px; }
.service-card .section-link { font-size: .87rem; }

.service-card.highlight {
  background: linear-gradient(165deg, var(--green-50) 0%, #f3fbf6 100%);
  border-color: #cdecd9;
}
.service-card.highlight .eyebrow.green { font-size: .72rem; }
.service-card.highlight h3 { font-size: 1.12rem; }
.check-list li { display: flex; align-items: center; gap: 10px; font-size: .87rem; font-weight: 600; color: var(--navy); padding: 5px 0; }
.check-list .icon { color: var(--green); width: 17px; height: 17px; }

@media (max-width: 1080px) {
  .services-layout { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .services-layout { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Process rail
   ========================================================================== */
.process-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 48px 40px;
}
.process-panel .section-head { max-width: none; text-align: center; margin: 0 auto 46px; }
.process-panel .eyebrow { display: block; }

.rail { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; position: relative; }
.rail::before {
  content: '';
  position: absolute;
  top: 20px; left: 6%; right: 6%;
  height: 0;
  border-top: 2px dashed var(--gray-300);
  z-index: 0;
}
.rail-step { position: relative; z-index: 1; text-align: center; padding: 0 4px; }
.rail-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--blue); color: #fff;
  font-weight: 800; font-size: .9rem;
  margin-bottom: 14px;
  box-shadow: 0 0 0 6px #fff;
}
.rail-step .icon-wrap { color: var(--navy); margin-bottom: 10px; display: flex; justify-content: center; }
.rail-step strong { display: block; font-size: .88rem; color: var(--navy); margin-bottom: 5px; }
.rail-step p { font-size: .77rem; color: var(--gray-500); margin: 0; }

@media (max-width: 980px) {
  .process-panel { padding: 36px 22px; }
  .rail { grid-template-columns: repeat(4, 1fr); row-gap: 34px; }
  .rail::before { display: none; }
}
@media (max-width: 560px) {
  .rail { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   CTA banner
   ========================================================================== */
.cta-banner {
  position: relative;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}
.cta-banner .skyline {
  position: absolute; left: 0; bottom: 0; width: 46%; max-width: 560px;
  color: rgba(255,255,255,.08);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  padding: 46px 24px;
}
.cta-copy h3 { color: #fff; font-size: 1.5rem; margin-bottom: 6px; }
.cta-copy p { color: rgba(255,255,255,.72); margin: 0; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-actions .btn-white { flex-direction: column; align-items: flex-start; gap: 2px; line-height: 1.25; padding: 10px 18px; }
.cta-actions .btn-white .wa-row { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.cta-actions .btn-white small { font-weight: 500; color: var(--gray-500); font-size: .72rem; }

@media (max-width: 900px) {
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .cta-banner .skyline { display: none; }
}

/* ==========================================================================
   Legacy hooks used on inner pages (about / services / contact / etc.)
   Restyled to match the new system so every page stays consistent.
   ========================================================================== */
.page-hero {
  background: linear-gradient(180deg, #fbfcfe 0%, var(--gray-50) 100%);
  padding: 72px 0 56px;
  text-align: left;
}
.page-hero h1 { font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 800; }
.page-hero p { max-width: 60ch; font-size: 1.02rem; }

.content-section { padding: 72px 0; }
.content-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.content-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
}
.content-card h3 { font-size: 1.1rem; }
@media (max-width: 760px) { .content-grid { grid-template-columns: 1fr; } }

.industry-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.industry-chip {
  background: var(--blue-50); color: var(--blue); border: 1px solid var(--blue-100);
  font-weight: 700; font-size: .88rem; padding: 10px 18px; border-radius: 999px;
}

/* ---- forms ---- */
.form-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 34px; align-items: start; padding: 60px 0; }
.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 34px; }
.form-section + .form-section { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--border); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { display: block; font-weight: 700; font-size: .88rem; color: var(--navy); margin-bottom: 6px; }
.required { color: var(--blue); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font: inherit; color: var(--ink); background: #fff;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-50);
}
.form-note { font-size: .8rem; color: var(--gray-500); margin-top: -8px; }
.file-drop {
  border: 1.5px dashed var(--gray-300); border-radius: var(--radius-sm);
  padding: 24px; text-align: center; color: var(--gray-500); font-size: .9rem;
}
.form-submit { margin-top: 6px; }
.hp-field { position: absolute; left: -9999px; opacity: 0; }
.form-aside { display: flex; flex-direction: column; gap: 18px; }
.aside-contact {
  background: var(--navy); color: #fff; border-radius: var(--radius-lg);
  padding: 28px; display: flex; flex-direction: column; gap: 14px;
}
.aside-contact a { color: #fff; font-weight: 600; }
.aside-contact a:hover { color: var(--blue-100); }
.alert { padding: 14px 18px; border-radius: var(--radius-sm); font-size: .92rem; margin-bottom: 22px; }
.alert-success { background: var(--green-50); color: var(--green-dark); border: 1px solid #b9e6c9; }
.alert-error { background: #fdecec; color: #b42318; border: 1px solid #f7c6c6; }

@media (max-width: 900px) {
  .form-layout, .form-row { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy); color: rgba(255,255,255,.7); padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px; padding-bottom: 40px; }
.footer-brand .brand-name { color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; }
.footer-brand p { color: rgba(255,255,255,.55); margin-top: 8px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col .mono-label { color: rgba(255,255,255,.45); }
.footer-col a { font-size: .92rem; color: rgba(255,255,255,.75); }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; font-size: .84rem; color: rgba(255,255,255,.5); flex-wrap: wrap; gap: 10px;
}
.footer-legal { display: flex; gap: 18px; }
.footer-legal a { color: rgba(255,255,255,.5); }
.footer-legal a:hover { color: #fff; }

.error-page {
  max-width: 560px;
  margin: 0 auto;
  padding: 120px 24px;
  text-align: center;
}
.error-page h1 { font-size: 2rem; margin-top: 10px; }
.error-page .btn { margin-top: 18px; }

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
