:root {
  color-scheme: light;
  --navy-950: #071426;
  --navy-900: #0b1f3a;
  --navy-800: #12345f;
  --navy-700: #184a82;
  --ink: #122033;
  --muted: #607086;
  --line: #d8e0ea;
  --soft: #f4f7fb;
  --soft-2: #eef3f8;
  --panel: #ffffff;
  --gold: #f5a623;
  --gold-dark: #c97900;
  --green: #149c60;
  --shadow: 0 18px 45px rgba(10, 31, 58, .13);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }

.Header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 74px;
  padding: 12px clamp(16px, 4vw, 60px);
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.Header__brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  min-width: 0;
}

.Header__mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--navy-900);
  color: #fff;
  font-weight: 900;
}

.Header__brand strong,
.Header__brand small {
  display: block;
}

.Header__brand strong {
  color: var(--navy-950);
  line-height: 1.1;
}

.Header__brand small {
  color: var(--muted);
  font-size: 12px;
}

.Header__nav {
  display: flex;
  justify-content: center;
  gap: 22px;
}

.Header__nav a {
  color: #243a56;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.Header__nav a:hover {
  color: var(--navy-700);
}

.Header__menu {
  display: none;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--navy-900);
  font-weight: 900;
  padding: 0 12px;
}

.Header__cta,
.Button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 6px;
  padding: 0 18px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
}

.Button {
  letter-spacing: 0;
}

.Header__cta,
.Button--primary {
  background: var(--gold);
  color: #211504;
  box-shadow: 0 10px 22px rgba(245, 166, 35, .24);
}

.Button--secondary {
  background: #fff;
  color: var(--navy-900);
  border: 1px solid rgba(255, 255, 255, .55);
}

.Button--dark {
  background: var(--navy-900);
  color: #fff;
}

.Button--outline {
  background: #fff;
  color: var(--navy-900);
  border: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.Hero {
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(390px, 1.04fr);
  align-items: stretch;
  min-height: 600px;
  background: var(--navy-900);
  color: #fff;
}

.Hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px clamp(18px, 5vw, 72px);
  background:
    linear-gradient(120deg, rgba(11, 31, 58, .98), rgba(11, 31, 58, .88)),
    var(--navy-900);
}

.Hero h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(40px, 5.2vw, 66px);
  line-height: 1.04;
  letter-spacing: 0;
}

.Hero__lead {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, .84);
  font-size: 19px;
}

.Hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.Hero__trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
  max-width: 760px;
}

.Hero__trust span {
  min-height: 72px;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 6px;
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .76);
  font-size: 13px;
}

.Hero__trust strong {
  display: block;
  color: #fff;
  font-size: 15px;
}

.Hero__visual {
  position: relative;
  min-height: 500px;
  padding: clamp(18px, 4vw, 54px);
  background:
    linear-gradient(180deg, #f6f9fc, #e6edf5);
  overflow: hidden;
}

.Hero__image {
  overflow: hidden;
  border: 1px solid rgba(18, 52, 95, .16);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.Hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.Hero__image--large {
  height: 100%;
}

.Hero__image picture {
  display: block;
  width: 100%;
  height: 100%;
}

.QuickBar {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 18px clamp(16px, 5vw, 64px);
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(10, 31, 58, .06);
}

.QuickBar strong {
  display: block;
  color: var(--navy-950);
  font-size: 18px;
}

.QuickBar span { color: var(--muted); }

.Section {
  padding: 76px clamp(16px, 5vw, 64px);
}

.Section__heading {
  max-width: 860px;
  margin-bottom: 30px;
}

.Section__heading--split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(280px, .55fr);
  gap: 32px;
  align-items: end;
}

.Section__heading h2,
.AfricaMarketSection h2,
.ContactSection h2 {
  margin: 0;
  color: var(--navy-950);
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.12;
  letter-spacing: 0;
}

.Section__heading p,
.CategoryCard p,
.ProductCard p,
.TrustGrid span,
.AfricaMarketSection p,
.ProcessGrid p,
.ContactSection p {
  color: var(--muted);
}

.ProductCategories,
.SolarProductsSection,
.InquiryProcess {
  background: var(--soft);
}

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

.CategoryCard {
  display: grid;
  grid-template-columns: minmax(170px, .55fr) 1fr;
  gap: 22px;
  align-items: center;
  min-height: 300px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(10, 31, 58, .07);
}

.CategoryCard img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 6px;
  background: #f7f9fc;
  padding: 14px;
}

.CategoryCard__label {
  margin: 0 0 8px;
  color: var(--gold-dark) !important;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.CategoryCard h3 {
  margin: 0;
  color: var(--navy-950);
  font-size: 28px;
  line-height: 1.15;
}

.CategoryCard__list {
  display: grid;
  gap: 6px;
  margin: 14px 0 4px;
  padding-left: 18px;
  color: #42546b;
  font-size: 14px;
}

.CategoryCard .Button { margin-top: 10px; }

.ProductGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.ProductCard {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(10, 31, 58, .07);
}

.ProductCard__media {
  aspect-ratio: 1 / .74;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, #f5f8fb);
}

.ProductCard__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
}

.ProductCard__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
}

