/* ============================================================
   MARSO SOLUTIONS — marsosolutions.com
   Brand: Navy #122035 · Steel Blue #3A7CA5 · Cool Gray #9AA7B4
          Light Gray #F1F3F6 · Ink #16263F
   Type:  Archivo (headings/body) · IBM Plex Mono (labels)
   ============================================================ */

:root {
  --navy: #122035;
  --steel: #3A7CA5;
  --gray: #9AA7B4;
  --light: #F1F3F6;
  --ink: #16263F;
  --white: #ffffff;
  --steel-dark: #2f6587;
  --max: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- typography ---------- */
h1, h2, h3 { font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--navy); }
h3 { font-size: 1.15rem; color: var(--navy); }

.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--steel);
  display: block;
  margin-bottom: 18px;
}

.lede { font-size: 1.2rem; color: var(--gray); max-width: 720px; }
.section-intro { max-width: 720px; margin-top: 16px; color: #4a5768; }

/* ---------- header ---------- */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--light);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 124px;
}
.nav .logo img { height: 96px; display: block; }
@media (max-width: 640px) {
  .nav { height: 84px; }
  .nav .logo img { height: 60px; }
}
.nav ul { display: flex; align-items: center; gap: 34px; list-style: none; }
.nav a { text-decoration: none; color: var(--ink); font-size: 0.95rem; font-weight: 500; }
.nav a:hover { color: var(--steel); }
.nav a.active { color: var(--steel); }
.nav .cta {
  background: var(--navy); color: var(--white);
  padding: 10px 22px; border-radius: 4px; font-weight: 600;
}
.nav .cta:hover { background: var(--steel); color: var(--white); }

/* ---------- hero ---------- */
.hero {
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; right: -6%; top: 50%; transform: translateY(-50%);
  width: 620px; height: 520px;
  background: url('../assets/marso-symbol-reversed.png') no-repeat center / contain;
  opacity: 0.16;
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; padding: 110px 0 120px; max-width: 780px; }
.hero h1 { color: var(--white); margin-bottom: 24px; }
.hero .lede { color: #c3cdd8; margin-bottom: 40px; }
.hero .eyebrow { color: var(--steel); }

.btn {
  display: inline-block; text-decoration: none; font-weight: 600;
  padding: 14px 30px; border-radius: 4px; font-size: 1rem;
}
.btn-primary { background: var(--steel); color: var(--white); }
.btn-primary:hover { background: var(--steel-dark); }
.btn-ghost { color: var(--white); border: 1px solid rgba(255,255,255,0.35); margin-left: 14px; }
.btn-ghost:hover { border-color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--steel); }

/* ---------- stat band ---------- */
.stats {
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,0.08);
  color: var(--white);
  position: relative; z-index: 2;
}
.stats .wrap {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
  padding-top: 44px; padding-bottom: 44px;
}
.stat .num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1.15rem; font-weight: 500; color: var(--white);
  letter-spacing: 0.06em; text-transform: uppercase;
  display: block; margin-bottom: 8px;
}
.stat .label { font-size: 0.88rem; color: var(--gray); line-height: 1.45; display: block; }

/* ---------- sections ---------- */
section { padding: 96px 0; }
section.tint { background: var(--light); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 52px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin-top: 52px; }

.card {
  background: var(--white);
  border: 1px solid #e3e8ee;
  border-top: 3px solid var(--steel);
  border-radius: 6px;
  padding: 30px 28px;
}
.card h3 { margin-bottom: 12px; }
.card p { font-size: 0.95rem; color: #4a5768; }
.card ul { margin: 14px 0 0 18px; font-size: 0.93rem; color: #4a5768; }
.card ul li { margin-bottom: 7px; }
.card .more { display: inline-block; margin-top: 16px; font-size: 0.9rem; font-weight: 600; color: var(--steel); text-decoration: none; }
.card .more:hover { text-decoration: underline; }

/* ---------- how we work ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 52px; }
.step { padding: 0 8px; }
.step .n {
  font-family: 'IBM Plex Mono', monospace;
  color: var(--steel); font-size: 0.85rem; letter-spacing: 0.25em;
  display: block; margin-bottom: 14px;
}
.step h3 { margin-bottom: 10px; }
.step p { font-size: 0.95rem; color: #4a5768; }

/* ---------- results / case studies ---------- */
.case {
  background: var(--white);
  border: 1px solid #e3e8ee;
  border-radius: 6px;
  padding: 36px 34px;
  margin-top: 26px;
}
.case .tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--steel); display: block; margin-bottom: 12px;
}
.case h3 { font-size: 1.3rem; margin-bottom: 18px; }
.case .cols { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 28px; }
.case .col h4 {
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--gray); margin-bottom: 8px; font-weight: 600;
}
.case .col p { font-size: 0.94rem; color: #4a5768; }
.case .result { color: var(--navy); font-weight: 500; }

/* ---------- principles ---------- */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 52px; }
.principle h3 { margin-bottom: 10px; }
.principle p { font-size: 0.95rem; color: #4a5768; }

/* ---------- cta band ---------- */
.cta-band { background: var(--navy); color: var(--white); text-align: center; padding: 90px 0; }
.cta-band h2 { color: var(--white); margin-bottom: 16px; }
.cta-band p { color: #c3cdd8; margin-bottom: 36px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ---------- contact ---------- */
.contact-box {
  background: var(--white); border: 1px solid #e3e8ee; border-radius: 6px;
  padding: 48px; margin-top: 44px; max-width: 640px;
}
.contact-box .email {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1.15rem; color: var(--steel); text-decoration: none; font-weight: 500;
}
.contact-box .email:hover { text-decoration: underline; }
.contact-box p { color: #4a5768; margin-bottom: 20px; }

/* ---------- footer ---------- */
footer { background: var(--navy); color: var(--gray); padding: 56px 0 40px; }
.foot-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 34px; }
.foot-top img { height: 44px; opacity: 0.9; }
.foot-top .tagline {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gray);
}
.foot-bottom {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 26px;
  font-size: 0.85rem;
}
.foot-bottom a { color: var(--gray); text-decoration: none; margin-left: 22px; }
.foot-bottom a:hover { color: var(--white); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .grid-3, .steps, .principles { grid-template-columns: 1fr 1fr; }
  .stats .wrap { grid-template-columns: 1fr 1fr; }
  .case .cols { grid-template-columns: 1fr; gap: 18px; }
  .hero::after { opacity: 0.08; }
}
@media (max-width: 640px) {
  .nav ul { gap: 18px; }
  .nav ul li.hide-m { display: none; }
  .grid-3, .grid-2, .steps, .principles { grid-template-columns: 1fr; }
  .hero-inner { padding: 70px 0 80px; }
  section { padding: 64px 0; }
  .btn-ghost { margin-left: 0; margin-top: 12px; }
  .foot-top { flex-direction: column; gap: 18px; align-items: flex-start; }
  .foot-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
  .foot-bottom a { margin-left: 0; margin-right: 18px; }
}
