/* ============================================================
   Meks Trading PLC — Public stylesheet
   Palette:  navy #0A2540 / deep #071A30 / gold #C8A24B /
             gold-soft #E8D8AC / paper #FFFFFF / mist #F4F6F9 /
             ink #16202B / muted #5C6B7A / green #1E7F4F
   Type:     Archivo (display) + Source Sans 3 (body)
   Signature: the "trade route" — an animated dashed line that
   traces goods travelling from origin ports to Addis Ababa.
   ============================================================ */

:root {
  --navy: #0A2540;
  --navy-deep: #071A30;
  --navy-soft: #10345C;
  --gold: #C8A24B;
  --gold-soft: #E8D8AC;
  --gold-dark: #A98430;
  --paper: #ffffff;
  --mist: #F4F6F9;
  --ink: #16202B;
  --muted: #5C6B7A;
  --green: #1E7F4F;
  --radius: 14px;
  --shadow-sm: 0 2px 10px rgba(10, 37, 64, .07);
  --shadow-md: 0 12px 32px rgba(10, 37, 64, .12);
  --font-display: "Archivo", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  font-size: 1.02rem;
  line-height: 1.65;
}
h1, h2, h3, h4, h5, .display-font {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.015em;
  color: var(--navy);
}
a { color: var(--navy-soft); }
img { max-width: 100%; }

/* ---------- Buttons ---------- */
.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
  font-family: var(--font-display);
  font-weight: 700;
  border: none;
  border-radius: 999px;
  padding: .6rem 1.4rem;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn-gold:hover, .btn-gold:focus {
  background: var(--gold-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(200, 162, 75, .35);
}
.btn-navy {
  background: var(--navy);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: 999px;
  padding: .6rem 1.4rem;
  border: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn-navy:hover, .btn-navy:focus {
  background: var(--navy-soft);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(10, 37, 64, .3);
}
.btn-outline-navy {
  border: 2px solid var(--navy);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: 999px;
  padding: .55rem 1.35rem;
  background: transparent;
  transition: all .18s ease;
}
.btn-outline-navy:hover { background: var(--navy); color: #fff; }

/* ---------- Topbar & Nav ---------- */
.topbar {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, .85);
  font-size: .85rem;
  padding: .45rem 0;
}
.topbar a { color: var(--gold-soft); margin-left: .8rem; text-decoration: none; }
.topbar a:hover { color: #fff; }

.site-nav {
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #E7ECF2;
  padding: .7rem 0;
}
.navbar-brand { display: flex; align-items: center; gap: .6rem; }
.brand-mark {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 800; font-size: 1.3rem;
  border-radius: 10px;
  border-bottom: 3px solid var(--gold);
}
.brand-text {
  font-family: var(--font-display);
  font-weight: 800; font-size: 1.15rem;
  color: var(--navy); line-height: 1.1;
}
.brand-text small { display: block; font-size: .62rem; letter-spacing: .32em; color: var(--gold-dark); font-weight: 700; }
.site-nav .nav-link {
  font-family: var(--font-display);
  font-weight: 600; font-size: .95rem;
  color: var(--ink);
  margin: 0 .35rem;
  position: relative;
}
.site-nav .nav-link::after {
  content: ""; position: absolute; left: .5rem; right: .5rem; bottom: 2px;
  height: 2px; background: var(--gold); transform: scaleX(0);
  transform-origin: left; transition: transform .2s ease;
}
.site-nav .nav-link:hover::after, .site-nav .nav-link.active::after { transform: scaleX(1); }
.site-nav .nav-link.active { color: var(--navy); }

/* ---------- Eyebrow / manifest label ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-display);
  font-size: .74rem; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold-dark);
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 5px, transparent 5px 9px);
}

.section { padding: 4.5rem 0; }
.section-mist { background: var(--mist); }
.section-title { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; margin: .5rem 0 .6rem; }
.section-lead { color: var(--muted); max-width: 640px; }

/* ---------- Hero with trade route ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(200, 162, 75, .16), transparent 60%),
    linear-gradient(150deg, var(--navy-deep) 0%, var(--navy) 55%, #0D2E50 100%);
  color: #fff;
  overflow: hidden;
}
.hero .container { position: relative; z-index: 2; }
.hero-inner { padding: 5.5rem 0 6.5rem; }
.hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  font-weight: 800;
  line-height: 1.12;
  max-width: 14ch;
}
.hero h1 .accent { color: var(--gold); }
.hero-lead { color: rgba(255, 255, 255, .82); max-width: 520px; font-size: 1.08rem; margin: 1.2rem 0 1.8rem; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-display); font-size: .75rem; font-weight: 700;
  letter-spacing: .3em; text-transform: uppercase; color: var(--gold-soft);
}
.hero-kicker::before {
  content: ""; width: 26px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 5px, transparent 5px 9px);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; }

/* The signature: animated trade-route SVG */
.route-svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; opacity: .55; }
.route-line {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.6;
  stroke-dasharray: 6 8;
  animation: routeflow 26s linear infinite;
}
.route-line.faint { stroke: rgba(255,255,255,.35); stroke-width: 1; animation-duration: 34s; }
.route-dot { fill: var(--gold); }
.route-dot.pulse { animation: pulse 2.6s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes routeflow { to { stroke-dashoffset: -700; } }
@keyframes pulse { 0%, 100% { opacity: .55; transform: scale(1); } 50% { opacity: 1; transform: scale(1.6); } }

.hero-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  backdrop-filter: blur(6px);
}
.hero-card .hc-num { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: var(--gold); }
.hero-card .hc-label { font-size: .82rem; color: rgba(255,255,255,.75); letter-spacing: .04em; }

.hero-visual { position: relative; }
.hero-visual img {
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .4);
  border: 1px solid rgba(255, 255, 255, .15);
}
.hero-stamp {
  position: absolute; right: -14px; top: -14px;
  background: var(--gold);
  color: var(--navy-deep);
  font-family: var(--font-display); font-weight: 800;
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  padding: .5rem .9rem;
  border-radius: 8px;
  transform: rotate(4deg);
  box-shadow: var(--shadow-md);
}

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--paper);
  border-bottom: 1px solid #E7ECF2;
  margin-top: -2.6rem;
  position: relative; z-index: 3;
}
.trust-card {
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 1.6rem 1rem;
  border-top: 3px solid var(--gold);
}
.trust-card .tc-num { font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; color: var(--navy); }
.trust-card .tc-label { color: var(--muted); font-size: .88rem; letter-spacing: .03em; }

