/* ==========================================================================
   Comparative Matrix  (tabela sa Models strane referentnog sajta)
   sekcija: tamna, padding 160px 64px 120px, centrirano, gap 80
   naslov: max 800px, centriran, gap 24
   celije: bordura 1px solid #6e6a65
   ========================================================================== */
.matrix {
  background: var(--ink);
  padding: 120px 32px 100px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 80px;
  position: relative;
}
.matrix__head {
  max-width: 800px; width: 100%;
  display: flex; flex-direction: column; align-items: center;
  gap: 24px;
  text-align: center;
}
.matrix__head h2 { color: var(--peach); }
.matrix__head p { color: rgba(250,246,237,.62); }
.matrix__head .eyebrow { color: var(--accent); }

.matrix__wrap { width: 100%; max-width: 1400px; overflow-x: auto; }
.matrix table { width: 100%; border-collapse: collapse; min-width: 680px; }
.matrix th, .matrix td {
  border: 1px solid var(--muted);
  padding: 14px 16px;
  text-align: left;
  vertical-align: middle;
}
.matrix thead th {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2em;
  text-transform: none;
  color: var(--cream);
  white-space: normal;
}
.matrix tbody td {
  font-size: 16px; font-weight: 400; line-height: 1.8em;
  color: rgba(250,246,237,.72);
}
.matrix tbody td:first-child,
.matrix tbody td:first-child a {
  font-family: 'Big Shoulders', sans-serif;
  font-size: 24px; font-weight: 600; line-height: 1.25em;
  color: var(--accent);
}
.matrix tbody td:first-child a:hover { color: var(--peach); }
.matrix tbody tr:hover td { background: rgba(250,246,237,.03); }
.matrix .num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.matrix .note { color: rgba(250,246,237,.62); max-width: 1200px; width: 100%; }

@media (max-width: 1199.98px) { .matrix { padding: 100px 24px 80px; gap: 60px; } .matrix__head { align-items: flex-start; text-align: left; max-width: 600px; } }
@media (max-width: 809.98px) { .matrix { padding: 80px 16px; gap: 40px; } .matrix th, .matrix td { padding: 12px 12px; font-size: 15px; } }

/* Telefon: tabela se prevlaci prstom, pa to treba i reci */
.matrix__hint { display: none; }
@media (max-width: 809.98px) {
  .matrix__hint {
    display: block;
    font-family: 'Fragment Mono', ui-monospace, monospace;
    font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
    color: var(--muted); margin: 10px 0 0;
  }
  .matrix__wrap { position: relative; }
}
