/* ============ Key Export Markets ============ */
.sec-markets {
  background: #ffffff;
  padding: 6rem 1rem;
}

.sec-markets-wrap {
  max-width: 1200px;
  margin: auto;
}

.sec-markets-top {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 3rem;
}

/* ---- intro ---- */
.sec-markets-label {
  color: #0a6e6e;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.25rem;
}
.sec-markets-label::before {
  content: "";
  width: 6px;
  height: 22px;
  background: #0a6e6e;
  border-radius: 3px;
}

.sec-markets-intro h2 {
  color: #141c2b;
  font-size: 3.2rem;
  line-height: 1.08;
  font-weight: 800;
  margin: 0 0 1.5rem;
}

.sec-markets-intro p {
  color: #5c6775;
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 540px;
  margin: 0 0 2.25rem;
}

/* ---- buttons ---- */
.sec-markets-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.mk-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 1rem 1.9rem;
  border-radius: 10px;
  font-size: 1.02rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.mk-btn-primary {
  background: #0a6e6e;
  color: #ffffff;
  box-shadow: 0 14px 26px rgba(10, 110, 110, .25);
}
.mk-btn-primary:hover {
  background: #076461;
  transform: translateY(-2px);
}
.mk-btn-ghost {
  background: #ffffff;
  color: #0a6e6e;
  border: 1.6px solid #0a6e6e;
}
.mk-btn-ghost:hover {
  background: #0a6e6e;
  color: #ffffff;
  transform: translateY(-2px);
}

/* ---- world map ---- */
.sec-markets-map {
  width: 100%;
}
.mk-world {
  width: 100%;
  height: auto;
  min-height: 360px;
  display: block;
  overflow: hidden;
}
.mk-node circle { fill: #0a6e6e; }
.mk-node text {
  fill: #141c2b;
  font-size: 15px;
  font-weight: 700;
  font-family: "Poppins", "DM Sans", sans-serif;
  paint-order: stroke fill;
  stroke: #ffffff;
  stroke-width: 5px;
  stroke-linejoin: round;
}
.mk-pill rect { fill: #0a6e6e; }
.mk-pill path { fill: #0a6e6e; }
.mk-pill text {
  fill: #ffffff;
  font-size: 15px;
  font-weight: 700;
  font-family: "Poppins", "DM Sans", sans-serif;
}
.mk-routes path {
  stroke-dashoffset: 0;
  animation: mkFlow 1.6s linear infinite;
}
@keyframes mkFlow {
  to { stroke-dashoffset: -22; }
}
.mk-pulse {
  fill: #f5a623;
  opacity: .45;
  transform-box: fill-box;
  transform-origin: center;
  animation: mkPulse 2s ease-out infinite;
}
@keyframes mkPulse {
  0%   { transform: scale(1);   opacity: .55; }
  70%  { transform: scale(2.4); opacity: 0;   }
  100% { transform: scale(2.4); opacity: 0;   }
}

/* ---- region cards ---- */
.sec-markets-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}
.mk-card {
  border-radius: 16px;
  padding: 1.6rem;
  transition: transform .3s ease, box-shadow .3s ease;
}
.mk-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(20, 28, 43, .10);
}
.mk-card-head {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.mk-card-icon {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
}
.mk-card-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.mk-card-title { flex: 1; }
.mk-card-title h4 {
  margin: 0;
  color: #141c2b;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.2;
}
.mk-card-title span {
  color: #6b7685;
  font-size: .92rem;
  font-weight: 500;
}
.mk-card-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  color: #141c2b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(20, 28, 43, .12);
  flex-shrink: 0;
  transition: transform .25s ease, color .25s ease;
}
.mk-card-arrow:hover {
  transform: translateX(3px);
  color: #0a6e6e;
}
.mk-card-items {
  margin: 1.25rem 0 0;
  color: #4b5563;
  font-size: .96rem;
  line-height: 1.7;
}

/* ---- responsive ---- */
@media (max-width: 1024px) {
  .sec-markets-top { grid-template-columns: 1fr; gap: 2.5rem; }
  .sec-markets-intro h2 { font-size: 2.6rem; }
  .sec-markets-intro p { max-width: none; }
  .sec-markets-map { max-width: 640px; margin: 0 auto; }
  .sec-markets-cards { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin-top: 3rem; }
}

@media (max-width: 600px) {
  .sec-markets { padding: 3.5rem 1.1rem; }
  .sec-markets-top { gap: 2rem; }
  .sec-markets-label { font-size: .82rem; letter-spacing: 1.5px; }
  .sec-markets-intro h2 { font-size: 2rem; }
  .sec-markets-intro p { font-size: 1rem; margin-bottom: 1.75rem; }

  /* buttons stack full-width */
  .sec-markets-cta { flex-direction: column; gap: .8rem; }
  .mk-btn { width: 100%; justify-content: center; padding: .95rem 1.4rem; }

  /* map: natural height, larger labels so they stay readable when scaled down */
  .mk-world { min-height: 0; }
  .mk-node text { font-size: 19px; stroke-width: 6px; }
  .mk-pill text { font-size: 19px; }

  /* cards single column */
  .sec-markets-cards { grid-template-columns: 1fr; gap: 1rem; margin-top: 2.5rem; }
  .mk-card { padding: 1.35rem; }
  .mk-card-title h4 { font-size: 1.15rem; }
  .mk-card-items { margin-top: 1rem; }
}
