:root {
  --bg-page: #f3f5f7;
  --bg-white: #ffffff;
  --bg-grey: #f7f8fa;
  --text-main: #1f2933;
  --text-muted: #6b7380;
  --border-subtle: #d6d9e0;
  --green: #009b4d;
  --green-dark: #00753a;
  --shadow-soft: 0 10px 25px rgba(15, 23, 42, 0.08);
  --radius-card: 16px;
  --radius-pill: 999px;
  --container-width: 1100px;
  --transition-fast: 0.15s ease-out;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  color: var(--text-main);
  background: var(--bg-page);
}

.page {
  min-height: 100vh;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* slightly tighter vertical rhythm */
.section {
  padding: 1.5rem 0;
}

.band-grey {
  background: var(--bg-grey);
  padding: 1.5rem 0;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg-white);
  border-bottom: 1px solid #e1e4ea;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.2rem 0;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* bigger logo */
.logo-mark {
  width: 120px;
  height: auto;
}

.logo-text {
  line-height: 1.1;
}

/* bigger, green “and whoo” */
.logo-title {
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 1.8rem;
  color: var(--green);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 0.95rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-main);
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 0;
  height: 2px;
  background: var(--green);
  transition: width var(--transition-fast);
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-menu-button {
  margin-left: 0.5rem;
  width: 26px;
  height: 24px;
  border: none;
  background: transparent;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.nav-menu-button span {
  display: block;
  height: 2px;
  background: var(--text-main);
  border-radius: 999px;
}

/* Hero */

.hero-section {
  background: linear-gradient(to bottom, var(--bg-white), var(--bg-page));
  padding: 2rem 0 1.8rem; /* reduced top/bottom */
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: 1.5rem;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 3vw, 3rem);
  margin: 0 0 0.7rem;
  white-space: nowrap; /* keep on one line on desktop */
}

.hero-lead {
  margin: 0 0 1.4rem;
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 32rem;
}

.hero-actions {
  display: flex;
  gap: 0.9rem;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 0.7rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition-fast), color var(--transition-fast),
    border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-primary {
  background: var(--green);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(0, 155, 77, 0.25);
}

.btn-primary:hover {
  background: var(--green-dark);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-main);
  border-color: var(--border-subtle);
}

.btn-secondary:hover {
  border-color: var(--green);
}

.btn-block {
  width: 100%;
}

/* Hero diagram */

.hero-diagram {
  display: flex;
  justify-content: center;
}

/* REDUCED GAP BETWEEN STEPS */
.diagram-card {
  background: var(--bg-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  padding: 1.2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem; /* ~40% of previous spacing */
}

.diagram-step {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #f9fafb;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
}

/* Step 2 offset (child 3 in the card) */
.diagram-card .diagram-step:nth-child(3) {
  margin-left: 2.2rem;
}

/* Step 3 offset (child 5 in the card) – same spacing again */
.diagram-card .diagram-step:nth-child(5) {
  margin-left: 4.4rem;
}


.diagram-badge {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--green);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
}

.diagram-label {
  font-weight: 600;
  font-size: 0.95rem;
}

/* base style for the arrows between steps */
.diagram-arrow {
  display: block;
  text-align: left;
  color: var(--green);
  font-weight: 600;
  font-size: 1.2rem;
  line-length: 1.1;
}

/* Arrow between 1 → 2 (halfway between their offsets) */
.diagram-card .diagram-arrow:nth-child(2) {
  margin-left: 4.4rem;   /* tweak if you want it slightly left/right */
}

/* Arrow between 2 → 3 (halfway between step 2 and step 3 offsets) */
.diagram-card .diagram-arrow:nth-child(4) {
  margin-left: 6.5rem;   /* tweak if you want it slightly left/right */
}


/* Top services strip */

.services-strip {
  background: var(--bg-white);
  padding: 1.8rem 0 2.2rem; /* tighter */
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);
}

.services-grid {
  display: grid;
  gap: 1.6rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
  background: var(--bg-white);
  border-radius: var(--radius-card);
  padding: 1.4rem 1.5rem 1.5rem;
  box-shadow: var(--shadow-soft);
}

.service-card h3 {
  margin: 0.7rem 0 0.6rem;
  font-size: 1.05rem;
}

.service-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid transparent;
}

.pill-green {
  background: #e6f6ee;
  color: var(--green-dark);
}

/* Who decides */

