:root {
  --ink: #15221f;
  --muted: #5d6b66;
  --line: #dce4df;
  --paper: #ffffff;
  --soft: #f4f7f4;
  --green: #17382f;
  --green-2: #255a48;
  --gold: #c9922e;
  --gold-2: #f3d58d;
  --danger: #8b3328;
  --shadow: 0 20px 50px rgba(21, 34, 31, 0.12);
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

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

.container {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px max(20px, calc((100vw - 1140px) / 2));
  border-bottom: 1px solid rgba(220, 228, 223, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-logo {
  width: 44px;
  height: 44px;
  padding: 2px;
  border-radius: 8px;
  background: #fff;
  object-fit: contain;
}

.site-header .brand-logo {
  width: 66px;
  height: 66px;
}

.footer-brand .brand-logo {
  width: 40px;
  height: 40px;
}

.brand strong {
  display: block;
  font-size: 1rem;
  line-height: 1.15;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 6px;
  color: #33413d;
  font-size: 0.9rem;
  font-weight: 700;
}

.site-nav a:hover {
  background: var(--soft);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--green);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  display: flex;
  align-items: center;
  color: #fff;
  background: var(--green);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 31, 27, 0.96) 0%, rgba(20, 54, 46, 0.86) 48%, rgba(20, 54, 46, 0.72) 100%),
    url("assets/hero-port.jpg") center / cover no-repeat;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 56px;
  align-items: center;
}

.hero h1,
.section-head h2,
.split h2,
.contact-section h2 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(2.6rem, 6vw, 5.8rem);
}

.hero-lede {
  max-width: 680px;
  margin: 24px 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.18rem;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.notice {
  display: inline-flex;
  max-width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(243, 213, 141, 0.55);
  border-radius: 6px;
  background: rgba(243, 213, 141, 0.12);
  color: #fff;
  font-weight: 800;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn.primary {
  background: var(--gold);
  color: #1f221a;
}

.btn.primary:hover {
  background: #d6a33b;
}

.btn.secondary {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.contact-actions .btn.secondary {
  border-color: var(--line);
  background: #fff;
  color: var(--green);
}

.btn.full {
  width: 100%;
}

.hero-panel {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
}

.hero-panel img {
  width: 100%;
  margin-bottom: 18px;
  border-radius: 6px;
}

.hero-panel dl,
.product-card dl {
  margin: 0;
}

.hero-panel div,
.product-card dl div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-panel dt {
  color: var(--gold-2);
}

dd {
  margin: 0;
}

.stats-band {
  padding: 28px 0;
  background: #101d1a;
  color: #fff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stats-grid div {
  padding: 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.stats-grid strong {
  display: block;
  color: var(--gold-2);
  font-size: 2rem;
  line-height: 1;
}

.stats-grid span {
  color: rgba(255, 255, 255, 0.76);
}

.split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
}

.align-center {
  align-items: center;
}

.split h2,
.section-head h2,
.contact-section h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
}

.content p:first-child,
.section-head p,
.contact-section p {
  margin-top: 0;
}

.content {
  color: #33413d;
  font-size: 1.05rem;
}

.values {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.values span,
.tag {
  display: inline-flex;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.muted {
  background: var(--soft);
}

.section-head {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
}

.trade-grid,
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.trade-grid article,
.why-grid article,
.process-list li,
.address-card,
.enquiry-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(21, 34, 31, 0.06);
}

.trade-grid article,
.why-grid article {
  padding: 26px;
}

.trade-grid h3,
.why-grid h3,
.product-card h3,
.process-list h3 {
  margin: 0 0 10px;
  line-height: 1.2;
}

.trade-grid p,
.why-grid p,
.process-list p,
.product-card p {
  margin: 0;
  color: var(--muted);
}

.dark-card {
  background: var(--green) !important;
  color: #fff;
}

.dark-card p {
  color: rgba(255, 255, 255, 0.78);
}

.bulk-section {
  background: var(--green);
  color: #fff;
}

.bulk-section .content,
.bulk-section .check-list {
  color: rgba(255, 255, 255, 0.84);
}

.check-list {
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--gold);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.product-card {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(21, 34, 31, 0.07);
}

.product-card img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  border-radius: 6px;
  background: var(--soft);
}

.product-card h3 {
  margin-top: 12px;
  font-size: 1.45rem;
}

.product-card dl {
  margin-top: 18px;
}

.product-card dl div {
  grid-template-columns: 95px 1fr;
  border-top-color: var(--line);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.process-list li {
  padding: 28px;
}

.process-list span {
  display: block;
  margin-bottom: 20px;
  color: var(--gold);
  font-size: 2rem;
  font-weight: 900;
}

.clients-section {
  background: #fff;
}

.client-logo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 18px;
  align-items: stretch;
}

.client-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 118px;
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(21, 34, 31, 0.06);
  overflow: hidden;
}

.client-logo-card.dark-logo {
  background: #141816;
}

.client-logo-card img {
  display: block;
  width: auto;
  max-width: min(78%, 300px);
  height: auto;
  max-height: 74px;
  object-fit: contain;
}

.client-logo-card:nth-child(2) img {
  max-width: min(82%, 320px);
}

.contact-section {
  position: relative;
  background: #10231f;
  color: #fff;
}

.anchor-target {
  position: absolute;
  top: -104px;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: end;
}

.contact-section p {
  color: rgba(255, 255, 255, 0.78);
}

.address-card {
  display: grid;
  gap: 6px;
  margin-top: 28px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-style: normal;
}

.address-card span {
  color: rgba(255, 255, 255, 0.76);
}

.address-card a {
  color: var(--gold-2);
  font-weight: 800;
}

.office-photo {
  margin: 22px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.office-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 45%;
}

.office-photo figcaption {
  padding: 12px 14px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
}

.enquiry-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  color: var(--ink);
}