/* ---------- Product cards ---------- */
.product-card {
  background: var(--paper);
  border: 1px solid #E7ECF2;
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  display: flex; flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(200, 162, 75, .55);
}
.pc-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--mist); }
.pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover .pc-img img { transform: scale(1.05); }
.pc-badge {
  position: absolute; top: .8rem; left: .8rem;
  background: var(--navy);
  color: var(--gold-soft);
  font-family: var(--font-display); font-weight: 700;
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  padding: .32rem .7rem; border-radius: 999px;
}
.pc-badge.gold { background: var(--gold); color: var(--navy-deep); }
.pc-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.pc-cat { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.pc-title { font-size: 1.05rem; font-weight: 700; margin: .3rem 0 .45rem; }
.pc-title a { color: var(--navy); text-decoration: none; }
.pc-title a:hover { color: var(--gold-dark); }
.pc-desc { color: var(--muted); font-size: .9rem; flex: 1; }
.pc-foot { display: flex; justify-content: space-between; align-items: center; margin-top: .9rem; gap: .5rem; }
.pc-price { font-family: var(--font-display); font-weight: 800; color: var(--navy); }
.pc-price.request { font-size: .85rem; color: var(--gold-dark); }
.availability { font-size: .78rem; font-weight: 600; }
.availability .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: .3rem; }

/* ---------- Category tiles ---------- */
.cat-tile {
  display: block;
  background: var(--paper);
  border: 1px solid #E7ECF2;
  border-radius: var(--radius);
  padding: 1.6rem 1.2rem;
  text-align: center;
  text-decoration: none;
  height: 100%;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.cat-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.cat-tile .ct-icon {
  display: inline-grid; place-items: center;
  width: 62px; height: 62px;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--navy), var(--navy-soft));
  color: var(--gold);
  font-size: 1.6rem;
  margin-bottom: .9rem;
  border-bottom: 3px solid var(--gold);
}
.cat-tile .ct-name { font-family: var(--font-display); font-weight: 700; color: var(--navy); }
.cat-tile .ct-count { font-size: .8rem; color: var(--muted); }

/* ---------- Process steps ---------- */
.process-row { position: relative; }
.process-step { text-align: center; position: relative; padding: 0 .8rem; }
.process-step .ps-icon {
  width: 72px; height: 72px;
  display: grid; place-items: center;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--paper);
  border: 2px dashed var(--gold);
  color: var(--navy);
  font-size: 1.6rem;
  position: relative; z-index: 2;
}
.process-step h5 { font-size: 1.02rem; }
.process-step p { color: var(--muted); font-size: .9rem; }
.process-connector {
  position: absolute; top: 36px; left: 12%; right: 12%;
  border-top: 2px dashed rgba(200, 162, 75, .55);
  z-index: 1;
}

