/* ===== Desta Trading — section styles =====
   hero · generic · about · products · markets · cta · contact ===== */

/* ===== Hero ===== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(16, 16, 18, 0.62) 0%,
    rgba(16, 16, 18, 0.45) 45%,
    rgba(16, 16, 18, 0.88) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--header-h) + 48px);
  padding-bottom: 48px;
}

.hero-content h1 { max-width: 16ch; }

.hero-sub {
  max-width: 560px;
  margin: 20px 0 34px;
  font-size: 1.1rem;
  color: var(--muted-light);
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(16, 16, 18, 0.4);
  backdrop-filter: blur(6px);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 26px;
  padding-bottom: 26px;
}

.stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}

.stat span { font-size: 0.85rem; color: var(--muted-light); }

/* ===== Generic section ===== */

.section { padding: 96px 0; }

.section-dark { background: var(--ink); color: var(--white); }

.section-dark p { color: var(--muted-light); }

.section-head { max-width: 640px; margin-bottom: 52px; }

.section-lead { font-size: 1.05rem; color: var(--muted); }
.section-dark .section-lead { color: var(--muted-light); }

.two-col {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}

.col-text p { color: var(--muted); margin-bottom: 16px; }

.col-media img {
  border-radius: 6px;
  box-shadow: 0 24px 60px rgba(20, 20, 22, 0.18);
}

.check-list { list-style: none; margin-top: 22px; }

.check-list li {
  position: relative;
  padding: 10px 0 10px 34px;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
  font-size: 0.98rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 15px;
  width: 18px; height: 18px;
  background: var(--accent);
  clip-path: polygon(14% 44%, 0 60%, 42% 100%, 100% 18%, 86% 4%, 40% 68%);
}

/* ===== Products ===== */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card {
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.card:hover { transform: translateY(-4px); border-color: var(--accent); }

.card-body { padding: 24px; }
.card-body h3 { margin-bottom: 6px; }
.card-body > p { font-size: 0.92rem; margin-bottom: 16px; }

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.spec-table td {
  padding: 8px 0;
  border-top: 1px solid var(--line-dark);
}

.spec-table td:last-child {
  text-align: right;
  color: var(--white);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* ===== Markets / routes ===== */

.routes { margin-bottom: 60px; }

.routes-map { width: 100%; height: auto; }

.map-rule { stroke: var(--line); stroke-width: 1; }

.map-node {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  fill: var(--ink);
}

.map-origin { fill: var(--accent); font-size: 17px; }
.map-sub { font-size: 11.5px; fill: var(--muted); }

.map-col {
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  fill: var(--muted);
}
.map-dot { fill: var(--ink); stroke: var(--accent); stroke-width: 2; }

.map-ring, .map-route {
  fill: none;
  stroke: var(--accent);
}

.map-ring { stroke-width: 1.4; stroke-dasharray: 4 5; }
.map-route { stroke-width: 1.6; opacity: 0.85; }
.map-route-rail { stroke-dasharray: 6 5; }

.logistics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  border-top: 1px solid var(--line);
  padding-top: 44px;
}

.log-item h3 {
  padding-left: 16px;
  border-left: 3px solid var(--accent);
  margin-bottom: 10px;
}


.log-item p { font-size: 0.94rem; color: var(--muted); }

/* ===== CTA band ===== */

/* ===== Responsive ===== */

@media (max-width: 960px) {
  .two-col { grid-template-columns: 1fr; gap: 44px; }
  .cards { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .section { padding: 72px 0; }
  .cards, .logistics-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .map-sub { display: none; }
}