.ProductCard h3 {
  margin: 0;
  color: var(--navy-950);
  font-size: 19px;
  line-height: 1.25;
}

.ProductCard p {
  margin: 0;
  font-size: 14px;
}

.ProductCard .Button {
  width: 100%;
  margin-top: auto;
}

.SectionActions {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.WhyChooseUs {
  background: #fff;
}

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

.TrustGrid article {
  min-height: 176px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #f9fbfd);
}

.TrustGrid__icon {
  width: 42px;
  height: 32px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin: 0 0 14px !important;
  border-radius: 999px;
  background: var(--navy-900);
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 900;
}

.TrustGrid strong {
  display: block;
  color: var(--navy-950);
  font-size: 17px;
  line-height: 1.25;
}

.TrustGrid span {
  display: block;
  margin-top: 8px;
  font-size: 14px;
}

.AfricaMarketSection {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .45fr);
  gap: 28px;
  align-items: stretch;
  background: #fff;
}

.AfricaMarketSection__content,
.AfricaMarketSection__panel {
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.MarketTags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.MarketTags span {
  padding: 8px 11px;
  border-radius: 999px;
  background: #fff;
  color: var(--navy-900);
  border: 1px solid var(--line);
  font-weight: 800;
}

.AfricaMarketSection__panel strong {
  display: block;
  color: var(--navy-950);
  font-size: 22px;
}

.AfricaMarketSection__panel ul {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

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

.ProcessGrid article {
  position: relative;
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.ProcessGrid span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.ProcessGrid strong {
  display: block;
  color: var(--navy-950);
  font-size: 19px;
  line-height: 1.25;
}

.ContactSection {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(320px, 1fr);
  gap: 30px;
  align-items: start;
  background: #fff;
}

.ContactCards {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.ContactCard {
  display: grid;
  gap: 2px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  text-decoration: none;
}

.ContactCard span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.ContactCard strong {
  color: var(--navy-950);
  font-size: 18px;
}

.ContactCard--wa {
  background: #eaf8f0;
  border-color: #bce8cf;
}

.InquiryForm {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  box-shadow: var(--shadow);
}

.InquiryForm label {
  display: grid;
  gap: 7px;
  color: var(--navy-900);
  font-size: 13px;
  font-weight: 900;
}

.InquiryForm input,
.InquiryForm textarea {
  width: 100%;
  border: 1px solid #cbd6e2;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  padding: 12px;
}

.InquiryForm textarea { resize: vertical; }

.InquiryForm__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.Footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px clamp(16px, 5vw, 64px);
  background: var(--navy-950);
  color: rgba(255, 255, 255, .75);
}

.Footer strong,
.Footer span {
  display: block;
}

.Footer strong { color: #fff; }

.Footer a {
  color: #fff;
  font-weight: 900;
}

.FloatingWhatsApp {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  min-height: 48px;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 6px;
  background: var(--green);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(20, 156, 96, .3);
}

@media (max-width: 1180px) {
  .ProductGrid,
  .TrustGrid,
  .ProcessGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 880px) {
  .Header {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .Header__menu { display: inline-flex; align-items: center; }

  .Header__nav {
    display: none;
    grid-column: 1 / -1;
    justify-content: stretch;
    gap: 0;
    border-top: 1px solid var(--line);
    padding-top: 10px;
  }

  .Header__nav.is-open {
    display: grid;
  }

  .Header__nav a {
    min-height: 42px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #edf1f6;
  }

  .Header__cta {
    grid-column: 1 / -1;
    width: 100%;
  }

  .Hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .Hero__content {
    padding: 42px 16px 30px;
    background:
      linear-gradient(120deg, rgba(7, 20, 38, .96), rgba(11, 31, 58, .82)),
      url("./public/images/optimized/hero/hero-africa-supplier-640.webp") center / cover;
  }

  .Hero h1 {
    font-size: 34px;
  }

  .Hero__lead {
    font-size: 16px;
    margin-top: 16px;
  }

  .Hero__actions {
    margin-top: 24px;
  }

  .Hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .Hero__trust {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 24px;
  }

  .Hero__trust span {
    min-height: 58px;
    padding: 10px 12px;
  }

  .Hero__visual {
    display: none;
  }

  .QuickBar,
  .Section__heading--split,
  .AfricaMarketSection,
  .ContactSection,
  .Footer {
    grid-template-columns: 1fr;
  }

  .QuickBar .Button {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .Header {
    position: static;
    padding: 10px 14px;
  }

  .Header__brand small {
    max-width: 190px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .Section {
    padding: 54px 14px;
  }

  .CategoryCard,
  .ProductGrid,
  .TrustGrid,
  .ProcessGrid,
  .InquiryForm__actions {
    grid-template-columns: 1fr;
  }

  .CategoryCard {
    min-height: 0;
  }

  .ProductCard__media {
    aspect-ratio: 1 / .66;
  }

  .ProductCard__body {
    padding: 16px;
  }

  .FloatingWhatsApp {
    left: 14px;
    right: 14px;
    bottom: 12px;
    width: auto;
  }

  .FloatingWhatsApp.is-visible {
    display: inline-flex;
  }

  .Footer {
    padding-bottom: 78px;
  }
}
