/* ============================================================
   BrijCode — Technology & Solutions matrix (scoped .tech-solutions)
   ============================================================ */

.tech-solutions {
  --ts-navy: #071a33;
  --ts-gold: #f2a11b;
  --ts-gold-deep: #c97c08;
  --ts-line: #dde6ed;
  --ts-muted: #5a6d7e;
  --ts-grid: rgba(15, 34, 51, 0.05);

  position: relative;
  isolation: isolate;
  background: #fff;
  padding: 40px 0;
  color: var(--ink, #0f2233);
  overflow-x: clip;
}

.tech-solutions::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--ts-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--ts-grid) 1px, transparent 1px);
  background-size: 48px 48px;
}

.tech-solutions > .container {
  position: relative;
  z-index: 1;
}

.tech-solutions__head {
  max-width: 720px;
  margin: 0 auto 32px;
  text-align: center;
}

.tech-solutions__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(242, 161, 27, 0.35);
  background: rgba(242, 161, 27, 0.08);
  color: var(--ts-gold-deep);
  font-family: var(--font-mono, "Bricolage Grotesque", system-ui, sans-serif);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tech-solutions__eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ts-gold);
  flex-shrink: 0;
}

.tech-solutions__title {
  margin: 0 0 14px;
  font-family: var(--font-display, "Bricolage Grotesque", system-ui, sans-serif);
  font-weight: 800;
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--ts-navy);
}

.tech-solutions__title .hl,
.tech-solutions__title .tech-solutions__hl {
  color: var(--ts-gold);
}

.tech-solutions__desc {
  margin: 0 auto;
  max-width: 58ch;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--ts-muted);
}

.tech-solutions__board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  max-width: 1120px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--ts-line);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(7, 26, 51, 0.04);
  overflow: hidden;
}

.tech-solutions__col {
  padding: 28px 22px 30px;
  min-width: 0;
  border-right: 1px solid var(--ts-line);
}

.tech-solutions__col:last-child {
  border-right: none;
}

.tech-solutions__col-title {
  margin: 0 0 18px;
  font-family: var(--font-mono, "Bricolage Grotesque", system-ui, sans-serif);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ts-gold);
  line-height: 1.35;
}

.tech-solutions__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

.tech-solutions__item {
  margin: 0;
}

.tech-solutions__link,
.tech-solutions__text {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 8px;
  border-radius: 8px;
  font-family: var(--font-display, "Bricolage Grotesque", system-ui, sans-serif);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ts-navy);
  text-decoration: none;
  transition:
    color 0.18s ease,
    background-color 0.18s ease,
    transform 0.18s ease;
}

.tech-solutions__text {
  font-weight: 500;
  color: var(--ts-muted);
  cursor: default;
}

.tech-solutions__link-label {
  min-width: 0;
}

.tech-solutions__link-arrow {
  flex: none;
  color: var(--ts-gold);
  font-size: 0.95rem;
  line-height: 1;
  transform: translateX(0);
  transition: transform 0.18s ease, color 0.18s ease;
  opacity: 0.85;
}

.tech-solutions__link:hover,
.tech-solutions__link:focus-visible {
  color: var(--ts-gold-deep);
  background: rgba(242, 161, 27, 0.06);
  outline: none;
}

.tech-solutions__link:hover .tech-solutions__link-arrow,
.tech-solutions__link:focus-visible .tech-solutions__link-arrow {
  transform: translateX(3px);
  color: var(--ts-gold);
  opacity: 1;
}

.tech-solutions__footer {
  margin: 22px 0 0;
  text-align: center;
}

.tech-solutions__footer-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-display, "Bricolage Grotesque", system-ui, sans-serif);
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--ts-navy);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.tech-solutions__footer-link:hover,
.tech-solutions__footer-link:focus-visible {
  color: var(--ts-gold);
  border-bottom-color: rgba(242, 161, 27, 0.55);
  outline: none;
}