.who-decides-inner {
  display: grid;
  /* slightly narrower left column + smaller gap */
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.15fr);
  column-gap: 0.5rem;
  align-items: center;
}

.who-decides-text h2 {
  margin-top: 0;
  margin-bottom: 0.7rem;
}

.who-decides-text p {
  margin: 0;
  color: var(--text-muted);
  max-width: 32rem;
}

/* MOVE THE FLOW STRIP LEFT IN ITS COLUMN */
.who-decides-diagram {
  display: flex;
  justify-content: flex-start;
}

.flow-strip {
  background: #e7f5ee;
  border-radius: var(--radius-pill);
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

/* Move the Stakeholders → Delivery strip further left on wide screens */
@media (min-width: 1000px) {
  .who-decides-diagram .flow-strip {
    margin-left: -3.2rem; /* make this more negative to move further left */
  }
}

.flow-node {
  background: #ffffff;
  border-radius: var(--radius-pill);
  padding: 0.4rem 0.7rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 110px;
}

.flow-icon {
  font-size: 1rem;
  margin-bottom: 0.1rem;
}

.flow-label {
  font-size: 0.85rem;
  font-weight: 600;
}

.flow-sublabel {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.flow-arrow {
  font-size: 1.2rem;
  color: var(--green-dark);
}

/* What we do */

.section h2 {
  margin: 0 0 0.8rem;
}

.section-intro {
  margin: 0 0 1.3rem;
  color: var(--text-muted);
  max-width: 36rem;
}

.what-we-do-grid {
  display: grid;
  gap: 1.6rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.what-we-do-grid .service-card {
  box-shadow: var(--shadow-soft);
}

/* How we work */

.how-we-work-strip {
  margin-top: 1.2rem;
  padding: 0.9rem;
  background: #dff4e9;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 0.5rem;
}

.how-step {
  background: #ffffff;
  border-radius: var(--radius-pill);
  padding: 0.6rem 0.9rem;
  flex: 1 1 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.how-number {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--green);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  margin: 0 auto 0.1rem;
}

.how-title {
  font-size: 0.9rem;
  font-weight: 600;
}

.how-text {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.how-arrow {
  align-self: center;
  color: var(--green-dark);
}

/* Who we work with */

.pill-toggle-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.1rem;
}

.pill-toggle {
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  padding: 0.4rem 0.95rem;
  background: #ffffff;
  font-size: 0.85rem;
  cursor: default;
}

.pill-toggle-active {
  background: var(--green);
  border-color: var(--green);
  color: #ffffff;
}

/* Contact */

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: flex-start;
}

.contact-text h2 {
  margin-top: 0;
}

.contact-text p {
  margin-top: 0.4rem;
  color: var(--text-muted);
}

.contact-bullets {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-form-card {
  background: var(--bg-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  padding: 1.4rem;
}

.contact-form-card form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.contact-form-card label span {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.2rem;
}

.contact-form-card input,
.contact-form-card textarea {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  padding: 0.5rem 0.6rem;
  font: inherit;
}

.contact-form-card input:focus,
.contact-form-card textarea:focus {
  outline: 2px solid rgba(0, 155, 77, 0.25);
  border-color: var(--green);
}

.contact-links {
  margin-top: 1.1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.contact-links a {
  color: var(--green-dark);
  text-decoration: none;
}

.contact-links a:hover {
  text-decoration: underline;
}

.decision-makers-note {
  margin-top: 1.3rem;
  font-size: 0.85rem;
  text-align: center;
  color: var(--text-muted);
}

/* Footer */

.site-footer {
  background: #111827;
  color: #9ca3af;
  padding: 1.1rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-links a {
  color: #d1d5db;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Responsive */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .who-decides-inner,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .what-we-do-grid {
    grid-template-columns: 1fr 1fr;
  }

  .how-we-work-strip {
    flex-direction: column;
    border-radius: 20px;
  }

  .how-step {
    border-radius: 12px;
  }

  .header-inner {
    align-items: center;
  }

  /* let the hero line wrap on small screens */
  .hero-copy h1 {
    white-space: normal;
  }
}

@media (max-width: 640px) {
  .services-grid,
  .what-we-do-grid {
    grid-template-columns: 1fr;
  }

  .hero-section {
    padding-top: 1.6rem;
  }

  .main-nav a {
    display: none; /* simple mobile nav: logo + burger only */
  }
}
