/* Boshoga and Tswako (Pty) Ltd — marketing site
   Design tokens per handoff/design_handoff_boshoga_tswako/README.md */

:root {
  --color-bg: #ffffff;
  --color-surface: #D5DDE8;
  --color-text: #010101;
  --color-accent: #044DAB;
  --color-accent-2: #00B100;
  --color-divider: rgba(1, 1, 1, 0.14);

  --color-accent-100: #e8eef9;
  --color-accent-700: #033e89;
  --color-accent-2-100: #e5f7e5;
  --color-accent-2-300: #82d382;
  --color-accent-2-800: #0a6b0a;

  --text-muted-80: rgba(1, 1, 1, 0.8);
  --text-muted-75: rgba(1, 1, 1, 0.75);
  --text-muted-82: rgba(1, 1, 1, 0.82);

  --font-family: 'Lato', system-ui, -apple-system, sans-serif;
  --max-width: 1200px;
  --header-height: 76px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: var(--header-height);
}

body {
  margin: 0;
  font-family: var(--font-family);
  font-size: 16px;
  color: var(--color-text);
  background: var(--color-bg);
  max-width: 100%;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-weight: 900;
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.1;
}

p { margin: 0; }

a {
  color: var(--color-accent);
}
a:hover { color: var(--color-accent-700); }

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

.hr {
  border: none;
  border-top: 1px solid var(--color-divider);
  margin: 64px 0;
}

.tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 999px;
}
.tag-outline {
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  background: transparent;
}

.card {
  border: 1px solid var(--color-divider);
  border-radius: 8px;
  padding: 24px;
}
.card-title {
  font-weight: 700;
  font-size: 16px;
  margin: 0 0 10px;
}
.card-body {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted-80);
  margin: 0;
}

.plate {
  border: 1px solid var(--color-divider);
  border-radius: 8px;
  overflow: hidden;
}
.plate img { border-radius: 8px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border-radius: 6px;
  border: 1px solid transparent;
  padding: 12px 22px;
  cursor: pointer;
  background: transparent;
  transition: background-color 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.btn-primary:hover {
  background: color-mix(in srgb, var(--color-accent) 12%, transparent);
  color: var(--color-accent);
}
.btn-primary:active {
  background: color-mix(in srgb, var(--color-accent) 22%, transparent);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.btn-block { width: 100%; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid var(--color-divider);
}

.site-header__bar {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  gap: 16px;
}

.site-header__logo {
  display: flex;
  align-items: center;
  flex: none;
}
.site-header__logo img {
  height: 52px;
  display: block;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-desktop a {
  text-decoration: none;
  color: var(--color-text);
  font-weight: 700;
  font-size: 14px;
}
.nav-desktop a:hover { color: var(--color-accent); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--color-divider);
  border-radius: 6px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: none;
}
.nav-toggle svg { stroke: var(--color-text); }

/* Mobile dropdown: absolutely positioned so it overlays the page instead of
   pushing content down when opened. */
.nav-mobile {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid var(--color-divider);
  box-shadow: 0 12px 24px rgba(1, 1, 1, 0.12);
  flex-direction: column;
  padding: 8px 24px 20px;
  z-index: 49;
}
.nav-mobile.is-open { display: flex; }
.nav-mobile a {
  padding: 12px 0;
  text-decoration: none;
  color: var(--color-text);
  font-weight: 700;
  border-bottom: 1px solid var(--color-divider);
}
.nav-mobile .btn { margin-top: 12px; }

@media (max-width: 899px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: flex; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(1, 1, 1, 0.82) 0%, rgba(1, 1, 1, 0.55) 45%, rgba(4, 77, 171, 0.45) 100%);
  z-index: 1;
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 100px 24px 90px;
  width: 100%;
}
.hero__kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-accent-2-300);
  margin: 0 0 16px;
}
.hero h1 {
  font-size: clamp(34px, 6vw, 64px);
  line-height: 1.05;
  margin: 0 0 20px;
  max-width: 760px;
}
.hero__intro {
  font-size: 18px;
  max-width: 600px;
  line-height: 1.6;
  margin: 0 0 32px;
  color: #f0f2f5;
}
.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero__ctas .btn-primary {
  background: #fff;
  border-color: #fff;
  padding: 14px 28px;
  font-size: 15px;
}
.hero__ctas .btn-primary:hover {
  background: rgba(255, 255, 255, 0.85);
}
.hero__ctas .btn-secondary {
  padding: 14px 28px;
  font-size: 15px;
}

/* ---------- Section shells ---------- */

.section { max-width: var(--max-width); margin: 0 auto; padding: 90px 24px; }
.section-surface { background: var(--color-surface); padding: 90px 24px; }
.section-surface > .container { padding-left: 0; padding-right: 0; }

.section-intro-tag { margin-bottom: 16px; }
.section h2 { font-size: 34px; margin-bottom: 16px; }
.section-lead {
  font-size: 16px;
  line-height: 1.7;
  max-width: 720px;
  margin-bottom: 40px;
}

