@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500;600;700&family=Montserrat:wght@400;500;600;700&display=swap');

:root {
  --navy: #16204b;
  --navy-dark: #0d1430;
  --navy-light: #e8eaf3;
  --bg: #fcfbfc;
  --text: #2a2a2a;
  --text-light: #5a5a5a;
  --border: #e2e1db;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

h1, h2, h3, .brand, .btn, nav a, .badge, .step-num, .footer-brand {
  font-family: 'Oswald', Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* NAV */
header.site-header {
  position: sticky;
  top: 0;
  background: var(--bg);
  border-bottom: 2px solid var(--navy);
  z-index: 100;
}
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  max-width: 1080px;
  margin: 0 auto;
}
.brand {
  color: var(--navy);
  font-weight: 700;
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: transform .3s ease;
}
.brand:hover .brand-icon { transform: rotate(-8deg) scale(1.06); }
.brand-text span { display: block; font-size: 11px; letter-spacing: 1px; color: var(--text-light); text-transform: none; font-family: 'Montserrat', sans-serif; margin-top: 2px; font-weight: 400; }
nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
}
nav.main-nav a {
  position: relative;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color .2s, color .2s;
}
nav.main-nav a:hover, nav.main-nav a.active {
  color: var(--navy);
  border-bottom-color: var(--navy);
}
.nav-toggle { display: none; }

/* HERO — photo, full bleed */
.hero-photo {
  position: relative;
  min-height: 560px;
  padding: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(13,17,45,0.90) 0%, rgba(15,20,55,0.74) 38%, rgba(15,20,55,0.30) 68%, rgba(15,20,55,0.06) 100%);
}
.hero-photo .dot {
  z-index: 2;
}
.hero-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 60px 24px;
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero-photo h1 {
  font-size: 44px;
  color: #fff;
  font-weight: 700;
  max-width: 620px;
  line-height: 1.15;
  opacity: 0;
  animation: heroUp .8s ease .1s forwards;
}
.hero-photo p.lead {
  font-size: 17px;
  color: #eceae2;
  max-width: 540px;
  margin-top: 20px;
  opacity: 0;
  animation: heroUp .8s ease .3s forwards;
}
.hero-photo .cta-row {
  margin-top: 32px; display: flex; gap: 16px; flex-wrap: wrap;
  opacity: 0;
  animation: heroUp .8s ease .5s forwards;
}
.hero-photo.small { min-height: 280px; }
.hero-photo.small h1 { font-size: 34px; }

@keyframes heroUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

/* legacy plain hero (kept for compat) */
.hero {
  position: relative;
  padding: 90px 24px 80px;
  overflow: hidden;
}
.hero h1 {
  font-size: 46px;
  color: var(--navy);
  font-weight: 700;
  max-width: 640px;
  line-height: 1.15;
}
.hero p.lead {
  font-size: 17px;
  color: var(--text);
  max-width: 560px;
  margin-top: 20px;
}
.hero .cta-row { margin-top: 32px; display: flex; gap: 16px; flex-wrap: wrap; }

/* SPLIT image + text */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split.reverse .split-photo { order: 2; }
.split.reverse .split-text { order: 1; }
.split-photo { border-radius: 12px; overflow: hidden; box-shadow: 0 18px 40px -14px rgba(13,17,45,0.35); }
.split-photo img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.split-photo:hover img { transform: scale(1.06); }
.split-text .eyebrow {
  color: var(--navy);
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1.5px;
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 13px 28px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 3px;
  cursor: pointer;
  border: 2px solid var(--navy);
  transition: transform .25s ease, box-shadow .25s ease, background .2s, color .2s;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 10px 22px -10px rgba(13,17,45,0.5); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-dark); }
.btn-outline { background: transparent; color: var(--navy); }
.btn-outline:hover { background: var(--navy-light); }