.form-head h2 {
  margin: 0;
  font-size: 1.8rem;
}

.form-head p {
  margin: 4px 0 0;
  color: var(--danger);
  font-weight: 800;
}

label {
  display: grid;
  gap: 7px;
  color: #32403c;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cfd8d2;
  border-radius: 6px;
  padding: 13px 12px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(201, 146, 46, 0.28);
  border-color: var(--gold);
}

.form-error {
  margin: 0;
  color: var(--danger);
  font-weight: 800;
}

.form-error.is-success {
  color: var(--green-2);
}

.site-footer {
  padding: 44px 0 24px;
  background: #09110f;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
}

.footer-grid p,
.footer-grid span,
.footer-grid a,
.footer-brand small {
  color: rgba(255, 255, 255, 0.72);
}

.footer-grid h2 {
  margin: 0 0 12px;
  font-size: 0.92rem;
  text-transform: uppercase;
}

.footer-grid a,
.footer-grid span {
  display: block;
  margin-bottom: 8px;
}

.copyright {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 78px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero-grid,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hero {
    min-height: auto;
  }

  .hero-panel {
    max-width: 560px;
  }

  .trade-grid,
  .why-grid,
  .process-list,
  .client-logo-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(100% - 28px, 1140px);
  }

  .section {
    padding: 64px 0;
  }

  .site-header {
    padding: 12px 14px;
  }

  .brand {
    min-width: 0;
  }

  .site-header .brand-logo {
    width: 44px;
    height: 44px;
  }

  .brand strong {
    font-size: 0.86rem;
  }

  .brand small {
    font-size: 0.68rem;
  }

  .hero h1 {
    font-size: 2.55rem;
  }

  .hero-grid {
    gap: 34px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid div {
    padding: 16px 10px;
  }

  .product-card {
    grid-template-columns: 1fr;
  }

  .product-card img {
    min-height: 190px;
  }

  .hero-panel div,
  .product-card dl div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .contact-actions,
  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .copyright {
    flex-direction: column;
  }
}

/* Tukalime client logo: fill the client card instead of rendering as a small centered mark. */
.client-logo-card img[src*="client-tukalime.svg"] {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  padding: 0;
}

/* Tukalime client logo: keep the green logo at the same visual scale as the other client marks. */
.client-logo-card img[src*="client-tukalime.svg"] {
  width: auto;
  height: auto;
  max-width: 72%;
  max-height: 118px;
  object-fit: contain;
  padding: 0;
}

/* Polished Tukalime sizing: larger than the tiny mark, but balanced with Kapa and Kyoga. */
.client-logo-card img[src*="client-tukalime.svg"] {
  width: min(46%, 360px);
  height: auto;
  max-width: 360px;
  max-height: 170px;
  object-fit: contain;
  padding: 0;
}

/* Tukalime: use the square green Initiative image and size it cleanly like a client logo. */
.client-logo-card img[src*="client-tukalime.svg"] {
  width: auto;
  height: auto;
  max-width: 240px;
  max-height: 185px;
  object-fit: contain;
  padding: 0;
}