/* ---------- About ---------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 56px;
  align-items: stretch;
}
.about-grid h2 { font-size: 36px; margin-bottom: 24px; }
.about-grid p {
  font-size: 16px;
  line-height: 1.75;
  text-align: justify;
  margin-bottom: 16px;
}
.about-grid p:last-child { margin-bottom: 0; }
.about-grid .plate {
  margin: 0;
  height: 100%;
  display: flex;
}
.about-grid .plate img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}

.vision-mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}
.vision-mission-grid .vm-col {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.vision-mission-grid img.icon { width: 56px; height: 56px; margin-bottom: 16px; }
.vision-mission-grid h3 { font-size: 20px; margin-bottom: 10px; }
.vision-mission-grid p,
.vision-mission-grid ul {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted-80);
  margin: 0;
}
.vision-mission-grid ul { padding-left: 18px; line-height: 1.7; }
.vision-mission-grid li strong { color: var(--color-text); }

.csr-heading h2 { font-size: 30px; margin-bottom: 20px; }
.csr-heading p { font-size: 16px; line-height: 1.75; text-align: justify; max-width: 820px; }
.csr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  margin-top: 28px;
}

/* ---------- Why Us (full-bleed) ---------- */

.why-us {
  position: relative;
  color: #fff;
  overflow: hidden;
}
.why-us__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.why-us__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(1, 1, 1, 0.78) 0%, rgba(1, 1, 1, 0.6) 100%);
  z-index: 1;
}
.why-us__content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 90px 24px;
}
.why-us .tag-outline { border-color: #fff; color: #fff; margin-bottom: 16px; }
.why-us h2 { font-size: 34px; max-width: 700px; margin-bottom: 24px; }
.why-us__lead { font-size: 17px; line-height: 1.75; max-width: 720px; color: #f0f2f5; }
.why-us__sub-heading {
  margin: 36px 0 16px;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-accent-2-300);
}
.why-us ul {
  margin: 0 0 28px;
  padding-left: 20px;
  font-size: 16px;
  line-height: 1.8;
  max-width: 720px;
  color: #f0f2f5;
}
.why-us__closing { font-size: 18px; font-weight: 700; margin: 0; }

/* ---------- Clients ---------- */

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
}
.client-tile {
  border: 1px solid var(--color-divider);
  border-radius: 6px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f7f8fa;
  padding: 16px;
}
.client-tile img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* ---------- Team ---------- */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px 48px;
}
.team-member {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.team-member img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  object-position: center;
  flex: none;
}
.team-member .name { font-weight: 700; font-size: 17px; margin: 0 0 4px; }
.team-member .role { font-weight: 700; font-size: 15px; margin: 0; color: var(--color-accent-700); }
.team-member .bio {
  font-size: 14px;
  margin: 6px 0 0;
  line-height: 1.55;
  color: var(--text-muted-80);
}

/* ---------- Services ---------- */

.services-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.service-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(240px, 1.2fr);
  gap: 40px;
  align-items: center;
  padding: 40px 0;
  border-bottom: 1px solid var(--color-divider);
}
.service-row--no-image { grid-template-columns: 1fr; }
.service-row__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.service-row__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-accent-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.service-row h3 { font-size: 22px; margin: 0; }
.service-row ul {
  margin: 0;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-muted-82);
}
.service-row .plate { margin: 0; }
.service-row .plate img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center 65%;
}

.going-green {
  margin-top: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr);
  gap: 40px;
  align-items: center;
  padding-top: 40px;
}
.going-green .tag {
  background: var(--color-accent-2-100);
  color: var(--color-accent-2-800);
  margin-bottom: 14px;
}
.going-green h3 { font-size: 24px; margin-bottom: 14px; }
.going-green p { font-size: 16px; line-height: 1.75; }
.going-green .plate { margin: 0; }
.going-green .plate img { width: 100%; height: 200px; object-fit: cover; }

@media (max-width: 767px) {
  .service-row { grid-template-columns: 1fr; }
  .going-green { grid-template-columns: 1fr; }
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 56px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 15px;
  line-height: 1.6;
}
.contact-details .label { font-weight: 700; margin: 0 0 4px; }
.contact-details a { text-decoration: none; }

.contact-form {
  background: #fff;
  border: 1px solid var(--color-divider);
  border-radius: 8px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 700; font-size: 14px; }
.input {
  font-family: var(--font-family);
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--color-divider);
  border-radius: 6px;
  background: #fff;
  color: var(--color-text);
}
.input:focus {
  outline: none;
  border-color: var(--color-accent);
}
textarea.input { min-height: 120px; resize: vertical; font-family: var(--font-family); }

.form-message {
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.5;
}
.form-message--error {
  background: #fdecea;
  color: #7a1f16;
  border: 1px solid #f3c2bc;
}

.contact-success {
  background: #fff;
  border: 1px solid var(--color-divider);
  border-radius: 8px;
  padding: 40px;
  text-align: center;
}
.contact-success h3 { margin-bottom: 10px; font-size: 22px; }
.contact-success p { font-size: 15px; color: var(--text-muted-75); }

@media (max-width: 899px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--color-text);
  color: #f0f2f5;
  padding: 56px 24px 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.footer-logo {
  height: 60px;
  margin-bottom: 14px;
  filter: brightness(0) invert(1);
}
.footer-tagline { font-size: 14px; color: rgba(255, 255, 255, 0.65); line-height: 1.6; }
.footer-heading {
  color: #fff;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 14px;
}
.footer-grid p { font-size: 13px; margin: 0 0 6px; color: rgba(255, 255, 255, 0.7); }
.footer-grid p:last-child { margin-bottom: 0; }
.footer-grid a { color: rgba(255, 255, 255, 0.7); }
.footer-grid a:hover { color: #fff; }
.footer-copyright { font-size: 12px; color: rgba(255, 255, 255, 0.5); margin: 20px 0 0; }

/* ---------- Utility ---------- */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