/* SECTIONS */
section { padding: 64px 0; }
section.alt { background: #f3f4f8; }
.section-title {
  color: var(--navy);
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 8px;
}
.section-sub {
  color: var(--text-light);
  font-size: 15px;
  max-width: 620px;
  margin-bottom: 36px;
}
.section-head { margin-bottom: 36px; }

/* GRIDS */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* CARDS */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 28px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 36px -18px rgba(13,17,45,0.28);
  border-color: var(--navy);
}
.card h3 { font-size: 15px; color: var(--text); margin-bottom: 10px; font-weight: 700; letter-spacing: 0.2px;}
.card p { font-size: 13.5px; color: var(--text-light); }

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--navy-light);
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 14px;
  transition: background .3s ease, color .3s ease;
}
.card:hover .step-num { background: var(--navy); color: #fff; }

/* SECTOR BADGES */
.badges { display: flex; flex-wrap: wrap; gap: 10px; }
.badge {
  background: var(--navy-light);
  color: var(--navy);
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 600;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.badge:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }

/* BRIDGE / HIGHLIGHT BOX */
.highlight-box {
  background: var(--navy);
  color: #fff;
  padding: 36px 40px;
  border-radius: 8px;
}
.highlight-box h3 { font-size: 18px; margin-bottom: 10px; }
.highlight-box p { font-size: 14.5px; opacity: 0.95; }

/* CASE STUDY */
.case-box {
  background: #f3f4f8;
  border-left: 4px solid var(--navy);
  padding: 28px 32px;
  border-radius: 4px;
}
.case-box h3 { color: var(--navy); font-size: 16px; margin-bottom: 12px; }
.case-box h4 { color: var(--navy); font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; margin: 20px 0 6px; }
.case-box ul { margin: 14px 0 14px 20px; font-size: 14px; color: var(--text-light); }
.case-box ul li { margin-bottom: 6px; }
.case-box p { font-size: 14px; color: var(--text-light); }

/* TESTIMONIAL */
.testimonial {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px 36px;
  position: relative;
}
.testimonial::before {
  content: "\201C";
  font-family: Georgia, serif;
  font-size: 64px;
  color: var(--navy-light);
  position: absolute;
  top: 8px;
  left: 20px;
  line-height: 1;
}
.testimonial p.quote { font-size: 14.5px; color: var(--text); font-style: italic; position: relative; z-index: 1; margin-bottom: 20px; }
.testimonial .author { display: flex; align-items: center; gap: 14px; }
.testimonial .avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px; flex-shrink: 0;
}
.testimonial .author-name { font-size: 13.5px; font-weight: 700; color: var(--text); }
.testimonial .author-role { font-size: 12px; color: var(--text-light); }

/* CTA BANNER */
.cta-banner {
  background: var(--navy);
  color: #fff;
  padding: 48px 0;
  text-align: center;
}
.cta-banner h2 { font-size: 24px; margin-bottom: 12px; }
.cta-banner p { font-size: 14.5px; opacity: 0.9; max-width: 520px; margin: 0 auto 24px; }
.cta-banner .btn { border-color: #fff; }
.cta-banner .btn-primary { background: #fff; color: var(--navy); }
.cta-banner .btn-primary:hover { background: #eee; }

/* FORM */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
form.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form label { font-size: 12.5px; font-weight: 600; color: var(--text); margin-bottom: 6px; display: block; }
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px var(--navy-light);
}
.contact-form textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 12px; color: var(--text-light); margin-top: 6px; }

.contact-info h3 { color: var(--navy); font-size: 16px; margin-bottom: 14px; }
.contact-info p { font-size: 14px; margin-bottom: 8px; }
.contact-info a { color: var(--navy); font-weight: 600; }

/* FOOTER */
footer.site-footer {
  background: var(--navy-dark);
  color: #f1f1ee;
  padding: 40px 0 24px;
  margin-top: 40px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-brand { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.footer-tagline { font-size: 12.5px; color: #c7cadd; font-family: 'Montserrat', sans-serif; }
footer.site-footer nav ul { list-style: none; display: flex; gap: 20px; flex-wrap: wrap; }
footer.site-footer nav a { font-size: 12.5px; color: #e8e8f0; transition: color .2s ease; }
footer.site-footer nav a:hover { color: #fff; }
.footer-contact { font-size: 12.5px; color: #c7cadd; text-align: right; }
.footer-bottom {
  max-width: 1080px;
  margin: 28px auto 0;
  padding: 18px 24px 0;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 11.5px;
  color: #9698b3;
  text-align: center;
}

/* SCROLL-REVEAL ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: .05s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .15s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .25s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .35s; }

/* RESPONSIVE */
@media (max-width: 860px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split.reverse .split-photo { order: 1; }
  .split.reverse .split-text { order: 2; }
  .split-photo img { height: 280px; }
  .hero-photo { min-height: 420px; }
  .hero-photo h1 { font-size: 32px; }
}
@media (max-width: 640px) {
  .nav-inner { flex-direction: column; gap: 14px; align-items: flex-start; }
  nav.main-nav ul { flex-wrap: wrap; gap: 16px; }
  .hero { padding: 60px 24px 60px; }
  .hero h1 { font-size: 30px; }
  .grid-4 { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
  .footer-contact { text-align: left; }
  .hero-photo { min-height: 380px; }
  .hero-photo h1 { font-size: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-photo h1, .hero-photo p.lead, .hero-photo .cta-row { animation: none; opacity: 1; }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; transition: none; }
}