/* ---------- Feature / service cards ---------- */
.feature-card {
  background: var(--paper);
  border: 1px solid #E7ECF2;
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  height: 100%;
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-card .fc-icon { font-size: 1.7rem; color: var(--navy); margin-bottom: .7rem; }
.feature-card h5 { font-size: 1.05rem; }
.feature-card p { color: var(--muted); font-size: .92rem; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(800px 300px at 15% 120%, rgba(200, 162, 75, .22), transparent 60%),
    var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 3rem 2.4rem;
  position: relative;
  overflow: hidden;
}
.cta-band h3 { color: #fff; font-weight: 800; }
.cta-band p { color: rgba(255, 255, 255, .8); }

/* ---------- Product detail ---------- */
.breadcrumb { font-size: .85rem; }
.breadcrumb a { text-decoration: none; }
.pd-gallery-main {
  border-radius: var(--radius);
  border: 1px solid #E7ECF2;
  overflow: hidden;
  background: var(--mist);
  aspect-ratio: 4 / 3;
}
.pd-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs { display: flex; gap: .6rem; margin-top: .8rem; flex-wrap: wrap; }
.pd-thumb {
  width: 84px; height: 66px;
  border-radius: 10px; overflow: hidden;
  border: 2px solid transparent; cursor: pointer;
  background: var(--mist); padding: 0;
}
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumb.active, .pd-thumb:hover { border-color: var(--gold); }
.pd-title { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; }
.pd-price { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; color: var(--navy); }
.pd-meta { color: var(--muted); font-size: .92rem; }
.spec-table th { width: 42%; font-weight: 600; color: var(--navy); background: var(--mist); }
.spec-table td { color: var(--ink); }

/* ---------- Forms ---------- */
.form-panel {
  background: var(--paper);
  border: 1px solid #E7ECF2;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 2rem;
}
.form-control:focus, .form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 .2rem rgba(200, 162, 75, .2);
}
.form-label { font-weight: 600; color: var(--navy); font-size: .92rem; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(140deg, var(--navy-deep), var(--navy));
  color: #fff;
  padding: 3.2rem 0;
  position: relative;
  overflow: hidden;
}
.page-hero h1 { color: #fff; font-weight: 800; font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.page-hero p { color: rgba(255, 255, 255, .78); max-width: 620px; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, .78); }
.footer-route {
  height: 5px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 14px, transparent 14px 26px);
  opacity: .85;
}
.footer-brand .brand-text { color: #fff; }
.footer-brand .brand-text small { color: var(--gold); }
.footer-about { font-size: .92rem; max-width: 300px; }
.footer-heading {
  font-family: var(--font-display);
  color: #fff; font-weight: 700; font-size: .95rem;
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a { color: rgba(255, 255, 255, .72); text-decoration: none; font-size: .93rem; }
.footer-links a:hover { color: var(--gold-soft); }
.footer-contact { list-style: none; padding: 0; margin: 0; font-size: .92rem; }
.footer-contact li { display: flex; gap: .7rem; margin-bottom: .7rem; }
.footer-contact i { color: var(--gold); }
.footer-social a {
  display: inline-grid; place-items: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .08);
  color: var(--gold-soft);
  margin-right: .5rem;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}
.footer-social a:hover { background: var(--gold); color: var(--navy-deep); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }
.footer-note { color: var(--gold-soft); font-family: var(--font-display); letter-spacing: .04em; }

/* ---------- Floating contact cluster ---------- */
.contact-cluster {
  position: fixed; right: 18px; bottom: 20px;
  display: flex; flex-direction: column; gap: .6rem;
  z-index: 1050;
}
.cc-btn {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: #fff; font-size: 1.4rem;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
  transition: transform .18s ease;
}
.cc-btn:hover { transform: translateY(-3px) scale(1.05); color: #fff; }
.cc-whatsapp { background: #25D366; }
.cc-phone { background: var(--navy); }
.cc-mail { background: var(--gold); color: var(--navy-deep); }
.cc-mail:hover { color: var(--navy-deep); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .route-line, .route-dot.pulse { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; }
}

@media (max-width: 767px) {
  .hero-inner { padding: 3.4rem 0 4.6rem; }
  .section { padding: 3.2rem 0; }
  .process-connector { display: none; }
  .contact-cluster { right: 12px; bottom: 14px; }
  .cc-btn { width: 46px; height: 46px; font-size: 1.2rem; }
}
