:root {
  --bg: #ffffff;
  --fg: #2f3138;
  --muted: #6b7280;
  --accent: #9f2064;
  --accent-2: #5b8cff;
  --line: #e8eaed;
  --card: #f7f8fa;
  --ink: #1b1d22;
  --maxw: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.65 "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { color: var(--ink); letter-spacing: -0.02em; }
a { color: inherit; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem clamp(1rem, 5vw, 3rem);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.brand img { height: 34px; width: auto; display: block; }

.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: 0.95rem; }
.nav a:hover { color: var(--ink); }

.nav .nav-green  { color: #106c36; }
.nav .nav-blue   { color: #375eab; }
.nav .nav-orange { color: #d4441a; }
.nav .nav-green:hover  { color: #0b4f27; }
.nav .nav-blue:hover   { color: #2a4a87; }
.nav .nav-orange:hover { color: #b03512; }

.nav-cta {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff !important;
}
.nav-cta:hover { background: #7e184f; }

/* ---------- hero ---------- */
.hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(3.5rem, 9vw, 7rem) clamp(1rem, 5vw, 3rem) clamp(2.5rem, 6vw, 4rem);
  text-align: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 1rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1.08;
  margin: 0 0 1.25rem;
}
.accent { color: var(--accent); }

.lede {
  max-width: 720px;
  margin: 0 auto 2rem;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--muted);
}

.hero-actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.12s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #7e184f; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); }

/* ---------- sections ---------- */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1rem, 5vw, 3rem);
}
.section-alt {
  max-width: none;
  background: var(--accent);
  border-top: 1px solid var(--accent);
  border-bottom: 1px solid var(--accent);
}
.section-alt > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.section-alt .section-head h2 { color: #fff; }
.section-alt .section-head p { color: rgba(255, 255, 255, 0.8); }

.section-head { text-align: center; margin-bottom: 2.5rem; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin: 0 0 0.5rem; }
.section-head p { color: var(--muted); margin: 0; font-size: 1.1rem; }

/* ---------- grids / cards ---------- */
.grid { display: grid; gap: 1.25rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.75rem;
}
.section-alt .card { background: #fff; }

.card h3 { font-size: 1.2rem; margin: 0 0 0.5rem; }
.card p { margin: 0; color: var(--muted); }

/* ---------- lifecycle ---------- */
.lifecycle {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  counter-reset: step;
}
.lifecycle li {
  border-top: 2px solid var(--accent);
  padding-top: 1rem;
}
.lifecycle span {
  display: block;
  font-weight: 700;
  color: var(--accent-2);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}
.lifecycle h3 { font-size: 1.15rem; margin: 0 0 0.35rem; }
.lifecycle p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* ---------- contact ---------- */
.contact { text-align: center; }
.contact h2 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); margin: 0 0 0.5rem; }
.contact p { color: var(--muted); margin: 0 0 1.75rem; font-size: 1.1rem; }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--muted);
}

.offices {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
}
.offices .city {
  font-weight: 600;
  color: var(--ink);
  font-size: 1.05rem;
}
.offices li { position: relative; }
.offices li + li::before {
  content: "";
  position: absolute;
  left: -1rem;
  top: 50%;
  width: 5px;
  height: 5px;
  margin-top: -2.5px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- responsive ---------- */
@media (max-width: 820px) {
  .grid-3 { grid-template-columns: 1fr; }
  .lifecycle { grid-template-columns: repeat(2, 1fr); }
  .nav a:not(.nav-cta) { display: none; }
}
@media (max-width: 480px) {
  .lifecycle { grid-template-columns: 1fr; }
}
