/* =========================================================
   Mtino Enterprises (Pty) Ltd — Corporate Stylesheet
   Brand: blue primary, green accents, purple/copper secondary
   ========================================================= */

:root {
  --blue: #335d94;
  --blue-dark: #26456d;
  --blue-light: #eef2f8;
  --purple: #6b3e87;
  --green: #00a759;
  --green-dark: #1e683e;
  --leaf: #79ab42;
  --copper: #b7623c;
  --lavender: #8681b1;
  --bluegrey: #afb4d3;
  --white: #ffffff;
  --grey: #f4f6f8;
  --line: #e2e7ee;
  --charcoal: #222222;
  --muted: #5b6675;
  --radius: 10px;
  --shadow: 0 2px 10px rgba(34, 34, 34, 0.06);
  --shadow-lg: 0 10px 30px rgba(38, 69, 109, 0.12);
  --wrap: 1160px;
  --font-head: "Montserrat", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Roboto", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--white);
  overflow-x: hidden;
}

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

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  color: var(--blue-dark);
  line-height: 1.25;
  margin: 0 0 0.6em;
  font-weight: 700;
}

h1 {
  font-size: clamp(1.85rem, 4.2vw, 2.9rem);
}

h2 {
  font-size: clamp(1.4rem, 2.8vw, 2rem);
}

h3 {
  font-size: 1.12rem;
}

p {
  margin: 0 0 1.05em;
}

ul {
  margin: 0 0 1.1em;
  padding-left: 1.15rem;
}

li {
  margin-bottom: 0.35em;
}

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

.section {
  padding: 68px 0;
}

.section--grey {
  background: var(--grey);
}

.section--blue {
  background: var(--blue-dark);
  color: #eaf0f8;
}

.section--blue h2,
.section--blue h3 {
  color: var(--white);
}

.section--tight {
  padding: 46px 0;
}

.lead {
  font-size: 1.06rem;
  color: var(--muted);
  max-width: 820px;
}

.section--blue .lead {
  color: #d3ddec;
}

.eyebrow {
  font-family: var(--font-head);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--green);
  margin: 0 0 0.5rem;
}

.center {
  text-align: center;
}

.center .lead {
  margin-left: auto;
  margin-right: auto;
}

.rule {
  width: 62px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  margin: 0 0 1.4rem;
  border: 0;
}

.center .rule {
  margin-left: auto;
  margin-right: auto;
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.7rem 1.5rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.97rem;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  text-decoration: none !important;
}

.btn--primary {
  background: var(--green);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--green-dark);
}

.btn--blue {
  background: var(--blue);
  color: var(--white);
}

.btn--blue:hover {
  background: var(--blue-dark);
}

.btn--outline {
  background: transparent;
  color: var(--blue-dark);
  border-color: var(--blue);
}

.btn--outline:hover {
  background: var(--blue);
  color: var(--white);
}

.btn--light {
  background: var(--white);
  color: var(--blue-dark);
}

.btn--light:hover {
  background: var(--blue-light);
}

.btn--ghost-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.65);
}

.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.14);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

/* ---------------- Header ---------------- */
.topbar {
  background: var(--blue-dark);
  color: #dbe4f0;
  font-size: 0.85rem;
}

.topbar .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1.4rem;
  justify-content: space-between;
  padding-top: 7px;
  padding-bottom: 7px;
}

.topbar a {
  color: #dbe4f0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 78px;
}

.brand {
  display: flex;
  align-items: center;
}

.brand img {
  height: 52px;
  width: auto;
}

.brand:hover {
  text-decoration: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav a {
  font-family: var(--font-head);
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--blue-dark);
  padding: 0.55rem 0.7rem;
  border-radius: 6px;
  text-decoration: none;
}

.nav a:hover {
  background: var(--blue-light);
  text-decoration: none;
}

.nav a.is-active {
  color: var(--green-dark);
  box-shadow: inset 0 -3px 0 var(--green);
}

.header-cta {
  margin-left: 0.6rem;
  min-height: 44px;
  padding: 0.55rem 1.15rem;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  background: var(--blue);
  color: var(--white);
  border: 0;
  border-radius: 8px;
  padding: 0.6rem 0.85rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  min-height: 44px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: #fff;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  background: var(--blue-dark) url("../img/hero-supplies.jpg") center/cover no-repeat;
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(38, 69, 109, 0.94) 0%, rgba(51, 93, 148, 0.86) 55%, rgba(30, 104, 62, 0.7) 100%);
}

.hero .wrap {
  position: relative;
  padding-top: 92px;
  padding-bottom: 92px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.hero h1 {
  color: var(--white);
  max-width: 20ch;
}

.hero p {
  color: #e5ecf6;
  font-size: 1.08rem;
  max-width: 68ch;
}

.hero .eyebrow {
  color: #9be3bb;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.6rem;
  font-size: 0.92rem;
}

.hero-links a {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 30px;
  padding: 0.35rem 0.95rem;
  text-decoration: none;
}

.hero-links a:hover {
  background: rgba(255, 255, 255, 0.16);
}

/* Page hero (inner pages) */
.page-hero {
  background: linear-gradient(100deg, var(--blue-dark), var(--blue) 70%, var(--green-dark));
  color: var(--white);
  padding: 64px 0 58px;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 0.4em;
}

.page-hero p {
  color: #e2eaf5;
  max-width: 74ch;
  margin: 0;
  font-size: 1.05rem;
}

.crumbs {
  font-size: 0.83rem;
  color: #c9d6e8;
  margin-bottom: 0.9rem;
}

.crumbs a {
  color: #c9d6e8;
}

/* ---------------- Grids and cards ---------------- */
.grid {
  display: grid;
  gap: 22px;
}

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

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.card--green {
  border-top-color: var(--green);
}

.card--purple {
  border-top-color: var(--purple);
}

.card--copper {
  border-top-color: var(--copper);
}

.card--leaf {
  border-top-color: var(--leaf);
}

.card h3 {
  margin-bottom: 0.5em;
}

.card p {
  color: var(--muted);
  font-size: 0.96rem;
}

.card .card-link {
  margin-top: auto;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--green-dark);
  text-decoration: none;
}

