/* ═════════ SECTION 6 · INDUSTRIES (white sheet + image that follows the mouse) ═════════ */
.section6 {
  position: relative;
  padding: 40px 16px;
  overflow-x: clip;
}

.s6-sheet {
  position: relative;
  padding: 110px 0 120px;
  border-radius: 40px;
  background:
    radial-gradient(60% 40% at 50% 0%, rgba(20, 99, 243, 0.08), transparent 70%),
    #F5F7FC;
  color: #0B1430;
  box-shadow: 0 40px 120px -40px rgba(20, 99, 243, 0.35);
  will-change: transform;
}

/* light theme for text inside the sheet */
.s6-sheet .eyebrow { color: #5B6480; }
.s6-sheet .eyebrow::before,
.s6-sheet .eyebrow::after { color: var(--blue); }

.s6-sheet .section-title,
.s6-sheet .section-title .sw-i {
  background-image: linear-gradient(180deg, #0B1430 40%, #3A4766);
}

.s6-sheet .section-title .hl,
.s6-sheet .section-title .hl .sw-i {
  background-image: linear-gradient(100deg, #1463F3, #5B95FF);
}

.s6-sheet .section-lead { color: #5B6480; }

.s6-head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: end;
  margin-bottom: 56px;
}

.s6-head .eyebrow {
  margin-bottom: 20px;
}

.s6-list {
  list-style: none;
  border-bottom: 1px solid rgba(11, 20, 48, 0.1);
}

.s6-row {
  position: relative;
  display: grid;
  grid-template-columns: 90px 1fr auto 50px;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid rgba(11, 20, 48, 0.1);
  text-decoration: none;
  color: #0B1430;
  transition: opacity 0.4s;
  overflow: hidden;
}

.s6-row::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 99, 243, 0.08), rgba(20, 99, 243, 0));
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.5s var(--ease);
  z-index: -1;
}

.s6-n {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: #8A93AD;
  padding-inline-start: 8px;
}

.s6-name {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(1.5rem, 3.2vw, 2.6rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  transition: transform 0.5s var(--ease), color 0.3s;
}

.s6-clients {
  color: #5B6480;
  font-size: 0.86rem;
  max-width: 300px;
  text-align: end;
}

.s6-count {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--blue);
  text-align: end;
  padding-inline-end: 8px;
}

.s6-list:hover .s6-row { opacity: 0.35; }
.s6-list .s6-row:hover { opacity: 1; }
.s6-row:hover::before { transform: scaleY(1); }

.s6-row:hover .s6-name {
  transform: translateX(14px);
  color: var(--blue);
}

[dir="rtl"] .s6-row:hover .s6-name { transform: translateX(-14px); }

.s6-tag {
  display: inline-block;
  margin-inline-start: 12px;
  vertical-align: middle;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 6px;
  background: var(--blue);
  color: #fff;
}

/* Floating image */
.s6-float {
  position: absolute;
  top: 0;
  left: 0;
  width: 300px;
  aspect-ratio: 4 / 3;
  pointer-events: none;
  z-index: 5;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.35s, transform 0.5s var(--ease);
}

.section6.is-hovering .s6-float {
  opacity: 1;
  transform: scale(1);
}

.s6-float-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 60px -10px rgba(11, 20, 48, 0.45);
}

.s6-img {
  position: absolute;
  inset: 0;
  clip-path: inset(100% 0 0 0);
  transition: clip-path 0.6s var(--ease);
}

.s6-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.s6-img.is-active {
  clip-path: inset(0 0 0 0);
  z-index: 2;
}

@media (max-width: 900px) {
  .section6 { padding: 20px 10px; }
  .s6-sheet { padding: 80px 0; border-radius: 28px; }
  .s6-head { grid-template-columns: 1fr; }
  .s6-row { grid-template-columns: 64px 1fr; gap: 6px 12px; padding: 22px 0; }
  .s6-clients { grid-column: 2; text-align: start; }
  .s6-count, .s6-float { display: none; }
  .s6-list:hover .s6-row { opacity: 1; }
}