.card .card-link:hover {
  text-decoration: underline;
}

.icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon--green {
  background: #e4f6ec;
  color: var(--green-dark);
}

.icon--purple {
  background: #f0eaf5;
  color: var(--purple);
}

.icon--copper {
  background: #f8ece6;
  color: var(--copper);
}

/* Split media + text */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.split--reverse .split__media {
  order: 2;
}

.split__media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
}

.ticks {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2em;
}

.ticks li {
  position: relative;
  padding-left: 1.7rem;
  margin-bottom: 0.45em;
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--green);
}

.section--blue .ticks li::before {
  background: var(--leaf);
}

.cols-2 {
  columns: 2;
  column-gap: 34px;
}

/* Chips / tag lists */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.chips li {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  border-radius: 6px;
  padding: 0.5rem 0.9rem;
  font-size: 0.92rem;
  margin: 0;
}

.section--blue .chips li {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  border-left-color: var(--leaf);
  color: #eef3fa;
}

/* Numbered process */
.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.steps li {
  counter-increment: step;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  margin: 0;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--blue-dark);
  font-size: 0.98rem;
}

.steps li::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: 0.92rem;
  margin-bottom: 11px;
}

.steps li:nth-child(even)::before {
  background: var(--green);
}

/* Stat / value blocks */
.value {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.value h3 {
  margin-bottom: 0.35em;
  color: var(--green-dark);
}

.value p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.callout {
  background: var(--blue-light);
  border-left: 4px solid var(--purple);
  border-radius: var(--radius);
  padding: 22px 24px;
}

.callout p:last-child {
  margin-bottom: 0;
}

/* CTA band */
.cta-band {
  background: linear-gradient(100deg, var(--green-dark), var(--green));
  color: var(--white);
  padding: 58px 0;
}

.cta-band h2 {
  color: var(--white);
}

.cta-band p {
  color: #e6f7ee;
  max-width: 72ch;
}

/* ---------------- Contact ---------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 34px;
  align-items: start;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.97rem;
}

.info-list li:last-child {
  border-bottom: 0;
}

.info-list strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

form.enquiry {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}

.field {
  margin-bottom: 16px;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 0.35rem;
  color: var(--blue-dark);
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--charcoal);
  background: var(--white);
  border: 1px solid #cfd8e3;
  border-radius: 8px;
  padding: 0.7rem 0.8rem;
  min-height: 48px;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--green);
  outline-offset: 1px;
  border-color: var(--green);
}

.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note,
.consent {
  font-size: 0.88rem;
  color: var(--muted);
}

.alert {
  border-radius: 8px;
  padding: 0.9rem 1rem;
  margin-bottom: 18px;
  font-size: 0.94rem;
  border: 1px solid;
}

.alert--error {
  background: #fdeeea;
  border-color: var(--copper);
  color: #8c3f1f;
}

.hidden {
  display: none;
}

.err {
  color: var(--copper);
  font-size: 0.85rem;
  display: block;
  margin-top: 0.25rem;
}

/* ---------------- Footer ---------------- */
.site-footer {
  background: var(--blue-dark);
  color: #cdd8e8;
  padding: 54px 0 0;
  font-size: 0.94rem;
}

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

.site-footer h4 {
  color: var(--white);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.9em;
}

.site-footer a {
  color: #cdd8e8;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--white);
  text-decoration: underline;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin-bottom: 0.42em;
}

.footer-brand {
  background: var(--white);
  border-radius: 8px;
  padding: 10px 14px;
  display: inline-block;
  margin-bottom: 14px;
}

.footer-brand img {
  height: 48px;
  width: auto;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin-top: 40px;
  padding: 18px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.2rem;
  justify-content: space-between;
  font-size: 0.86rem;
}

.to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  background: var(--blue);
  color: #fff;
  border: 0;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  display: none;
}

.to-top.is-visible {
  display: block;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 1000px) {
  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

  .split,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .split--reverse .split__media {
    order: 0;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-top: 1px solid var(--line);
    border-bottom: 3px solid var(--green);
    padding: 12px 20px 20px;
    box-shadow: var(--shadow-lg);
  }

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

  .nav a {
    padding: 0.85rem 0.4rem;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }

  .nav a.is-active {
    box-shadow: none;
    color: var(--green-dark);
  }

  .header-cta {
    margin: 14px 0 0;
    width: 100%;
  }

  .header-inner {
    position: relative;
    min-height: 68px;
  }

  .brand img {
    height: 42px;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 46px 0;
  }

  .grid--2,
  .grid--3,
  .grid--4,
  .steps,
  .field-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cols-2 {
    columns: 1;
  }

  .hero .wrap {
    padding-top: 62px;
    padding-bottom: 62px;
  }

  .btn {
    width: 100%;
  }

  .btn-row .btn {
    width: 100%;
  }

  .hero-links a,
  .header-cta {
    width: auto;
  }
}

@media print {
  .site-header,
  .site-footer,
  .to-top,
  .nav-toggle {
    display: none;
  }
}
